/* ============================================================
   LuckyAce Cyber Cafe — site styles
   Design system + scenes
   ============================================================ */

@font-face {
  font-family: 'Outfit';
  src: url('../assets/fonts/Outfit-Variable.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('../assets/fonts/SpaceGrotesk-Variable.woff2') format('woff2-variations');
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --ink: #05060d;
  --ink-2: #090b16;
  --ink-3: #0e1120;

  --gold: #f5c242;
  --gold-lt: #ffe6a6;
  --gold-dp: #b97d13;
  --red: #e23b2e;
  --cyan: #3fc8f5;
  --violet: #7b4dff;
  --green: #4ede9b;

  --txt: #eef0f8;
  --txt-2: #a7adc4;
  --txt-3: #6d7490;

  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --glass: rgba(255, 255, 255, 0.045);
  --glass-2: rgba(255, 255, 255, 0.075);

  --shadow-lg: 0 40px 90px -30px rgba(0, 0, 0, 0.9);
  --gold-grad: linear-gradient(115deg, #ffe6a6 0%, #f5c242 38%, #e0a01f 62%, #ffd97a 100%);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  --pad: clamp(20px, 5vw, 84px);
  --maxw: 1320px;
}

*, *::before, *::after { box-sizing: border-box; }
/* components below set their own display, which otherwise beats the attribute */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--txt);
  font-family: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

::selection { background: var(--gold); color: #1a1206; }

/* ── type scale ─────────────────────────────────────────── */
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.035em; line-height: 0.95; }
h2 { font-size: clamp(2.2rem, 5.4vw, 4.6rem); }
h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); letter-spacing: -0.025em; }
p { margin: 0; }

.grad {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.kicker {
  display: inline-block;
  font-family: 'Space Grotesk', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.85;
}

.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--txt-3);
  display: inline-block;
  flex: none;
}
.dot--live {
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(78, 222, 155, 0.55);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 7px rgba(78, 222, 155, 0); }
  100% { box-shadow: 0 0 0 0 rgba(78, 222, 155, 0); }
}

/* ============================================================
   PRELOADER
   ============================================================ */
.preloader {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: radial-gradient(120% 90% at 50% 40%, #12142a 0%, #05060d 62%);
}
.preloader.is-gone { pointer-events: none; }
.preloader__inner { width: min(360px, 74vw); text-align: center; }
.preloader__mark {
  position: relative;
  width: 132px; margin: 0 auto 30px;
  filter: drop-shadow(0 18px 40px rgba(245, 194, 66, 0.28));
  animation: float 4s ease-in-out infinite;
}
.preloader__mark img { width: 100%; }
.preloader__sheen {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.7) 50%, transparent 62%);
  mix-blend-mode: overlay;
  animation: sheen 2.1s var(--ease-io) infinite;
}
@keyframes sheen { 0% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }
@keyframes float { 50% { transform: translateY(-9px); } }

.preloader__bar {
  height: 2px; border-radius: 2px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.preloader__bar i {
  display: block; height: 100%; width: 0%;
  background: var(--gold-grad);
  box-shadow: 0 0 14px rgba(245, 194, 66, 0.8);
}
.preloader__meta {
  display: flex; justify-content: space-between;
  margin-top: 12px;
  font-family: 'Space Grotesk', monospace;
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--txt-3);
}

/* ============================================================
   WEBGL STAGE
   ============================================================ */
.stage { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
#gl { width: 100%; height: 100%; display: block; }
.stage__vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(78% 60% at 50% 42%, transparent 40%, rgba(5, 6, 13, 0.75) 100%),
    linear-gradient(180deg, rgba(5, 6, 13, 0.6) 0%, transparent 22%, transparent 72%, var(--ink) 100%);
}
.stage__grain {
  position: absolute; inset: -50%;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.7s steps(3) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); }
  33% { transform: translate(-3%, 2%); }
  66% { transform: translate(2%, -3%); }
}

/* ============================================================
   BUTTONS + PILLS
   ============================================================ */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px;
  border-radius: 100px;
  font-weight: 650; font-size: 0.96rem; letter-spacing: -0.01em;
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn span { position: relative; z-index: 2; }
.btn--full { width: 100%; justify-content: center; }

.btn--gold {
  color: #1c1405;
  background: var(--gold-grad);
  box-shadow: 0 14px 34px -12px rgba(245, 194, 66, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.btn--gold::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.85) 50%, transparent 60%);
  transform: translateX(-130%);
  transition: transform 0.75s var(--ease-io);
}
.btn--gold:hover::after { transform: translateX(130%); }
.btn--gold:hover { box-shadow: 0 20px 46px -12px rgba(245, 194, 66, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.6); }

.btn--glass {
  color: var(--txt);
  background: var(--glass);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(14px);
}
.btn--glass:hover { background: var(--glass-2); border-color: rgba(245, 194, 66, 0.45); }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 17px;
  border-radius: 100px;
  font-size: 0.83rem; font-weight: 600;
  transition: all 0.35s var(--ease);
  white-space: nowrap;
}
.pill--ghost { color: var(--txt-2); border: 1px solid var(--line); }
.pill--ghost:hover { color: var(--txt); border-color: var(--line-2); background: var(--glass); }
.pill--gold {
  color: #1c1405;
  background: var(--gold-grad);
  box-shadow: 0 10px 26px -10px rgba(245, 194, 66, 0.65);
}
.pill--gold:hover { box-shadow: 0 14px 32px -10px rgba(245, 194, 66, 0.85); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  display: flex; align-items: center; gap: 28px;
  padding: 18px var(--pad);
  transition: background 0.5s var(--ease), backdrop-filter 0.5s var(--ease), border-color 0.5s var(--ease), padding 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  padding-top: 12px; padding-bottom: 12px;
  background: rgba(6, 7, 16, 0.72);
  backdrop-filter: blur(22px) saturate(150%);
  border-bottom-color: var(--line);
}
.nav__brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.nav__brand img { width: 40px; filter: drop-shadow(0 4px 14px rgba(245, 194, 66, 0.35)); }
.nav__brand span { display: grid; line-height: 1.05; white-space: nowrap; }
.nav__brand b { font-size: 1.06rem; font-weight: 800; letter-spacing: -0.03em; }
.nav__brand em {
  font-family: 'Space Grotesk', monospace;
  font-style: normal; font-size: 0.6rem;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold); opacity: 0.8;
}

.nav__links { display: flex; gap: 4px; }
.nav__links a {
  position: relative;
  padding: 9px 15px; border-radius: 100px;
  font-size: 0.9rem; font-weight: 500; color: var(--txt-2);
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav__links a:hover, .nav__links a.is-current { color: var(--txt); background: var(--glass); }
.nav__links a.is-current::after {
  content: ''; position: absolute; left: 15px; right: 15px; bottom: 3px;
  height: 2px; border-radius: 2px; background: var(--gold);
}

.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); }
.nav__burger span { display: block; width: 17px; height: 1.6px; margin: 4px auto; background: var(--txt); border-radius: 2px; transition: 0.35s var(--ease); }
.nav.is-open .nav__burger span:first-child { transform: translateY(3px) rotate(45deg); }
.nav.is-open .nav__burger span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; z-index: 2;
  min-height: 100svh;
  display: grid; align-items: center;
  padding: 130px var(--pad) 120px;
}
.hero__inner {
  max-width: var(--maxw); margin: 0 auto; width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  column-gap: clamp(24px, 4vw, 64px);
  align-items: center;
}
.hero__copy { grid-column: 1; }
/* the WebGL ring lives behind this column — keep it clear of type */
.hero__void { grid-column: 2; min-height: 58vh; }
.hero__proof { grid-column: 1 / -1; margin-top: clamp(34px, 5vh, 56px); }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 18px 8px 14px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: rgba(10, 12, 24, 0.5);
  backdrop-filter: blur(14px);
  font-family: 'Space Grotesk', monospace;
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--txt-2);
  margin-bottom: 30px;
}
.hero__eyebrow-sep { width: 1px; height: 12px; background: var(--line-2); }

