/* Quiz Popup Styles - Quiz questions and results display */

.quiz-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.quiz-modal.active {
    display: flex;
}

.quiz-content {
    background: #0a0e1a;
    border-radius: 20px;
    max-width: 800px;
    width: 90%;
    padding: 40px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.quiz-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: white;
}

.quiz-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #b8c5d6;
}

#quiz-score {
    color: #f6d365;
    font-weight: 600;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-bottom: 30px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #f6d365, #fda085, #f093fb);
    transition: width 0.3s;
}

.quiz-question {
    font-size: 1.5rem;
    margin-bottom: 30px;
    line-height: 1.5;
    color: white;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.quiz-option {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 20px;
    font-size: 1.1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: left;
}

.quiz-option:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #0066FF;
}

.quiz-option.selected {
    background: rgba(0, 102, 255, 0.2);
    border-color: #0066FF;
}

.quiz-option.correct {
    background: rgba(34, 197, 94, 0.2) !important;
    border-color: #22c55e !important;
}

.quiz-option.incorrect {
    background: rgba(239, 68, 68, 0.2) !important;
    border-color: #ef4444 !important;
}

.quiz-submit-btn {
    background: linear-gradient(135deg, #f6d365, #fda085);
    color: #1a1f3a;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: transform 0.3s;
}

.quiz-submit-btn:hover:not(:disabled) {
    transform: scale(1.05);
}

.quiz-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.quiz-result {
    text-align: center;
}

.result-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.result-text {
    font-size: 1.3rem;
    color: #b8c5d6;
    margin-bottom: 30px;
}

.quiz-restart-btn,
.quiz-close-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 25px;
    cursor: pointer;
    margin: 0 10px;
    transition: all 0.3s;
}

.quiz-restart-btn:hover,
.quiz-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #0066FF;
}

/* Responsive Design */

@media (max-width: 1024px) {
    .navbar {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-center {
        gap: 20px;
    }
    
    .timeline {
        flex-wrap: wrap;
        gap: 60px;
    }
    
    .timeline-line {
        display: none;
    }
    
    .timeline-scrubber {
        padding: 15px 20px;
    }
}
