/* Source: screens-menu-cinema.css */
/* Bro Rogue — Cinema Interaction Screen */

/* ═══════════════════════════════════════════════════════════════
   CINEMA INTERACTION SCREEN
   ═══════════════════════════════════════════════════════════════ */

/* ── Container with navy/gold theme ────────────────────────── */

.cinemaInteractionContainer {
    width: 90%;
    height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    padding: 2rem;
    overflow: hidden;
    position: relative;
}

.cinemaInteractionContainer::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: linear-gradient(
        to top,
        rgb(10 15 30 / 85%) 0%,
        rgb(15 20 40 / 45%) 40%,
        rgb(10 15 30 / 20%) 70%,
        rgb(15 20 40 / 40%) 100%
    );
    pointer-events: none;
    z-index: 0;
}

.cinemaInteractionContainer > * {
    position: relative;
    z-index: 1;
}

.cinemaInteractionContainer h2 {
    text-align: center;
    color: #fbbf24;
    font-size: 2rem;
    text-shadow:
        0 0 20px rgb(251 191 36 / 40%),
        0 0 40px rgb(251 191 36 / 15%),
        2px 2px 4px rgb(0 0 0 / 80%);
    letter-spacing: 1px;
    flex-shrink: 0;
}

@media (width <= 700px) {
    .cinemaInteractionContainer h2 {
        font-size: 1.4rem;
    }
}

/* ── Needs Panel ──────────────────────────────────────────── */

.cinemaNeedsPanel {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 1.5rem;
    background: rgb(0 0 0 / 55%);
    border-radius: 10px;
    border: 1px solid rgb(251 191 36 / 20%);
    width: 100%;
    max-width: 700px;
    flex-wrap: wrap;
    justify-content: center;
    flex-shrink: 0;
}

.cinemaNeedsChar {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem 1rem 0.5rem 0.5rem;
    border-right: 1px solid rgb(251 191 36 / 15%);
    flex-shrink: 0;
}

.cinemaNeedsCharImg {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 8px;
    background: rgb(255 255 255 / 5%);
}