.hero__title {
  font-size: clamp(3rem, 6.9vw, 7.1rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.86;
  margin-bottom: 30px;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero__title .word { display: inline-block; will-change: transform; }
.hero__title .word--gold {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 10px 40px rgba(245, 194, 66, 0.3));
}
.hero__punct { -webkit-text-fill-color: var(--red); color: var(--red); }

.hero__sub {
  max-width: 42ch;
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  color: var(--txt-2);
  margin-bottom: 34px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hub {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 0;
  max-width: 660px;
}
.hub li {
  position: relative;
  display: flex; align-items: center;
  padding-right: 26px;
}
/* connector between steps — hidden on the last item of each wrapped row */
.hub li::after {
  content: '';
  position: absolute; right: 7px; top: 50%;
  width: 12px; height: 1px;
  background: var(--line-2);
}
.hub li:last-child { padding-right: 0; }
.hub li:last-child::after { display: none; }
.hub a, .hub span {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--txt-2);
  font-size: 0.88rem;
  font-weight: 550;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.hub a { transition: color 0.3s var(--ease); }
.hub a:hover { color: var(--txt); }
.hub a:hover b { box-shadow: 0 0 0 3px rgba(245, 194, 66, 0.18); }
.hub a > span { color: var(--txt-2); }
.hub a:hover > span { color: var(--txt); }
.hub b {
  display: grid; place-items: center;
  width: 27px; height: 27px; border-radius: 50%;
  background: var(--gold-grad); color: #1c1405;
  font-family: 'Space Grotesk', monospace;
  font-size: 0.78rem; font-weight: 700;
  flex: none;
  transition: box-shadow 0.3s var(--ease);
}
/* steps 3–5 are outcomes, not actions — quieter than the two real links */
.hub li > span { color: var(--txt-2); }
.hub li > span b { background: var(--glass-2); color: var(--txt-2); border: 1px solid var(--line-2); }

.hero__proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 820px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.proof {
  padding: 20px 22px;
  background: rgba(9, 11, 22, 0.72);
  backdrop-filter: blur(10px);
}
.proof b {
  display: block;
  font-family: 'Space Grotesk', monospace;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 700; letter-spacing: -0.03em;
  color: var(--gold);
  line-height: 1;
}
.proof span { font-size: 0.78rem; color: var(--txt-3); }

.hero__scroll {
  position: absolute; left: var(--pad); bottom: 34px;
  display: grid; justify-items: center; gap: 9px;
  font-family: 'Space Grotesk', monospace;
  font-size: 0.62rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--txt-3);
}
.hero__scroll-track {
  width: 22px; height: 36px; border-radius: 100px;
  border: 1px solid var(--line-2);
  display: grid; justify-items: center; padding-top: 7px;
}
.hero__scroll-track i {
  width: 3px; height: 7px; border-radius: 3px; background: var(--gold);
  animation: scrollDot 1.8s var(--ease-io) infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateY(13px); opacity: 0; }
}

/* ============================================================
   TICKER
   ============================================================ */
.ticker {
  position: relative; z-index: 2;
  border-block: 1px solid var(--line);
  background: rgba(8, 9, 18, 0.7);
  backdrop-filter: blur(14px);
  overflow: hidden;
  padding: 15px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker__row { display: flex; width: max-content; gap: 0; will-change: transform; }
.ticker__item {
  display: inline-flex; align-items: center; gap: 22px;
  padding: 0 22px;
  font-family: 'Space Grotesk', monospace;
  font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--txt-2);
  white-space: nowrap;
}
.ticker__item i { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex: none; }
.ticker__item:nth-child(3n) { color: var(--gold); }

/* ============================================================
   SECTION SHELL
   ============================================================ */
.section {
  position: relative; z-index: 2;
  padding: clamp(88px, 12vh, 160px) var(--pad);
  max-width: var(--maxw);
  margin: 0 auto;
}
.section__head { max-width: 760px; margin-bottom: clamp(48px, 7vw, 84px); }
.section__head .kicker { margin-bottom: 20px; }
.section__head p { margin-top: 24px; color: var(--txt-2); font-size: 1.05rem; max-width: 56ch; }
.section__head--split {
  max-width: none;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 6vw, 90px); align-items: end;
}
.section__head--split p { margin-top: 0; padding-bottom: 8px; }

/* reveal-on-scroll base state (JS adds .is-in) */
.reveal { opacity: 0; transform: translateY(26px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }

/* ============================================================
   COLLECTION / DECK
   ============================================================ */
.deck {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: clamp(16px, 1.7vw, 24px);
  perspective: 1600px;
}

.gcard {
  position: relative;
  padding: 30px 26px 26px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(168deg, rgba(255, 255, 255, 0.062), rgba(255, 255, 255, 0.014));
  backdrop-filter: blur(16px);
  overflow: hidden;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: border-color 0.5s var(--ease), box-shadow 0.6s var(--ease), background 0.5s var(--ease);
  will-change: transform;
}
.gcard::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: inherit;
  background: radial-gradient(320px 220px at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--accent) 26%, transparent), transparent 68%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.gcard:hover::before { opacity: 1; }
.gcard:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  box-shadow: 0 34px 70px -32px color-mix(in srgb, var(--glowc) 75%, transparent), var(--shadow-lg);
}

.gcard__coin {
  position: relative;
  width: 108px; aspect-ratio: 1;
  margin-bottom: 26px;
  transform: translateZ(46px);
}
.gcard__coin img { width: 100%; border-radius: 50%; }
.gcard__coin::after {
  content: '';
  position: absolute; inset: -22%;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--glowc) 62%, transparent), transparent 66%);
  filter: blur(16px);
  opacity: 0.6;
  z-index: -1;
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}
.gcard:hover .gcard__coin::after { opacity: 1; transform: scale(1.12); }
.gcard__ring {
  position: absolute; inset: -9%;
  border-radius: 50%;
  border: 1px dashed color-mix(in srgb, var(--accent) 55%, transparent);
  opacity: 0; transition: opacity 0.5s var(--ease);
  animation: spin 22s linear infinite;
}
.gcard:hover .gcard__ring { opacity: 1; }
@keyframes spin { to { transform: rotate(360deg); } }

.gcard__name {
  font-size: 1.32rem; font-weight: 800; letter-spacing: -0.03em;
  margin-bottom: 8px;
  transform: translateZ(30px);
}
.gcard__tag {
  font-size: 0.9rem; color: var(--txt-2); line-height: 1.5;
  min-height: 2.7em;
  transform: translateZ(22px);
}
.gcard__stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px;
  margin: 22px 0 20px; padding-top: 18px;
  border-top: 1px solid var(--line);
  transform: translateZ(18px);
}
.gcard__stats div span { display: block; }
.gcard__stats div b {
  display: block;
  font-family: 'Space Grotesk', monospace;
  font-size: 1.02rem; font-weight: 700; color: var(--accent);
  line-height: 1.1;
}
.gcard__stats div span { font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--txt-3); }

.gcard__go {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; font-weight: 600; color: var(--txt-2);
  transform: translateZ(24px);
  transition: color 0.35s var(--ease), gap 0.35s var(--ease);
}
.gcard:hover .gcard__go { color: var(--gold); gap: 13px; }
.gcard__go svg { width: 15px; height: 15px; }

.collection__note {
  display: flex; align-items: center; gap: 12px;
  margin-top: 40px; padding: 18px 24px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: var(--glass);
  font-size: 0.9rem; color: var(--txt-2);
  width: fit-content;
}

/* ============================================================
   PAYMENTS
   ============================================================ */
.pay__grid {
  display: grid; grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(30px, 5vw, 76px);
  align-items: start;
}

.pay__card-stage { perspective: 1500px; display: grid; justify-items: center; gap: 22px; position: sticky; top: 120px; }
.paycard {
  position: relative;
  width: min(400px, 78vw); aspect-ratio: 1.586;
  transform-style: preserve-3d;
  transition: transform 0.9s var(--ease);
  cursor: grab;
  will-change: transform;
}
.paycard.is-flipped { transform: rotateY(180deg); }
.paycard:active { cursor: grabbing; }

