/* TOP NAVIGATION */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--bg-glass);
    border-bottom: 1px solid var(--border-gold);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    z-index: 2000;
    backdrop-filter: var(--blur-strong);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-brand {
    display: flex;
    align-items: center;
    min-width: 100px;
}

.logo-img {
    height: 120px;
    width: auto;
    object-fit: contain;
    mix-blend-mode: screen;
    filter: drop-shadow(0 4px 12px rgba(255, 204, 0, 0.4));
    transition: all 0.3s ease;
    margin-top: 8px;
}


.logo-img:hover {
    filter: drop-shadow(0 4px 16px rgba(255, 204, 0, 0.5));
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 30px;
    flex: 1;
    margin: 0 40px;
}

.nav-link {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1em;
    cursor: pointer;
    transition: 0.3s;
    position: relative;
    padding: 8px 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
}

.nav-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-text-link {
    font-size: 0.9em;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-text-link:hover {
    color: var(--primary);
}

.location-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text);
    font-size: 0.95em;
    padding: 8px 12px;
    background: rgba(255, 204, 0, 0.1);
    border-radius: 6px;
}

.nav-icon-btn {
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.3em;
    cursor: pointer;
    transition: 0.2s;
    padding: 8px;
}

.nav-icon-btn:hover {
    transform: scale(1.1);
    color: var(--primary);
}

/* HERO SECTION */
.hero-section {
    padding: 100px 40px 40px;
    text-align: center;
    background: linear-gradient(180deg, rgba(255, 204, 0, 0.05) 0%, transparent 100%);
    position: relative;
}

/* Global modal centering for common overlay classes used across pages.
   These target admin/ticket/profile modals only so small in-card overlays
   (e.g. profile-mvp-overlay) are not affected. Keeps modals fixed,
   centered, and visible without needing to scroll the page. */
.bc-overlay,
.ex-overlay,
.as-overlay,
.pm-overlay,
.pe-overlay {
    position: fixed !important;
    inset: 0 !important;
    z-index: 99999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 18px !important;
    background: rgba(0,0,0,0.72) !important;
    backdrop-filter: blur(8px) !important;
}

.bc-overlay.hidden,
.ex-overlay.hidden,
.as-overlay.hidden,
.pm-overlay.hidden,
.pe-overlay.hidden { display: none !important; }

/* Ensure modal inner containers are not pushed down and can scroll internally */
.bc-overlay [class*="modal"],
.ex-overlay [class*="modal"],
.as-overlay [class*="modal"],
.pm-overlay [class*="modal"],
.pe-overlay [class*="modal"],
.bc-overlay > div,
.pm-overlay > div,
.pe-overlay > div {
    margin: 0 !important;
    width: 100% !important;
    max-width: 820px !important;
    max-height: 92vh !important;
    overflow-y: auto !important;
    border-radius: 18px !important;
    box-shadow: 0 30px 80px rgba(0,0,0,0.8) !important;
}

/* Small tweak for very tall modals on small screens */
@media (max-width: 520px) {
    .bc-overlay [class*="modal"], .pm-overlay [class*="modal"] {
        max-width: 96vw !important;
        border-radius: 14px !important;
        padding-bottom: 32px !important;
    }
}

.hero-title {
    font-size: 2.8em;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    text-shadow: 0 4px 20px rgba(255, 204, 0, 0.3);
    position: relative;
    display: inline-block;
    z-index: 2;
}

/* Logo hover behind "Trending Events" */
.hero-title::before {
    content: '';
    position: absolute;
    inset: -40px;
    background: url('logo-main.png') center/contain no-repeat;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.35s ease, transform 0.35s ease;
    z-index: -1;
    pointer-events: none;
}

.hero-title:hover::before {
    opacity: 0.4;
    transform: scale(1);
}

.hero-subtitle {
    font-size: 1.1em;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

/* CTA BUTTONS */
.cta-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 40px;
    margin-top: 40px;
}

.cta-btn {
    padding: 16px 24px;
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid var(--primary);
    border-radius: 12px;
    color: var(--primary);
    font-size: 1.05em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.cta-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
    transform: translateX(-100%);
    transition: 0.6s;
}

.cta-btn:hover {
    background: rgba(255, 215, 0, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.25);
    border-color: var(--accent);
}

.cta-btn:hover::after {
    transform: translateX(100%);
}

/* LAYOUT ADJUSTMENTS */
#app {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.app-container {
    display: flex;
    flex: 1;
    margin-top: 80px;
}

.app-content {
    flex: 1;
    overflow-y: auto;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(20, 10, 5, 0.95) 100%);
    position: relative;
}

/* FIRE & SPARKLE BACKGROUND EFFECTS - OPTIMIZED FOR PERFORMANCE */
.app-content::before {
    content: '';
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100vh;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 140, 0, 0.3) 0%, transparent 35%),
        radial-gradient(circle at 80% 70%, rgba(255, 100, 0, 0.25) 0%, transparent 40%),
        radial-gradient(circle at 50% 100%, rgba(255, 165, 0, 0.35) 0%, transparent 45%);
    pointer-events: none;
    z-index: 1;
    animation: fireFlicker 8s ease-in-out infinite;
    opacity: 0.5;
    will-change: opacity;
    contain: layout style paint;
}

.app-content::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(2px 2px at 20px 30px, rgba(255, 200, 100, 0.6), transparent),
        radial-gradient(2px 2px at 60px 70px, rgba(255, 180, 50, 0.6), transparent),
        radial-gradient(1px 1px at 50px 50px, rgba(255, 255, 100, 0.8), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255, 200, 100, 0.6), transparent),
        radial-gradient(2px 2px at 90px 10px, rgba(255, 180, 50, 0.6), transparent);
    background-repeat: repeat;
    background-size: 200px 200px;
    pointer-events: none;
    z-index: 2;
    animation: sparkleFloat 12s linear infinite;
    opacity: 0.35;
    will-change: background-position;
    contain: layout style paint;
}


/* Ensure content sits above the effects */
.screen {
    position: relative;
    z-index: 10;
}

/* ANIMATIONS */
@keyframes fireFlicker {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.6;
    }
}

@keyframes sparkleFloat {
    0%, 100% {
        background-position: 0 0;
        opacity: 0.35;
    }
    50% {
        opacity: 0.45;
    }
}

/* PHOENIX BACKGROUND & WING ANIMATION */
html::before,
html::after,
body::before {
    content: '';
    position: fixed;
    pointer-events: none;
    z-index: 0;
    opacity: 0.32;
    filter: drop-shadow(0 0 24px rgba(255, 140, 0, 0.35));
    mix-blend-mode: screen;
}

body.phoenix-active::before {
    top: 10%;
    right: 6%;
    width: 280px;
    height: 220px;
    background: radial-gradient(circle at 50% 20%, rgba(255, 215, 90, 0.98), transparent 40%),
                radial-gradient(circle at 40% 72%, rgba(255, 125, 40, 0.88), transparent 50%),
                radial-gradient(circle at 60% 72%, rgba(255, 235, 130, 0.72), transparent 52%);
    border-radius: 55% 55% 42% 42%;
    box-shadow: 0 0 140px rgba(255, 170, 20, 0.24);
    transform: scale(1.02);
}

html.phoenix-active::before,
html.phoenix-active::after {
    top: 13%;
    width: 140px;
    height: 58px;
    background: radial-gradient(circle at 50% 50%, rgba(255, 205, 70, 0.95), transparent 42%),
                linear-gradient(135deg, rgba(255, 145, 50, 0.95), rgba(255, 225, 120, 0.22));
    border-radius: 60% 40% 60% 40% / 40% 60% 40% 60%;
    opacity: 0.42;
}

html.phoenix-active::before {
    right: 10%;
    transform-origin: right center;
    transform: rotate(-22deg);
    animation: wingFlapLeft 1.4s ease-in-out infinite;
}

html.phoenix-active::after {
    right: 2.5%;
    transform-origin: left center;
    transform: rotate(22deg);
    animation: wingFlapRight 1.4s ease-in-out infinite;
}

