/* Source: screens-menu-club.css */
/* Bro Rogue — Club Interaction Screen */

/* ═══════════════════════════════════════════════════════════════
   CLUB INTERACTION SCREEN
   ═══════════════════════════════════════════════════════════════ */

/* ── Container with purple/neon theme ──────────────────────── */

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

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

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

.clubInteractionContainer h2 {
    text-align: center;
    color: #c084fc;
    font-size: 2rem;
    text-shadow:
        0 0 20px rgb(192 132 252 / 40%),
        0 0 40px rgb(192 132 252 / 15%),
        2px 2px 4px rgb(0 0 0 / 80%);
    letter-spacing: 1px;
    flex-shrink: 0;
}

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

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

.clubNeedsPanel {
    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(192 132 252 / 20%);
    width: 100%;
    max-width: 700px;
    flex-wrap: wrap;
    justify-content: center;
    flex-shrink: 0;
}

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

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

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

.clubNeedsCharName {
    font-size: 1.05rem;
    font-weight: bold;
    color: #c084fc;
}

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

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

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

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

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

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

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

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

.clubNeedBarHunger {
    background: linear-gradient(90deg, #ff6b6b, #ff8787);
}
.clubNeedBarFun {
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
}
.clubNeedBarSocial {
    background: linear-gradient(90deg, #60a5fa, #3b82f6);
}
.clubNeedBarHygiene {
    background: linear-gradient(90deg, #a78bfa, #8b5cf6);
}
.clubNeedBarEnergy {
    background: linear-gradient(90deg, #34d399, #10b981);
}

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

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

.clubNeedBar.heal-flash {
    animation: clubNeedBarHealFlash 0.6s ease-out;
}

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

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

.clubNeedBarValue.flash-green {
    animation: clubNeedValuePop 0.5s ease-out;
}

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

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

.clubActivityCard {
    background: linear-gradient(145deg, rgb(25 15 35 / 78%), rgb(15 10 25 / 88%));
    border: 2px solid rgb(192 132 252 / 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;
}

/* Purple neon glow on hover */
.clubActivityCard::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgb(192 132 252 / 10%) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

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

.clubActivityCard:hover:not(.used) {
    border-color: #c084fc;
    transform: translateY(-3px);
    box-shadow:
        0 8px 24px rgb(192 132 252 / 20%),
        0 0 12px rgb(192 132 252 / 8%);
    background: linear-gradient(145deg, rgb(35 20 50 / 82%), rgb(25 15 40 / 92%));
}

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

.clubActivityCard.used .clubActivityUsed {
    display: block;
}

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

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

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

.clubActivityCost {
    font-size: 0.9rem;
    font-weight: bold;
    color: #c084fc;
    text-shadow: 0 0 8px rgb(192 132 252 / 35%);
}

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

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

/* Night-only badge for After-Party (#14) */
.clubActivityNightOnly {
    display: none;
    font-size: 0.7rem;
    color: #fbbf24;
    font-weight: bold;
    text-shadow: 0 0 6px rgb(251 191 36 / 40%);
    margin-top: -0.2rem;
}

/* VIP card gets extra purple flair */
#clubActivityVipBooth {
    border-color: rgb(192 132 252 / 35%);
    background: linear-gradient(145deg, rgb(40 20 55 / 82%), rgb(30 15 45 / 92%));
}

#clubActivityVipBooth:hover:not(.used) {
    box-shadow:
        0 8px 30px rgb(192 132 252 / 35%),
        0 0 18px rgb(192 132 252 / 12%);
    border-color: #d8b4fe;
}

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

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

.clubMoneyDisplay {
    font-size: 1.3rem;
    font-weight: bold;
    color: #c084fc;
    text-shadow: 0 0 8px rgb(192 132 252 / 25%);
}

.clubLeaveBtn {
    background: linear-gradient(135deg, rgb(192 132 252 / 15%), rgb(139 92 246 / 8%));
    color: #ddd;
    border: 1px solid rgb(192 132 252 / 25%);
    padding: 0.9rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

.clubLeaveBtn:hover {
    background: linear-gradient(135deg, rgb(192 132 252 / 25%), rgb(139 92 246 / 15%));
    color: #fff;
    border-color: #c084fc;
    transform: translateY(-1px);
}

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

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

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

.clubActivitiesGrid::-webkit-scrollbar-thumb {
    background: #c084fc;
    border-radius: 3px;
}

.clubActivitiesGrid::-webkit-scrollbar-thumb:hover {
    background: #a855f7;
}