.paycard__face {
  position: absolute; inset: 0;
  border-radius: 22px;
  backface-visibility: hidden;
  overflow: hidden;
  padding: 26px;
  display: flex; flex-direction: column;
  border: 1px solid rgba(245, 194, 66, 0.26);
  box-shadow: 0 50px 90px -34px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.paycard__face--front {
  background:
    radial-gradient(120% 130% at 12% 8%, #2a2113 0%, #14121c 45%, #08080f 100%);
}
.paycard__face--back {
  transform: rotateY(180deg);
  background: radial-gradient(120% 130% at 88% 8%, #22192a 0%, #101019 48%, #07070d 100%);
  gap: 12px;
}
.paycard__shine {
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 32%, rgba(255, 226, 154, 0.16) 48%, transparent 64%);
  transform: translateX(-40%);
  transition: transform 0.2s linear;
  pointer-events: none;
}
.paycard__top { display: flex; align-items: flex-start; justify-content: space-between; }
.paycard__mark { width: 118px; }
.paycard__chip {
  width: 42px; height: 32px; border-radius: 7px;
  background: linear-gradient(135deg, #f0d38a, #a8791b 45%, #ffe9b0 70%, #8c6412);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  position: relative;
}
.paycard__chip::after {
  content: ''; position: absolute; inset: 6px 4px;
  border: 1px solid rgba(0, 0, 0, 0.28); border-radius: 3px;
  border-left: 0; border-right: 0;
}
.paycard__bonus { margin-top: auto; display: flex; align-items: flex-end; gap: 12px; }
.paycard__bonus b {
  font-family: 'Space Grotesk', monospace;
  font-size: 3.4rem; font-weight: 700; line-height: 0.85;
  letter-spacing: -0.04em;
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.paycard__bonus span { font-size: 0.82rem; color: var(--txt-2); line-height: 1.35; padding-bottom: 4px; }
.paycard__bottom { display: flex; justify-content: space-between; align-items: baseline; margin-top: 20px; }
.paycard__label { font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--txt-3); }
.paycard__num { font-family: 'Space Grotesk', monospace; font-size: 0.86rem; letter-spacing: 0.1em; color: var(--txt-2); }

.paycard__stripe { height: 42px; margin: 4px -26px 10px; background: #05050a; }
.paycard__face--back p { font-size: 0.88rem; color: var(--txt-2); }
.paycard__face--back ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.paycard__face--back li {
  font-family: 'Space Grotesk', monospace;
  font-size: 0.76rem; letter-spacing: 0.05em; color: var(--gold);
  padding: 9px 13px; border-radius: 10px;
  background: rgba(245, 194, 66, 0.08);
  border: 1px solid rgba(245, 194, 66, 0.18);
}
.paycard__hint { margin-top: auto; font-size: 0.68rem; color: var(--txt-3); letter-spacing: 0.1em; text-transform: uppercase; }
.paycard__cue { font-family: 'Space Grotesk', monospace; font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--txt-3); }

.rails { display: grid; gap: 12px; }
.rail {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  overflow: hidden;
  transition: border-color 0.45s var(--ease), background 0.45s var(--ease);
}
.rail.is-open { border-color: rgba(245, 194, 66, 0.4); background: linear-gradient(160deg, rgba(245, 194, 66, 0.09), rgba(255, 255, 255, 0.015)); }
.rail__head {
  width: 100%;
  display: flex; align-items: center; gap: 16px;
  padding: 22px 26px;
  text-align: left;
}
.rail__name { font-size: 1.12rem; font-weight: 700; letter-spacing: -0.02em; margin-right: auto; }
.rail__status {
  padding: 5px 12px; border-radius: 100px;
  font-family: 'Space Grotesk', monospace;
  font-size: 0.63rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.rail__status[data-s='live'] { color: var(--green); background: rgba(78, 222, 155, 0.12); border: 1px solid rgba(78, 222, 155, 0.3); }
.rail__status[data-s='bonus'] { color: var(--gold); background: rgba(245, 194, 66, 0.12); border: 1px solid rgba(245, 194, 66, 0.32); }
.rail__status[data-s='attention'] { color: #ffab5c; background: rgba(255, 171, 92, 0.12); border: 1px solid rgba(255, 171, 92, 0.32); }
.rail__chev { width: 18px; height: 18px; color: var(--txt-3); transition: transform 0.45s var(--ease); }
.rail.is-open .rail__chev { transform: rotate(180deg); color: var(--gold); }

.rail__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.55s var(--ease); }
.rail.is-open .rail__body { grid-template-rows: 1fr; }
.rail__inner { overflow: hidden; }
.rail__pad { padding: 0 26px 24px; }
.rail__pad h4 { font-size: 1rem; margin-bottom: 8px; color: var(--gold-lt); }
.rail__pad p { font-size: 0.92rem; color: var(--txt-2); }
.rail__bullets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.rail__bullets span {
  padding: 7px 13px; border-radius: 100px;
  font-size: 0.76rem; color: var(--txt-2);
  background: var(--glass); border: 1px solid var(--line);
}
.rail__stamp {
  display: flex; align-items: center; gap: 8px;
  margin-top: 16px;
  font-family: 'Space Grotesk', monospace;
  font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--txt-3);
}

/* ============================================================
   CASHIER
   ============================================================ */
.cashier__panel {
  display: grid; grid-template-columns: 1fr 340px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012));
  backdrop-filter: blur(20px);
  overflow: hidden;
  overflow: clip;
  box-shadow: var(--shadow-lg);
}
.cashier__steps {
  position: relative;
  grid-column: 1 / -1;
  display: flex; gap: 34px;
  padding: 22px clamp(24px, 3vw, 40px);
  border-bottom: 1px solid var(--line);
}
.cstep {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.88rem; font-weight: 600; color: var(--txt-3);
  transition: color 0.4s var(--ease);
}
.cstep i {
  display: grid; place-items: center;
  width: 24px; height: 24px; border-radius: 50%;
  font-family: 'Space Grotesk', monospace; font-size: 0.72rem; font-style: normal;
  border: 1px solid var(--line-2);
  transition: all 0.4s var(--ease);
}
.cstep.is-on { color: var(--txt); }
.cstep.is-on i { background: var(--gold-grad); color: #1c1405; border-color: transparent; }
.cstep.is-done i { background: rgba(78, 222, 155, 0.16); border-color: rgba(78, 222, 155, 0.4); color: var(--green); }
.cashier__steps-bar { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; }
.cashier__steps-bar span { display: block; height: 100%; width: 33%; background: var(--gold-grad); transition: width 0.6s var(--ease); box-shadow: 0 0 12px rgba(245, 194, 66, 0.7); }

.cashier__body { padding: clamp(28px, 3.4vw, 44px); min-height: 400px; position: relative; }
.cpane { display: none; }
.cpane.is-active { display: block; animation: paneIn 0.55s var(--ease); }
@keyframes paneIn { from { opacity: 0; transform: translateY(14px); } }
.cpane h3 { margin-bottom: 24px; }

.chipgrid { display: flex; flex-wrap: wrap; gap: 10px; }
.chipgrid--games { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.gchip {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 16px;
  border: 1px solid var(--line); background: var(--glass);
  text-align: left;
  transition: all 0.35s var(--ease);
}
.gchip img { width: 34px; height: 34px; border-radius: 50%; flex: none; }
.gchip b { display: block; font-size: 0.86rem; font-weight: 650; letter-spacing: -0.01em; }
.gchip span { font-size: 0.68rem; color: var(--txt-3); }
.gchip:hover { border-color: var(--line-2); background: var(--glass-2); transform: translateY(-2px); }
.gchip.is-on { border-color: var(--gold); background: rgba(245, 194, 66, 0.11); box-shadow: 0 10px 26px -12px rgba(245, 194, 66, 0.6); }

.amount { display: flex; align-items: baseline; gap: 4px; margin-bottom: 8px; }
.amount__cur { font-size: 1.6rem; color: var(--txt-3); }
.amount__val {
  font-family: 'Space Grotesk', monospace;
  font-size: clamp(3rem, 6vw, 4.4rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1;
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.slider { width: 100%; margin: 18px 0 22px; appearance: none; height: 3px; border-radius: 3px; background: var(--line-2); }
.slider::-webkit-slider-thumb {
  appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold-grad); cursor: grab;
  box-shadow: 0 0 0 5px rgba(245, 194, 66, 0.16), 0 6px 16px -4px rgba(245, 194, 66, 0.8);
}
.chip {
  padding: 10px 18px; border-radius: 100px;
  border: 1px solid var(--line); background: var(--glass);
  font-family: 'Space Grotesk', monospace; font-size: 0.86rem;
  transition: all 0.3s var(--ease);
}
.chip:hover { border-color: var(--line-2); }
.chip.is-on { border-color: var(--gold); color: var(--gold); background: rgba(245, 194, 66, 0.1); }
.amount__bonus {
  margin-top: 22px; padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid rgba(245, 194, 66, 0.26);
  background: rgba(245, 194, 66, 0.07);
  font-size: 0.88rem; color: var(--gold-lt);
}

.methods { display: grid; gap: 10px; }
.method {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; border-radius: 16px;
  border: 1px solid var(--line); background: var(--glass);
  text-align: left;
  transition: all 0.35s var(--ease);
}
.method__ic {
  width: 38px; height: 38px; border-radius: 11px; flex: none;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.06);
  font-family: 'Space Grotesk', monospace; font-size: 0.72rem; font-weight: 700;
  color: var(--gold);
}
.method b { display: block; font-size: 0.94rem; }
.method span { font-size: 0.82rem; color: var(--txt-2); }
.method__meta { margin-left: auto; font-family: 'Space Grotesk', monospace; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--txt-3); }
.method:hover { border-color: var(--line-2); background: var(--glass-2); }
.method.is-on { border-color: var(--gold); background: rgba(245, 194, 66, 0.1); }
.method.is-on .method__meta { color: var(--gold); }
.method__txt { min-width: 0; }
.method__range { display: none; margin-top: 3px; font-family: 'Space Grotesk', monospace; font-size: 0.72rem; color: var(--txt-3); }
.method__tag {
  margin-left: 6px; padding: 2px 8px; border-radius: 100px; vertical-align: 1px;
  font-style: normal; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.04em;
  color: #1c1405; background: var(--gold-grad);
}
.method__go { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--txt-3); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.3s var(--ease), stroke 0.3s; }
.method:hover .method__go { stroke: var(--gold); transform: translateX(3px); }

/* step 3 header: which method this amount list belongs to */
.paywith {
  display: flex; align-items: center; gap: 12px; margin-bottom: 22px;
  padding: 10px 12px 10px 10px; border-radius: 14px;
  border: 1px solid rgba(245, 194, 66, 0.3); background: rgba(245, 194, 66, 0.06);
}
.paywith__txt { display: grid; line-height: 1.25; }
.paywith__txt small { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--txt-3); }
.paywith__txt b { font-size: 0.95rem; }
.paywith__change {
  margin-left: auto; padding: 8px 14px; border-radius: 100px;
  border: 1px solid var(--line-2); font-size: 0.8rem; color: var(--txt-2);
  transition: border-color 0.2s, color 0.2s;
}
.paywith__change:hover { border-color: var(--gold); color: var(--gold); }
.amount__custom { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-size: 0.85rem; color: var(--txt-2); }
.amount__field {
  display: inline-flex; align-items: center; gap: 4px; padding: 0 14px; border-radius: 100px;
  border: 1px solid var(--line); background: var(--glass);
}
.amount__field:focus-within { border-color: var(--gold); }
.amount__field i { font-style: normal; color: var(--txt-3); font-family: 'Space Grotesk', monospace; }
.amount__field input {
  width: 110px; padding: 10px 0; border: 0; background: none; outline: none;
  color: var(--txt); font: 600 0.92rem 'Space Grotesk', monospace;
}
.amount__err { margin-top: 10px; font-size: 0.82rem; color: #f87171; }
#payBtn { margin-top: 22px; }
#payBtn:disabled { opacity: 0.45; cursor: not-allowed; }
#payFine {
  margin-top: 14px; padding: 12px 14px; border-radius: 14px; text-align: left;
  border: 1px solid rgba(248, 113, 113, 0.45); background: rgba(248, 113, 113, 0.1);
  color: #fecaca; font-size: 0.86rem; line-height: 1.5;
}

