/* games/one-question-a-day/game.css */

/* ========================================
   Daily Question Specific Styles
   ======================================== */

.daily-info {
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.08), rgba(139, 69, 19, 0.04));
    border: 2px solid rgba(218, 165, 32, 0.3);
    padding: 1.5rem 2rem;
    margin-bottom: 2.5rem;
    text-align: center;
    border-radius: 4px;
}

.daily-date {
    font-family: 'Cinzel', serif;
    font-size: 1.1em;
    color: #c9a961;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.daily-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.95em;
    color: #8b7355;
}

/* ========================================
   Question Display
   ======================================== */

.question-display {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95), rgba(20, 20, 20, 0.85));
    border: 2px solid rgba(218, 165, 32, 0.3);
    padding: 3rem;
    margin-bottom: 2.5rem;
    position: relative;
}

.question-display::before {
    content: '"';
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 4em;
    color: rgba(218, 165, 32, 0.2);
    font-family: Georgia, serif;
}

.question-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6em;
    line-height: 1.8;
    color: #e8e8e8;
    margin-bottom: 2rem;
    text-align: center;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.question-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(218, 165, 32, 0.2);
    flex-wrap: wrap;
    gap: 1rem;
}

.question-source {
    font-family: 'Cinzel', serif;
    color: #c9a961;
    font-size: 0.9em;
    letter-spacing: 0.05em;
}

.question-difficulty {
    font-family: 'Cinzel', serif;
    font-size: 0.8em;
    padding: 0.4rem 1rem;
    border: 1px solid rgba(218, 165, 32, 0.4);
    background: rgba(218, 165, 32, 0.1);
    color: #daa520;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 12px;
}

.question-difficulty.easy {
    border-color: rgba(76, 175, 80, 0.4);
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
}

.question-difficulty.medium {
    border-color: rgba(255, 152, 0, 0.4);
    background: rgba(255, 152, 0, 0.1);
    color: #ff9800;
}

.question-difficulty.hard {
    border-color: rgba(244, 67, 54, 0.4);
    background: rgba(244, 67, 54, 0.1);
    color: #f44336;
}

/* ========================================
   Options Grid
   ======================================== */

.options-container {
    margin-bottom: 2.5rem;
}

.option-card {
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.05), rgba(139, 69, 19, 0.03));
    border: 2px solid rgba(218, 165, 32, 0.3);
    padding: 1.5rem 2rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.option-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(218, 165, 32, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.option-card:hover::before {
    width: 500px;
    height: 500px;
}

.option-card:hover {
    border-color: #daa520;
    transform: translateX(10px);
    box-shadow: 0 5px 25px rgba(218, 165, 32, 0.2);
}

.option-card.selected {
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.2), rgba(139, 69, 19, 0.15));
    border-color: #daa520;
    box-shadow: 0 0 30px rgba(218, 165, 32, 0.3);
}

.option-card.correct {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.3), rgba(56, 142, 60, 0.2));
    border-color: #4caf50;
    box-shadow: 0 0 30px rgba(76, 175, 80, 0.4);
}

.option-card.incorrect {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.3), rgba(211, 47, 47, 0.2));
    border-color: #f44336;
    box-shadow: 0 0 30px rgba(244, 67, 54, 0.4);
}

.option-card.disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.option-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15em;
    color: #e8e8e8;
    line-height: 1.6;
}

.option-indicator {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.option-card.correct .option-indicator,
.option-card.incorrect .option-indicator {
    opacity: 1;
}

/* ========================================
   Submit Button
   ======================================== */

.submit-button {
    font-family: 'Cinzel', serif;
    background: linear-gradient(135deg, #daa520, #b8860b);
    color: #0a0a0a;
    border: none;
    padding: 1.25rem 3rem;
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 0 auto;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.submit-button:hover::before {
    left: 100%;
}

.submit-button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(218, 165, 32, 0.5);
}

.submit-button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

/* ========================================
   Explanation Section
   ======================================== */

.explanation-section {
    display: none;
    margin-top: 2.5rem;
    padding: 2.5rem;
    border: 2px solid;
    position: relative;
    animation: slideDown 0.5s ease;
}

.explanation-section.show {
    display: block;
}

.explanation-section.correct {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(56, 142, 60, 0.1));
    border-color: #4caf50;
}

.explanation-section.incorrect {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.15), rgba(211, 47, 47, 0.1));
    border-color: #f44336;
}

.explanation-icon {
    font-size: 3em;
    text-align: center;
    margin-bottom: 1rem;
}

.explanation-title {
    font-family: 'Cinzel', serif;
    font-size: 1.8em;
    margin-bottom: 1.5rem;
    color: #daa520;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-align: center;
}

.explanation-text {
    font-family: 'Cormorant Garamond', serif;
    line-height: 1.8;
    color: #e8e8e8;
    font-size: 1.15em;
    margin-bottom: 1.5rem;
}

.reflection-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(218, 165, 32, 0.3);
}

.reflection-title {
    font-family: 'Cinzel', serif;
    font-size: 1.2em;
    color: #daa520;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.reflection-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1em;
    font-style: italic;
    color: #c9a961;
    line-height: 1.7;
}

/* ========================================
   Completion Message
   ======================================== */

.completion-message {
    text-align: center;
    padding: 3rem 2rem;
}

.completion-icon {
    font-size: 4em;
    margin-bottom: 1.5rem;
}

.completion-title {
    font-family: 'Cinzel', serif;
    font-size: 2em;
    color: #daa520;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

.completion-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2em;
    color: #b8b8b8;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

.tomorrow-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(218, 165, 32, 0.1);
    border: 1px solid rgba(218, 165, 32, 0.3);
    border-radius: 4px;
}

.tomorrow-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1em;
    color: #c9a961;
}

/* ========================================
   Animations
   ======================================== */

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 768px) {
    .daily-info {
        padding: 1rem 1.5rem;
    }

    .question-display {
        padding: 2rem 1.5rem;
    }

    .question-text {
        font-size: 1.3em;
        min-height: 80px;
    }

    .option-card {
        padding: 1.25rem 1.5rem;
    }

    .option-text {
        font-size: 1.05em;
    }

    .submit-button {
        width: 100%;
        padding: 1.25rem;
    }

    .explanation-section {
        padding: 1.5rem;
    }

    .question-meta {
        flex-direction: column;
        align-items: flex-start;
    }
}