/* ============================================================
   HTPC Event Hub — High Ticket Premium Challenge
   Dark charcoal + brushed teal, modeled on the HTPC landing page
   ============================================================ */

:root {
  --bg: #060a09;
  --bg-2: #0a1211;
  --panel: rgba(19, 32, 30, 0.55);
  --panel-solid: #0d1716;
  --line: rgba(94, 234, 212, 0.14);
  --line-strong: rgba(94, 234, 212, 0.32);
  --teal: #35e0c6;
  --teal-2: #0ea5a4;
  --teal-dim: #7fd4c6;
  --ink: #f2f7f6;
  --muted: #93aca6;
  --gold: #f5c76a;
  --gold-2: #c99a3a;
  --grad: linear-gradient(100deg, #45f0d2 0%, #17c2ad 55%, #0e9c95 100%);
  --grad-gold: linear-gradient(100deg, #ffe3a1 0%, #f0b94f 55%, #d99e2b 100%);
  --font: "Archivo", sans-serif;
  --mono: "IBM Plex Mono", monospace;
  --r: 18px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
button { font-family: inherit; cursor: pointer; }
a { color: var(--teal); }

/* ---------- ambient background ---------- */
.bg-fx {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(23, 194, 173, 0.10), transparent 60%),
    radial-gradient(700px 500px at -10% 30%, rgba(23, 194, 173, 0.07), transparent 60%),
    radial-gradient(800px 600px at 50% 110%, rgba(14, 156, 149, 0.08), transparent 65%),
    var(--bg);
}
.bg-fx::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(94, 234, 212, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 234, 212, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 75%);
}

/* ---------- sidebar brand ---------- */
.side-brand {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  padding: 6px 14px 20px;
}
.side-brand img {
  width: 176px; height: auto;
  filter: drop-shadow(0 4px 18px rgba(53, 224, 198, 0.25));
}
.side-brand-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--teal-dim); white-space: nowrap;
}
.live-dot {
  display: inline-block; flex-shrink: 0;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 12px var(--teal);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1);} 50% { opacity: .45; transform: scale(.8);} }

/* ---------- shell ---------- */
.shell {
  max-width: 1560px; margin: 0 auto;
  display: grid; grid-template-columns: 264px minmax(0, 1fr) 320px;
  gap: 28px; padding: 28px;
  align-items: start;
}

/* ---------- sidebar ---------- */
.sidebar {
  position: sticky; top: 28px;
  display: flex; flex-direction: column; gap: 6px;
}
.nav-heading {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted);
  padding: 18px 14px 8px;
}
.nav-group { display: flex; flex-direction: column; gap: 4px; }
.nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; border-radius: 12px;
  background: transparent; border: 1px solid transparent;
  color: var(--muted); font-size: 14.5px; font-weight: 600;
  text-align: left; transition: all .18s ease; white-space: nowrap;
}
.nav-item svg { width: 19px; height: 19px; flex-shrink: 0; opacity: .85; }
.nav-item:hover { color: var(--ink); background: rgba(94, 234, 212, 0.06); }
.nav-item.active {
  color: #04211c;
  background: var(--grad);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 6px 24px rgba(23, 194, 173, 0.28);
}
.nav-item--vip { color: var(--gold); }
.nav-item--vip:hover { color: var(--gold); background: rgba(245, 199, 106, 0.08); }
.nav-item--vip.active {
  background: var(--grad-gold); color: #2a1c02;
  box-shadow: 0 6px 24px rgba(240, 185, 79, 0.3);
}

/* ---------- main panels ---------- */
.main { min-width: 0; }
.panel { display: none; }
.panel.active { display: block; animation: panelIn .45s cubic-bezier(.22,.9,.3,1) both; }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.crumb {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--teal);
  margin-bottom: 18px;
}
.crumb .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.crumb--gold { color: var(--gold); }