@keyframes wingFlapLeft {
    0%, 100% { transform: rotate(-22deg) scaleX(1.02); }
    50% { transform: rotate(-30deg) scaleX(0.92); }
}

@keyframes wingFlapRight {
    0%, 100% { transform: rotate(22deg) scaleX(1.02); }
    50% { transform: rotate(30deg) scaleX(0.92); }
}

.home-content {
    padding: 0 40px 40px;
    margin-bottom: 80px;
}

/* PREMIUM INSTAGRAM-STYLE STORIES */
.stories-bar-premium {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 10px 0 20px;
    scrollbar-width: none; /* Hide scrollbar Firefox */
    -ms-overflow-style: none; /* Hide scrollbar IE/Edge */
}

.stories-bar-premium::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome/Safari */
}

.story-item-premium {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    flex-shrink: 0;
}

.story-ring-premium {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    padding: 3px;
    background: #222;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.story-ring-premium.active {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.story-ring-premium img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid black;
}

.story-item-premium:hover .story-ring-premium {
    transform: scale(1.1);
}

.story-label-premium {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    max-width: 70px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* PREMIUM PERK CARDS - WHITE BACKGROUND */
.perks-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.perk-card-white {
    background: white;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.perk-card-white:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.perk-icon-bg {
    width: 44px;
    height: 44px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.perk-card-white h3 {
    color: black;
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0;
}

.perk-card-white p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}


/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .top-nav {
        height: 60px;
        padding: 0 16px;
    }

    .nav-brand {
        font-size: 1.4em;
    }

    .app-container {
        margin-top: 60px;
    }

    .hero-section {
        padding: 80px 20px 30px;
    }

    .hero-title {
        font-size: 2em;
    }

    .cta-buttons {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .home-content {
        padding: 0 16px 16px;
    }

    .carousel-wrapper {
        margin: 0 -16px;
        padding: 20px 16px;
    }

    .location-badge {
        display: none;
    }

    .nav-actions {
        gap: 8px;
    }

    .nav-text-link {
        font-size: 0.8em;
    }
}

/* ===== TMSE - Mobile-First Entertainment Platform ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
}

:root {
    /* Refined Color Palette */
    --primary: #FFD700; /* Richer Gold */
    --secondary: #B8860B; /* Deep Amber */
    --accent: #FFA500; /* Vibrant Orange */
    --bg-dark: #050505; /* Near Black */
    --bg-card: rgba(20, 20, 20, 0.8);
    --bg-glass: rgba(0, 0, 0, 0.75);
    
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    --info: #3B82F6;
    
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.45);
    
    --border-gold: rgba(255, 215, 0, 0.25);
    --border-subtle: rgba(255, 255, 255, 0.08);
    
    /* Premium Shadows & Blurs */
    --shadow-premium: 0 10px 40px rgba(0, 0, 0, 0.8);
    --blur-strong: blur(15px);
    
    /* Enhanced Gradients */
    --grad-gold: linear-gradient(135deg, #FFD700 0%, #B8860B 100%);
    --grad-fire: linear-gradient(135deg, #FF8C00 0%, #FFD700 100%);
    --grad-dark: linear-gradient(180deg, #0A0A0A 0%, #000000 100%);
    --text: #FFFFFF;
    --dark-gray: #121212;
    --border: rgba(255, 255, 255, 0.1);
}

select option {
    background-color: #121212;
    color: #FFFFFF;
}


body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: radial-gradient(circle at top, rgba(255, 204, 0, 0.12), transparent 60%),
                radial-gradient(circle at bottom, rgba(0, 0, 0, 0.95), #000000),
                #000000;
    color: var(--text);
    overflow-x: hidden;
    -webkit-user-select: none;
    user-select: none;
    will-change: background;
    contain: layout style paint;
}



.dashboard-main {
    margin-top: 80px;
    padding: 32px 20px 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.dashboard-hero {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 32px;
}

.dashboard-hero-copy h1 {
    font-size: 2.1em;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dashboard-hero-copy p {
    max-width: 520px;
    font-size: 0.95em;
    color: var(--text-secondary);
}

.dashboard-hero-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
    justify-content: center;
}

.hero-pill {
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 204, 0, 0.6);
    font-size: 0.8em;
    color: var(--accent);
}

.kpi-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.kpi-card {
    padding: 16px 18px;
    border-radius: 14px;
    background: white;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.kpi-label {
    font-size: 0.8em;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #666;
    margin-bottom: 6px;
}

.kpi-value {
    font-size: 1.8em;
    font-weight: 700;
    color: black;
}

.kpi-sub {
    margin-top: 4px;
    font-size: 0.8em;
    color: #888;
}

.view-toggle {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 20px;
}

.toggle-btn {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 204, 0, 0.5);
    background: rgba(0, 0, 0, 0.9);
    color: var(--text-secondary);
    font-size: 0.8em;
    cursor: pointer;
    transition: all 0.2s;
}

.toggle-btn.active {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: #111827;
    border-color: transparent;
}

.mvp-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.mvp-column h2 {
    font-size: 1em;
    color: var(--primary);
    margin-bottom: 10px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.flow-lane {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, auto));
    align-items: stretch;
    gap: 8px;
}

.flow-card {
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    padding: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    font-size: 0.82em;
}

.flow-card h3 {
    margin: 0 0 6px 0;
    font-size: 0.9em;
    color: black;
    font-weight: 800;
}

.flow-card p {
    margin: 0;
    color: #555;
    line-height: 1.4;
}

.flow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.2em;
}

.map-row {
    grid-template-columns: 1.3fr 1.7fr;
}

.map-shell {
    background: radial-gradient(circle at top left, rgba(255, 204, 0, 0.18), rgba(0, 0, 0, 0.9));
    border-radius: 16px;
    padding: 18px;
    border: 1px solid rgba(255, 204, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.map-phone {
    margin: 0 auto;
    width: 180px;
    height: 320px;
    border-radius: 30px;
    background: #000;
    border: 3px solid rgba(255, 204, 0, 0.7);
    padding: 10px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.85);
}

.map-screen {
    width: 100%;
    height: 100%;
    border-radius: 22px;
    background: radial-gradient(circle at 15% 20%, #f97316, transparent 55%),
        radial-gradient(circle at 80% 30%, #ec4899, transparent 55%),
        radial-gradient(circle at 40% 85%, #22c55e, transparent 55%);
    position: relative;
    overflow: hidden;
}

.map-marker {
    position: absolute;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.85);
    border: 2px solid rgba(255, 255, 255, 0.6);
    font-size: 1em;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8);
}

.marker-hot {
    top: 20%;
    left: 18%;
}

.marker-chill {
    top: 40%;
    right: 16%;
}

.marker-packed {
    bottom: 18%;
    left: 50%;
    transform: translateX(-50%);
}

.map-legend {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    font-size: 0.78em;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
}

.dot.hot {
    background: #fb923c;
}

.dot.chill {
    background: #38bdf8;
}

.dot.packed {
    background: #22c55e;
}

.cta-column p {
    font-size: 0.9em;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cta-chip {
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 204, 0, 0.7);
    background: rgba(0, 0, 0, 0.85);
    color: var(--primary);
    font-size: 0.85em;
    cursor: pointer;
    transition: all 0.2s;
}

.cta-chip:hover {
    background: rgba(255, 204, 0, 0.16);
}

.cta-go {
    background: linear-gradient(135deg, #22c55e, #4ade80);
    color: #022c22;
    border-color: transparent;
}

.data-row {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.data-pill {
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 204, 0, 0.6);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85em;
}

.data-icon {
    font-size: 1.1em;
}

.data-label {
    color: var(--text-secondary);
}

.image-row {
    display: flex;
    justify-content: center;
}

.image-frame {
    margin-top: 8px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 204, 0, 0.6);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.9);
    max-width: 1000px;
}

.image-frame-img {
    display: block;
    width: 100%;
    height: auto;
}

.insights-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.insight-card {
    padding: 18px 18px 16px;
    border-radius: 14px;
    background: white;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.insight-card h2 {
    font-size: 0.95em;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: black;
    font-weight: 800;
    margin-bottom: 10px;
}

.insight-metrics {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.insight-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.insight-text {
    display: flex;
    justify-content: space-between;
    font-size: 0.8em;
}

.insight-label {
    color: var(--text-secondary);
}

.insight-value {
    color: var(--accent);
    font-weight: 600;
}

.insight-bar-wrap {
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    overflow: hidden;
}

.insight-bar {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
}

.heat-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}

.heat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-size: 0.8em;
}

.heat-label {
    color: var(--text-secondary);
}

.heat-intensity {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
}

.heat-bar {
    flex: 1;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, #22c55e, #facc15);
}

.heat-value {
    width: 34px;
    text-align: right;
    color: var(--accent);
}

.hidden-view {
    opacity: 0.25;
    filter: grayscale(0.7);
}

/* === Membership Tiers & Donut === */
.membership-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tier-summary-card {
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid rgba(255, 204, 0, 0.5);
    background: radial-gradient(circle at top left, rgba(255, 204, 0, 0.18), rgba(0, 0, 0, 0.96));
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.85);
}

.tier-summary-label {
    font-size: 0.8em;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
}

.tier-summary-value {
    font-size: 1.4em;
    font-weight: 700;
    color: var(--primary);
}

.tier-summary-sub {
    font-size: 0.8em;
    color: var(--text-secondary);
}

.tier-donut-card {
    padding: 18px 18px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 204, 0, 0.5);
    background: radial-gradient(circle at top, rgba(255, 204, 0, 0.18), rgba(0, 0, 0, 0.96));
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.tier-donut-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-size: 0.85em;
    color: var(--text-secondary);
}