.cashier__fine, .join__fine { margin-top: 14px; font-size: 0.8rem; color: var(--txt-2); text-align: center; }
#cashierLink { margin: 0 auto 16px; }
#cashierLink[hidden] { display: none; }

.cpane--done { text-align: center; padding-top: 18px; }
.cpane--done h3 { margin: 26px 0 10px; }
.cpane--done p { color: var(--txt-2); margin-bottom: 26px; }
.cpane--done p code, .done__info code {
  font-family: 'Space Grotesk', monospace; color: var(--gold);
  padding: 2px 7px; border-radius: 6px; background: rgba(245, 194, 66, 0.1);
}
.done { position: relative; width: 120px; height: 120px; margin: 0 auto; }
.done__ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.done__ring-bg { stroke: rgba(255, 255, 255, 0.08); stroke-width: 4; }
.done__ring-fg {
  stroke: var(--green); stroke-width: 4;
  stroke-dasharray: 327; stroke-dashoffset: 327;
  filter: drop-shadow(0 0 10px rgba(78, 222, 155, 0.7));
}
.cpane--done.is-active .done__ring-fg { animation: ringIn 1s var(--ease) 0.1s forwards; }
@keyframes ringIn { to { stroke-dashoffset: 0; } }
.done__tick {
  position: absolute; inset: 0; margin: auto;
  width: 52px; height: 52px; color: var(--green); stroke-width: 4;
  stroke-dasharray: 44; stroke-dashoffset: 44;
}
.cpane--done.is-active .done__tick path { animation: tickIn 0.5s var(--ease) 0.65s forwards; stroke-dasharray: 44; stroke-dashoffset: 44; }
@keyframes tickIn { to { stroke-dashoffset: 0; } }

/* waiting on the provider: a spinning arc instead of a finished tick */
.cpane--done.is-waiting .done__tick { opacity: 0; }
.cpane--done.is-waiting .done__tick path { animation: none; }
.cpane--done.is-waiting .done__ring { animation: spin 1.3s linear infinite; }
.cpane--done.is-waiting .done__ring-fg { animation: none; stroke: var(--gold); stroke-dashoffset: 240; filter: drop-shadow(0 0 10px rgba(245, 194, 66, 0.6)); }
.cpane--done.is-failed .done__tick { opacity: 0; }
.cpane--done.is-failed .done__ring-fg { stroke: #f87171; filter: none; }
.done__info {
  display: grid; gap: 8px; max-width: 420px; margin: -8px auto 18px; text-align: left;
}
.done__status {
  max-width: 440px; margin: -10px auto 20px !important; padding: 10px 14px; border-radius: 12px;
  font-size: 0.84rem; border: 1px solid var(--line); background: var(--glass); color: var(--txt-2);
}
.done__status[data-tone='ok'] { border-color: rgba(78, 222, 155, 0.45); color: var(--green); background: rgba(78, 222, 155, 0.07); }
.done__status[data-tone='bad'] { border-color: rgba(248, 113, 113, 0.45); color: #fca5a5; background: rgba(248, 113, 113, 0.07); }
.done__status[data-tone='wait'] { border-color: rgba(245, 194, 66, 0.35); color: var(--gold-lt); }

/* ── TierLock instructions popup ── */
.tlmodal { position: fixed; inset: 0; z-index: 140; display: grid; place-items: center; padding: 18px; }
.tlmodal[hidden] { display: none; }
.tlmodal__scrim { position: absolute; inset: 0; background: rgba(3, 4, 10, 0.78); backdrop-filter: blur(8px); }
.tlmodal__card {
  --tlpad: clamp(20px, 4vw, 36px);
  position: relative; width: min(560px, 100%); max-height: calc(100dvh - 36px); overflow-y: auto; overscroll-behavior: contain;
  padding: var(--tlpad) var(--tlpad) 0; border-radius: 26px;
  border: 1px solid rgba(245, 194, 66, 0.35);
  background: linear-gradient(168deg, #151829, #0a0c18);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9), 0 0 60px -20px rgba(245, 194, 66, 0.35);
  display: grid; gap: 14px;
  animation: paneIn 0.45s var(--ease);
}
.tlmodal__x { position: absolute; top: 16px; right: 16px; }
.tlmodal__card .kicker { padding-right: 44px; }
/* the main action stays reachable while the steps scroll on short screens */
.tlmodal__actions {
  position: sticky; bottom: 0; z-index: 1; display: grid; gap: 10px;
  margin: 0 calc(-1 * var(--tlpad)); padding: 14px var(--tlpad) var(--tlpad);
  background: linear-gradient(180deg, rgba(10, 12, 24, 0), #0a0c18 26%);
}
.tlmodal__card h3 { font-size: clamp(1.45rem, 3.4vw, 1.9rem); letter-spacing: -0.03em; line-height: 1.1; padding-right: 40px; }
.tlmodal__lede { font-size: 0.92rem; color: var(--txt-2); line-height: 1.55; }
.tlfield {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 12px;
  padding: 14px 16px; border-radius: 16px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.035);
}
.tlfield__label {
  grid-column: 1 / -1; font-family: 'Space Grotesk', monospace;
  font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--txt-3);
}
.tlfield__value {
  font-family: 'Space Grotesk', monospace; font-size: 1.05rem; font-weight: 600;
  color: var(--txt); overflow-wrap: anywhere;
}
.tlfield--hero { border-color: rgba(245, 194, 66, 0.6); background: rgba(245, 194, 66, 0.08); }
.tlfield--hero .tlfield__value { font-size: clamp(1.6rem, 5vw, 2.2rem); letter-spacing: -0.02em; color: var(--gold); }
.tlgrid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
.tlcopy {
  padding: 8px 14px; border-radius: 10px; font-size: 0.8rem; font-weight: 600;
  border: 1px solid rgba(245, 194, 66, 0.5); color: var(--gold); background: rgba(245, 194, 66, 0.08);
  transition: background 0.2s;
}
.tlcopy:hover { background: rgba(245, 194, 66, 0.18); }
.tlcopy.is-done { border-color: rgba(78, 222, 155, 0.55); color: var(--green); background: rgba(78, 222, 155, 0.08); }
.tlsteps { display: grid; gap: 9px; margin: 4px 0 6px; padding-left: 22px; font-size: 0.88rem; color: var(--txt-2); line-height: 1.5; }
.tlsteps b { color: var(--txt); }
.tlsteps [data-tl="phone"] { white-space: nowrap; }
@media (max-width: 520px) {
  .tlmodal { padding: 10px; }
  .tlmodal__card { max-height: calc(100dvh - 20px); gap: 12px; border-radius: 22px; }
  .tlgrid { grid-template-columns: 1fr; gap: 8px; }
  .tlfield { padding: 11px 14px; }
  .tlsteps { font-size: 0.84rem; gap: 7px; }
}

.cashier__side {
  padding: clamp(28px, 3vw, 36px);
  border-left: 1px solid var(--line);
  background: rgba(6, 7, 15, 0.45);
  display: grid; align-content: start; gap: 18px;
}
.ticket {
  border: 1px solid var(--line); border-radius: 20px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), transparent);
  padding: 22px;
}
.ticket__game { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px dashed var(--line-2); }
.ticket__coin { width: 46px; height: 46px; flex: none; }
.ticket__coin img { width: 100%; border-radius: 50%; }
.ticket__game b { display: block; font-size: 1rem; letter-spacing: -0.02em; }
.ticket__game span { font-size: 0.74rem; color: var(--txt-3); }
.ticket dl { margin: 18px 0 0; display: grid; gap: 12px; }
.ticket dl div { display: flex; justify-content: space-between; align-items: baseline; }
.ticket dt { font-size: 0.82rem; color: var(--txt-3); }
.ticket dd { margin: 0; font-family: 'Space Grotesk', monospace; font-size: 0.88rem; }
.ticket__total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--line-2);
}
.ticket__total span { font-size: 0.8rem; color: var(--txt-3); }
.ticket__total b { font-family: 'Space Grotesk', monospace; font-size: 1.5rem; letter-spacing: -0.03em; color: var(--gold); }
.ticket__eta { display: flex; align-items: center; gap: 9px; font-size: 0.78rem; color: var(--txt-3); }
.ticket__eta b { color: var(--txt-2); }

/* ============================================================
   REWARDS / WHEEL
   ============================================================ */
