/* ============================================
   TROVE — Shared Design System
   South Africa's Entertainment Platform
============================================ */

@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@400;500;600;700;800;900&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

/* ============================================
   RESET & ROOT VARIABLES
============================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg:       #050508;
    --bg2:      #0b0b12;
    --bg3:      #12121c;
    --bgcard:   #0f0f18;
    --pink:     #ff006e;
    --purple:   #8338ec;
    --cyan:     #00f5ff;
    --teal:     #00d4aa;
    --orange:   #ff6b35;
    --yellow:   #ffbe0b;
    --blue:     #3a86ff;
    --green:    #00ff88;
    --red:      #ff4444;
    --text:     #ffffff;
    --text2:    #8888a8;
    --text3:    #44445a;
    --glass:    rgba(255,255,255,0.04);
    --glass2:   rgba(255,255,255,0.07);
    --border:   rgba(255,255,255,0.08);
    --border2:  rgba(255,255,255,0.14);
    --grad:     linear-gradient(135deg, var(--pink), var(--purple));
    --grad2:    linear-gradient(135deg, var(--teal), var(--cyan));
    --font-display: 'Unbounded', sans-serif;
    --font-body:    'DM Sans', sans-serif;
    --radius:   12px;
    --radius-lg: 20px;
    --shadow-card: 0 8px 32px rgba(0,0,0,0.4);
    --nav-h: 72px;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Grain texture — breaks the "AI-rendered" plastic look */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9000;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
    opacity: 0.022;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--font-body); border: none; }

/* ============================================
   TYPOGRAPHY
============================================ */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -0.02em; }
h4, h5, h6 { font-family: var(--font-body); line-height: 1.3; }

.display { font-family: var(--font-display); font-size: clamp(3rem, 8vw, 7rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1.0; }
.headline { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 700; }
.section-title { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; }
.label { font-family: var(--font-body); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text2); }

.gradient-text {
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.teal-text {
    background: var(--grad2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.outline-text {
    -webkit-text-stroke: 2px rgba(255,255,255,0.18);
    -webkit-text-fill-color: transparent;
}

/* ============================================
   NAVBAR
============================================ */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--nav-h);
    padding: 0 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.4s ease;
}
.nav.scrolled {
    background: rgba(5,5,8,0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}
.nav-logo img { height: 36px; width: auto; object-fit: contain; }
.nav-logo-text {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}
.nav-links a {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text2);
    transition: color 0.25s;
    letter-spacing: 0.01em;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }

.nav-actions { display: flex; gap: 0.75rem; align-items: center; }

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    background: none;
}
.nav-hamburger span {
    width: 22px; height: 2px;
    background: var(--text2);
    border-radius: 2px;
    transition: all 0.3s;
    display: block;
}

/* Mobile nav */
.nav-mobile {
    display: none;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(5,5,8,0.96);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 2rem;
    flex-direction: column;
    gap: 1.2rem;
    z-index: 999;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text2);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
    transition: color 0.25s;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--text); }

/* ============================================
   BUTTONS
============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.6rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-body);
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    letter-spacing: 0.01em;
}
.btn-primary {
    background: var(--grad);
    color: white;
    box-shadow: 0 4px 20px rgba(255,0,110,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(255,0,110,0.45); }

.btn-ghost {
    background: var(--glass2);
    color: var(--text);
    border: 1px solid var(--border2);
    backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); border-color: rgba(255,255,255,0.25); }

.btn-teal {
    background: var(--grad2);
    color: #050508;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(0,212,170,0.3);
}
.btn-teal:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(0,212,170,0.45); }

.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.8rem; }
.btn-lg { padding: 1rem 2.2rem; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; border-radius: var(--radius); }

/* ============================================
   SECTION LAYOUT
============================================ */
.section {
    padding: 6rem 3rem;
    position: relative;
}
.section-sm { padding: 3rem; }
.container { max-width: 1200px; margin: 0 auto; }
.container-wide { max-width: 1440px; margin: 0 auto; }

.section-header { margin-bottom: 3rem; }
.section-header .label { margin-bottom: 0.75rem; display: block; }
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--pink);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.section-eyebrow::before {
    content: '';
    display: block;
    width: 20px; height: 2px;
    background: var(--pink);
    border-radius: 2px;
}

/* ============================================
   ANIMATED ORBS (hero backgrounds)
============================================ */
.orbs-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    animation: orbFloat linear infinite;
}
.orb-1 { width: 700px; height: 700px; background: rgba(255,0,110,0.1);  top: -20%; left: -15%; animation-duration: 20s; }
.orb-2 { width: 600px; height: 600px; background: rgba(131,56,236,0.1); top: -10%; right: -10%; animation-duration: 17s; animation-delay: -7s; }
.orb-3 { width: 500px; height: 500px; background: rgba(0,245,255,0.06); bottom: -10%; left: 20%; animation-duration: 23s; animation-delay: -3s; }
.orb-4 { width: 300px; height: 300px; background: rgba(0,212,170,0.08); bottom: 20%; right: 5%; animation-duration: 15s; animation-delay: -10s; }