.info-icon {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7em;
}

.tier-donut-shell {
    --donut-percent: 2;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background:
        conic-gradient(#ff2d91 0 calc(var(--donut-percent) * 1%),
            #e2e8f0 0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.tier-donut-shell::after {
    content: '';
    position: absolute;
    inset: 22px;
    border-radius: 50%;
    background: #ffffff;
}

.tier-donut-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #111827;
}

.tier-donut-main {
    font-size: 2.1em;
    font-weight: 700;
    color: #111827;
}

.tier-donut-status {
    font-size: 0.9em;
    font-weight: 600;
    color: #f97316;
}

.tier-donut-spend {
    font-size: 0.9em;
    color: #6b7280;
}

.tier-donut-chip {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    background: #f9fafb;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75em;
    color: #4b5563;
    box-shadow: 0 4px 10px rgba(148, 163, 184, 0.5);
    z-index: 2;
}

.tier-donut-actions {
    display: flex;
    gap: 10px;
    width: 100%;
    justify-content: center;
}

.tier-money-btn,
.tier-reset-btn {
    min-width: 110px;
    padding: 10px 16px;
    border-radius: 999px;
    border: none;
    font-size: 0.85em;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.tier-money-btn {
    background: linear-gradient(135deg, #f97316, #ec4899);
    color: #f9fafb;
    box-shadow: 0 10px 25px rgba(248, 113, 113, 0.4);
    position: relative;
}

.tier-money-btn .badge {
    margin-left: 6px;
    background: #ffffff;
    color: #e11d48;
    border-radius: 999px;
    padding: 2px 7px;
    font-size: 0.7em;
    font-weight: 700;
}

.tier-reset-btn {
    background: #e5e7eb;
    color: #4b5563;
}

.tier-money-btn:hover,
.tier-reset-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.tier-donut-scale {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3px;
    margin-top: 4px;
}

.scale-segment {
    height: 6px;
    border-radius: 999px;
}

.scale-low {
    background: linear-gradient(90deg, #9ca3af, #e5e7eb);
}

.scale-mid {
    background: linear-gradient(90deg, #22c55e, #a3e635);
}

.scale-high {
    background: linear-gradient(90deg, #facc15, #fb923c);
}

.scale-signature {
    background: linear-gradient(90deg, #ec4899, #a855f7);
}

.tier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-bottom: 32px;
}

.tier-card {
    padding: 18px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 204, 0, 0.35);
    background: radial-gradient(circle at top, rgba(255, 204, 0, 0.15), rgba(0, 0, 0, 0.95));
    color: var(--text);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.8);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.tier-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.9);
    border-color: var(--accent);
}

.tier-name {
    font-size: 1.1em;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tier-rule {
    font-size: 0.9em;
    color: var(--accent);
}

.tier-role-note {
    font-size: 0.85em;
    color: var(--text-secondary);
}

.tier-bronze {
    border-color: #b08d57;
}

.tier-silver {
    border-color: #e5e7eb;
}

.tier-gold {
    border-color: #fbbf24;
}

.tier-platinum {
    border-color: #a5b4fc;
}

.tier-diamond {
    border-color: #38bdf8;
}

.tier-signature {
    border-color: #f97316;
}

.tier-detail {
    border-radius: 18px;
    padding: 20px 18px;
    border: 1px solid rgba(255, 204, 0, 0.45);
    background: radial-gradient(circle at top, rgba(255, 204, 0, 0.18), rgba(0, 0, 0, 0.96));
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
}

.tier-detail-header h1 {
    font-size: 1.6em;
    margin-bottom: 6px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tier-detail-body {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.tier-detail-footer {
    margin-top: 18px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

@media (max-width: 960px) {
    .mvp-row {
        grid-template-columns: 1fr;
    }

    .flow-lane {
        grid-template-columns: 1fr;
    }

    .flow-arrow {
        justify-content: flex-start;
    }

    .map-row {
        grid-template-columns: 1fr;
    }

    .dashboard-hero {
        flex-direction: column;
    }

    .dashboard-hero-meta {
        align-items: flex-start;
    }

    .membership-row {
        grid-template-columns: 1fr;
    }

    .tier-donut-card {
        margin-top: 8px;
    }
}



/* ===== ROLE SELECTION SCREEN ===== */
.screen {
    display: none;
}

.screen.active {
    display: flex;
    flex-direction: column;
}

.role-screen {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    text-align: center;
    background: linear-gradient(135deg, #000000 0%, #1a0033 50%, #001a4d 100%);
    overflow-y: auto;
}

.role-header {
    margin-bottom: 40px;
}

.role-header h1 {
    font-size: 1.8em;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.role-header p {
    color: var(--text-secondary);
    font-size: 0.95em;
}

.role-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    width: 100%;
    max-width: 400px;
}

.role-card {
    padding: 25px;
    background: linear-gradient(135deg, rgba(255, 204, 0, 0.15) 0%, rgba(218, 165, 32, 0.1) 100%);
    border: 1px solid rgba(255, 204, 0, 0.3);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.role-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 8px 32px rgba(255, 204, 0, 0.3);
    background: linear-gradient(135deg, rgba(255, 204, 0, 0.25) 0%, rgba(218, 165, 32, 0.15) 100%);
}

.role-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.role-card h3 {
    font-size: 1.1em;
    margin-bottom: 8px;
    color: var(--primary);
    font-weight: 600;
}

.role-card p {
    font-size: 0.85em;
    color: var(--text-secondary);
}

/* ===== APP CONTENT ===== */
.app-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.app-content.hidden {
    display: none;
}

.screen {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 70px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.screen::-webkit-scrollbar {
    display: none;
}

/* ===== HEADER BAR ===== */
.header-bar {
    padding: 12px 16px;
    background: linear-gradient(135deg, var(--dark-gray) 0%, #331a00 100%);
    border-bottom: 1px solid var(--accent);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-location {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95em;
    font-weight: 500;
}

.location-icon {
    font-size: 1.2em;
}

.header-actions {
    display: flex;
    gap: 12px;
}

.header-btn {
    background: transparent;
    border: none;
    font-size: 1.3em;
    cursor: pointer;
    transition: 0.2s;
}

.header-btn:active {
    transform: scale(0.9);
}

/* ===== PAGE CONTENT ===== */
.page-content {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0;
}

.page-content::-webkit-scrollbar {
    width: 4px;
}

.page-content::-webkit-scrollbar-track {
    background: transparent;
}

.page-content::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 2px;
}

.section {
    padding: 16px;
    padding-top: 20px;
}

.section-title {
    font-size: 1em;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ===== EVENT CAROUSEL ===== */
.event-carousel,
.talent-carousel {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 0 8px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.event-carousel::-webkit-scrollbar,
.talent-carousel::-webkit-scrollbar {
    display: none;
}

.event-card,
.talent-card {
    flex: 0 0 calc(100vw - 100px);
    max-width: 300px;
    background: linear-gradient(135deg, rgba(255, 204, 0, 0.1), rgba(218, 165, 32, 0.05));
    border: 1px solid rgba(255, 204, 0, 0.3);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(255, 204, 0, 0.2);
}

.event-card:active,
.talent-card:active {
    transform: scale(0.98);
}

.card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
}

.card-info {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-title {
    font-size: 1.1em;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}

.card-location {
    font-size: 0.85em;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.card-date {
    font-size: 0.85em;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-price {
    font-size: 1em;
    font-weight: 700;
    color: var(--primary);
}

.card-btn {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border: none;
    padding: 6px 16px;
    border-radius: 6px;
    color: var(--text);
    font-weight: 600;
    font-size: 0.85em;
    cursor: pointer;
    transition: all 0.2s;
}

.card-btn:hover {
    transform: scale(1.05);
}

.card-subtitle {
    font-size: 0.8em;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.card-meta {
    display: flex;
    gap: 8px;
    font-size: 0.75em;
    color: var(--accent);
}

.card-badge {
    background: rgba(255, 0, 110, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--accent);
    font-weight: 500;
}

/* ===== EVENTS LIST ===== */
.events-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.event-item {
    padding: 16px;
    background: linear-gradient(135deg, rgba(255, 204, 0, 0.15), rgba(218, 165, 32, 0.1));
    border: 1px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    gap: 12px;
}

.event-item:active {
    transform: scale(0.98);
}

.event-item:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 16px rgba(255, 204, 0, 0.2);
}

.event-thumbnail {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
}

.event-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-name {
    font-size: 0.95em;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.event-info {
    font-size: 0.8em;
    color: var(--text-secondary);
}

/* ===== DETAIL PAGES ===== */
.page-header {
    padding: 16px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.page-header h1 {
    font-size: 1.3em;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.detail-header {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.back-btn {
    background: transparent;
    border: none;
    color: var(--primary);
    font-size: 1em;
    cursor: pointer;
    padding: 8px 0;
    transition: 0.2s;
}

.back-btn:active {
    transform: scale(0.9);
}

/* ===== TALENT DETAIL ===== */
.talent-header {
    padding: 20px;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 204, 0, 0.2), rgba(218, 165, 32, 0.15));
}

.talent-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3em;
    border: 3px solid var(--primary);
}

.talent-name {
    font-size: 1.4em;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.talent-role {
    color: var(--accent);
    font-size: 0.95em;
    margin-bottom: 12px;
}

.talent-rating {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 16px;
    font-size: 0.9em;
}

.rating-item {
    text-align: center;
    color: var(--text-secondary);
}

.rating-value {
    font-size: 1.2em;
    font-weight: 700;
    color: var(--primary);
}

.book-talent-btn {
    width: calc(100% - 40px);
    margin: 0 20px;
    padding: 12px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border: none;
    border-radius: 8px;
    color: var(--text);
    font-weight: 600;
    font-size: 0.95em;
    cursor: pointer;
    transition: all 0.3s;
}

.book-talent-btn:active {
    transform: scale(0.98);
}

/* ===== SEARCH HEADER ===== */
.search-header {
    padding: 12px 16px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-bottom: 1px solid var(--border);
    display: flex;
    gap: 8px;
}

.search-input {
    flex: 1;
    padding: 10px 14px;
    background: var(--dark-gray);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 0.9em;
    transition: 0.2s;
}

.search-input::placeholder {
    color: #6b7280;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0, 217, 255, 0.05);
}

.filter-btn {
    padding: 10px 14px;
    background: rgba(255, 204, 0, 0.2);
    border: 1px solid var(--secondary);
    border-radius: 8px;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1.1em;
}

.filter-btn:active {
    transform: scale(0.95);
}

/* ===== CREATE FORM ===== */
.create-form {
    padding: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9em;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: var(--dark-gray);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-family: inherit;
    font-size: 0.95em;
    transition: 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0, 217, 255, 0.05);
}

.btn-primary {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border: none;
    border-radius: 8px;
    color: var(--text);
    font-weight: 600;
    font-size: 0.95em;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 20px;
}

.btn-primary:active {
    transform: scale(0.98);
}

/* ===== PROFILE SCREEN ===== */
.profile-header {
    padding: 40px 20px;
    text-align: center;
    background: radial-gradient(circle at top, rgba(255, 215, 0, 0.1), transparent);
    border-bottom: 1px solid var(--border-subtle);
}

.profile-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: var(--grad-gold);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8em;
    border: 3px solid var(--bg-dark);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.2);
}

.profile-header h2 {
    font-size: 1.5em;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.profile-header p {
    color: var(--primary);
    font-size: 0.95em;
    font-weight: 600;
    opacity: 0.9;
}

.profile-section {
    padding: 20px;
}

.profile-section h3 {
    font-size: 0.95em;
    color: var(--primary);
    margin-bottom: 16px;
    font-weight: 600;
}

.profile-helper-text {
    margin-top: 10px;
    font-size: 0.85em;
    color: var(--text-secondary);
    line-height: 1.5;
}

.profile-dashboard {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.8fr);
    gap: 20px;
    align-items: stretch;
    margin-top: 10px;
}

.profile-metrics {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.metric-card {
    padding: 14px 16px;
    background: radial-gradient(circle at top left, rgba(255, 204, 0, 0.25), rgba(15, 23, 42, 0.95));
    border-radius: 12px;
    border: 1px solid rgba(255, 204, 0, 0.4);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: 6px;
    animation: glow 3.5s ease-in-out infinite;
}

.metric-label {
    font-size: 0.8em;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.metric-value {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--primary);
}

.metric-pill {
    align-self: flex-start;
    font-size: 0.7em;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 204, 0, 0.6);
    color: var(--accent);
}

.profile-mvp {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 204, 0, 0.4);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.9);
    background: radial-gradient(circle at top, rgba(255, 204, 0, 0.25), transparent 55%);
}

.profile-mvp-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05) contrast(1.05);
    transform-origin: center;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.profile-mvp:hover .profile-mvp-image {
    transform: scale(1.02);
    filter: saturate(1.1) contrast(1.1);
}

.profile-mvp-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 14px;
    pointer-events: none;
}

.profile-mvp-overlay .overlay-tag {
    align-self: flex-start;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.7);
    color: #fef3c7;
    font-size: 0.75em;
    font-weight: 600;
    border: 1px solid rgba(255, 204, 0, 0.7);
    backdrop-filter: blur(8px);
}

.profile-mvp-overlay .overlay-tag:nth-child(2) {
    align-self: center;
}

.profile-mvp-overlay .overlay-tag:nth-child(3) {
    align-self: flex-end;
}

@media (max-width: 768px) {
    .profile-dashboard {
        grid-template-columns: 1fr;
    }
}

.profile-item {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, rgba(255, 204, 0, 0.15), rgba(218, 165, 32, 0.1));
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--primary);
    text-align: left;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 10px;
    font-size: 0.9em;
    font-weight: 500;
}

.profile-item:active {
    transform: scale(0.98);
}

.profile-item:hover {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(255, 204, 0, 0.2), rgba(255, 204, 0, 0.1));
}

/* ===== MESSAGES LIST ===== */
.messages-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.message-item {
    padding: 16px;
    background: linear-gradient(90deg, transparent, rgba(255, 204, 0, 0.1));
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    gap: 12px;
}

.message-item:active {
    background: linear-gradient(90deg, transparent, rgba(255, 204, 0, 0.15));
}

.message-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3em;
    flex-shrink: 0;
}

.message-content {
    flex: 1;
}

.message-name {
    font-size: 0.95em;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 4px;
}

.message-text {
    font-size: 0.85em;
    color: var(--text-secondary);
    line-height: 1.4;
}

.message-time {
    font-size: 0.75em;
    color: #6b7280;
    margin-top: 4px;
}

/* ===== BOTTOM NAVIGATION ===== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.98) 100%);
    border-top: 1px solid var(--primary);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-btn {
    flex: 1;
    height: 100%;
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    color: #6b7280;
    transition: all 0.3s;
    position: relative;
}

.nav-btn.active {
    color: var(--primary);
}

.nav-btn.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--accent), var(--primary));
}

.nav-btn.center-action {
    width: 68px;
    height: 68px;
    min-width: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 223, 0, 0.95), rgba(255, 170, 0, 0.9));
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.25);
    transform: translateY(-10%);
    color: #000;
}

.nav-btn.center-action .nav-icon {
    font-size: 1.9em;
}

.nav-icon {
    font-size: 1.5em;
    transition: 0.2s;
}

.nav-label {
    font-size: 0.65em;
    font-weight: 500;
}

.nav-btn:active .nav-icon {
    transform: scale(1.2);
}

/* ===== TABS/SECTIONS ===== */
.tab-content {
    padding: 16px;
    margin-bottom: 80px;
}

.section {
    background: linear-gradient(135deg, rgba(255, 204, 0, 0.1), rgba(218, 165, 32, 0.05));
    padding: 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    margin-bottom: 16px;
}

.section h2 {
    font-size: 1.1em;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.section p {
    font-size: 0.9em;
    color: var(--text-secondary);
    line-height: 1.5;
}

h3 {
    color: var(--accent);
    font-size: 0.95em;
    margin: 16px 0 8px 0;
    font-weight: 600;
}

ul,
ol {
    margin-left: 20px;
}

li {
    color: var(--text-secondary);
    font-size: 0.9em;
    margin-bottom: 8px;
    line-height: 1.5;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
    .role-grid {
        grid-template-columns: 1fr;
    }

    .event-card,
    .talent-card {
        flex: 0 0 calc(88vw);
    }

    .section-title {
        font-size: 0.95em;
    }
}

@media (min-width: 768px) {
    .role-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .event-carousel {
        padding: 0 16px;
    }

    .event-card,
    .talent-card {
        flex: 0 0 calc(50vw - 30px);
    }

    .search-header {
        padding: 16px 20px;
    }

    .page-content {
        padding: 0 20px;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(255, 204, 0, 0.5);
    }

    50% {
        box-shadow: 0 0 40px rgba(255, 204, 0, 0.8);
    }
}

.screen.active {
    animation: fadeIn 0.3s ease;
}

@media (min-width: 768px) {
    .bottom-nav {
        display: none;
    }
}

.site-footer {
    padding: 24px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85em;
    margin-top: auto;
    border-top: 1px solid rgba(255, 204, 0, 0.2);
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
    position: relative;
    z-index: 10;
}

.site-footer p {
    margin: 4px 0;
}
.screen {
  display: none;
}
.screen.active {
  display: block;
}

/* ===== AUTH PAGES (SIGN IN / SIGN UP) ===== */
.auth-body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: radial-gradient(circle at top, rgba(255, 204, 0, 0.15), transparent 55%),
                radial-gradient(circle at bottom, rgba(124, 58, 237, 0.4), #000000);
    color: var(--text);
}

.auth-container {
    width: 100%;
    max-width: 420px;
}

.auth-card {
    background: rgba(15, 23, 42, 0.95);
    border-radius: 16px;
    border: 1px solid rgba(255, 204, 0, 0.3);
    padding: 32px 28px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.8);
}

.auth-title {
    font-size: 1.7em;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    text-align: center;
}

.auth-subtitle {
    font-size: 0.95em;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 24px;
}

.auth-form .form-group {
    margin-bottom: 18px;
}

.auth-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 0.9em;
    color: var(--text-secondary);
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .auth-card {
        padding: 24px 18px;
    }
}

/* PROFILE DROPDOWN */
.profile-dropdown-container {
    position: relative;
    display: inline-block;
}

.profile-dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid rgba(255, 204, 0, 0.4);
    border-radius: 8px;
    min-width: 140px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    z-index: 2000;
    overflow: hidden;
    margin-top: 8px;
}

.profile-dropdown-container:hover .profile-dropdown-menu,
.profile-dropdown-container:focus-within .profile-dropdown-menu {
    display: flex;
    flex-direction: column;
}

.profile-dropdown-item {
    color: var(--text-secondary);
    padding: 12px 16px;
    text-decoration: none;
    font-size: 0.9em;
    transition: background 0.2s, color 0.2s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.profile-dropdown-item:last-child {
    border-bottom: none;
}

.profile-dropdown-item:hover {
    background: rgba(255, 204, 0, 0.15);
    color: var(--primary);
}

/* TICKETS & HOWLER STYLES */
.tickets-container {
    padding-bottom: 90px;
    width: 100%;
}

.howler-search-bar {
    display: flex;
    gap: 15px;
    padding: 20px 40px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 204, 0, 0.2);
    position: sticky;
    top: 80px;
    z-index: 100;
}

.howler-search-input,
.howler-category-select,
.howler-date-select {
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 204, 0, 0.4);
    border-radius: 8px;
    color: var(--text);
    font-size: 1em;
    outline: none;
    transition: border-color 0.2s;
}

