.quiz-section {
    padding: 2rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e7eb 100%);
    min-height: calc(100vh - 200px);
}

.quiz-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.quiz-header {
    text-align: center;
    margin-bottom: 2rem;
}

.quiz-title {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
}

.quiz-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-width: 100px;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #D4AF37;
}

.stat-label {
    font-size: 0.9rem;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.quiz-progress {
    margin-bottom: 2rem;
}

.progress-bar {
    height: 10px;
    background: #ecf0f1;
    border-radius: 5px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #D4AF37, #b8860b);
    width: 0%;
    transition: width 0.3s ease;
}

.quiz-content {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.question-card {
    margin-bottom: 2rem;
}

.question-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    line-height: 1.4;
    text-align: center;
}

.options-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.option-btn {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 1.2rem;
    font-size: 1.1rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.option-btn:hover {
    background: #e9ecef;
    border-color: #D4AF37;
    transform: translateY(-2px);
}

.option-btn.selected {
    background: #fff8e1;
    border-color: #D4AF37;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

.option-btn.correct {
    background: #d4edda;
    border-color: #28a745;
}

.option-btn.incorrect {
    background: #f8d7da;
    border-color: #dc3545;
}

.option-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #D4AF37;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.option-btn.selected::before,
.option-btn.correct::before {
    transform: scaleY(1);
}

.quiz-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.quiz-btn {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.next-btn {
    background: #D4AF37;
    color: white;
}

.next-btn:hover:not(:disabled) {
    background: #b8860b;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.next-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.restart-btn {
    background: #2c3e50;
    color: white;
}

.restart-btn:hover {
    background: #1a252f;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(44, 62, 80, 0.4);
}

.quiz-result {
    text-align: center;
    padding: 3rem 2rem;
}

.result-content {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.result-score {
    font-size: 5rem;
    font-weight: bold;
    color: #D4AF37;
    margin: 2rem 0;
    font-family: 'Cinzel', serif;
}

.score-total {
    font-size: 2rem;
    color: #7f8c8d;
}

.result-message {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    font-family: 'Playfair Display', serif;
}

/* Responsive Design */
@media (max-width: 768px) {
    .quiz-title {
        font-size: 2rem;
    }
    
    .quiz-stats {
        gap: 1rem;
    }
    
    .stat-card {
        min-width: 80px;
        padding: 0.8rem;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .question-text {
        font-size: 1.3rem;
    }
    
    .option-btn {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .quiz-content {
        padding: 1.5rem;
    }
    
    .quiz-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .quiz-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .result-score {
        font-size: 3rem;
    }
    
    .result-message {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .quiz-stats {
        flex-wrap: wrap;
    }
    
    .stat-card {
        min-width: 70px;
    }
    
    .question-text {
        font-size: 1.1rem;
    }
    
    .result-content {
        padding: 2rem 1rem;
    }
}