@keyframes orbFloat {
    0%, 100% { transform: translate(0,0) scale(1); }
    25%  { transform: translate(40px,-30px) scale(1.05); }
    50%  { transform: translate(20px,20px) scale(0.97); }
    75%  { transform: translate(-30px,10px) scale(1.02); }
}

/* Hero grid */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
    pointer-events: none;
}

/* ============================================
   EVENT CARDS
============================================ */
.event-card {
    background: var(--bgcard);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.event-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255,0,110,0.35);
    box-shadow: 0 16px 40px rgba(255,0,110,0.12);
}

.event-card-img {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--bg3);
    flex-shrink: 0;
}
.event-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.event-card:hover .event-card-img img { transform: scale(1.06); }

/* Gradient overlay on image */
.event-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,15,24,0.9) 0%, transparent 55%);
}

/* Placeholder — real image or category gradient fallback */
.event-card-img-placeholder {
    width: 100%; height: 100%;
    position: relative;
    overflow: hidden;
}
.event-card-img-placeholder img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.event-card:hover .event-card-img-placeholder img { transform: scale(1.06); }
/* Category gradient fallbacks (show when no img or img fails) */
.event-card-img-placeholder[data-cat="nightlife"] { background: linear-gradient(135deg, #1a0030 0%, #4a0070 60%, #0d0020 100%); }
.event-card-img-placeholder[data-cat="comedy"]    { background: linear-gradient(135deg, #2d0800 0%, #8a2500 60%, #1a0500 100%); }
.event-card-img-placeholder[data-cat="adventure"] { background: linear-gradient(135deg, #001a0d 0%, #005c24 60%, #002d14 100%); }

.event-card-badges {
    position: absolute;
    top: 0.75rem; left: 0.75rem;
    display: flex;
    gap: 0.4rem;
    z-index: 2;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.65rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}
.badge-trending  { background: rgba(255,0,110,0.85);   color: white; }
.badge-friends   { background: rgba(0,212,170,0.85);   color: #050508; }
.badge-sold-out  { background: rgba(255,68,68,0.85);   color: white; }
.badge-limited   { background: rgba(255,190,11,0.85);  color: #050508; }
.badge-nightlife { background: rgba(131,56,236,0.8);   color: white; }
.badge-comedy    { background: rgba(255,107,53,0.8);   color: white; }
.badge-adventure { background: rgba(0,212,170,0.8);    color: #050508; }

.event-card-body {
    padding: 1.1rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.event-card-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--text2);
    margin-bottom: 0.5rem;
}
.event-card-meta span { display: flex; align-items: center; gap: 0.3rem; }
.event-card-meta .dot { width: 3px; height: 3px; background: var(--text3); border-radius: 50%; }

.event-card-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    line-height: 1.3;
}
.event-card-venue {
    font-size: 0.82rem;
    color: var(--text2);
    margin-bottom: 0.9rem;
}
.event-card-venue i { color: var(--pink); font-size: 0.75rem; }

/* Capacity bar */
.capacity-bar-wrap {
    margin-bottom: 0.85rem;
}
.capacity-bar-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    color: var(--text2);
    margin-bottom: 0.35rem;
}
.capacity-bar-header .cap-pct { color: var(--text); font-weight: 600; }
.capacity-bar {
    height: 4px;
    background: rgba(255,255,255,0.08);
    border-radius: 4px;
    overflow: hidden;
}
.capacity-fill {
    height: 100%;
    border-radius: 4px;
    background: var(--grad);
    transition: width 0.6s ease;
}
.capacity-fill.high { background: linear-gradient(90deg, var(--yellow), var(--red)); }

/* Friends going avatars */
.friends-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.9rem;
}
.friend-avatars {
    display: flex;
    gap: -0.3rem;
}
.friend-avatar {
    width: 26px; height: 26px;
    border-radius: 50%;
    border: 2px solid var(--bgcard);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 700;
    color: white;
    margin-right: -8px;
    flex-shrink: 0;
}
.friend-avatar:last-child { margin-right: 0; }
.friends-text { font-size: 0.78rem; color: var(--teal); font-weight: 500; margin-left: 14px; }

/* Card footer (price + CTA) */
.event-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border);
}
.event-price { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; }
.event-price .currency { font-size: 0.75rem; color: var(--text2); font-family: var(--font-body); font-weight: 400; }
.event-price .free { color: var(--teal); font-size: 0.9rem; }

/* ============================================
   CATEGORY PILLS / FILTER
============================================ */
.filter-bar {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    align-items: center;
}
.filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.2rem;
    border-radius: 50px;
    border: 1px solid var(--border2);
    background: var(--glass);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text2);
    cursor: pointer;
    transition: all 0.25s;
    white-space: nowrap;
}
.filter-pill:hover { border-color: rgba(255,0,110,0.4); color: var(--text); background: rgba(255,0,110,0.08); }
.filter-pill.active { background: var(--grad); color: white; border-color: transparent; }
/* .filter-pill .pill-icon removed — no emoji icons */

/* ============================================
   HORIZONTAL SCROLL ROW
============================================ */
.h-scroll-row {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    padding-bottom: 0.75rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.h-scroll-row::-webkit-scrollbar { display: none; }
.h-scroll-row .event-card { min-width: 280px; flex-shrink: 0; }

/* ============================================
   MAP CONTAINER
============================================ */
.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border2);
    background: var(--bg3);
}