.howler-search-input:focus,
.howler-category-select:focus,
.howler-date-select:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.12);
}

.howler-search-input {
    flex: 1;
}

.howler-search-btn {
    padding: 12px 24px;
    background: var(--primary);
    color: #000;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1em;
    transition: background 0.3s;
}

.howler-search-btn:hover {
    background: var(--accent);
}

.howler-hero-banner {
    position: relative;
    height: 450px;
    width: 100%;
    margin-bottom: 40px;
    overflow: hidden;
}

.howler-hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 10s linear;
}

.howler-hero-banner:hover img {
    transform: scale(1.05);
}

.howler-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 40px 40px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.95) 80%);
}

.howler-hero-tag {
    display: inline-block;
    background: var(--primary);
    color: #000;
    padding: 6px 14px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.9em;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.howler-hero-title {
    font-size: 3.2em;
    font-weight: 800;
    margin-bottom: 12px;
    color: #fff;
    text-shadow: 0 4px 15px rgba(0,0,0,0.8);
    line-height: 1.1;
}

.howler-hero-meta {
    display: flex;
    gap: 25px;
    color: #eee;
    margin-bottom: 25px;
    font-size: 1.15em;
    font-weight: 500;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

.howler-hero-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.howler-hero-btn {
    background: var(--primary);
    color: #000;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1em;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

.howler-hero-btn:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

.howler-content-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.howler-section-title {
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 25px;
    color: #fff;
    border-left: 4px solid var(--primary);
    padding-left: 15px;
}

.howler-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.howler-card {
    background: rgba(20, 20, 20, 0.9);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 204, 0, 0.15);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
}

.howler-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 204, 0, 0.6);
}