/* ── tier rail ───────────────────────────────────────────── */
.tiers {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin-bottom: clamp(34px, 4.5vw, 58px);
}
.tier {
  position: relative;
  padding: 22px 22px 20px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(168deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  overflow: hidden;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.tier:hover { border-color: var(--line-2); transform: translateY(-3px); }
.tier__rank {
  font-family: 'Space Grotesk', monospace;
  font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--txt-3);
}
.tier__name { display: block; margin: 8px 0 14px; font-size: 1.45rem; font-weight: 800; letter-spacing: -0.03em; }
.tier__min { font-family: 'Space Grotesk', monospace; font-size: 0.82rem; color: var(--txt-2); }
.tier__play {
  display: block; margin-top: 16px; padding-top: 15px;
  border-top: 1px dashed var(--line-2);
  font-family: 'Space Grotesk', monospace; font-size: 1.32rem; letter-spacing: -0.03em;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tier__blurb { display: block; margin-top: 6px; font-size: 0.8rem; color: var(--txt-3); }
/* the tier the signed-in member currently sits on */
.tier.is-current { border-color: var(--gold); box-shadow: 0 20px 50px -26px rgba(245, 194, 66, 0.75); }
.tier.is-current::before {
  content: 'You are here';
  position: absolute; top: 0; right: 0;
  padding: 5px 12px;
  border-bottom-left-radius: 12px;
  background: var(--gold-grad);
  font-family: 'Space Grotesk', monospace;
  font-size: 0.58rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: #1c1405;
}

/* ── portal + wheel pairing ──────────────────────────────── */
.vip { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 5vw, 72px); align-items: center; }

.portal {
  scroll-margin-top: 96px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012));
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
  padding: clamp(26px, 3vw, 38px);
}
.portal__pane { display: none; }
.portal__pane.is-active { display: block; animation: paneIn 0.55s var(--ease); }
.portal__pane h3 { margin: 16px 0 12px; }
.portal__intro { color: var(--txt-2); font-size: 0.92rem; margin-bottom: 24px; }
.portal form { display: grid; gap: 14px; }
.portal__hint {
  margin: 14px 0 0;
  font-family: 'Space Grotesk', monospace;
  font-size: 0.68rem; letter-spacing: 0.06em;
  color: var(--txt-3); text-align: center;
}
.portal__fine { margin-top: 18px; font-size: 0.72rem; color: var(--txt-3); text-align: center; }
.portal__error { margin-top: 14px; font-size: 0.88rem; color: #ffb4a8; text-align: center; }
.portal__error[hidden] { display: none; }

.portal__top { display: flex; align-items: center; gap: 14px; }
.portal__ava {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: var(--gold-grad); color: #1c1405;
  font-weight: 800; font-size: 1.1rem;
}
.portal__who { min-width: 0; }
.portal__who b { display: block; font-size: 1rem; letter-spacing: -0.02em; }
.portal__who span { display: block; font-size: 0.76rem; color: var(--txt-3); overflow: hidden; text-overflow: ellipsis; }
.portal__who #pUser { font-family: 'Space Grotesk', monospace; color: var(--gold); letter-spacing: 0.04em; }
.tierbadge {
  margin-left: auto; flex: none;
  padding: 7px 14px; border-radius: 100px;
  border: 1px solid rgba(245, 194, 66, 0.45);
  background: rgba(245, 194, 66, 0.1);
  font-family: 'Space Grotesk', monospace;
  font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold);
}
.tierbadge[data-tier='none'] { border-color: var(--line-2); background: var(--glass); color: var(--txt-3); }

.portal__status {
  margin: 26px 0 0;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
}
.portal__note {
  margin: -8px 0 0;
  font-size: 0.84rem;
  color: var(--txt-3);
}

