/* games/dharma-dilemma/game.css */

/* ========================================
   Dilemma Card Styles
   ======================================== */

.dilemma-card {
    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: 3rem;
    position: relative;
}

.dilemma-card::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid rgba(218, 165, 32, 0.15);
    pointer-events: none;
}

.dilemma-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(218, 165, 32, 0.3);
}

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

.dilemma-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.dilemma-source {
    font-family: 'Cormorant Garamond', serif;
    color: #c9a961;
    font-size: 1.1em;
    font-style: italic;
}

.dilemma-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;
}

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

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

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

/* ========================================
   Story Section
   ======================================== */

.story-section {
    margin-bottom: 2.5rem;
}

.section-label {
    font-family: 'Cinzel', serif;
    font-size: 0.9em;
    color: #8b7355;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-label i {
    color: #daa520;
}

.story-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2em;
    line-height: 1.9;
    color: #e8e8e8;
    background: rgba(218, 165, 32, 0.05);
    padding: 1.5rem 2rem;
    border-left: 3px solid #daa520;
    margin-bottom: 1.5rem;
}

.scenario-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25em;
    line-height: 1.9;
    color: #c9a961;
    font-weight: 600;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.1), rgba(139, 69, 19, 0.05));
    border: 2px solid rgba(218, 165, 32, 0.3);
    text-align: center;
    margin-bottom: 2rem;
}

/* ========================================
   Choices Grid
   ======================================== */

.choices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.choice-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: 2rem;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.choice-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;
}

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

.choice-card:hover {
    border-color: #daa520;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(218, 165, 32, 0.3);
}

.choice-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 40px rgba(218, 165, 32, 0.4);
}

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

.choice-label {
    font-family: 'Cinzel', serif;
    font-size: 1.8em;
    color: #daa520;
    margin-bottom: 1rem;
    font-weight: 700;
}

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

.choice-perspective {
    font-family: 'Cinzel', serif;
    font-size: 0.85em;
    color: #c9a961;
    letter-spacing: 0.05em;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(218, 165, 32, 0.2);
}

.historical-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #4caf50;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-family: 'Cinzel', serif;
    font-size: 0.75em;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.choice-card.historical .historical-indicator {
    opacity: 1;
}

/* ========================================
   Analysis Section
   ======================================== */

.analysis-section {
    display: none;
    margin-top: 3rem;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.1), rgba(139, 69, 19, 0.05));
    border: 2px solid rgba(218, 165, 32, 0.4);
    animation: slideDown 0.5s ease;
}

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

.analysis-title {
    font-family: 'Cinzel', serif;
    font-size: 2em;
    color: #daa520;
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: 0.05em;
}

.choice-details {
    margin-bottom: 3rem;
}

.detail-section {
    margin-bottom: 2rem;
}

.detail-label {
    font-family: 'Cinzel', serif;
    font-size: 1.1em;
    color: #daa520;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-content {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15em;
    line-height: 1.8;
    color: #e8e8e8;
    padding-left: 1.5rem;
}

.detail-list {
    list-style: none;
    padding-left: 1.5rem;
}

.detail-list li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.detail-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #daa520;
}

.reflection-box {
    background: rgba(139, 69, 19, 0.1);
    border-left: 4px solid #daa520;
    padding: 2rem;
    margin-top: 2rem;
}

.reflection-box-title {
    font-family: 'Cinzel', serif;
    font-size: 1.3em;
    color: #daa520;
    margin-bottom: 1rem;
}

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

.questions-list {
    margin-top: 2rem;
}

.questions-list li {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15em;
    line-height: 1.8;
    color: #e8e8e8;
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.questions-list li::before {
    content: '?';
    position: absolute;
    left: 0;
    color: #daa520;
    font-weight: bold;
    font-size: 1.2em;
}

/* ========================================
   Navigation Buttons
   ======================================== */

.analysis-navigation {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.nav-button {
    font-family: 'Cinzel', serif;
    padding: 1rem 2.5rem;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-button.primary {
    background: linear-gradient(135deg, #daa520, #b8860b);
    color: #0a0a0a;
    border: none;
}

.nav-button.secondary {
    background: transparent;
    color: #daa520;
    border: 2px solid #daa520;
}

.nav-button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 25px rgba(218, 165, 32, 0.4);
}

/* ========================================
   Progress Indicator
   ======================================== */

.progress-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.progress-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(218, 165, 32, 0.3);
    transition: all 0.3s ease;
}

.progress-dot.active {
    background: #daa520;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(218, 165, 32, 0.6);
}

.progress-dot.completed {
    background: #4caf50;
}

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

@media (max-width: 768px) {
    .dilemma-card {
        padding: 2rem 1.5rem;
    }

    .dilemma-title {
        font-size: 1.8em;
    }

    .choices-grid {
        grid-template-columns: 1fr;
    }

    .choice-card {
        padding: 1.5rem;
    }

    .analysis-section {
        padding: 2rem 1.5rem;
    }

    .analysis-navigation {
        flex-direction: column;
    }

    .nav-button {
        width: 100%;
        justify-content: center;
    }

    .dilemma-meta {
        flex-direction: column;
        gap: 1rem;
    }
}

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

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

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