.howler-card-img-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.howler-card-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.howler-card:hover .howler-card-img {
    transform: scale(1.08);
}

.howler-date-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid var(--primary);
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    color: var(--text);
    min-width: 65px;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.howler-date-month {
    font-size: 0.8em;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 800;
    display: block;
    margin-bottom: 2px;
}

.howler-date-day {
    font-size: 1.5em;
    font-weight: 800;
    line-height: 1;
}

.howler-card-content {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.howler-card-title {
    font-size: 1.35em;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
    line-height: 1.3;
}

.howler-card-venue {
    color: var(--text-secondary);
    font-size: 0.95em;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
}

.howler-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 18px;
}

.howler-price {
    font-weight: 800;
    color: #fff;
    font-size: 1.2px;
}
.howler-price small {
    color: var(--text-secondary);
    font-weight: normal;
    font-size: 0.85em;
    display: block;
}

.howler-btn {
    background: transparent;
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 700;
    border: 2px solid var(--primary);
    cursor: pointer;
    transition: all 0.2s;
}

.howler-card:hover .howler-btn, .howler-btn:hover {
    background: var(--primary);
    color: #000;
}

@media (max-width: 768px) {
    .howler-search-bar {
        flex-direction: column;
        padding: 15px 20px;
    }
    .howler-hero-banner {
        height: 300px;
    }
    .howler-hero-title {
        font-size: 2em;
    }
    .howler-hero-meta {
        font-size: 0.9em;
        flex-direction: column;
        gap: 10px;
    }
    .howler-grid {
        padding: 0 20px;
        grid-template-columns: 1fr;
    }
    .howler-content-section {
        padding: 0 20px;
    }
}

