/* FNAF Lore Quiz Specific Styles */
.game-description {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Game Info Section */
#gameInfo {
    background: var(--card-bg);
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

#playerInfo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.player-stats p, .difficulty-display p {
    margin: 0.25rem 0;
    font-weight: 500;
}

.difficulty-display {
    text-align: right;
}

/* Progress Bar */
.progress-container {
    width: 100%;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: var(--bg-secondary);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 0.5rem;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4ade80, #fbbf24, #ef4444);
    border-radius: 6px;
    width: 0%;
    transition: width 0.3s ease;
}

.difficulty-markers {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.marker {
    font-weight: 500;
}

.marker.easy { color: #4ade80; }
.marker.medium { color: #fbbf24; }
.marker.hard { color: #ef4444; }

/* Question Section */
.question-container {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.question-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2rem;
    line-height: 1.5;
    text-align: center;
}

.answer-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.answer-btn {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    min-height: 60px;
    display: flex;
    align-items: center;
}

.answer-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(147, 51, 234, 0.3);
}

.answer-btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.answer-btn.correct {
    background: #4ade80;
    color: white;
    border-color: #22c55e;
}

.answer-btn.incorrect {
    background: #ef4444;
    color: white;
    border-color: #dc2626;
}

.answer-btn.neutral {
    background: var(--bg-secondary);
    color: var(--text-muted);
}

/* Results Section */
.results-container {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.result-text {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.result-text.correct {
    color: #22c55e;
}

.result-text.incorrect {
    color: #ef4444;
}

.correct-answer {
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.explanation {
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.5;
}

/* Final Results */
.final-results {
    background: var(--card-bg);
    border: 3px solid var(--primary-color);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.final-results h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.final-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.final-stats p {
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: 10px;
    margin: 0;
    font-weight: 500;
}

.performance-message {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
}

.performance-message.excellent {
    background: #dcfce7;
    color: #166534;
}

.performance-message.good {
    background: #fef3c7;
    color: #92400e;
}

.performance-message.fair {
    background: #fed7d7;
    color: #c53030;
}

/* Game Status */
.game-status {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    margin: 1rem 0;
    color: var(--text-primary);
}

/* Button Styles */
.primary-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.primary-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(147, 51, 234, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .answer-options {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    #playerInfo {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .difficulty-display {
        text-align: center;
    }
    
    .final-stats {
        grid-template-columns: 1fr;
    }
    
    .question-text {
        font-size: 1.1rem;
    }
    
    .answer-btn {
        min-height: 50px;
        padding: 0.8rem;
        font-size: 0.9rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.question-container, .results-container {
    animation: fadeIn 0.5s ease;
}

/* Hidden utility class */
.hidden {
    display: none !important;
} 