.display {
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 900; line-height: 1.02; letter-spacing: -0.02em;
  text-transform: none; margin-bottom: 18px;
}
.display em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
#panel-vip .display em,
.display .gold, .display em.gold {
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { color: var(--muted); font-size: 16.5px; max-width: 620px; margin-bottom: 30px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 24px; border-radius: 999px;
  font-weight: 700; font-size: 14.5px; letter-spacing: 0.01em;
  border: 1px solid transparent; text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.btn:active { transform: scale(.97); }
.btn-ico { width: 18px; height: 18px; }
.btn-primary {
  background: var(--grad); color: #04211c;
  box-shadow: 0 8px 28px rgba(23, 194, 173, 0.32), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(23, 194, 173, 0.45), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-ghost {
  background: rgba(94, 234, 212, 0.06); color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: rgba(94, 234, 212, 0.12); transform: translateY(-2px); }
.btn-gold {
  background: var(--grad-gold); color: #2a1c02;
  box-shadow: 0 8px 28px rgba(240, 185, 79, 0.32), inset 0 1px 0 rgba(255,255,255,.4);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(240, 185, 79, 0.45), inset 0 1px 0 rgba(255,255,255,.4); }
.btn-lg { padding: 15px 32px; font-size: 15.5px; }
.btn[disabled] { opacity: .55; pointer-events: none; }

/* ---------- lobby ---------- */
.video-frame {
  border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 6px rgba(94,234,212,.04);
  margin-bottom: 26px; aspect-ratio: 16/9;
  background: radial-gradient(120% 140% at 20% 0%, #12211f 0%, #070d0c 70%);
  position: relative;
}
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.video-frame--stream { margin: 0 0 28px; }
.stream-theater {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: .14em;
  padding: 6px 12px; border-radius: 999px; cursor: pointer;
  /* always sits on the dark player — fixed light text, independent of theme --ink */
  background: rgba(6, 10, 9, 0.72); color: #f2f7f6;
  border: 1px solid rgba(94, 234, 212, 0.45);
  backdrop-filter: blur(6px);
}
.stream-theater:hover { color: #35e0c6; border-color: rgba(94, 234, 212, 0.7); }
.video-frame:fullscreen { aspect-ratio: auto; border-radius: 0; }
.stream-tier {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: .18em;
  padding: 5px 12px; border-radius: 999px;
  background: rgba(6, 10, 9, 0.72); color: var(--teal);
  border: 1px solid rgba(94, 234, 212, 0.35);
  backdrop-filter: blur(6px);
}
.stream-tier--vip { color: #f5c76a; border-color: rgba(240, 185, 79, 0.45); }

/* ---------- branded video player (welcome video) ---------- */
.vsl { position: absolute; inset: 0; }
.vsl-media, .vsl-media video, .vsl-media iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
.vsl-media video { object-fit: contain; background: #000; }
.vsl-unmute {
  position: absolute; inset: 0; margin: auto;
  width: fit-content; height: fit-content; max-width: 88%;
  display: flex; align-items: center; gap: 14px;
  padding: 13px 24px 13px 13px;
  background: rgba(6, 10, 9, 0.85); backdrop-filter: blur(10px);
  border: 1px solid rgba(94, 234, 212, 0.55); border-radius: 999px;
  color: #f2f7f6; text-align: left; cursor: pointer; z-index: 3;
  animation: unmutePulse 2.1s ease-out infinite;
}
@keyframes unmutePulse {
  0% { box-shadow: 0 0 0 0 rgba(53, 224, 198, 0.45); }
  70% { box-shadow: 0 0 0 20px rgba(53, 224, 198, 0); }
  100% { box-shadow: 0 0 0 0 rgba(53, 224, 198, 0); }
}
.vsl-unmute-ico {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  background: var(--grad); color: #04211c;
  display: flex; align-items: center; justify-content: center;
}
.vsl-unmute-ico svg { width: 22px; height: 22px; }
.vsl-unmute-txt { font-size: 12.5px; color: #93aca6; line-height: 1.35; }
.vsl-unmute-txt b { display: block; font-size: 14.5px; color: #f2f7f6; }
/* controls sit at the edges so subtitles stay readable: a thin seek line
   flush with the bottom border, play button + time chip in the corners */
.vsl-bar { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.vsl-play {
  position: absolute; left: 10px; bottom: 15px; pointer-events: auto;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--grad); border: none; color: #04211c;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
  opacity: .85; transition: transform .15s ease, opacity .15s ease;
}
.vsl-play:hover { transform: scale(1.1); opacity: 1; }
.vsl-play svg { width: 14px; height: 14px; }
.vsl-track {
  position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
  pointer-events: auto; cursor: pointer;
  background: rgba(6, 10, 9, 0.55);
  transition: height .15s ease;
}
.vsl-track:hover { height: 9px; }
.vsl-track::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; bottom: 0; } /* fatter hit area */
.vsl-fill {
  position: absolute; left: 0; top: 0; bottom: 0; width: 0%;
  background: var(--grad);
  box-shadow: 0 0 10px rgba(53, 224, 198, 0.7);
  transition: width .2s linear;
}
.vsl-time {
  position: absolute; right: 10px; bottom: 15px; pointer-events: none;
  font-family: var(--mono); font-size: 10.5px; color: #c6d6d2; white-space: nowrap;
  background: rgba(6, 10, 9, 0.65); backdrop-filter: blur(6px);
  padding: 4px 11px; border-radius: 999px;
  opacity: .85;
}
@media (max-width: 560px) {
  .vsl-unmute { gap: 10px; padding: 10px 16px 10px 10px; }
  .vsl-unmute-ico { width: 38px; height: 38px; }
  .vsl-unmute-txt b { font-size: 13px; }
  .vsl-unmute-txt { font-size: 11px; }
}

/* ---------- GA / VIP stream tabs ---------- */
.stream-tabs { display: flex; gap: 10px; margin: 0 0 14px; flex-wrap: wrap; }
.stream-tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: 999px;
  font-family: var(--mono); font-size: 11.5px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  background: transparent; border: 1px solid var(--line-strong);
  color: var(--muted); transition: all .18s ease;
}
.stream-tab svg { width: 15px; height: 15px; }
.stream-tab:hover { color: var(--ink); transform: translateY(-1px); }
.stream-tab.active {
  background: var(--grad); color: #04211c; border-color: transparent;
  box-shadow: 0 6px 20px rgba(23, 194, 173, 0.3);
}
.stream-tab--vip { color: var(--gold); border-color: rgba(240, 185, 79, 0.45); }
.stream-tab--vip:hover { color: var(--gold); }
.stream-tab--vip.active {
  background: var(--grad-gold); color: #2a1c02; border-color: transparent;
  box-shadow: 0 6px 20px rgba(240, 185, 79, 0.32);
}
/* locked = not yet VIP: filled gold + pulsing ring so it can't be missed */
.stream-tab--vip.is-locked {
  position: relative; overflow: hidden;
  background: var(--grad-gold); color: #2a1c02; border-color: transparent;
  font-weight: 800; padding: 12px 26px;
  animation: lockGlow 2.2s ease-in-out infinite;
}
.stream-tab--vip.is-locked:hover { color: #2a1c02; }
.stream-tab--vip.is-locked::after {
  content: ""; position: absolute; inset: -60% -30%;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 245, 220, .5) 50%, transparent 58%);
  animation: shine 3.2s ease-in-out infinite; pointer-events: none;
}
.stream-tab--vip.is-locked.active {
  outline: 2px solid rgba(240, 185, 79, 0.55); outline-offset: 3px;
}
@keyframes lockGlow {
  0%, 100% { box-shadow: 0 8px 24px rgba(240, 185, 79, 0.35), 0 0 0 0 rgba(240, 185, 79, 0.4); }
  50% { box-shadow: 0 8px 24px rgba(240, 185, 79, 0.35), 0 0 0 8px rgba(240, 185, 79, 0); }
}

/* ---------- locked VIP stream panel ---------- */
/* locked frames size to their content — a fixed 16:9 clips the panel on phones */
.video-frame--vip-lock { aspect-ratio: auto; }
.video-frame--vip-lock .vip-lock { position: static; min-height: 300px; }
.vip-lock {
  position: absolute; inset: 0; padding: 26px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  text-align: center; color: #f2f7f6;
  background: radial-gradient(85% 85% at 50% 15%, rgba(240, 185, 79, 0.14), transparent 62%);
}
.vip-lock-badge {
  width: 68px; height: 68px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(240, 185, 79, 0.12); color: #f5c76a;
  border: 1px solid rgba(240, 185, 79, 0.5);
  animation: lockPulse 2.2s ease-out infinite;
}
.vip-lock-badge svg { width: 30px; height: 30px; }
.vip-lock h3 { font-size: 24px; font-weight: 900; letter-spacing: -0.01em; }
.vip-lock p { color: #93aca6; font-size: 14px; max-width: 440px; }
.vip-lock-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.vip-lock-verify { color: #f2f7f6; border-color: rgba(94, 234, 212, 0.32); background: rgba(94, 234, 212, 0.06); }
@keyframes lockPulse {
  0% { box-shadow: 0 0 0 0 rgba(240, 185, 79, 0.4); }
  70% { box-shadow: 0 0 0 18px rgba(240, 185, 79, 0); }
  100% { box-shadow: 0 0 0 0 rgba(240, 185, 79, 0); }
}
@media (max-width: 560px) {
  .vip-lock h3 { font-size: 19px; }
  .vip-lock p { font-size: 13px; }
  .vip-lock-badge { width: 54px; height: 54px; }
}
.video-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 18px;
}
.video-logo { height: 72px; width: auto; opacity: .9; }
.play-btn {
  width: 76px; height: 76px; border-radius: 50%;
  background: var(--grad); border: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 10px rgba(53, 224, 198, 0.12), 0 14px 40px rgba(23, 194, 173, 0.4);
  transition: transform .2s ease;
}
.play-btn:hover { transform: scale(1.08); }
.play-btn span {
  width: 0; height: 0; margin-left: 5px;
  border-left: 20px solid #04211c;
  border-top: 12px solid transparent; border-bottom: 12px solid transparent;
}
.video-caption { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 0 24px; text-align: center; line-height: 1.7; }
.video-live-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  padding: 7px 16px; border-radius: 999px;
  color: var(--teal); border: 1px solid rgba(94, 234, 212, 0.35);
  background: rgba(53, 224, 198, 0.08);
}
.video-live-tag i {
  width: 7px; height: 7px; border-radius: 999px; background: var(--teal);
  box-shadow: 0 0 10px rgba(53, 224, 198, 0.9);
  animation: alertBlink 1.4s ease-in-out infinite;
}

.fact-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden; margin-bottom: 30px;
}
.fact { background: var(--panel-solid); padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.fact-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.fact-value { font-weight: 700; font-size: 14.5px; }

.booth-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.booth {
  position: relative; text-align: left;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r); padding: 20px;
  display: flex; flex-direction: column; gap: 6px;
  color: var(--ink); overflow: hidden;
  transition: all .2s ease;
}
.booth::after {
  content: "→"; position: absolute; right: 18px; top: 16px;
  color: var(--teal); font-size: 18px; opacity: 0;
  transform: translateX(-6px); transition: all .2s ease;
}
.booth:hover { border-color: var(--line-strong); background: rgba(23, 194, 173, 0.08); transform: translateY(-3px); }
.booth:hover::after { opacity: 1; transform: translateX(0); }
.booth-num { font-family: var(--mono); font-size: 11px; color: var(--teal); letter-spacing: .14em; }
.booth-name { font-weight: 800; font-size: 16.5px; letter-spacing: -0.01em; }
.booth-desc { color: var(--muted); font-size: 13px; }
.booth--vip .booth-num { color: var(--gold); }
.booth--vip:hover { background: rgba(240, 185, 79, 0.07); border-color: rgba(240, 185, 79, 0.35); }
.booth--vip::after { color: var(--gold); }

/* ---------- announcements ---------- */
.nav-badge {
  margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: 999px; background: var(--grad); color: #04211c;
  font-size: 11px; font-weight: 800; line-height: 20px; text-align: center;
}
.nav-item.active .nav-badge { background: #04211c; color: var(--teal); }
/* "LIVE" chip on a day tab while that day's stream is running */
.nav-item.stream-live::after {
  content: "● LIVE";
  margin-left: auto; flex-shrink: 0;
  font-family: var(--mono); font-size: 8.5px; font-weight: 700; letter-spacing: .14em;
  padding: 3px 8px; border-radius: 999px;
  color: #ff5252; border: 1px solid rgba(255, 82, 82, 0.5);
  background: rgba(255, 82, 82, 0.12);
  animation: pulse 1.6s ease-in-out infinite;
}
.nav-item.stream-live.active::after { color: #b71c1c; border-color: rgba(183, 28, 28, 0.55); background: rgba(255, 255, 255, 0.25); }
.ann-list { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.ann-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r); padding: 22px 24px;
  animation: panelIn .4s ease both;
}
.ann-card--pinned { border-color: var(--line-strong); background: rgba(23, 194, 173, 0.07); }
/* a just-published announcement drops in; existing cards stay put */
.ann-card--new { animation: annDrop .6s cubic-bezier(.2, .9, .3, 1.15) both; }
@keyframes annDrop {
  from { opacity: 0; transform: translateY(-20px) scale(.97); }
  to { opacity: 1; transform: none; }
}
.ann-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.ann-head h3 { font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.ann-pin {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .18em;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(53, 224, 198, 0.14); color: var(--teal);
  border: 1px solid var(--line-strong);
}
.ann-date { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.ann-body { color: #c6d6d2; font-size: 14.5px; white-space: pre-line; }
.ann-body a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; word-break: break-all; }
.ann-body a:hover { color: #7fe9d8; }
.ann-empty { color: var(--muted); font-family: var(--mono); font-size: 13px; padding: 30px 0; }

/* ---------- schedule (lobby itinerary) ---------- */
.sched-tabs { display: flex; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.sched-tab {
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: 1px;
  padding: 9px 20px; border-radius: 14px;
  background: transparent; border: 1px solid var(--line-strong);
  color: var(--muted); transition: all .18s ease; text-align: left;
}
.sched-tab b { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.sched-tab span { font-size: 11.5px; }
.sched-tab:hover { color: var(--ink); transform: translateY(-1px); }
.sched-tab.active {
  background: var(--grad); color: #04211c; border-color: transparent;
  box-shadow: 0 6px 20px rgba(23, 194, 173, 0.3);
}
.sched-list {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden; margin-bottom: 14px;
}
.sched-row {
  display: flex; align-items: baseline; gap: 18px;
  padding: 13px 20px; border-bottom: 1px solid var(--line);
}
.sched-row:last-child { border-bottom: none; }
.sched-time {
  flex: 0 0 158px; font-family: var(--mono); font-size: 12px;
  letter-spacing: .06em; color: var(--teal); white-space: nowrap;
}
.sched-title { font-weight: 700; font-size: 14.5px; }
.sched-row--vip { background: rgba(240, 185, 79, 0.06); }
.sched-row--vip .sched-time { color: var(--gold); }
.sched-row--vip .sched-title::after {
  content: "★ VIP"; margin-left: 10px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .16em;
  color: var(--gold); border: 1px solid rgba(240, 185, 79, 0.4);
  border-radius: 999px; padding: 2px 9px; vertical-align: 2px;
}
.sched-venue {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r); padding: 16px 20px; flex-wrap: wrap;
}
.sched-venue-info { display: flex; gap: 34px; flex-wrap: wrap; }
.sched-venue-info span { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.sched-venue-info b { font-size: 14px; }
@media (max-width: 560px) {
  .sched-time { flex-basis: 118px; font-size: 11px; }
  .sched-row { padding: 12px 14px; gap: 12px; }
}

/* ---------- founder ---------- */
.founder-grid { display: grid; grid-template-columns: 320px 1fr; gap: 28px; align-items: start; }
.founder-photo .photo-placeholder {
  aspect-ratio: 4/5; border-radius: var(--r);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(90% 70% at 50% 20%, rgba(53,224,198,.14), transparent 60%),
    var(--panel-solid);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
}
.photo-placeholder > span {
  font-weight: 900; font-size: 64px; letter-spacing: -0.02em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.photo-note { font-family: var(--mono); font-size: 11px; color: var(--muted); text-align: center; padding: 0 20px; }
.photo-note code { color: var(--teal-dim); }
.founder-copy p { color: #c6d6d2; margin-bottom: 16px; font-size: 15.5px; max-width: 640px; }
.founder-copy strong { color: var(--ink); }
.founder-socials { display: flex; gap: 11px; margin-top: 22px; flex-wrap: wrap; }
.soc-link {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(94, 234, 212, 0.07);
  border: 1px solid var(--line-strong); color: var(--teal);
  transition: all .18s ease;
}
.soc-link svg { width: 20px; height: 20px; }
.soc-link:hover { background: rgba(94, 234, 212, 0.16); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(23, 194, 173, 0.25); }

/* ---------- support ---------- */
.support-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px; display: flex; flex-direction: column; gap: 10px;
}
.card h3 { font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.card p { color: var(--muted); font-size: 14px; flex: 1; }

/* ---------- skool ---------- */
.skool-card {
  display: grid; grid-template-columns: 250px 1fr; gap: 26px;
  background: var(--panel); border: 1px solid var(--line-strong);
  border-radius: var(--r); padding: 30px; align-items: center;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
.skool-logo {
  display: block; width: 100%; border-radius: 14px;
  border: 1px solid var(--line-strong);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}
.skool-body h3 { font-size: 21px; font-weight: 800; margin-bottom: 12px; }
.skool-body .btn { margin-top: 18px; }

.check-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.check-list li { position: relative; padding-left: 30px; color: #c6d6d2; font-size: 15px; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 20px; height: 20px; border-radius: 6px;
  background: rgba(53, 224, 198, 0.14); color: var(--teal);
  font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.check-list b, .check-list strong { color: var(--ink); }
.check-list--gold li::before { background: rgba(245, 199, 106, .14); color: var(--gold); }

/* ---------- sessions / countdown ---------- */
.day-tag {
  display: inline-block; font-family: var(--mono); font-size: 12px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--teal-dim);
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 6px 16px; margin-bottom: 16px;
}
.day-countdown {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r); padding: 22px 24px; margin: 6px 0 28px;
  display: flex; align-items: center; gap: 26px; flex-wrap: wrap;
}
.cd-label { font-family: var(--mono); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.cd-grid { display: flex; gap: 10px; }
.cd-cell {
  min-width: 68px; text-align: center;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 12px; padding: 10px 8px 8px;
}
.cd-cell b {
  display: block; font-size: 26px; font-weight: 900; line-height: 1;
  font-variant-numeric: tabular-nums;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cd-cell span { font-family: var(--mono); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.day-countdown.is-live .cd-grid { display: none; }
.day-countdown.is-live .cd-label { color: var(--teal); }
.day-countdown.is-live::after {
  content: "● LIVE NOW"; font-family: var(--mono); font-weight: 600;
  color: var(--teal); letter-spacing: .2em; animation: pulse 1.6s infinite;
}
.day-countdown.is-done .cd-grid { display: none; }
.day-countdown.is-done::after {
  content: "COMPLETED ✓"; font-family: var(--mono); color: var(--muted); letter-spacing: .2em;
}
.session-copy p { color: #c6d6d2; font-size: 15.5px; margin-bottom: 14px; max-width: 660px; }
.session-copy strong { color: var(--ink); }
.session-copy .check-list { margin-top: 18px; }

/* ---------- session resources ---------- */
.res-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.res-item {
  display: flex; align-items: center; gap: 12px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 14px; padding: 14px 16px;
  color: var(--ink); text-decoration: none;
  font-weight: 700; font-size: 14px;
  transition: all .18s ease;
}
.res-item:hover { border-color: var(--line-strong); transform: translateY(-2px); background: rgba(23, 194, 173, 0.08); }
.res-ico {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  background: rgba(53, 224, 198, 0.12); border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center; color: var(--teal);
}
.res-ico svg { width: 17px; height: 17px; }
.res-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.res-arrow { margin-left: auto; color: var(--teal); opacity: .7; flex-shrink: 0; }

/* ---------- speakers: headliner spotlight + lineup grid ---------- */
.spk-stage { display: flex; flex-direction: column; gap: 18px; }

.spk-hero { position: relative; display: grid; }
.spk-feature {
  grid-area: 1 / 1;
  position: relative; display: grid; grid-template-columns: 330px 1fr;
  border-radius: 22px; overflow: hidden;
  background: linear-gradient(150deg, #12201d 0%, #070d0c 62%);
  border: 1px solid rgba(240, 185, 79, 0.38);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 44px rgba(240, 185, 79, 0.08);
  opacity: 0; transform: translateX(26px);
  /* outgoing slide holds still (delayed fade) while the incoming one
     glides in on top — avoids the two-slides-blended ghosting */
  transition: opacity 0.4s ease 0.3s, transform 0.4s ease 0.3s;
  pointer-events: none;
}
.spk-feature.is-active {
  opacity: 1; transform: none; pointer-events: auto; z-index: 1;
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.spk-hero-dots { position: absolute; right: 22px; bottom: 18px; z-index: 3; display: flex; gap: 8px; }
.spk-dot {
  width: 9px; height: 9px; padding: 0; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(94, 234, 212, 0.55); background: rgba(94, 234, 212, 0.12);
  transition: width 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.spk-dot.is-on { width: 26px; background: var(--teal); border-color: var(--teal); }
.spk-feature-media { position: relative; min-height: 330px; background: #0a1413; }
.spk-feature-media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
}
.spk-feature-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7, 13, 12, 0) 58%, rgba(7, 13, 12, 0.55) 84%, rgba(7, 13, 12, 0.94) 100%);
}
.spk-feature-body {
  position: relative; z-index: 1; padding: 36px 40px;
  display: flex; flex-direction: column; gap: 10px; justify-content: center;
}
.spk-feature-role {
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: #f5c76a;
}
.spk-feature-body h3 {
  font-size: clamp(26px, 3.4vw, 42px); font-weight: 900;
  letter-spacing: -0.02em; line-height: 1.04; color: #f2f7f6;
}
.spk-feature-bio { font-size: 15px; line-height: 1.65; color: #b9cdc8; max-width: 54ch; }
.spk-feature-x {
  position: absolute; right: -20px; bottom: -52px; z-index: 0;
  font-weight: 900; font-size: 210px; line-height: 1; letter-spacing: -0.05em;
  color: rgba(240, 185, 79, 0.055); pointer-events: none;
  user-select: none; -webkit-user-select: none;
}

.spk-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.spk-card {
  position: relative; display: flex; flex-direction: column;
  border-radius: 20px; overflow: hidden; cursor: pointer;
  background: linear-gradient(160deg, #101d1b 0%, #070d0c 70%);
  border: 1px solid var(--line-strong);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.spk-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.5);
  border-color: rgba(94, 234, 212, 0.55);
}
.spk-media { position: relative; aspect-ratio: 1 / 1.02; overflow: hidden; background: #0a1413; }
.spk-media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  transition: transform 0.5s ease;
}
.spk-card:hover .spk-media img { transform: scale(1.06); }
.spk-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4, 8, 7, 0.16) 0%, rgba(4, 8, 7, 0) 30%, rgba(4, 8, 7, 0) 66%, rgba(4, 8, 7, 0.42) 100%);
}
.spk-num {
  position: absolute; right: 14px; bottom: 9px; z-index: 2;
  font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: 0.14em;
  color: rgba(94, 234, 212, 0.9); text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}
.spk-num::before { content: "/ "; opacity: 0.55; }
.spk-info {
  flex: 1; display: flex; flex-direction: column; gap: 5px;
  padding: 15px 17px 17px;
  border-top: 1px solid rgba(94, 234, 212, 0.16);
}
.spk-role {
  font-family: var(--mono); font-size: 9.5px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal);
  margin-bottom: 1px;
}
.spk-role--gold { color: #f5c76a; }
.spk-info b { font-size: 16px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.15; color: #f2f7f6; }
.spk-info p { font-size: 12px; line-height: 1.5; color: #9db4af; }
.spk-chip {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-family: var(--mono); font-size: 9px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
  background: rgba(6, 10, 9, 0.72); backdrop-filter: blur(8px);
  color: var(--teal); border: 1px solid rgba(94, 234, 212, 0.4);
  max-width: calc(100% - 28px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.spk-chip--gold { color: #f5c76a; border-color: rgba(240, 185, 79, 0.5); }
.spk-initials {
  position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 72px; letter-spacing: -0.02em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: .9;
}
.spk-feature .spk-initials {
  font-size: 96px;
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text;
}

@media (max-width: 860px) {
  .spk-feature { grid-template-columns: 1fr; }
  .spk-feature-media { min-height: 0; aspect-ratio: 4 / 3; }
  .spk-feature-media::after {
    background: linear-gradient(180deg, rgba(7, 13, 12, 0) 55%, rgba(7, 13, 12, 0.55) 82%, rgba(7, 13, 12, 0.95) 100%);
  }
  .spk-feature-body { padding: 22px 24px 46px; }
  .spk-feature-x { font-size: 150px; right: -14px; bottom: -38px; }
  .spk-hero-dots { right: 16px; bottom: 14px; }
}
@media (max-width: 640px) {
  .spk-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .spk-info { padding: 12px 13px 14px; }
  .spk-info b { font-size: 15px; }
  .spk-info p { font-size: 11.5px; }
  .spk-chip { font-size: 8px; padding: 4px 9px; }
}

/* ---------- resend OTP link (pass form) ---------- */
.btn-resend {
  align-self: flex-start; background: none; border: none; padding: 0;
  margin-top: -6px; cursor: pointer;
  color: var(--muted); font-family: var(--font); font-size: 13px;
  text-decoration: underline; text-underline-offset: 3px;
  transition: color .15s ease;
}
.btn-resend:not(:disabled):hover { color: var(--teal); }
.btn-resend:disabled { cursor: default; text-decoration: none; opacity: .75; }

/* ---------- scan & earn game ---------- */
.game-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 6px 0 18px; }
.game-stat {
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
  padding: 16px 18px; display: flex; flex-direction: column; gap: 2px;
}
.game-stat b {
  font-size: 28px; font-weight: 900;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.game-stat span { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.game-scanbox {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
  padding: 20px 22px;
}
.game-scanbox video {
  width: 100%; max-height: 340px; border-radius: 14px; background: #000;
  object-fit: cover;
}
.game-scanbox input {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px;
  padding: 12px 18px; color: var(--ink); font-family: var(--font); font-size: 14px;
  outline: none; flex: 1; min-width: 150px;
}
.game-scanbox input:focus { border-color: var(--teal); }
.game-board { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.game-board li {
  display: flex; align-items: center; gap: 14px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  padding: 12px 18px; font-size: 15px;
}
.game-board .gb-rank {
  font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--teal);
  min-width: 34px;
}
.game-board li:nth-child(1) .gb-rank, .game-board li:nth-child(2) .gb-rank, .game-board li:nth-child(3) .gb-rank { color: var(--gold); }
.game-board .gb-name { font-weight: 700; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.game-board .gb-pts { font-family: var(--mono); font-weight: 700; color: var(--teal); }
.game-board .game-empty { color: var(--muted); font-size: 14px; justify-content: center; }
.game-board li.is-me { border-color: rgba(94, 234, 212, 0.55); }
/* success burst: points pop + confetti, shown after a successful scan */
.game-burst {
  position: fixed; inset: 0; z-index: 999; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
  background: rgba(4, 10, 9, 0.55); backdrop-filter: blur(5px);
  animation: burstFade 1.9s ease forwards;
}
.game-burst-card { position: relative; text-align: center; animation: burstPop .55s cubic-bezier(.2, 1.5, .3, 1) both; }
.game-burst-pts {
  font-size: 92px; font-weight: 900; letter-spacing: -0.03em; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 26px rgba(53, 224, 198, 0.55));
}
.game-burst--gold .game-burst-pts {
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 0 26px rgba(240, 185, 79, 0.6));
}
.game-burst-label {
  margin-top: 10px; font-family: var(--mono); font-size: 13px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: #f2f7f6;
}
.game-burst i {
  position: absolute; left: 50%; top: 50%; width: 10px; height: 10px;
  border-radius: 3px; background: var(--teal);
  animation: burstFly 1.15s ease-out forwards;
}
.game-burst i:nth-child(3n) { background: #f5c76a; border-radius: 50%; }
.game-burst i:nth-child(4n) { width: 6px; height: 6px; }
@keyframes burstPop { from { transform: scale(.25); opacity: 0; } }
@keyframes burstFade { 0% { opacity: 0; } 8% { opacity: 1; } 76% { opacity: 1; } 100% { opacity: 0; } }
@keyframes burstFly {
  from { transform: translate(-50%, -50%) scale(1) rotate(0deg); opacity: 1; }
  to { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(.35) rotate(var(--rot)); opacity: 0; }
}
@media (max-width: 560px) {
  .game-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .game-stat { padding: 12px 12px; }
  .game-stat b { font-size: 22px; }
}

/* ---------- event pass ---------- */
.pass-layout { display: grid; grid-template-columns: 380px 1fr; gap: 34px; align-items: start; }
.pass-form {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r); padding: 26px;
  display: flex; flex-direction: column; gap: 16px;
  position: sticky; top: 110px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field span { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.field input {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 12px; padding: 13px 16px;
  color: var(--ink); font-family: var(--font); font-size: 15px;
  outline: none; transition: border .16s ease, box-shadow .16s ease;
}
.field input:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(53, 224, 198, 0.12); }
.field input::placeholder { color: #4d635f; }
.form-msg { font-size: 13.5px; min-height: 20px; color: var(--muted); }
.form-msg.err { color: #ff8f8f; }
.form-msg.ok { color: var(--teal); }

.pass-stage { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.pass-hint {
  width: 100%; aspect-ratio: 1/1.15; max-width: 420px;
  border: 1.5px dashed var(--line-strong); border-radius: 24px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  color: var(--muted);
}
.pass-hint svg { width: 56px; height: 56px; opacity: .6; }
.pass-hint p { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; }

.pass-card {
  width: 100%; max-width: 420px; position: relative;
  border-radius: 24px; padding: 26px 26px 22px;
  background:
    radial-gradient(120% 90% at 80% -10%, rgba(53, 224, 198, 0.16), transparent 55%),
    linear-gradient(160deg, #101d1b 0%, #070d0c 60%, #0a1413 100%);
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 90px rgba(0,0,0,.6), 0 0 0 8px rgba(94,234,212,.05);
  overflow: hidden;
  animation: passIn .8s cubic-bezier(.2,.9,.25,1.05) both;
}
@keyframes passIn {
  from { opacity: 0; transform: perspective(900px) rotateY(-28deg) translateY(24px) scale(.94); }
  to { opacity: 1; transform: perspective(900px) rotateY(0) translateY(0) scale(1); }
}
.pass-card.pass-card--vip {
  border-color: rgba(240, 185, 79, 0.45);
  background:
    radial-gradient(120% 90% at 80% -10%, rgba(240, 185, 79, 0.16), transparent 55%),
    linear-gradient(160deg, #1b1710 0%, #0d0a07 60%, #14100a 100%);
  box-shadow: 0 40px 90px rgba(0,0,0,.6), 0 0 0 8px rgba(240,185,79,.06);
}
.pass-shine {
  position: absolute; inset: -60% -30%;
  background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,.09) 50%, transparent 58%);
  animation: shine 4.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shine { 0%, 60% { transform: translateX(-70%);} 100% { transform: translateX(70%);} }
.pass-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.pass-top img { height: 44px; width: auto; }
.pass-type {
  font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .2em;
  padding: 6px 13px; border-radius: 999px;
  background: rgba(53, 224, 198, 0.14); color: var(--teal);
  border: 1px solid var(--line-strong);
}
.pass-card--vip .pass-type { background: rgba(240, 185, 79, 0.14); color: var(--gold); border-color: rgba(240, 185, 79, 0.4); }
.pass-chips { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
/* lunch add-on chip stays teal even on the gold VIP card */
.pass-card--vip .pass-type--lunch,
.pass-type--lunch { background: rgba(53, 224, 198, 0.14); color: var(--teal); border-color: var(--line-strong); }
.pass-name { font-size: 30px; font-weight: 900; letter-spacing: -0.02em; line-height: 1.05; }
.pass-role { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.pass-perforation { position: relative; height: 1px; margin: 20px -26px; border-top: 1.5px dashed rgba(148, 190, 182, 0.25); }
.pass-perforation i {
  position: absolute; top: -9px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--line-strong);
}
.pass-perforation i:first-child { left: -9px; border-left-color: transparent; }
.pass-perforation i:last-child { right: -9px; border-right-color: transparent; }
.pass-bottom { display: flex; justify-content: space-between; gap: 18px; align-items: flex-end; }
.pass-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.pass-meta span { display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.pass-meta b { font-size: 13px; font-weight: 700; }
.pass-meta b#passId { font-family: var(--mono); color: var(--teal); letter-spacing: .08em; }
.pass-card--vip .pass-meta b#passId { color: var(--gold); }
.pass-qr { background: #fff; border-radius: 12px; padding: 8px; flex-shrink: 0; }
.pass-qr img, .pass-qr svg { display: block; width: 92px; height: 92px; }
.pass-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; align-items: center; flex-direction: column; }
.pass-actions .btn { min-width: 260px; }

/* ---------- vip ---------- */
.vip-grid { display: grid; grid-template-columns: 1fr 320px; gap: 30px; align-items: start; }
.vip-cta-row { display: flex; align-items: center; gap: 20px; margin-top: 26px; flex-wrap: wrap; }
.vip-login, .rail-viplogin { font-size: 13.5px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.vip-login:hover, .rail-viplogin:hover { color: var(--ink); }
.vip-visual {
  border-radius: var(--r); padding: 40px 28px;
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(240, 185, 79, 0.18), transparent 60%),
    var(--panel-solid);
  border: 1px solid rgba(240, 185, 79, 0.35);
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  text-align: center;
}
.vip-crown { width: 72px; height: 72px; color: var(--gold); filter: drop-shadow(0 6px 24px rgba(240,185,79,.5)); }
.vip-crown svg { width: 100%; height: 100%; }
.vip-visual-text { font-weight: 800; font-size: 19px; line-height: 1.35; }

/* ---------- right rail ---------- */
.rail { position: sticky; top: 28px; display: flex; flex-direction: column; gap: 16px; }
.rail-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r); padding: 22px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-align: center;
}
.rail-card h3 { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.25; }
.rail-card p { color: var(--muted); font-size: 13px; }
.rail-card .btn { width: 100%; margin-top: 4px; }
.rail-card--vip {
  border-color: rgba(240, 185, 79, 0.35);
  background:
    radial-gradient(140% 110% at 50% -20%, rgba(240, 185, 79, 0.14), transparent 60%),
    var(--panel-solid);
}
.rail-crown { width: 44px; height: 44px; color: var(--gold); filter: drop-shadow(0 4px 16px rgba(240,185,79,.5)); }
.rail-crown svg { width: 100%; height: 100%; }
.rail-viplogin { font-size: 12px; }
.rail-title { font-family: var(--font); }
.cd-grid--rail { justify-content: center; }
.cd-grid--rail .cd-cell { min-width: 58px; padding: 8px 6px 6px; }
.cd-grid--rail .cd-cell b { font-size: 21px; }
.rail-card--pass { border-style: dashed; }
.rail-card--offer {
  border-color: rgba(240, 185, 79, 0.6);
  background:
    radial-gradient(140% 110% at 50% -20%, rgba(240, 185, 79, 0.2), transparent 62%),
    var(--panel-solid);
  box-shadow: 0 0 36px rgba(240, 185, 79, 0.16), 0 18px 44px rgba(0, 0, 0, 0.3);
  animation: offerIn .7s cubic-bezier(.2, .9, .3, 1.12) both;
}
@keyframes offerIn {
  from { opacity: 0; transform: translateY(-18px) scale(.95); }
  to { opacity: 1; transform: none; }
}
.rail-card--offer h3 { font-size: 21px; }
.offer-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold);
}
.offer-tag .live-dot { background: var(--gold); box-shadow: 0 0 12px var(--gold); }

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 26px; text-align: center;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em;
  color: var(--muted);
}

/* ---------- verified VIPs don't see upgrade prompts ---------- */
body.is-vip .nav-item--vip,
body.is-vip .booth--vip,
body.is-vip .rail-card--vip,
body.is-vip #panel-vip { display: none !important; }

/* ---------- urgent pass alert (top of main; gone once pass claimed) ----------
   .ann-alert = admin-promoted announcement banner; shares the styling but is
   NOT hidden by body.has-pass, and sits above the pass alert. */
.pass-alert,
.ann-alert {
  position: sticky; top: 14px; z-index: 40;
  display: flex; align-items: center; gap: 14px; width: 100%;
  padding: 14px 18px; margin-bottom: 24px;
  text-align: left; cursor: pointer;
  border-radius: 16px;
  background: linear-gradient(120deg, #1c1408 0%, #0d1716 58%);
  border: 1px solid rgba(240, 185, 79, 0.65);
  color: #f2f7f6;
  animation: alertPulse 2.2s ease-in-out infinite, alertIn 0.5s ease both;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.pass-alert:hover,
.ann-alert:hover { border-color: rgba(240, 185, 79, 0.95); transform: translateY(-1px); }
.ann-alert { z-index: 41; }
.ann-alert .pass-alert-txt b { text-transform: none; letter-spacing: 0.01em; }
.ann-alert .pass-alert-txt span {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.pass-alert-dot {
  width: 10px; height: 10px; border-radius: 999px; flex-shrink: 0;
  background: #f0b94f; box-shadow: 0 0 12px rgba(240, 185, 79, 0.85);
  animation: alertBlink 1.1s ease-in-out infinite;
}
.pass-alert-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pass-alert-txt b {
  font-size: 14px; font-weight: 800; letter-spacing: 0.04em;
  text-transform: uppercase; color: #ffdf9e;
}
.pass-alert-txt span { font-size: 12.5px; line-height: 1.45; color: #c9d6d2; }
.pass-alert-cta {
  margin-left: auto; flex-shrink: 0;
  padding: 10px 20px; border-radius: 999px;
  background: var(--grad-gold); color: #2a1c02;
  font-weight: 800; font-size: 13px; white-space: nowrap;
  box-shadow: 0 6px 18px rgba(240, 185, 79, 0.35);
}
@keyframes alertPulse {
  0%, 100% { box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35), 0 0 0 0 rgba(240, 185, 79, 0.35); }
  50% { box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35), 0 0 0 8px rgba(240, 185, 79, 0); }
}
@keyframes alertBlink { 50% { opacity: 0.35; } }
@keyframes alertIn { from { opacity: 0; transform: translateY(-14px); } }
@media (max-width: 900px) {
  .pass-alert, .ann-alert { top: 74px; } /* clear the sticky mobile bar */
}
@media (max-width: 560px) {
  .pass-alert, .ann-alert { flex-wrap: wrap; gap: 10px 12px; padding: 14px 15px; }
  .pass-alert-txt { flex: 1; min-width: 0; }
  .pass-alert-txt b { font-size: 12.5px; }
  .pass-alert-txt span { font-size: 12px; }
  .pass-alert-cta { flex: 1 1 100%; margin-left: 0; text-align: center; padding: 12px 20px; }
}

/* ---------- once a pass is issued, the reminders go away ---------- */
body.has-pass .rail-card--pass,
body.has-pass .pass-alert { display: none !important; }

/* ---------- mobile menu bar & drawer (hidden on desktop) ---------- */
.mobile-bar { display: none; }
.drawer-backdrop { display: none; }
.menu-btn {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(94, 234, 212, 0.08);
  border: 1px solid rgba(94, 234, 212, 0.3);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.menu-btn span {
  display: block; width: 18px; height: 2px; border-radius: 2px;
  background: #45f0d2;
  transition: transform .25s ease, opacity .2s ease;
}
body.menu-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
body.menu-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  .shell { grid-template-columns: 236px minmax(0, 1fr); }
  .rail { grid-column: 1 / -1; position: static; flex-direction: row; flex-wrap: wrap; }
  .rail-card { flex: 1 1 260px; }
}
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; padding: 18px; gap: 20px; }
  .rail { order: -1; } /* rail cards above the main content on phones */
  /* top bar with hamburger */
  .mobile-bar {
    display: flex; align-items: center; justify-content: space-between;
    position: sticky; top: 0; z-index: 60;
    padding: 10px 16px;
    background: rgba(6, 10, 9, 0.9);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(94, 234, 212, 0.18);
  }
  .mobile-bar img { height: 42px; width: auto; }

  /* sidebar becomes a slide-in drawer */
  .sidebar {
    position: fixed; top: 0; left: 0; bottom: 0;
    width: min(320px, 84vw); z-index: 70;
    background: linear-gradient(160deg, #0d1716 0%, #070d0c 80%);
    border-right: 1px solid rgba(94, 234, 212, 0.22);
    padding: 22px 18px 34px;
    overflow-y: auto; overscroll-behavior: contain;
    transform: translateX(-105%);
    transition: transform .28s cubic-bezier(.2, .8, .25, 1);
    box-shadow: 30px 0 70px rgba(0, 0, 0, 0.45);
  }
  body.menu-open .sidebar { transform: translateX(0); }
  body.menu-open { overflow: hidden; }
  .drawer-backdrop {
    display: block; position: fixed; inset: 0; z-index: 65;
    background: rgba(3, 6, 5, 0.55); backdrop-filter: blur(2px);
    opacity: 0; pointer-events: none; transition: opacity .25s ease;
  }
  body.menu-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
  .side-brand { padding: 4px 10px 18px; }
  .side-brand img { width: 172px; }
  .booth-grid, .support-cards { grid-template-columns: 1fr 1fr; }
  .fact-strip { grid-template-columns: 1fr 1fr; }
  .founder-grid, .pass-layout, .vip-grid, .skool-card { grid-template-columns: 1fr; }
  .pass-form { position: static; }
  .skool-logo { max-width: 340px; }
}
@media (max-width: 560px) {
  .booth-grid, .support-cards, .fact-strip { grid-template-columns: 1fr; }
  .cd-cell { min-width: 58px; }
  .display { font-size: 30px; }
}