/* FEATURED ARTISTS */
.howler-artists-row {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 204, 0, 0.4) transparent;
}

.howler-artists-row::-webkit-scrollbar {
    height: 6px;
}

.howler-artists-row::-webkit-scrollbar-thumb {
    background-color: rgba(255, 204, 0, 0.4);
    border-radius: 10px;
}

.howler-artist-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 150px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s;
}

.howler-artist-card:hover {
    transform: translateY(-5px);
}

.howler-artist-img-wrapper {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 12px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.howler-artist-card:hover .howler-artist-img-wrapper {
    border-color: var(--primary);
    box-shadow: 0 8px 20px rgba(255, 204, 0, 0.2);
}

.howler-artist-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.howler-artist-img-wrapper.default-icon {
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.music-icon {
    font-size: 3em;
    color: rgba(255, 255, 255, 0.3);
}

.howler-artist-name {
    font-size: 1.1em;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.howler-artist-events {
    font-size: 0.85em;
    color: var(--text-secondary);
}

.app-content {
    height: calc(100vh - 80px); /* Fill the screen excluding top nav */
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

.home-main-section {
    min-height: calc(100vh - 80px);
    width: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    flex-direction: column;
    position: relative;
    padding-bottom: 20px;
}

#discover-section {
    width: 100%;
}

.discover-feed-wrapper .feed-item {
    height: calc(100vh - 80px); /* Fit exactly in view */
    width: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    position: relative;
    display: flex;
    align-items: flex-end;
    background-color: #000;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 10;
}

.scroll-indicator .arrow {
    font-size: 1.2rem;
    margin-top: 5px;
}

/* ===== ARTIST STATUSES (STORY BLOCKS) ===== */
.stories-container {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 20px;
    background: transparent;
    scrollbar-width: none;
    mask-image: linear-gradient(to right, black 85%, transparent);
}

.story-block {
    flex: 0 0 110px;
    height: 145px;
    border-radius: 18px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.story-block::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    padding: 1.5px;
    background: var(--grad-gold);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.3;
    transition: 0.5s;
}

.story-block:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.15);
}

.story-block:hover::before {
    opacity: 1;
}

.story-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85);
    transition: transform 0.8s ease;
}

.story-block:hover .story-img {
    transform: scale(1.15);
    filter: brightness(1);
}

.story-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, transparent 70%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 12px 10px;
    z-index: 2;
}

.story-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
    letter-spacing: 0.02em;
}

.story-count {
    font-size: 0.65rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
}

/* Adjust mobile for stories */
@media (max-width: 768px) {
    .stories-container {
        padding: 10px 15px;
        gap: 10px;
    }
    .story-block {
        flex: 0 0 85px;
        height: 110px;
    }
}

/* ===== FEATURED ARTISTS (WHATSAPP STATUS STYLE) ===== */
.featured-artists-status {
    width: 100%;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.9); /* Dark background for readability */
    backdrop-filter: var(--blur-strong);
    border-bottom: 1px solid var(--border-gold);
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    z-index: 50;
    position: static;
}

/* ===== PREMIUM HOST BANNER ===== */
.host-party-banner {
    margin: 20px;
    padding: 40px 30px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(184, 134, 11, 0.05)), url('https://images.unsplash.com/photo-1541250848049-b4f71413cc30?q=80&w=1200&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    border: 1px solid var(--border-gold);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    position: relative;
    overflow: hidden;
}

.host-party-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

.host-party-banner > * {
    position: relative;
    z-index: 2;
}

.host-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary);
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.host-subtitle {
    font-size: 1rem;
    color: #fff;
    opacity: 0.9;
}

.host-btn {
    margin-top: 10px;
    padding: 12px 30px;
    background: var(--grad-gold);
    color: #000;
    border: none;
    border-radius: 30px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
}

/* ===== LIVE ENERGY MAP SECTION ===== */
.energy-map-section {
    padding: 20px;
    margin-bottom: 30px;
}

.energy-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.energy-tag {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: bold;
}

.energy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.energy-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 15px;
    border-radius: 16px;
    text-align: center;
    transition: 0.3s;
}

.energy-card:hover {
    border-color: var(--primary);
}

.energy-level {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin: 5px 0;
}

.energy-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* ===== MEMBERSHIP PERKS SECTION ===== */
.perks-scroller {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 20px;
    scrollbar-width: none;
}

.perk-item {
    flex: 0 0 240px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent);
    border: 1px solid rgba(255, 215, 0, 0.1);
    padding: 20px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.perk-icon {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.perk-name {
    font-weight: bold;
    color: var(--primary);
}

.perk-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.featured-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.featured-bar {
    width: 4px;
    height: 32px;
    background: var(--primary);
    border-radius: 2px;
}

.featured-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
}

.status-row {
    display: flex;
    gap: 25px;
    padding-bottom: 10px;
}

.status-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    min-width: 90px;
}

.status-circle-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    position: relative;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.status-item:hover .status-circle-wrapper {
    transform: scale(1.1);
}

.status-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #111;
    border: 3px solid #000;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.status-music-icon {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.2);
}

.status-info {
    text-align: center;
}

.status-artist-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
    display: block;
}

.status-event-count {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    display: block;
}

.status-progress-bar {
    position: absolute;
    bottom: -20px;
    left: 20px;
    right: 20px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.status-progress-fill {
    height: 100%;
    background: var(--primary);
    width: 60%;
    border-radius: 2px;
}

#discoverScreen .feed-container::-webkit-scrollbar {
    display: none;
}

#discoverScreen .feed-item {
    height: 100%;
    width: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    position: relative;
    display: flex;
    align-items: flex-end;
    background-color: #000;
}

.feed-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.feed-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.8) 20%, rgba(0,0,0,0.4) 60%, transparent 100%);
    z-index: 1;
}

.feed-header-discover {
    position: sticky;
    top: 0; 
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 110;
    pointer-events: auto; /* Enable clicking tabs */
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 15px 0;
    background: #000; /* Solid background for the tabs */
}

.feed-header-tab {
    color: rgba(255,255,255,0.6);
    font-size: 1rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    transition: color 0.3s;
    cursor: pointer;
    pointer-events: auto;
}

.feed-header-tab.active {
    color: #fff;
    position: relative;
}

.feed-header-tab.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background-color: var(--primary);
    border-radius: 2px;
}

.feed-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    padding-bottom: 20px;
    width: calc(100% - 60px);
    pointer-events: none;
}

.feed-content > * {
    pointer-events: auto;
}

.feed-tag {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 215, 0, 0.15);
    backdrop-filter: var(--blur-strong);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 800;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 1px solid var(--border-gold);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.feed-title {
    font-size: 2.2rem;
    font-weight: 900;
    margin: 0 0 12px 0;
    color: #fff;
    text-shadow: 0 4px 12px rgba(0,0,0,0.8);
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.feed-meta {
    margin-bottom: 20px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feed-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.feed-actions {
    display: flex;
    gap: 12px;
    width: 100%;
    margin-top: 10px;
}

.btn-action {
    flex: 1;
    padding: 14px;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    border: 1px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary-action {
    background: var(--grad-gold);
    color: #000;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.25);
}

.btn-primary-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.35);
}

.btn-secondary-action {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(10px);
}

.interaction-sidebar {
    position: absolute;
    right: 10px;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 10;
    pointer-events: auto;
    align-items: center;
}

.interaction-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
}

.interaction-icon {
    font-size: 1.8rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.interaction-text {
    font-size: 0.75rem;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}

.profile-img-sidebar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid white;
    object-fit: cover;
}

/* ==========================================================================
   MOBILE OPTIMIZATION (COMPREHENSIVE)
   ========================================================================== */