#spots-map {
    height: 480px;
    width: 100%;
}
/* CartoDB Voyager — slightly desaturated to sit cleanly inside the dark TROVE UI */
.leaflet-tile { filter: saturate(0.72) brightness(0.92); }
.leaflet-container { background: #2a2a35 !important; }
.leaflet-popup-content-wrapper {
    background: var(--bgcard) !important;
    border: 1px solid var(--border2) !important;
    border-radius: var(--radius) !important;
    color: var(--text) !important;
    box-shadow: var(--shadow-card) !important;
}
.leaflet-popup-tip { background: var(--bgcard) !important; }
.leaflet-popup-close-button { color: var(--text2) !important; }
.map-marker-pin {
    width: 12px; height: 12px;
    background: var(--pink);
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 8px rgba(255,0,110,0.6);
}

/* ============================================
   TICKER / MARQUEE
============================================ */
.ticker-wrap {
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 0.9rem 0;
    background: var(--bg2);
}
.ticker-track {
    display: flex;
    gap: 2.5rem;
    white-space: nowrap;
    animation: tickerScroll 40s linear infinite;
    width: max-content;
}
.ticker-wrap:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text2);
}
.ticker-dot { width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }
@keyframes tickerScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ============================================
   CITY SELECTOR
============================================ */
.city-selector {
    display: inline-flex;
    gap: 0;
    border: 1px solid var(--border2);
    border-radius: 50px;
    overflow: hidden;
    background: var(--glass);
}
.city-btn {
    padding: 0.5rem 1.2rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text2);
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.25s;
    font-family: var(--font-body);
    letter-spacing: 0.02em;
}
.city-btn:hover { color: var(--text); background: var(--glass2); }
.city-btn.active { background: var(--grad); color: white; }

/* ============================================
   STATS / COUNTER DISPLAY
============================================ */
.stat-row {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: center;
}
.stat-item { text-align: center; }
.stat-num {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    display: block;
    line-height: 1;
    margin-bottom: 0.2rem;
}
.stat-lbl { font-size: 0.75rem; color: var(--text2); letter-spacing: 0.05em; text-transform: uppercase; }
.stat-divider { width: 1px; height: 40px; background: var(--border2); }

/* ============================================
   BADGES (inline tags)
============================================ */
.tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.22rem 0.7rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.tag-pink   { background: rgba(255,0,110,0.15);  color: var(--pink); border: 1px solid rgba(255,0,110,0.2); }
.tag-teal   { background: rgba(0,212,170,0.15);  color: var(--teal); border: 1px solid rgba(0,212,170,0.2); }
.tag-purple { background: rgba(131,56,236,0.15); color: #b070ff;     border: 1px solid rgba(131,56,236,0.2); }
.tag-orange { background: rgba(255,107,53,0.15); color: var(--orange); border: 1px solid rgba(255,107,53,0.2); }
.tag-yellow { background: rgba(255,190,11,0.15); color: var(--yellow); border: 1px solid rgba(255,190,11,0.2); }

/* ============================================
   WAITLIST FORM
============================================ */
.waitlist-form {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}
.waitlist-form input {
    flex: 1;
    min-width: 240px;
    padding: 0.85rem 1.2rem;
    background: var(--bg3);
    border: 1px solid var(--border2);
    border-radius: 50px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.25s;
}
.waitlist-form input::placeholder { color: var(--text3); }
.waitlist-form input:focus { border-color: var(--pink); }

/* General form */
.form-group { margin-bottom: 1.25rem; }
.form-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text2);
    margin-bottom: 0.4rem;
    letter-spacing: 0.03em;
}
.form-input {
    width: 100%;
    padding: 0.85rem 1.1rem;
    background: var(--bg3);
    border: 1px solid var(--border2);
    border-radius: var(--radius);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s;
}
.form-input::placeholder { color: var(--text3); }
.form-input:focus { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(255,0,110,0.12); }
.form-input.error { border-color: var(--red); }
.form-error { font-size: 0.78rem; color: var(--red); margin-top: 0.3rem; display: none; }
.form-error.show { display: block; }