.prog { margin: 22px 0 26px; }
.prog__bar { height: 6px; border-radius: 100px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.prog__bar i {
  display: block; height: 100%; width: 0;
  border-radius: 100px;
  background: var(--gold-grad);
  box-shadow: 0 0 14px rgba(245, 194, 66, 0.65);
  transition: width 1s var(--ease);
}
.prog__meta {
  display: flex; justify-content: space-between; gap: 12px;
  margin-top: 10px;
  font-family: 'Space Grotesk', monospace; font-size: 0.72rem; color: var(--txt-3);
}
.prog__meta span:last-child { color: var(--gold); }

.portal__rows { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.prow {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 14px;
  padding: 13px 17px;
  background: rgba(9, 11, 22, 0.72);
}
.prow__name { font-size: 0.86rem; }
.prow__amt { font-family: 'Space Grotesk', monospace; font-size: 0.86rem; }
.prow__track { grid-column: 1 / -1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.prow__track i { display: block; height: 100%; border-radius: 3px; background: var(--gold); opacity: 0.75; }
.prow--out .prow__name, .prow--out .prow__amt { color: var(--txt-3); }
.prow--out .prow__amt { text-decoration: line-through; }
.prow--out .prow__track i { background: var(--txt-3); opacity: 0.45; }
.prow__tag {
  margin-left: 8px;
  font-family: 'Space Grotesk', monospace;
  font-size: 0.58rem; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--txt-3);
}

.portal__spin {
  margin-top: 22px; padding: 16px 19px;
  border-radius: 15px;
  border: 1px solid rgba(245, 194, 66, 0.26);
  background: rgba(245, 194, 66, 0.07);
  font-size: 0.88rem; color: var(--gold-lt);
}
.portal__spin b { display: block; margin-bottom: 3px; }
.portal__spin.is-off { border-color: var(--line-2); background: var(--glass); color: var(--txt-2); }
.portal__out {
  display: block; width: 100%; margin-top: 18px; min-height: 46px; padding: 12px;
  border-radius: 12px; border: 1px solid var(--line);
  font-family: 'Space Grotesk', monospace;
  font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--txt-2);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.portal__out:hover { color: var(--txt); border-color: var(--line-2); background: var(--glass); }

/* ── wallet + redeem (TierLock) ─────────────────────────── */
.redeem {
  margin-top: 22px; padding: 18px 19px;
  border-radius: 15px;
  border: 1px solid var(--line);
  background: rgba(9, 11, 22, 0.6);
}
.redeem__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.redeem__balance {
  font-family: 'Space Grotesk', monospace;
  font-size: 1.5rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.redeem__copy { margin-top: 10px; font-size: 0.8rem; color: var(--txt-2); line-height: 1.55; }
.redeem form { display: grid; gap: 12px; margin-top: 14px; }
.redeem__msg { margin-top: 12px; font-size: 0.82rem; color: var(--gold-lt); line-height: 1.5; }
.redeem__msg.is-bad { color: #ffb4a8; }
.redeem__list { display: grid; gap: 8px; margin-top: 14px; }
.redeem__list:empty { display: none; }
.rrow {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 11px 14px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--glass);
  font-size: 0.82rem;
}
.rrow b { font-family: 'Space Grotesk', monospace; letter-spacing: -0.02em; }
.rrow__status { color: var(--txt-3); font-size: 0.74rem; }
.rrow__status[data-s='paid'], .rrow__status[data-s='sent — accept in tierlock'] { color: var(--green); }
.rrow__status[data-s='pending'] { color: var(--gold); }
.rrow__status[data-s='returned'] { color: #f87171; }
.redeem__balance--pending { font-size: 1.4rem; }
#refillBox { margin-bottom: 18px; }
.rrow__cancel {
  margin-left: auto; padding: 6px 12px; border-radius: 100px;
  border: 1px solid var(--line-2);
  font-family: 'Space Grotesk', monospace; font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--txt-2);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.rrow__cancel:hover { color: #ffb4a8; border-color: rgba(226, 59, 46, 0.5); }
.rrow__why { flex-basis: 100%; font-size: 0.74rem; color: var(--txt-2); line-height: 1.5; }
.redeem__empty a { color: var(--gold); }

/* cash-out method picker, only when more than one payout method is on */
.rmethods { display: flex; flex-wrap: wrap; gap: 8px; }
.rmethods[hidden] { display: none; }
.rmethods button {
  padding: 9px 14px; border-radius: 100px; min-height: 40px;
  border: 1px solid var(--line-2); background: var(--glass);
  font-size: 0.82rem; font-weight: 600; color: var(--txt-2);
}
.rmethods button[aria-checked='true'] { border-color: var(--gold); color: var(--gold); background: rgba(245, 194, 66, 0.1); }
.field__max {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  padding: 7px 12px; border-radius: 10px;
  border: 1px solid rgba(245, 194, 66, 0.45); background: rgba(245, 194, 66, 0.08);
  font-size: 0.74rem; font-weight: 650; color: var(--gold);
}
.redeem .field__hint { margin-top: 6px; }
#redeemForm[hidden] { display: none; }

/* ── game accounts card ── */
#gamesBox { margin-bottom: 18px; }
.redeem__count { font-family: 'Space Grotesk', monospace; font-size: 0.8rem; color: var(--txt-2); }
.glist { display: grid; gap: 8px; margin-top: 14px; }
.grow {
  display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 10px 12px;
  padding: 10px 12px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--glass);
}
.grow.is-missing { border-style: dashed; }
.grow img { width: 32px; height: 32px; border-radius: 50%; }
.grow__txt { display: grid; gap: 2px; min-width: 0; }
.grow__txt b { font-size: 0.86rem; font-weight: 650; }
.grow__txt em { font-style: normal; font-size: 0.74rem; color: var(--txt-3); line-height: 1.4; }
.grow__txt .grow__wait { color: var(--gold); }
.grow__txt .grow__bad { color: #ffb4a8; }
.grow__id { font-family: 'Space Grotesk', monospace; font-size: 0.92rem; color: var(--gold); overflow-wrap: anywhere; }
.grow__btn {
  padding: 7px 13px; border-radius: 100px; min-height: 34px;
  border: 1px solid var(--line-2); background: none;
  font-size: 0.74rem; font-weight: 600; color: var(--txt-2); white-space: nowrap;
}
.grow__btn:hover { color: var(--txt); border-color: var(--txt-3); }
.grow__btn--go { border-color: rgba(245, 194, 66, 0.55); color: var(--gold); background: rgba(245, 194, 66, 0.08); }
.grow__btn.is-done { border-color: rgba(78, 222, 155, 0.55); color: var(--green); }
.grow__pass {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px;
  padding: 10px 12px; border-radius: 10px;
  border: 1px solid rgba(245, 194, 66, 0.35); background: rgba(245, 194, 66, 0.07);
  font-size: 0.78rem; color: var(--txt-2);
}
.grow__pass code { font-family: 'Space Grotesk', monospace; font-size: 0.95rem; color: var(--gold); }
.grow__pass small { flex: 1 1 200px; font-size: 0.74rem; line-height: 1.45; }

/* cashier step 1: the player's login under each game */
.gchip .gchip__id { display: block; margin-top: 2px; font-size: 0.64rem; color: var(--gold); }
.gchip .gchip__id.is-missing { color: var(--txt-3); }
.gchip .gchip__id[hidden] { display: none; }

/* one-game popup */
.gmodal__game { display: flex; align-items: center; gap: 12px; padding-right: 44px; }
.gmodal__game img { width: 44px; height: 44px; border-radius: 50%; }
.gmodal__game img[src=''] { display: none; }
.gmodal__game .kicker { padding-right: 0; }
.gmodal__note { padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(245, 194, 66, 0.4); background: rgba(245, 194, 66, 0.08); font-size: 0.85rem; color: var(--txt-2); line-height: 1.5; }
.gmodal__note.is-bad { border-color: rgba(226, 59, 46, 0.45); background: rgba(226, 59, 46, 0.08); }
.gmodal__note[hidden] { display: none; }
.gmodal__form { display: grid; gap: 12px; }
.gmodal__ask { display: grid; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.gmodal__ask[hidden] { display: none; }
.gmodal__ask b { font-size: 0.95rem; }
.gmodal__ask p { font-size: 0.84rem; color: var(--txt-2); line-height: 1.5; }
.gmodal__pad { height: calc(var(--tlpad) - 14px); }

/* first-run setup */
.gsetup__rows { display: grid; gap: 8px; }
.gsrow {
  display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 4px 12px;
  padding: 10px 12px; border-radius: 14px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03);
}
.gsrow img { width: 36px; height: 36px; border-radius: 50%; }
.gsrow__field { display: grid; gap: 4px; min-width: 0; }
.gsrow__field b { font-size: 0.82rem; font-weight: 650; }
.gsrow__field input {
  width: 100%; padding: 9px 12px; border-radius: 10px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04);
  color: var(--txt); font-size: 0.95rem; outline: none;
}
.gsrow__field input:focus { border-color: var(--gold); }
.gsrow__field input:disabled { opacity: 0.55; }
.gsrow__ask {
  align-self: end; padding: 9px 12px; border-radius: 10px; min-height: 40px;
  border: 1px solid var(--line-2); background: none;
  font-size: 0.76rem; font-weight: 600; color: var(--txt-2); white-space: nowrap;
}
.gsrow__ask[aria-pressed='true'] { border-color: var(--gold); color: var(--gold); background: rgba(245, 194, 66, 0.1); }
.gsrow__ask:disabled { cursor: default; }
.gsrow__err { grid-column: 2 / -1; font-size: 0.74rem; color: #ffb4a8; }
.gsrow__err[hidden] { display: none; }
.gsrow.is-asked { border-color: rgba(245, 194, 66, 0.35); }
#setupForm { display: grid; gap: 12px; }
@media (max-width: 520px) {
  .gsrow { grid-template-columns: 30px 1fr auto; gap: 4px 10px; padding: 9px 10px; }
  .gsrow img { width: 30px; height: 30px; }
  .grow { grid-template-columns: 28px 1fr auto; }
  .grow img { width: 28px; height: 28px; }
}

/* the TierLock checkout name note reuses the bonus callout box */
.amount__bonus code {
  font-family: 'Space Grotesk', monospace;
  color: var(--gold); font-size: 0.9em;
  overflow-wrap: anywhere;
}

/* ── what counts ─────────────────────────────────────────── */
.counts { margin-top: clamp(46px, 6vw, 82px); }
.counts__head { max-width: 60ch; margin-bottom: 30px; }
.counts__head p { margin-top: 14px; color: var(--txt-2); }
.counts__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.ccard {
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(9, 11, 22, 0.6);
}
.ccard__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.ccard__yes {
  display: grid; place-items: center;
  width: 22px; height: 22px; border-radius: 50%; flex: none;
  background: rgba(78, 222, 155, 0.16); color: var(--green);
  font-size: 0.72rem; font-weight: 700;
}
.ccard__no { background: rgba(255, 255, 255, 0.07); color: var(--txt-3); }
.ccard b { font-size: 0.96rem; letter-spacing: -0.02em; }
.ccard__track {
  display: inline-block; margin-bottom: 10px;
  font-family: 'Space Grotesk', monospace;
  font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--txt-3);
}
.ccard p { font-size: 0.83rem; color: var(--txt-2); line-height: 1.5; }
.ccard--out { border-style: dashed; }

.wheel-stage { display: grid; justify-items: center; gap: 18px; }
.wheel__intro { text-align: center; max-width: 28ch; }
.wheel__intro h3 { margin-top: 10px; font-size: clamp(1.35rem, 2vw, 1.7rem); letter-spacing: -0.03em; }
.wheel-wrap { position: relative; width: min(430px, 84vw); aspect-ratio: 1; }
#wheel {
  width: 100%; height: 100%;
  filter: drop-shadow(0 40px 70px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 40px rgba(245, 194, 66, 0.18));
  transition: transform 0s;
}
.wheel__pin {
  position: absolute; top: -8px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 13px solid transparent;
  border-right: 13px solid transparent;
  border-top: 26px solid var(--gold);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.7));
  z-index: 3;
}
.wheel__btn {
  position: absolute; inset: 0; margin: auto;
  width: 27%; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #1c1e30, #07080f);
  border: 2px solid rgba(245, 194, 66, 0.6);
  box-shadow: 0 0 0 6px rgba(5, 6, 13, 0.9), 0 16px 40px -12px rgba(0, 0, 0, 0.9), inset 0 2px 10px rgba(255, 255, 255, 0.08);
  font-weight: 800; letter-spacing: 0.04em; font-size: 1.06rem;
  color: var(--gold);
  transition: transform 0.35s var(--ease), color 0.35s var(--ease);
  z-index: 2;
}
.wheel__btn:hover:not(:disabled) { transform: scale(1.06); color: var(--gold-lt); }
.wheel__btn:disabled { color: var(--txt-3); cursor: default; }

/* the wheel only turns once a tier is reached, so the locked state has to
   explain itself rather than just sit there greyed out */
.wheel__lock {
  position: absolute; inset: -2%;
  z-index: 4; border-radius: 50%;
  display: grid; place-content: center; justify-items: center;
  gap: 5px; padding: 0 16%;
  text-align: center;
  background: radial-gradient(circle, rgba(5, 6, 13, 0.9) 38%, rgba(5, 6, 13, 0.56) 72%, rgba(5, 6, 13, 0.24));
  backdrop-filter: blur(2px);
  transition: opacity 0.55s var(--ease), visibility 0.55s var(--ease);
}
.wheel__lock svg { width: 26px; height: 26px; color: var(--gold); opacity: 0.9; margin-bottom: 4px; }
.wheel__lock b { font-size: 1.05rem; letter-spacing: -0.02em; }
.wheel__lock span { font-size: 0.88rem; color: var(--txt-2); line-height: 1.5; }
.wheel-wrap.is-open .wheel__lock { opacity: 0; visibility: hidden; }
/* dim the wheel while it is locked, but never so far that it reads as an empty hole */
.wheel-wrap:not(.is-open) #wheel { filter: grayscale(0.3) brightness(0.72); }
.wheel-wrap:not(.is-open) .wheel__btn { opacity: 0; pointer-events: none; }
.wheel__result {
  min-height: 62px;
  display: grid; place-items: center;
  text-align: center;
}
.wheel__result b {
  display: block;
  font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.wheel__result span { font-size: 0.85rem; color: var(--txt-3); }
.wheel__result.is-in b { animation: popIn 0.6s var(--ease); }
@keyframes popIn { from { opacity: 0; transform: scale(0.7); } }

/* ============================================================
   APP / PHONE
   ============================================================ */
.app__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(34px, 6vw, 90px); align-items: center; }
.phone-stage { perspective: 1400px; display: grid; place-items: center; }
.phone { position: relative; width: min(320px, 78vw); transform-style: preserve-3d; will-change: transform; }
.phone__glow {
  position: absolute; inset: -14% -22%;
  background: radial-gradient(circle, rgba(245, 194, 66, 0.24), transparent 62%);
  filter: blur(46px);
}
.phone__body {
  position: relative;
  aspect-ratio: 0.472;
  border-radius: 44px;
  padding: 9px;
  background: linear-gradient(150deg, #2c2f42, #0b0c14 45%, #24263a);
  box-shadow: 0 60px 110px -34px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.phone__notch {
  position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 24px; border-radius: 0 0 16px 16px;
  background: #05060b; z-index: 3;
}
.phone__screen {
  position: relative; height: 100%;
  border-radius: 36px; overflow: hidden;
  background: radial-gradient(120% 80% at 50% 0%, #171a2e 0%, #07080f 60%);
}
.pscreen { height: 100%; padding: 12px 14px; display: flex; flex-direction: column; gap: 11px; font-size: 11px; }
.pscreen__bar { display: flex; justify-content: space-between; font-family: 'Space Grotesk', monospace; font-size: 9px; color: var(--txt-2); padding: 2px 6px 0; }
.pscreen__nav { display: flex; align-items: center; justify-content: space-between; }
.pscreen__nav img { width: 30px; }
.pscreen__pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 9px; border-radius: 100px;
  font-size: 8px; letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid var(--line); color: var(--txt-2);
}
.pscreen__pill .dot { width: 4px; height: 4px; }
.pscreen__hero {
  padding: 14px; border-radius: 18px;
  background: linear-gradient(160deg, rgba(245, 194, 66, 0.16), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(245, 194, 66, 0.22);
}
.pscreen__hero .kicker { font-size: 7px; letter-spacing: 0.18em; }
.pscreen__hero h4 { font-size: 17px; margin: 5px 0 11px; letter-spacing: -0.035em; }
.pscreen__balance { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 11px; }
.pscreen__balance span { font-size: 9px; color: var(--txt-3); }
.pscreen__balance b { font-family: 'Space Grotesk', monospace; font-size: 17px; color: var(--gold); letter-spacing: -0.03em; }
.pscreen__cta {
  text-align: center; padding: 9px; border-radius: 100px;
  background: var(--gold-grad); color: #1c1405; font-weight: 700; font-size: 11px;
}
.pscreen__label { font-size: 8px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--txt-3); }
.pscreen__rail { display: flex; gap: 8px; overflow: hidden; }
.pscreen__rail img { width: 44px; height: 44px; border-radius: 50%; flex: none; }
.pscreen__promo {
  margin-top: auto;
  display: flex; align-items: center; gap: 11px;
  padding: 11px 13px; border-radius: 15px;
  background: rgba(255, 255, 255, 0.045); border: 1px solid var(--line);
}
.pscreen__promo b { font-family: 'Space Grotesk', monospace; font-size: 22px; color: var(--gold); letter-spacing: -0.04em; }
.pscreen__promo span { font-size: 9px; color: var(--txt-2); line-height: 1.35; }
.pscreen__tabs { display: flex; justify-content: space-around; padding: 9px 0 3px; border-top: 1px solid var(--line); }
.pscreen__tabs i { width: 18px; height: 3px; border-radius: 3px; background: var(--line-2); }
.pscreen__tabs i.is-on { background: var(--gold); }

.app__copy .kicker { margin-bottom: 20px; }
.app__copy p { margin-top: 22px; color: var(--txt-2); max-width: 50ch; }
.app__badges { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 30px; }
.badge {
  padding: 9px 16px; border-radius: 100px;
  font-size: 0.82rem; color: var(--txt-2);
  border: 1px solid var(--line); background: var(--glass);
}

/* ============================================================
   JOIN
   ============================================================ */
.join__card {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  padding: clamp(30px, 5vw, 66px);
  border-radius: 32px;
  border: 1px solid var(--line);
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(245, 194, 66, 0.11), transparent 55%),
    linear-gradient(170deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012));
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
}
.join__copy .kicker { margin-bottom: 18px; }
.join__copy p { margin-top: 22px; color: var(--txt-2); }
.join__trust { display: grid; gap: 10px; margin-top: 30px; }
.join__trust span { display: flex; align-items: center; gap: 10px; font-size: 0.86rem; color: var(--txt-2); }

.join__form { display: grid; gap: 13px; align-content: start; }
.field { position: relative; }
.field input {
  width: 100%; padding: 22px 18px 10px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  color: var(--txt); font-size: 0.95rem;
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease);
  outline: none;
}
.field input:focus { border-color: var(--gold); background: rgba(245, 194, 66, 0.06); }
.field label {
  position: absolute; left: 18px; top: 16px;
  font-size: 0.94rem; color: var(--txt-3);
  pointer-events: none;
  transition: all 0.3s var(--ease);
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label { top: 7px; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }

.drop {
  display: grid; justify-items: center; gap: 5px;
  cursor: pointer;
  padding: 30px 20px;
  border-radius: 16px;
  border: 1.5px dashed var(--line-2);
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
  transition: all 0.35s var(--ease);
  outline: none;
}
.drop svg { width: 24px; height: 24px; color: var(--gold); margin-bottom: 4px; }
.drop__preview {
  width: min(100%, 280px); max-height: 180px;
  object-fit: contain; border-radius: 12px; margin-bottom: 4px;
  background: rgba(0, 0, 0, 0.35);
}
.drop.is-done svg { display: none; }
.drop b { font-size: 0.92rem; }
.drop span { font-size: 0.76rem; color: var(--txt-3); }
.drop:hover, .drop:focus-visible, .drop.is-over { border-color: var(--gold); background: rgba(245, 194, 66, 0.07); }
.drop.is-done { border-style: solid; border-color: rgba(78, 222, 155, 0.5); background: rgba(78, 222, 155, 0.07); }
.drop.is-done svg { color: var(--green); }

/* ============================================================
   SUPPORT
   ============================================================ */
.support__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.scard {
  min-width: 0;
  grid-column: span 2;
  display: grid; align-content: start; gap: 7px;
  padding: 28px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  transition: border-color 0.45s var(--ease), transform 0.45s var(--ease), background 0.45s var(--ease);
}
a.scard:hover { border-color: rgba(245, 194, 66, 0.45); transform: translateY(-4px); background: linear-gradient(165deg, rgba(245, 194, 66, 0.09), rgba(255, 255, 255, 0.015)); }
.scard--wide { grid-column: span 3; }
.scard--hours { grid-column: span 3; }
.scard__tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Space Grotesk', monospace;
  font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green);
  margin-bottom: 6px;
}
.scard b { font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--txt-3); font-weight: 600; font-family: 'Space Grotesk', monospace; }
.scard em {
  font-style: normal;
  font-size: clamp(1.15rem, 2.1vw, 1.7rem); font-weight: 700; letter-spacing: -0.03em;
  color: var(--txt); line-height: 1.2;
  overflow-wrap: anywhere;
}
.scard__mail {
  font-size: clamp(1.02rem, 1.45vw, 1.28rem);
  letter-spacing: -0.02em;
}
.scard p { font-size: 0.88rem; color: var(--txt-3); margin-top: 4px; }
.scard__go { margin-top: 12px; font-size: 0.84rem; font-weight: 600; color: var(--gold); }
.scard__note { font-size: 0.72rem; color: var(--txt-3); margin-top: 8px; }