@media (max-width: 768px) {
    /* TOP NAVIGATION */
    .top-nav {
        height: 60px;
        padding: 0 15px;
        border-bottom-width: 2px;
    }

    .nav-menu {
        display: none; /* Hide top links on mobile, use bottom-nav */
    }

    .nav-brand {
        min-width: auto;
    }

    .logo-img {
        height: 80px; /* Smaller logo for mobile */
        margin-top: 4px;
        filter: drop-shadow(0 4px 8px rgba(255, 204, 0, 0.3));
    }

    .location-badge {
        display: none; /* Hide location text to save space */
    }

    .nav-actions {
        gap: 8px;
    }

    .nav-icon-btn {
        padding: 6px;
        font-size: 1.1em;
    }

    /* HERO SECTION */
    .hero-section {
        padding: 60px 20px 20px;
    }

    .hero-title {
        font-size: 1.8em;
    }

    .hero-subtitle {
        font-size: 0.9em;
        margin-bottom: 25px;
    }

    /* CTA BUTTONS */
    .cta-buttons {
        grid-template-columns: 1fr; /* Stack buttons */
        padding: 20px;
        gap: 12px;
        margin-top: 20px;
    }

    .cta-btn {
        padding: 14px;
        font-size: 1rem;
    }

    /* APP LAYOUT */
    .app-container {
        margin-top: 60px; /* Match new top-nav height */
    }

    .app-content {
        height: calc(100vh - 60px - 70px); /* Fill space between navs */
    }

    .home-main-section {
        min-height: calc(100vh - 60px - 70px);
    }

    /* DISCOVER FEED */
    .discover-feed-wrapper .feed-item {
        height: calc(100vh - 60px - 70px);
    }

    .feed-content {
        padding: 15px;
        width: calc(100% - 70px);
    }

    .feed-title {
        font-size: 1.4em;
    }

    .feed-meta {
        font-size: 0.85em;
    }

    .interaction-sidebar {
        right: 8px;
        bottom: 20px;
        gap: 15px;
    }

    .interaction-icon {
        font-size: 1.5em;
    }

    /* GRID LAYOUTS */
    .howler-grid, .tier-grid, .dashboard-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }

    .howler-search-bar {
        position: static; /* Don't stick on mobile to save vertical space */
        flex-direction: column;
        padding: 15px;
        gap: 10px;
    }

    .howler-hero-banner {
        height: 250px;
    }

    .howler-hero-title {
        font-size: 1.8em;
    }

    /* BOTTOM NAV */
    .bottom-nav {
        height: 70px;
    }

    .nav-label {
        font-size: 0.6em;
    }

    /* DASHBOARD & PAGES */
    .metric-card {
        padding: 12px;
    }

    .profile-header {
        padding: 20px 15px;
    }

    .profile-avatar {
        width: 80px;
        height: 80px;
        font-size: 2em;
    }
}

/* Extra small screens */
@media (max-width: 380px) {
    .hero-title {
        font-size: 1.5em;
    }
    
    .logo-img {
        height: 60px;
    }

    .bottom-nav {
        gap: 0;
    }
}

/* ===== CALENDAR & CREATE EVENT ENHANCEMENTS ===== */
.calendar-body {
    padding-top: 100px;
    background: radial-gradient(circle at top right, rgba(255, 215, 0, 0.05), transparent), var(--bg-dark);
}

.calendar-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background: var(--bg-card);
    backdrop-filter: var(--blur-strong);
    border: 1px solid var(--border-gold);
    border-radius: 24px;
    box-shadow: var(--shadow-premium);
}

.calendar-title {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.calendar-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.calendar-form .form-group {
    margin-bottom: 20px;
}

.calendar-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.calendar-form input, 
.calendar-form select, 
.calendar-form textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s;
}

.calendar-form input:focus, 
.calendar-form select:focus, 
.calendar-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 215, 0, 0.05);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.1);
}

.saved-events h2 {
    font-size: 1.2rem;
    color: var(--primary);
    margin: 40px 0 20px;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 10px;
}

#eventList {
    list-style: none;
    display: grid;
    gap: 15px;
    padding: 0;
}

#eventList li {
    background: rgba(255, 255, 255, 0.03);
    border-left: 4px solid var(--primary);
    padding: 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

.calendar-footer {
    margin-top: 40px;
    text-align: center;
    border-top: 1px solid var(--border-subtle);
    padding-top: 20px;
}

.calendar-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

/* DASHBOARD UPLOAD & FEED STYLES */
.dashboard-share-card {
    background: radial-gradient(circle at top left, rgba(255, 204, 0, 0.15), rgba(0, 0, 0, 0.95));
    border: 1px solid var(--border-gold);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.share-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.share-header h2 {
    color: var(--primary);
    font-size: 1.2rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.share-input-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.share-textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 15px;
    color: #fff;
    font-size: 0.95rem;
    resize: none;
    width: 100%;
    min-height: 80px;
}

.share-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.file-upload-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.file-upload-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 0.9rem;
    cursor: pointer;
    border: 1px solid var(--border-subtle);
    transition: 0.3s;
}

.file-upload-btn:hover {
    background: rgba(255, 204, 0, 0.1);
    border-color: var(--primary);
}

.publish-btn {
    background: var(--grad-gold);
    color: #000;
    padding: 10px 24px;
    border-radius: 12px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.3);
}

.publish-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 204, 0, 0.4);
}

/* REAL-TIME ANALYTICS CARDS */
.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.analytics-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 18px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.analytics-chart-placeholder {
    height: 60px;
    margin: 15px 0;
    display: flex;
    align-items: flex-end;
    gap: 4px;
}

.chart-bar {
    flex: 1;
    background: var(--grad-gold);
    border-radius: 2px 2px 0 0;
    transition: height 1s ease-in-out;
}

.pulse-indicator {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    position: absolute;
    top: 20px;
    right: 20px;
    box-shadow: 0 0 10px var(--success);
    animation: pulse 2s infinite linear;
}

/* FOLLOWING FEED PAGE */
.following-body {
    background: #000;
    color: #fff;
    min-height: 100vh;
}

.following-container {
    max-width: 600px;
    margin: 0 auto;
    padding-top: 100px;
    padding-bottom: 100px;
}

.following-post {
    background: #111;
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    margin-bottom: 24px;
    overflow: hidden;
}

.post-header {
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.post-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--primary);
}

.post-user {
    font-weight: 700;
    font-size: 0.95rem;
}

.post-media {
    width: 100%;
    aspect-ratio: 4/5;
    background: #000;
}

.post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-footer {
    padding: 15px;
}

.post-caption {
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--text-secondary);
}

.post-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 8px;
}

/* ===== FINAL SMOOTHNESS & PC RESPONSIVENESS POLISH ===== */
html {
    scroll-behavior: smooth;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--border-gold);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Top Nav Mobile Fix */
@media (max-width: 768px) {
    .top-nav {
        height: 60px;
        padding: 0 15px;
    }
    
    .logo-img {
        height: 60px !important;
        margin-top: 4px;
    }

    .nav-menu {
        display: none; /* Hide desktop menu on mobile */
    }

    .location-badge {
        display: none;
    }
}

/* Bottom Nav Desktop Fix */
@media (min-width: 769px) {
    .bottom-nav {
        display: none !important;
    }
    
    .app-content {
        padding-bottom: 40px !important;
    }
}

/* Grid Spacing Polishing */
.analytics-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

/* Ensure images don't break layouts */
img {
    max-width: 100%;
    height: auto;
}

