.quiz-body {
    background: linear-gradient(135deg, #1a0000 0%, #2a0000 50%, #1a0000 100%);
    min-height: 100vh;
}

.quiz-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(139, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 2px solid #8B0000;
}

#progress-container {
    margin-bottom: 30px;
}

#progress-bar {
    width: 100%;
    height: 12px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

#progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #006400, #8B0000);
    width: 0%;
    transition: width 0.5s ease;
    border-radius: 10px;
}

#progress-text {
    text-align: center;
    color: #666;
    font-weight: bold;
    font-size: 1.1em;
}

#timer-container {
    text-align: center;
    margin-bottom: 30px;
}

#timer {
    display: inline-block;
    background: linear-gradient(135deg, #8B0000, #006400);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1.2em;
    box-shadow: 0 5px 15px rgba(139, 0, 0, 0.3);
    border: 2px solid white;
}

.timer-warning {
    background: linear-gradient(135deg, #ff6b6b, #8B0000) !important;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

#question-container {
    margin-bottom: 40px;
    text-align: center;
}

#question {
    color: #333;
    font-size: 1.6em;
    line-height: 1.4;
    margin-bottom: 20px;
    font-weight: 700;
}

#options-container {
    display: grid;
    gap: 15px;
    margin-bottom: 40px;
}

.option-btn {
    padding: 20px 25px;
    border: 3px solid #e9ecef;
    border-radius: 15px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1em;
    text-align: left;
    font-weight: 500;
    min-height: 70px;
    display: flex;
    align-items: center;
}

.option-btn:hover {
    border-color: #006400;
    background: #f8fff8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 100, 0, 0.1);
}

.option-btn.selected {
    border-color: #006400;
    background: #f8fff8;
    transform: translateY(-2px);
}

.option-btn.correct {
    border-color: #28a745;
    background: #d4edda;
    color: #155724;
    transform: scale(1.02);
}

.option-btn.wrong {
    border-color: #dc3545;
    background: #f8d7da;
    color: #721c24;
}

.quiz-fact {
    grid-column: 1 / -1;
    background: #e7f3ff;
    padding: 20px;
    border-radius: 12px;
    border-left: 5px solid #0066cc;
    margin-top: 15px;
    font-size: 1em;
    line-height: 1.5;
}

.quiz-fact strong {
    color: #006400;
}

#quiz-controls {
    text-align: center;
}

.quiz-btn {
    padding: 18px 40px;
    background: linear-gradient(135deg, #006400, #8B0000);
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    transition: all 0.3s ease;
    margin: 10px;
    min-width: 200px;
}

.quiz-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(139, 0, 0, 0.4);
}

.quiz-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
}

#result-container {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
    margin-top: 20px;
    border: 2px solid #8B0000;
}

#result-container h3 {
    color: #8B0000;
    margin-bottom: 20px;
    font-size: 2em;
}

#score {
    font-size: 3em;
    font-weight: bold;
    color: #006400;
    margin: 20px 0;
}

#result-message {
    font-size: 1.3em;
    color: #333;
    line-height: 1.6;
    margin-bottom: 25px;
}

#share-btn {
    background: linear-gradient(135deg, #007bff, #006400);
}

.hidden {
    display: none !important;
}

@media (max-width: 768px) {
    .quiz-container {
        padding: 25px 20px;
        margin: 20px;
    }
    
    #question {
        font-size: 1.3em;
    }
    
    .option-btn {
        padding: 18px 20px;
        font-size: 1em;
        min-height: 60px;
    }
    
    .quiz-btn {
        padding: 15px 30px;
        font-size: 1.1em;
        min-width: 180px;
    }
    
    #score {
        font-size: 2.5em;
    }
}

@media (max-width: 480px) {
    .quiz-container {
        padding: 20px 15px;
    }
    
    #question {
        font-size: 1.2em;
    }
    
    .option-btn {
        padding: 15px;
        font-size: 0.95em;
    }
    
    #options-container {
        gap: 10px;
    }
    
    .quiz-btn {
        padding: 12px 25px;
        font-size: 1em;
        min-width: 160px;
    }
}