.lottery-predictor-container {
    text-align: center;
    margin: 20px auto;
    padding: 30px;
    max-width: 600px;
    border: 2px solid #e1e5e9;
    border-radius: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.lottery-predictor-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.lottery-predictor-container h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 600;
}

.lottery-predictor-container button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lottery-predictor-container button:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.lottery-predictor-container button:active {
    transform: translateY(0);
}

.lottery-predictor-container button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

#lottery-numbers-display {
    font-size: 22px;
    font-weight: bold;
    color: #2c3e50;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#lottery-numbers-display p {
    margin: 0;
    line-height: 1.4;
}

.lottery-ball {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    margin: 0 5px;
    font-weight: bold;
    color: white;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    animation: ballBounce 0.6s ease-out;
}

@keyframes ballBounce {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.shuangseqiu-red {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
}

.shuangseqiu-blue {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
}

.daletou-front {
    background: linear-gradient(135deg, #a8e6cf 0%, #7fcdcd 100%);
}

.daletou-back {
    background: linear-gradient(135deg, #ffd93d 0%, #ff6b6b 100%);
}

.lottery-type-label {
    display: block;
    font-size: 18px;
    color: #6c757d;
    margin-bottom: 15px;
    font-weight: 500;
}

.error {
    color: #dc3545;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 10px;
    border-radius: 5px;
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