/* User Experience - Tap Targets */
button, .nav-link, .cta-btn, .howler-btn {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Feed Post Buttons */
.btn-primary {
    background: var(--grad-gold);
    color: #000;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-primary:hover {
    filter: brightness(1.2);
    transform: translateY(-2px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ================================================================
   HAMBURGER MOBILE MENU SYSTEM
   ================================================================ */

.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: 10px;
    cursor: pointer;
    gap: 5px;
    transition: all 0.3s ease;
}

.hamburger-btn:hover {
    background: rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.5);
}

.hamburger-btn .hb-line {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.hamburger-btn.open .hb-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger-btn.open .hb-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger-btn.open .hb-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile slide-down nav drawer */
.mobile-nav-drawer {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(5, 5, 10, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    z-index: 1999;
    padding: 12px 0 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
    animation: drawerSlideDown 0.3s ease forwards;
}

@keyframes drawerSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.mobile-nav-drawer.open {
    display: block;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 24px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    font-family: inherit;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--primary);
    background: rgba(255, 215, 0, 0.06);
    border-left-color: var(--primary);
}

.mobile-nav-link .mnl-icon {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.mobile-nav-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.07);
    margin: 8px 24px;
}

.mobile-nav-auth {
    display: flex;
    gap: 10px;
    padding: 12px 24px 0;
}

.mobile-nav-auth a {
    flex: 1;
    text-align: center;
    padding: 11px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}

.mobile-nav-auth .mna-signin {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: var(--primary);
}

.mobile-nav-auth .mna-signup {
    background: linear-gradient(135deg, #FFD700, #FF9500);
    color: #000;
}

/* ================================================================
   COMPREHENSIVE MOBILE FIXES (max-width: 768px)
   ================================================================ */

@media (max-width: 768px) {
    /* Hamburger visible */
    .hamburger-btn { display: flex; }

    /* Nav layout */
    .top-nav { padding: 0 14px !important; height: 60px !important; }
    .nav-brand { flex: 1; justify-content: center; }
    .logo-img  { height: 60px !important; margin-top: 2px !important; }
    .nav-actions { gap: 6px !important; }
    .nav-icon-btn { font-size: 1.1em !important; padding: 6px !important; }

    /* Dashboard main */
    .dashboard-main {
        margin-top: 70px !important;
        padding: 16px 12px 100px !important;
    }

    /* KPI: 2-column grid */
    .kpi-row {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }
    .kpi-card { padding: 12px 14px !important; }
    .kpi-value { font-size: 1.4em !important; }

    /* Analytics: 1 column */
    .analytics-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    /* MVP rows: single column */
    .mvp-row { grid-template-columns: 1fr !important; gap: 14px !important; }
    .flow-lane { grid-template-columns: 1fr !important; gap: 10px !important; }
    .flow-arrow { display: none !important; }
    .map-row { grid-template-columns: 1fr !important; }
    .insights-row { grid-template-columns: 1fr !important; gap: 12px !important; }
    .membership-row { grid-template-columns: 1fr !important; }

    /* Dashboard hero */
    .dashboard-hero { flex-direction: column !important; gap: 12px !important; margin-bottom: 20px !important; }
    .dashboard-hero-copy h1 { font-size: 1.5em !important; }
    .dashboard-hero-meta { align-items: flex-start !important; flex-direction: row !important; flex-wrap: wrap !important; gap: 8px !important; }

    /* Share card */
    .dashboard-share-card { padding: 16px !important; }
    .share-controls { flex-direction: column !important; align-items: flex-start !important; gap: 10px !important; }
    .publish-btn { width: 100% !important; }

    /* Profile */
    .profile-dashboard { grid-template-columns: 1fr !important; }
    .profile-header { padding: 20px 15px !important; }
    .profile-avatar { width: 80px !important; height: 80px !important; font-size: 2em !important; }

    /* Calendar */
    .calendar-container { margin: 20px 12px !important; padding: 20px !important; }
    .calendar-title { font-size: 1.5rem !important; }

    /* Tier */
    .tier-summary-card { flex-direction: column !important; align-items: flex-start !important; gap: 12px !important; }
    .tier-donut-actions { flex-direction: column !important; }
    .tier-money-btn, .tier-reset-btn { width: 100% !important; min-width: unset !important; }
    .map-phone { width: 140px !important; height: 250px !important; }

    /* Host banner */
    .host-party-banner { margin: 12px !important; padding: 30px 20px !important; }
    .host-title { font-size: 1.4rem !important; }

    /* Following */
    .following-container { padding: 76px 12px 90px !important; }

    /* Contact page */
    .contact-grid, .contact-form-wrapper { grid-template-columns: 1fr !important; padding: 80px 12px 40px !important; }

    /* Howler */
    .howler-content-section { padding: 0 12px !important; }
    .howler-section-title { font-size: 1.4em !important; }
    .howler-hero-overlay { padding: 30px 16px 20px !important; }
    .howler-hero-btn { padding: 12px 22px !important; font-size: 0.95em !important; }

    /* Tickets */
    .tk-hero { padding: 76px 16px 16px !important; }
    .tk-hero h1 { font-size: 1.5rem !important; }
    .tk-grid { grid-template-columns: 1fr !important; }

    /* Auth */
    .auth-body { padding: 16px !important; }
    .auth-card { padding: 20px 16px !important; }

    /* PE modal */
    .pe-modal { border-radius: 16px !important; }
    .pe-row { grid-template-columns: 1fr !important; }
    .pe-footer { flex-direction: column !important; padding: 16px !important; }
    .pe-save-btn, .pe-cancel-btn { width: 100% !important; }

    /* PM modal */
    .pm-modal { border-radius: 16px !important; }
    .pm-row { grid-template-columns: 1fr !important; }

    /* Bottom nav - handle overlap on 320px-375px */
    .bottom-nav { 
        display: flex !important; 
        height: 60px !important; 
        padding: 0 5px !important;
        justify-content: space-around !important;
    }
    .nav-btn {
        padding: 4px !important;
        flex: 1 !important;
        min-width: 0 !important;
    }
    .nav-icon { font-size: 1.25em !important; }
    .nav-label { 
        font-size: 0.55em !important; 
        white-space: nowrap; 
        overflow: hidden; 
        text-overflow: ellipsis;
        max-width: 100%;
    }
}

/* ================================================================
   TABLET (769px – 1024px)
   ================================================================ */

@media (min-width: 769px) and (max-width: 1024px) {
    .hamburger-btn { display: none; }

    .nav-menu { gap: 16px !important; margin: 0 20px !important; }
    .nav-link { font-size: 0.85em !important; }

    .kpi-row { grid-template-columns: repeat(2, 1fr) !important; gap: 14px !important; }
    .analytics-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .mvp-row { grid-template-columns: repeat(2, 1fr) !important; }
    .flow-lane { grid-template-columns: repeat(3, 1fr) !important; gap: 10px !important; }
    .flow-arrow:nth-child(4), .flow-arrow:nth-child(6) { display: none !important; }

    .dashboard-main { padding: 24px 16px 60px !important; }
    .howler-grid { grid-template-columns: repeat(2, 1fr) !important; }

    .bottom-nav { display: none !important; }
}

/* ================================================================
   DESKTOP (≥1025px)
   ================================================================ */

@media (min-width: 1025px) {
    .hamburger-btn { display: none; }
    .mobile-nav-drawer { display: none !important; }
    .bottom-nav { display: none !important; }

    .kpi-row { grid-template-columns: repeat(4, 1fr) !important; }
    .dashboard-main { padding-top: 100px !important; }
    .tk-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important; }
}

/* ================================================================
   EXTRA-SMALL PHONES (≤400px)
   ================================================================ */

@media (max-width: 400px) {
    .kpi-row { grid-template-columns: 1fr !important; }
    .logo-img { height: 40px !important; margin-top: 5px !important; }
    .top-nav { height: 50px !important; padding: 0 8px !important; }
    .nav-actions { gap: 4px !important; }
    .feed-title { font-size: 1.1em !important; }
    .tk-hero h1 { font-size: 1.25rem !important; }
    .dashboard-hero-copy h1 { font-size: 1.25em !important; }
    
    /* Hide labels on bottom nav for ultra-small screens to prevent collision */
    .bottom-nav .nav-label { display: none !important; }
    .bottom-nav { height: 50px !important; }
    .nav-icon { font-size: 1.5em !important; }

    .bc-card { padding: 20px 16px !important; }
    .bc-actions { flex-direction: column !important; }
    .bc-actions button { width: 100% !important; }
}

/* ================================================================
   OVERFLOW & SAFETY (ALL SIZES)
   ================================================================ */

body, html { overflow-x: hidden; max-width: 100vw; }

input, select, textarea { max-width: 100%; box-sizing: border-box; }

.nav-actions, .share-controls, .cta-row, .tier-donut-actions { flex-wrap: wrap; }