/* Stepper (booking people count) */
.stepper {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg3);
    border: 1px solid var(--border2);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    width: fit-content;
}
.stepper-btn {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border2);
    background: var(--glass2);
    color: var(--text);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-family: var(--font-body);
}
.stepper-btn:hover { background: var(--grad); border-color: transparent; }
.stepper-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.stepper-value {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    min-width: 40px;
    text-align: center;
}

/* ============================================
   TICKET CARD
============================================ */
.ticket {
    background: var(--bg3);
    border: 1px solid var(--border2);
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-width: 420px;
    margin: 0 auto;
}
.ticket-header {
    padding: 1.5rem;
    background: var(--grad);
    text-align: center;
}
.ticket-header .ticket-event-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.3rem;
}
.ticket-header .ticket-venue { font-size: 0.85rem; color: rgba(255,255,255,0.8); }

/* Perforated divider */
.ticket-perforate {
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 1.5rem;
}
.ticket-perforate::before,
.ticket-perforate::after {
    content: '';
    flex: 1;
    border-top: 2px dashed var(--border2);
}
.ticket-circle {
    width: 24px; height: 24px;
    background: var(--bg);
    border-radius: 50%;
    flex-shrink: 0;
    margin: 0 -12px;
    position: relative;
    z-index: 1;
}
.ticket-circle-l { left: -1.5rem; position: absolute; }
.ticket-circle-r { right: -1.5rem; position: absolute; }

.ticket-body { padding: 1.25rem 1.5rem; }
.ticket-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.85rem;
}
.ticket-row:last-child { border-bottom: none; }
.ticket-row .t-label { color: var(--text2); }
.ticket-row .t-value { font-weight: 600; }

.ticket-qr {
    display: flex;
    justify-content: center;
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px dashed var(--border2);
}
.ticket-qr canvas { border-radius: 8px; }

/* ============================================
   GLASS CARDS
============================================ */
.glass-card {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    backdrop-filter: blur(12px);
    transition: border-color 0.25s, background 0.25s, transform 0.25s;
}
.glass-card:hover {
    border-color: var(--border2);
    background: var(--glass2);
    transform: translateY(-3px);
}

/* ============================================
   FOOTER
============================================ */
.footer {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    padding: 4rem 3rem 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}
.footer-brand .footer-logo { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; }
.footer-brand .footer-logo img { height: 32px; }
.footer-brand p { font-size: 0.88rem; color: var(--text2); line-height: 1.7; max-width: 280px; margin-bottom: 1.5rem; }
.footer-socials { display: flex; gap: 0.75rem; }
.footer-social {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border2);
    background: var(--glass);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text2);
    font-size: 0.9rem;
    transition: all 0.25s;
}
.footer-social:hover { background: var(--grad); color: white; border-color: transparent; }

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text2);
    margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col ul a { font-size: 0.88rem; color: var(--text3); transition: color 0.25s; }
.footer-col ul a:hover { color: var(--text); }

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text3);
}
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: var(--text3); transition: color 0.25s; }
.footer-legal a:hover { color: var(--text2); }

/* SEO footer text */
.footer-seo {
    max-width: 1200px;
    margin: 0 auto 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    font-size: 0.78rem;
    color: var(--text3);
    line-height: 1.7;
}
.footer-seo strong { color: var(--text2); }