.hours { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px 22px; margin-top: 8px; }
.hours div { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); font-size: 0.84rem; }
.hours dt { color: var(--txt-2); }
.hours dd { margin: 0; font-family: 'Space Grotesk', monospace; font-size: 0.78rem; color: var(--txt-3); }
.hours div.is-today dt { color: var(--gold); font-weight: 600; }
.hours div.is-today dd { color: var(--gold); }

/* ============================================================
   FOOTER
   ============================================================ */
.foot { position: relative; z-index: 2; border-top: 1px solid var(--line); }
.foot__cta {
  display: grid; justify-items: center; gap: 26px;
  padding: clamp(70px, 11vh, 130px) var(--pad);
  text-align: center;
  background: radial-gradient(70% 100% at 50% 100%, rgba(245, 194, 66, 0.1), transparent 70%);
}
.foot__mark { width: 92px; filter: drop-shadow(0 14px 34px rgba(245, 194, 66, 0.3)); }
.foot__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 22px var(--pad);
  border-top: 1px solid var(--line);
  font-size: 0.8rem; color: var(--txt-3);
  background: rgba(4, 5, 11, 0.7);
}
.foot__links { display: flex; gap: 20px; }
.foot__links a:hover { color: var(--gold); }
.foot__credit {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 16px;
  margin: 0; padding: 14px var(--pad) 20px;
  border-top: 1px solid var(--line);
  background: rgba(4, 5, 11, 0.7);
  font-size: 0.78rem; letter-spacing: 0.02em; color: var(--txt-3);
  text-align: center;
}
.foot__credit a { color: var(--txt-2); padding: 6px 0; }
.foot__credit a:hover { color: var(--gold); }
.foot__credit > a { color: var(--txt); font-weight: 600; }
.foot__credit-work { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; }

/* ============================================================
   GAME DRAWER
   ============================================================ */
