/* Source: screens-menu-hotel.css */
/* Bro Rogue — Hotel Interaction Screen */

/* ═══════════════════════════════════════════════════════════════
   HOTEL INTERACTION SCREEN
   ═══════════════════════════════════════════════════════════════ */

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

.hotelInteractionContainer {
    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;
}

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

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

.hotelInteractionContainer h2 {
    text-align: center;
    color: #f1c40f;
    font-size: 2rem;
    text-shadow:
        0 0 20px rgb(241 196 15 / 30%),
        2px 2px 4px rgb(0 0 0 / 80%);
    letter-spacing: 1px;
    flex-shrink: 0;
}

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

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

.hotelNeedsPanel {
    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(241 196 15 / 20%);
    width: 100%;
    max-width: 700px;
    flex-wrap: wrap;
    justify-content: center;
    flex-shrink: 0;
}

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

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

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

.hotelNeedsCharName {
    font-size: 1.05rem;
    font-weight: bold;
    color: #f1c40f;
}

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

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

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

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

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

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

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

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

.hotelNeedBarHunger {
    background: linear-gradient(90deg, #ff6b6b, #ff8787);
}

.hotelNeedBarFun {
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
}

.hotelNeedBarSocial {
    background: linear-gradient(90deg, #60a5fa, #3b82f6);
}

.hotelNeedBarHygiene {
    background: linear-gradient(90deg, #a78bfa, #8b5cf6);
}

.hotelNeedBarEnergy {
    background: linear-gradient(90deg, #34d399, #10b981);
}

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

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

.hotelNeedBar.heal-flash {
    animation: hotelNeedBarHealFlash 0.6s ease-out;
}

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

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

.hotelNeedBarValue.flash-green {
    animation: hotelNeedValuePop 0.5s ease-out;
}

@keyframes hotelNeedValuePop {
    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 ──────────────────────────────────────── */

.hotelActivitiesGrid {
    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;
}

/* Activity cards styled like hotel key cards */
.hotelActivityCard {
    background: linear-gradient(145deg, rgb(30 30 20 / 75%), rgb(20 20 15 / 85%));
    border: 2px solid rgb(241 196 15 / 20%);
    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;
}

/* Subtle gold shimmer on hover */
.hotelActivityCard::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgb(241 196 15 / 8%) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

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

.hotelActivityCard:hover:not(.used) {
    border-color: #f1c40f;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgb(241 196 15 / 20%);
    background: linear-gradient(145deg, rgb(40 40 25 / 80%), rgb(30 25 20 / 90%));
}

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

.hotelActivityCard.used .hotelActivityUsed {
    display: block;
}

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

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

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

.hotelActivityCost {
    font-size: 0.9rem;
    font-weight: bold;
    color: #f1c40f;
    text-shadow: 0 0 8px rgb(241 196 15 / 30%);
}

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

/* VIP card gets extra gold flair */
#hotelActivityVipSuite {
    border-color: rgb(241 196 15 / 35%);
    background: linear-gradient(145deg, rgb(40 35 15 / 80%), rgb(30 25 10 / 90%));
}

#hotelActivityVipSuite:hover:not(.used) {
    box-shadow: 0 8px 30px rgb(241 196 15 / 30%);
    border-color: #ffd700;
}

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

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

.hotelMoneyDisplay {
    font-size: 1.3rem;
    font-weight: bold;
    color: #f1c40f;
    text-shadow: 0 0 8px rgb(241 196 15 / 25%);
}

.hotelLeaveBtn {
    background: linear-gradient(135deg, rgb(241 196 15 / 15%), rgb(218 165 32 / 8%));
    color: #ddd;
    border: 1px solid rgb(241 196 15 / 25%);
    padding: 0.9rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

.hotelLeaveBtn:hover {
    background: linear-gradient(135deg, rgb(241 196 15 / 25%), rgb(218 165 32 / 15%));
    color: #fff;
    border-color: #f1c40f;
    transform: translateY(-1px);
}

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

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

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

.hotelActivitiesGrid::-webkit-scrollbar-thumb {
    background: #f1c40f;
    border-radius: 3px;
}

.hotelActivitiesGrid::-webkit-scrollbar-thumb:hover {
    background: #daa520;
}