/* ============================================
   REVEAL ANIMATIONS
============================================ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroSlideUp {
    from { transform: translateY(110%); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}
@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(0.7); }
}
@keyframes pulseRing {
    0%   { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}
@keyframes successPulse {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.08); }
}
@keyframes tickerScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@keyframes shimmerSlide {
    0%   { left: -100%; }
    100% { left: 150%; }
}

/* ============================================
   UTILITY
============================================ */
.text-center { text-align: center; }
.text-pink   { color: var(--pink); }
.text-teal   { color: var(--teal); }
.text-purple { color: #b070ff; }
.text-muted  { color: var(--text2); }
.text-sm     { font-size: 0.85rem; }
.text-xs     { font-size: 0.75rem; }

.flex        { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between{ display: flex; align-items: center; justify-content: space-between; }
.gap-1       { gap: 0.5rem; }
.gap-2       { gap: 1rem; }
.gap-3       { gap: 1.5rem; }
.gap-4       { gap: 2rem; }
.flex-wrap   { flex-wrap: wrap; }
.col         { flex-direction: column; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.w-full { width: 100%; }
.hidden { display: none !important; }

/* ============================================
   RESPONSIVE BREAKPOINTS
============================================ */
@media (max-width: 1100px) {
    .section { padding: 5rem 2rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    :root { --nav-h: 64px; }
    .nav { padding: 0 1.5rem; }
    .nav-links, .nav-actions { display: none; }
    .nav-hamburger { display: flex; }
    .section { padding: 4rem 1.5rem; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .stat-row { gap: 1rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .section { padding: 3rem 1.25rem; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .footer { padding: 3rem 1.25rem 1.5rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-legal { flex-wrap: wrap; justify-content: center; }
    .stat-divider { display: none; }
    .waitlist-form { flex-direction: column; }
    .waitlist-form input { min-width: 0; }
    .h-scroll-row .event-card { min-width: 240px; }
}

/* ============================================
   EVENT HERO — image background
============================================ */
.event-hero-bg {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}
.event-hero-bg.has-img { font-size: 0 !important; }

/* ============================================
   FORM SELECT
============================================ */
.form-select {
    width: 100%;
    padding: 0.85rem 1.1rem;
    background: var(--bg3);
    border: 1px solid var(--border2);
    border-radius: var(--radius);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238888a8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}
.form-select:focus { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(255,0,110,0.12); }
.form-select option { background: var(--bg3); color: var(--text); }

/* ============================================
   WAITLIST V2 — Lead Magnet
============================================ */
.waitlist-section {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* Audience tabs */
.wl-tabs {
    display: flex;
    background: var(--bg3);
    border: 1px solid var(--border2);
    border-radius: 50px;
    padding: 4px;
    margin: 0 auto 2rem;
    max-width: 360px;
}
.wl-tab {
    flex: 1;
    padding: 0.6rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text2);
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.25s;
    font-family: var(--font-body);
    text-align: center;
    white-space: nowrap;
}
.wl-tab.active { background: var(--grad); color: white; }

/* Benefits grid */
.wl-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.7rem;
    margin: 0 auto 2rem;
    max-width: 680px;
}
.wl-benefit {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.83rem;
    color: var(--text2);
    line-height: 1.45;
    text-align: left;
}
.wl-benefit i {
    color: var(--pink);
    font-size: 0.88rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}
.wl-benefit strong {
    display: block;
    color: var(--text);
    font-size: 0.8rem;
    margin-bottom: 0.1rem;
    font-weight: 600;
}

/* Form card */
.wl-form-card {
    background: var(--bg3);
    border: 1px solid var(--border2);
    border-radius: var(--radius-lg);
    padding: 2rem;
    max-width: 580px;
    margin: 0 auto 1.5rem;
    text-align: left;
}

/* Chip selectors */
.wl-chips {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.wl-chip {
    padding: 0.4rem 1rem;
    border-radius: 50px;
    border: 1px solid var(--border2);
    background: var(--glass);
    color: var(--text2);
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-body);
}
.wl-chip:hover { border-color: rgba(255,0,110,0.4); color: var(--text); }
.wl-chip.active { background: var(--grad); color: white; border-color: transparent; }

/* Success state */
.wl-success-icon {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: rgba(0,212,170,0.1);
    border: 2px solid var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.6rem;
    color: var(--teal);
    position: relative;
    animation: successPulse 2.5s ease-in-out infinite;
}
.wl-success-icon::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1px solid rgba(0,212,170,0.25);
    animation: pulseRing 2.5s ease-out infinite;
}

.wl-position {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg3);
    border: 1px solid var(--border2);
    border-radius: var(--radius);
    padding: 0.7rem 1.5rem;
    margin: 1rem auto 1.25rem;
    font-size: 0.88rem;
    color: var(--text2);
}
.wl-position-num {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 800;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Referral box */
.wl-referral {
    background: var(--bg3);
    border: 1px solid var(--border2);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-top: 1.5rem;
    text-align: left;
}
.wl-ref-link-row {
    display: flex;
    gap: 0.5rem;
    margin: 0.75rem 0 1rem;
}
.wl-ref-input {
    flex: 1;
    padding: 0.6rem 0.9rem;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text2);
    font-size: 0.78rem;
    font-family: monospace;
    outline: none;
    min-width: 0;
}

/* Trust row */
.wl-trust {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.78rem;
    color: var(--text3);
    margin-top: 1.25rem;
}
.wl-trust span { display: flex; align-items: center; gap: 0.35rem; }
.wl-trust i { color: var(--teal); font-size: 0.75rem; }

@media (max-width: 600px) {
    .wl-benefits { grid-template-columns: 1fr; }
    .wl-form-card { padding: 1.5rem 1.25rem; }
    .wl-tabs { max-width: 100%; }
    .wl-ref-link-row { flex-direction: column; }
}

/* ============================================
   HOW IT WORKS + PHONE MOCKUP
============================================ */
.how-section { background: var(--bg2); }

.how-inner {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 5rem;
    align-items: center;
}

.how-steps {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.how-step {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.how-step-num {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--pink);
    background: rgba(255,0,110,0.1);
    border: 1px solid rgba(255,0,110,0.25);
    border-radius: 8px;
    padding: 0.38rem 0.6rem;
    letter-spacing: 0.06em;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.how-step-title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.how-step-desc {
    font-size: 0.86rem;
    color: var(--text2);
    line-height: 1.65;
}

/* Phone Frame */
.phone-mockup-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.phone-mockup-wrap::before {
    content: '';
    position: absolute;
    width: 280px;
    height: 540px;
    background: radial-gradient(ellipse at center, rgba(255,0,110,0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.phone-frame {
    width: 248px;
    height: 500px;
    background: #0a0a14;
    border: 2px solid rgba(255,255,255,0.13);
    border-radius: 40px;
    padding: 10px;
    position: relative;
    box-shadow:
        0 32px 80px rgba(0,0,0,0.7),
        0 0 0 1px rgba(255,255,255,0.05),
        inset 0 1px 0 rgba(255,255,255,0.08);
    overflow: hidden;
}

.phone-notch {
    width: 68px;
    height: 18px;
    background: #0a0a14;
    border-radius: 0 0 12px 12px;
    border: 2px solid rgba(255,255,255,0.13);
    border-top: none;
    margin: 0 auto 6px;
    position: relative;
    z-index: 2;
}

.phone-screen {
    background: var(--bg);
    border-radius: 32px;
    height: calc(100% - 24px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.phone-header {
    background: linear-gradient(135deg, var(--pink), var(--purple));
    padding: 0.65rem 1rem 0.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.phone-header-logo {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 800;
    color: white;
    letter-spacing: 0.08em;
}

.phone-header-icon { color: rgba(255,255,255,0.75); font-size: 0.68rem; }

.phone-location {
    padding: 0.45rem 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.56rem;
    color: var(--text2);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}
.phone-location i { color: var(--pink); font-size: 0.5rem; }

.phone-section-lbl {
    font-family: var(--font-display);
    font-size: 0.49rem;
    font-weight: 700;
    color: var(--text);
    padding: 0.48rem 0.9rem 0.22rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    flex-shrink: 0;
}

.phone-cards {
    padding: 0 0.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.42rem;
    flex: 1;
}

.phone-card {
    border-radius: 10px;
    overflow: hidden;
    height: 66px;
    position: relative;
    flex-shrink: 0;
}

.phone-card-bg         { position: absolute; inset: 0; }
.phone-card-bg-1       { background: linear-gradient(135deg, #1a0030, #4a0070); }
.phone-card-bg-2       { background: linear-gradient(135deg, #2d0800, #8a2500); }
.phone-card-bg-3       { background: linear-gradient(135deg, #001a0d, #005c24); }
.phone-card-overlay    { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,0.55) 0%, transparent 70%); }

.phone-card-content {
    position: relative;
    z-index: 2;
    padding: 0.5rem 0.65rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.phone-card-name {
    font-family: var(--font-display);
    font-size: 0.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.12rem;
    line-height: 1.2;
}

.phone-card-meta { font-size: 0.42rem; color: rgba(255,255,255,0.65); }

.phone-card-badge {
    position: absolute;
    right: 0.55rem;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,0,110,0.9);
    color: white;
    font-size: 0.38rem;
    font-weight: 700;
    padding: 0.17rem 0.4rem;
    border-radius: 50px;
    z-index: 3;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.phone-card-badge.teal-bdg { background: rgba(0,212,170,0.9); }

.phone-bottom-nav {
    border-top: 1px solid var(--border);
    background: var(--bg2);
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0.5rem 0.35rem;
    flex-shrink: 0;
}

.phone-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.16rem;
    font-size: 0.4rem;
    color: var(--text3);
}
.phone-nav-item.active { color: var(--pink); }
.phone-nav-item i { font-size: 0.65rem; }

/* ============================================
   WAITLIST — TWO-COLUMN LAYOUT
============================================ */
.waitlist-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.waitlist-left-panel {
    position: sticky;
    top: calc(var(--nav-h) + 2rem);
}

.waitlist-left-h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 0.9rem;
}

.waitlist-desc {
    color: var(--text2);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.75rem;
}

.waitlist-perks {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-bottom: 2rem;
}

.waitlist-perk {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    font-size: 0.86rem;
    color: var(--text2);
    line-height: 1.5;
}

.waitlist-perk i {
    color: var(--teal);
    font-size: 0.8rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.waitlist-counter-block {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg3);
    border: 1px solid var(--border2);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
}

.wc-icon {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,0,110,0.1);
    border: 1px solid rgba(255,0,110,0.2);
    display: flex; align-items: center; justify-content: center;
    color: var(--pink);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.wc-num {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.wc-label {
    font-size: 0.72rem;
    color: var(--text3);
    margin-top: 0.1rem;
}

.referral-note {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: rgba(255,0,110,0.06);
    border: 1px solid rgba(255,0,110,0.15);
    border-radius: var(--radius);
    font-size: 0.82rem;
    color: var(--text2);
    line-height: 1.6;
}

.referral-note i { color: var(--pink); margin-top: 0.15rem; flex-shrink: 0; }

/* WhatsApp +27 prefix input */
.form-phone-wrap {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
}

.phone-prefix {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0 0.85rem;
    background: var(--bg2);
    border: 1px solid var(--border2);
    border-radius: var(--radius);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text2);
    white-space: nowrap;
    flex-shrink: 0;
}
.phone-prefix i { color: #25d366; }
.form-phone-wrap .form-input { flex: 1; min-width: 0; }

/* Form card headings */
.wl-form-title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.wl-form-subtitle {
    font-size: 0.8rem;
    color: var(--text2);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* Legal text under submit */
.form-legal {
    font-size: 0.7rem;
    color: var(--text3);
    text-align: center;
    margin-top: 0.75rem;
    line-height: 1.5;
}
.form-legal a { color: var(--text2); text-decoration: underline; }

@media (max-width: 900px) {
    .how-inner { grid-template-columns: 1fr; gap: 3rem; }
    .phone-mockup-wrap { margin: 0 auto; }
    .waitlist-layout { grid-template-columns: 1fr; gap: 2.5rem; }
    .waitlist-left-panel { position: static; }
}
@media (max-width: 600px) {
    .phone-mockup-wrap { display: none; }
}

/* ============================================
   PHONE MOCKUP — Dynamic Island & Status Bar
============================================ */

/* Dynamic Island pill — replaces old .phone-notch */
.phone-island {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 72px;
    height: 22px;
    background: #000;
    border-radius: 50px;
    z-index: 10;
    box-shadow: 0 0 0 1.5px rgba(255,255,255,0.06);
}

/* Status bar row */
.phone-status-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.8rem;
    height: 28px;
    padding-top: 4px;
}

.phone-time {
    font-family: var(--font-display);
    font-size: 0.48rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
}

.phone-status-icons {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.45rem;
    color: rgba(255,255,255,0.85);
}

/* App header update — right side */
.phone-header-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

.phone-city-chip {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 2px 7px;
    font-size: 0.42rem;
    font-weight: 600;
    color: #fff;
}
.phone-city-chip i { font-size: 0.38rem; }

/* ============================================
   PHONE MOCKUP — WhatsApp Overlay Card
============================================ */

.phone-wa-card {
    position: absolute;
    bottom: -24px;
    right: -56px;
    width: 190px;
    background: #1a1a2e;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
    z-index: 20;
    animation: wa-float 3.5s ease-in-out infinite;
}

@keyframes wa-float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-6px); }
}

.phone-wa-header {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #25d366;
    padding: 6px 10px;
    font-size: 0.6rem;
    font-weight: 700;
    color: #fff;
}
.phone-wa-header i { font-size: 0.75rem; }

.phone-wa-body {
    padding: 8px 10px;
    font-size: 0.58rem;
    line-height: 1.55;
    color: rgba(255,255,255,0.82);
}
.phone-wa-body strong {
    display: block;
    color: #fff;
    font-size: 0.62rem;
    margin-bottom: 3px;
}
.phone-wa-body code {
    background: rgba(255,0,110,0.15);
    color: var(--pink);
    border-radius: 4px;
    padding: 1px 4px;
    font-size: 0.56rem;
}

/* ============================================
   SPOTS MAP — Filter Bar
============================================ */

.spots-map-filters {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.smf-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Location pill group */
.smf-location {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.smf-loc-btn {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--text2);
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    padding: 0.45rem 1rem;
    cursor: pointer;
    transition: all 0.2s;
}
.smf-loc-btn:hover:not([disabled]) {
    background: var(--glass2);
    border-color: var(--border2);
    color: var(--text);
}
.smf-loc-btn.active {
    background: var(--pink);
    border-color: var(--pink);
    color: #fff;
    font-weight: 600;
}
.smf-loc-btn.smf-coming {
    opacity: 0.35;
    cursor: not-allowed;
    font-style: italic;
    font-size: 0.72rem;
}

/* Search input */
.smf-search-wrap {
    position: relative;
    flex: 1;
    min-width: 160px;
    max-width: 280px;
    margin-left: auto;
}
.smf-search-wrap i {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text2);
    font-size: 0.78rem;
    pointer-events: none;
}
.smf-search-wrap input {
    width: 100%;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.82rem;
    padding: 0.45rem 1rem 0.45rem 2.2rem;
    outline: none;
    transition: border-color 0.2s;
}
.smf-search-wrap input::placeholder { color: var(--text3); }
.smf-search-wrap input:focus {
    border-color: var(--pink);
    background: rgba(255,0,110,0.05);
}

/* Category chip row */
.smf-cats {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.smf-cat {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--text2);
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    padding: 0.4rem 1rem;
    cursor: pointer;
    transition: all 0.2s;
}
.smf-cat:hover {
    background: var(--glass2);
    border-color: var(--border2);
    color: var(--text);
}
.smf-cat.active {
    background: var(--grad);
    border-color: transparent;
    color: #fff;
    font-weight: 600;
}
.smf-cat i { font-size: 0.7rem; }

/* Responsive */
@media (max-width: 700px) {
    .smf-row { flex-direction: column; align-items: stretch; }
    .smf-search-wrap { max-width: 100%; margin-left: 0; }
}

/* ============================================
   WAITLIST — 2-col grid card fix
============================================ */

/* Override the standalone .wl-form-card max-width that breaks the grid */
.waitlist-right .wl-form-card {
    max-width: none;
    margin: 0 0 1.5rem;
}

/* ============================================
   SKELETON SCREENS
============================================ */

@keyframes shimmer {
    0%   { background-position: -600px 0; }
    100% { background-position:  600px 0; }
}

.skel {
    background: linear-gradient(
        90deg,
        var(--bg3)                   25%,
        rgba(255,255,255,0.055)      50%,
        var(--bg3)                   75%
    );
    background-size: 1200px 100%;
    animation: shimmer 1.5s ease-in-out infinite;
    border-radius: var(--radius);
}

/* Skeleton event card — matches .event-card shape */
.skel-card {
    background: var(--bgcard);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    flex-shrink: 0;
    min-width: 260px;
}
.skel-card .skel-img {
    height: 160px;
    border-radius: 0;
    width: 100%;
}
.skel-card .skel-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.skel-card .skel-line {
    height: 12px;
    border-radius: 6px;
}
.skel-card .skel-line.w60 { width: 60%; }
.skel-card .skel-line.w80 { width: 80%; }
.skel-card .skel-line.w40 { width: 40%; }

/* Skeleton grid card */
.skel-grid-card {
    background: var(--bgcard);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.skel-grid-card .skel-img { height: 200px; border-radius: 0; width: 100%; }
.skel-grid-card .skel-body { padding: 1rem; display: flex; flex-direction: column; gap: 8px; }
.skel-grid-card .skel-line { height: 12px; border-radius: 6px; }
.skel-grid-card .skel-line.w60 { width: 60%; }
.skel-grid-card .skel-line.w80 { width: 80%; }
.skel-grid-card .skel-line.w40 { width: 40%; }

/* Skeleton TOTW card */
.skel-totw {
    height: 340px;
    border-radius: var(--radius-lg);
    width: 100%;
}

/* Skeleton map overlay */
.map-skeleton {
    position: absolute;
    inset: 0;
    z-index: 500;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.75rem;
    background: var(--bg3);
    pointer-events: none;
    transition: opacity 0.4s;
}
.map-skeleton .skel-map-inner {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
}
.map-skeleton .map-skel-label {
    position: relative;
    z-index: 1;
    font-size: 0.8rem;
    color: var(--text2);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.map-skeleton .map-skel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pink);
    animation: blink-dot 1s ease-in-out infinite;
}
@keyframes blink-dot {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.2; }
}
.map-skeleton.hidden { opacity: 0; pointer-events: none; }

/* Map container needs relative positioning for skeleton overlay */
.map-container { position: relative; }

/* ============================================
   OFFLINE BANNER
============================================ */

.offline-banner {
    position: fixed;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a2e;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    padding: 0.6rem 1.25rem;
    font-size: 0.8rem;
    color: var(--text2);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    z-index: 9999;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    animation: slide-up 0.3s ease;
}
.offline-banner[hidden] { display: none; }

@keyframes slide-up {
    from { transform: translateX(-50%) translateY(20px); opacity: 0; }
    to   { transform: translateX(-50%) translateY(0);    opacity: 1; }
}

.offline-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff4444;
    flex-shrink: 0;
    animation: blink-dot 1s ease-in-out infinite;
}
.offline-banner.online .offline-dot { background: var(--teal); animation: none; }