.cinemaNeedsCharInfo {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.cinemaNeedsCharName {
    font-size: 1.05rem;
    font-weight: bold;
    color: #fbbf24;
}

.cinemaNeedsCharLevel {
    font-size: 0.85rem;
    color: #aaa;
}

.cinemaNeedsCharMood {
    font-size: 0.85rem;
    color: var(--primary-color);
}

.cinemaNeedsBars {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1;
    min-width: 250px;
}

.cinemaNeedBarRow {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.cinemaNeedBarIcon {
    font-size: 0.85rem;
    width: 1.2rem;
    text-align: center;
    flex-shrink: 0;
}

.cinemaNeedBarLabel {
    font-size: 0.72rem;
    color: #ccc;
    min-width: 3rem;
    flex-shrink: 0;
    font-weight: bold;
}

.cinemaNeedBarTrack {
    flex: 1;
    height: 10px;
    background: rgb(255 255 255 / 10%);
    border-radius: 5px;
    overflow: hidden;
    min-width: 0;
}

.cinemaNeedBar {
    height: 100%;
    border-radius: 5px;
    transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.cinemaNeedBarHunger {
    background: linear-gradient(90deg, #ff6b6b, #ff8787);
}
.cinemaNeedBarFun {
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
}
.cinemaNeedBarSocial {
    background: linear-gradient(90deg, #60a5fa, #3b82f6);
}
.cinemaNeedBarHygiene {
    background: linear-gradient(90deg, #a78bfa, #8b5cf6);
}
.cinemaNeedBarEnergy {
    background: linear-gradient(90deg, #34d399, #10b981);
}

.cinemaNeedBar.low {
    box-shadow: 0 0 8px rgb(255 0 0 / 50%);
    animation: cinemaNeedBarLowPulse 1s ease-in-out infinite;
}

@keyframes cinemaNeedBarLowPulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

.cinemaNeedBar.heal-flash {
    animation: cinemaNeedBarHealFlash 0.6s ease-out;
}

@keyframes cinemaNeedBarHealFlash {
    0% {
        filter: brightness(2.5);
    }
    40% {
        filter: brightness(1.5);
    }
    100% {
        filter: brightness(1);
    }
}

.cinemaNeedBarValue {
    font-size: 0.78rem;
    color: #fff;
    min-width: 1.6rem;
    text-align: right;
    font-weight: bold;
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.cinemaNeedBarValue.flash-green {
    animation: cinemaNeedValuePop 0.5s ease-out;
}

@keyframes cinemaNeedValuePop {
    0% {
        color: var(--success-color);
        transform: scale(1.3);
    }
    50% {
        color: var(--success-color);
        transform: scale(1.1);
    }
    100% {
        color: #fff;
        transform: scale(1);
    }
}

/* ── Activities Grid ──────────────────────────────────────── */

.cinemaActivitiesGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.9rem;
    width: 100%;
    max-width: 750px;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding-right: 6px;
    align-content: start;
}

.cinemaActivityCard {
    background: linear-gradient(145deg, rgb(15 20 40 / 78%), rgb(10 15 30 / 88%));
    border: 2px solid rgb(251 191 36 / 18%);
    border-radius: 12px;
    padding: 1rem 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    position: relative;
    overflow: hidden;
}

/* Gold glow on hover */
.cinemaActivityCard::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgb(251 191 36 / 10%) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.cinemaActivityCard:hover:not(.used)::before {
    opacity: 1;
}

.cinemaActivityCard:hover:not(.used) {
    border-color: #fbbf24;
    transform: translateY(-3px);
    box-shadow:
        0 8px 24px rgb(251 191 36 / 20%),
        0 0 12px rgb(251 191 36 / 8%);
    background: linear-gradient(145deg, rgb(25 30 50 / 82%), rgb(15 20 40 / 92%));
}

.cinemaActivityCard.used {
    opacity: 0.4;
    cursor: not-allowed;
    border-color: rgb(255 255 255 / 6%);
}

.cinemaActivityCard.used .cinemaActivityUsed {
    display: block;
}

.cinemaActivityEmoji {
    font-size: 2.4rem;
    line-height: 1;
}

.cinemaActivityName {
    font-size: 0.95rem;
    font-weight: bold;
    color: #fff;
}

.cinemaActivityDesc {
    font-size: 0.72rem;
    color: #aaa;
    line-height: 1.3;
}

.cinemaActivityCost {
    font-size: 0.9rem;
    font-weight: bold;
    color: #fbbf24;
    text-shadow: 0 0 8px rgb(251 191 36 / 35%);
}

.cinemaActivityFree {
    color: var(--success-color) !important;
    text-shadow: 0 0 8px rgb(81 207 102 / 35%) !important;
}

.cinemaActivityUsed {
    display: none;
    font-size: 0.8rem;
    color: #fbbf24;
    font-weight: bold;
}

/* Night-only badge for Midnight Screening */
.cinemaActivityNightOnly {
    display: none;
    font-size: 0.7rem;
    color: #93c5fd;
    font-weight: bold;
    text-shadow: 0 0 6px rgb(147 197 253 / 40%);
    margin-top: -0.2rem;
}

/* IMAX card gets extra gold flair */
#cinemaActivityImax3d {
    border-color: rgb(251 191 36 / 35%);
    background: linear-gradient(145deg, rgb(30 30 50 / 82%), rgb(20 15 40 / 92%));
}

#cinemaActivityImax3d:hover:not(.used) {
    box-shadow:
        0 8px 30px rgb(251 191 36 / 35%),
        0 0 18px rgb(251 191 36 / 12%);
    border-color: #fcd34d;
}

/* ── Bottom Bar ──────────────────────────────────────────── */

.cinemaBottom {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 0.3rem;
    flex-shrink: 0;
}

.cinemaMoneyDisplay {
    font-size: 1.3rem;
    font-weight: bold;
    color: #fbbf24;
    text-shadow: 0 0 8px rgb(251 191 36 / 25%);
}

.cinemaLeaveBtn {
    background: linear-gradient(135deg, rgb(251 191 36 / 15%), rgb(217 119 6 / 8%));
    color: #ddd;
    border: 1px solid rgb(251 191 36 / 25%);
    padding: 0.9rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

.cinemaLeaveBtn:hover {
    background: linear-gradient(135deg, rgb(251 191 36 / 25%), rgb(217 119 6 / 15%));
    color: #fff;
    border-color: #fbbf24;
    transform: translateY(-1px);
}

/* ── Scrollbar ───────────────────────────────────────────── */

.cinemaActivitiesGrid::-webkit-scrollbar {
    width: 5px;
}

.cinemaActivitiesGrid::-webkit-scrollbar-track {
    background: rgb(255 255 255 / 5%);
    border-radius: 3px;
}

.cinemaActivitiesGrid::-webkit-scrollbar-thumb {
    background: #fbbf24;
    border-radius: 3px;
}

.cinemaActivitiesGrid::-webkit-scrollbar-thumb:hover {
    background: #d97706;
}