.drawer { position: fixed; inset: 0; z-index: 120; pointer-events: none; }
.drawer.is-open { pointer-events: auto; }
.drawer__scrim {
  position: absolute; inset: 0;
  background: rgba(3, 4, 9, 0.72);
  backdrop-filter: blur(9px);
  opacity: 0; transition: opacity 0.55s var(--ease);
}
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: min(460px, 100vw);
  padding: clamp(28px, 4vw, 46px);
  overflow-y: auto;
  background: linear-gradient(200deg, #12141f 0%, #07080f 60%);
  border-left: 1px solid var(--line);
  box-shadow: -40px 0 90px -30px rgba(0, 0, 0, 0.9);
  transform: translateX(100%);
  transition: transform 0.7s var(--ease);
  display: grid; align-content: start; gap: 14px;
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__x {
  position: absolute; top: 20px; right: 20px;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--txt-2);
  transition: all 0.35s var(--ease);
}
.drawer__x svg { width: 17px; height: 17px; }
.drawer__x:hover { color: var(--txt); border-color: var(--line-2); background: var(--glass); transform: rotate(90deg); }
.drawer__art { position: relative; width: 150px; margin-bottom: 8px; }
.drawer__art img { width: 100%; border-radius: 50%; animation: float 5s ease-in-out infinite; }
.drawer__halo {
  position: absolute; inset: -28%;
  border-radius: 50%;
  filter: blur(28px);
  opacity: 0.75;
}
.drawer__tagline { font-size: 1.05rem; color: var(--gold-lt); }
.drawer__blurb { font-size: 0.94rem; color: var(--txt-2); }
.drawer__stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  margin: 8px 0;
  background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
}
.drawer__stats div { padding: 16px 14px; background: #0b0d17; }
.drawer__stats b { display: block; font-family: 'Space Grotesk', monospace; font-size: 1.15rem; color: var(--gold); letter-spacing: -0.02em; }
.drawer__stats span { font-size: 0.68rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--txt-3); }
.drawer__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.drawer__tags span { padding: 7px 13px; border-radius: 100px; font-size: 0.76rem; color: var(--txt-2); background: var(--glass); border: 1px solid var(--line); }

/* graceful fallback if WebGL is unavailable */
.stage.is-fallback #gl { display: none; }
.stage.is-fallback {
  background:
    radial-gradient(70% 55% at 50% 34%, rgba(245, 194, 66, 0.16), transparent 62%),
    radial-gradient(90% 70% at 20% 10%, rgba(123, 77, 255, 0.22), transparent 60%),
    radial-gradient(80% 60% at 85% 20%, rgba(63, 200, 245, 0.14), transparent 58%),
    var(--ink);
}

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .pay__grid, .vip, .app__grid, .join__card { grid-template-columns: 1fr; }
  .tiers, .counts__grid { grid-template-columns: repeat(2, 1fr); }
  .wheel-stage { order: -1; }
  .section__head--split { grid-template-columns: 1fr; align-items: start; }
  .pay__card-stage { position: static; }
  .app__grid { direction: ltr; }
  .phone-stage { order: 2; }
  .cashier__panel { grid-template-columns: 1fr; }
  .cashier__side { border-left: 0; border-top: 1px solid var(--line); }
  .support__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .scard, .scard--wide, .scard--hours { grid-column: span 2; }
}

@media (max-width: 860px) {
  .nav__links {
    position: fixed; inset: 68px 14px auto;
    flex-direction: column; gap: 4px;
    padding: 14px;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: rgba(9, 11, 22, 0.96);
    backdrop-filter: blur(24px);
    box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: all 0.45s var(--ease);
  }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; }
  .nav__links a { padding: 13px 16px; font-size: 1rem; }
  .nav__burger { display: block; }

  .nav { gap: 12px; }
  .nav__brand img { width: 34px; }
  .nav__brand b { font-size: 0.98rem; }

  .hero { padding-top: 96px; }
  .hero__inner { grid-template-columns: 1fr; }
  /* stack the badge ring above the headline so the two never overlap */
  .hero__void { grid-column: 1; grid-row: 1; min-height: 34vh; }
  .hero__copy { grid-column: 1; grid-row: 2; }
  .hero__proof { grid-column: 1; grid-row: 3; }
  .hero__proof { grid-template-columns: repeat(2, 1fr); }
  .support__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hours { grid-template-columns: 1fr; }
  .foot__bar { justify-content: center; text-align: center; }
}

@media (max-width: 560px) {
  /* keep the lockup to the mark alone so the header never wraps */
  .nav__brand em { display: none; }
  .nav__actions { gap: 7px; }
  .nav__actions .pill { padding: 9px 12px; font-size: 0.75rem; }

  /* the five-step loop has to clear the fold on a phone, so the hero gives up
     its decorative headroom and its type breathes a little less */
  .hero { padding-top: 84px; padding-bottom: 72px; }
  .hero__void { min-height: 15vh; }
  .hero__eyebrow { margin-bottom: 16px; padding: 6px 14px 6px 12px; }
  .hero__title { margin-bottom: 18px; }
  .hero__sub { margin-bottom: 20px; }
  .hero__proof { margin-top: 30px; }
  .hub { margin-top: 18px; gap: 10px 0; }
  .hub li { padding-right: 20px; }
  .hub li::after { right: 5px; width: 9px; }
  .hub a, .hub span { font-size: 0.82rem; gap: 7px; }
  .hub b { width: 24px; height: 24px; font-size: 0.72rem; }

  .btn { padding: 14px 22px; font-size: 0.9rem; }
  .support__grid { grid-template-columns: 1fr; }
  .scard, .scard--wide, .scard--hours { grid-column: span 1; }
  .cashier__steps { gap: 16px; overflow-x: auto; }
  .cstep span { display: none; }
  .method { gap: 12px; padding: 14px; }
  .method__meta { display: none; }
  .method__range { display: block; }
  #amountChips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
  #amountChips .chip { padding: 10px 4px; font-size: 0.8rem; }
  .amount__val { font-size: 2.8rem; }
  #payBtn { position: sticky; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 2; }
  .tiers, .counts__grid { grid-template-columns: 1fr; }

  /* comfortable tap targets on phones (44px guideline) */
  .gcard__go { min-height: 44px; }
  .foot__links a, .foot__credit a { display: inline-flex; align-items: center; min-height: 44px; }
  .foot__links { gap: 8px 20px; flex-wrap: wrap; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   UX FIXES — signup transition, recovery, first-run, focus
   ============================================================ */

/* one consistent keyboard focus ring everywhere (buttons previously
   relied on outline:none + a hover shadow only) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
[tabindex]:focus-visible,
.drop:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

/* account-ready panel replaces the signup form once signed in */
.join__done { display: grid; gap: 16px; align-content: start; justify-items: start; }
.join__done[hidden] { display: none; }
.join__done-mark {
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(78, 222, 155, 0.4);
  background: rgba(78, 222, 155, 0.1);
}
.join__done-mark svg { width: 30px; height: 30px; stroke: var(--green); stroke-width: 4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.join__done h3 { font-size: 1.6rem; letter-spacing: -0.03em; }
.join__done-copy { color: var(--txt-2); font-size: 0.95rem; line-height: 1.6; }
.join__done-copy b { color: var(--gold); }
.join__done .btn { width: 100%; }
.join__done-alt { font-size: 0.86rem; color: var(--txt-2); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.join__done-alt:hover { color: var(--gold); }
#joinForm[hidden] { display: none; }

/* first-run deposit banner in the portal */
.portal__first {
  margin-bottom: 20px; padding: 18px 19px;
  border-radius: 15px;
  border: 1px solid rgba(245, 194, 66, 0.4);
  background: rgba(245, 194, 66, 0.08);
}
.portal__first[hidden] { display: none; }
.portal__first b { display: block; margin-bottom: 6px; font-size: 1.02rem; }
.portal__first p { font-size: 0.85rem; color: var(--txt-2); line-height: 1.55; margin-bottom: 14px; }

/* forgot / reset password */
.portal__forgot {
  display: inline-flex; align-items: center; min-height: 44px;
  margin-top: 6px;
  background: none; border: none; cursor: pointer;
  font-size: 0.85rem; color: var(--txt-2);
  text-decoration: underline; text-underline-offset: 3px;
}
.portal__forgot:hover { color: var(--gold); }
.portal__error.is-ok { color: var(--green); }

/* password requirement hint under the field */
.field__hint {
  display: block; margin: 6px 2px 0;
  font-size: 0.74rem; color: var(--txt-3);
}

/* collapsed wallet for brand-new accounts */
.redeem__expand {
  display: none;
  width: 100%; margin-top: 10px; padding: 10px 0; min-height: 44px;
  background: none; border: none; cursor: pointer; text-align: left;
  font-size: 0.82rem; color: var(--txt-2); line-height: 1.5;
}
.redeem__expand:hover { color: var(--gold); }
.redeem.is-collapsed .redeem__expand { display: block; }
.redeem.is-collapsed .redeem__body { display: none; }

/* ── mobile compaction: the floor was 4+ screens of stacked cards ── */
@media (max-width: 860px) {
  .section { padding: clamp(56px, 8vh, 96px) var(--pad); }
  .section__head { margin-bottom: clamp(30px, 5vw, 48px); }

  /* two compact cards per row instead of one full-width card each */
  .deck { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .gcard { padding: 18px 16px 16px; border-radius: 18px; }
  .gcard__coin { width: 64px; margin-bottom: 14px; }
  .gcard__name { font-size: 1.02rem; margin-bottom: 5px; }
  .gcard__tag { font-size: 0.76rem; min-height: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .gcard__stats { display: none; }
  .gcard__go { margin-top: 12px; font-size: 0.8rem; }
  .gcard__badge { top: 12px; right: 12px; padding: 4px 8px; font-size: 0.52rem; }

  /* the decorative member card is desktop garnish — on phones the rails
     (the actual information) come first and the flip card goes away */
  .pay__card-stage { display: none; }
  .pay__grid { grid-template-columns: 1fr; }

  /* the phone mockup repeats what the copy says — hide it on phones */
  .phone-stage { display: none; }
  .app__grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .tier { padding: 16px 16px 14px; }
  .tier__name { margin: 6px 0 8px; font-size: 1.2rem; }
  .tier__play { margin-top: 10px; padding-top: 10px; font-size: 1.1rem; }
  .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}
