/* =========================================================
   $HEIST — first draft styles
   ========================================================= */
:root {
  --bg: #0b0710;
  --bg-2: #120a1a;
  --panel: #170d20;
  --panel-2: #1f1129;
  --line: rgba(255, 62, 181, 0.22);
  --line-soft: rgba(255, 255, 255, 0.07);

  --pink: #ff2fb3;
  --pink-2: #ff6ad0;
  --pink-glow: rgba(255, 47, 179, 0.45);
  --purple: #7b2cff;
  --orange: #ff8a3d;
  --green: #3dff8f;
  --red: #ff4d5e;
  --gold: #ffc94d;
  --silver: #d6d9e6;
  --bronze: #e08a4d;

  --text: #f6eefb;
  --muted: #b8a6c8;
  --dim: #7d6b8f;

  --f-display: "Sarpanch", "Arial Black", sans-serif;
  --f-marker: "Permanent Marker", "Comic Sans MS", cursive;
  --f-body: "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius: 14px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--pink-2); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.hl { color: var(--pink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 800; font-size: 15px; letter-spacing: .01em;
  border: 1.5px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s;
  white-space: nowrap;
}
.btn--sm { padding: 9px 16px; font-size: 14px; border-radius: 9px; }
.btn--block { width: 100%; }
.btn--pink {
  background: linear-gradient(180deg, var(--pink-2), var(--pink));
  color: #1a0012;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset, 0 8px 28px -6px var(--pink-glow);
}
.btn--pink:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255,255,255,.2) inset, 0 12px 36px -6px var(--pink-glow); }
.btn--ghost { background: rgba(20, 8, 28, .6); border-color: var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--pink); box-shadow: 0 0 22px -6px var(--pink-glow); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

.card {
  background: linear-gradient(180deg, rgba(31,17,41,.92), rgba(19,10,27,.92));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px -30px rgba(0,0,0,.8);
}

.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }

/* ---------- Wordmark ---------- */
/* traced from the logo artwork: assets/heist-wordmark.svg (tools/trace_wordmark.py) */
.wordmark {
  position: relative; z-index: 0; display: inline-block; margin: 34px 0 0; line-height: 0;
}
.wordmark__img { display: block; width: clamp(260px, 33vw, 480px); height: auto; }
/* pink brush-stroke underline, tucked under the letters like the logo */
.wordmark::after {
  content: ""; position: absolute; z-index: -1; left: 3%; right: 1%; bottom: 1%; height: 10%;
  background: linear-gradient(90deg, rgba(255,47,179,0) 0, var(--pink) 10%, #ff7ad9 55%, var(--pink) 88%, rgba(255,47,179,0));
  clip-path: polygon(0 55%, 5% 20%, 28% 5%, 55% 18%, 80% 0, 100% 10%, 97% 70%, 70% 90%, 40% 78%, 12% 100%, 2% 85%);
  filter: drop-shadow(0 0 10px rgba(255,47,179,.55));
}
.wordmark__crown {
  position: absolute; left: 50%; top: -9%; width: 10%; height: auto; aspect-ratio: 24 / 17; translate: -50% -50%;
  fill: none; stroke: var(--pink); stroke-width: 2.2; stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(255,47,179,.7));
}
.wordmark-img { display: block; height: auto; }
.wordmark-img--xs { width: 92px; }
.wordmark-img--sm { width: 128px; }

.tape {
  display: inline-block;
  font-family: var(--f-marker);
  font-size: clamp(16px, 1.7vw, 22px);
  white-space: nowrap;
  color: #1b1020;
  background: #efe3c8;
  padding: 6px 18px 4px;
  transform: rotate(-2.5deg);
  box-shadow: 0 6px 18px rgba(0,0,0,.45);
  margin: 22px 0 6px;
  clip-path: polygon(1% 6%, 99% 0, 100% 92%, 2% 100%);
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 7, 16, .72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
}
.nav__inner {
  max-width: var(--wrap); margin: 0 auto; padding: 12px var(--gutter);
  display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand__badge { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 0 2px var(--pink), 0 0 16px var(--pink-glow); object-fit: cover; }
.brand__sub { font-size: 13px; color: var(--muted); }
.brand__sub b { color: var(--red); font-weight: 800; }
.nav__links { display: flex; gap: 6px; margin-left: auto; }
.nav__links a { padding: 8px 12px; border-radius: 8px; font-weight: 600; font-size: 15px; color: var(--muted); transition: color .15s, background .15s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--text); background: rgba(255,47,179,.1); }
.nav__links a.is-active { color: var(--pink-2); }
.nav__toggle { display: none; background: none; border: 0; padding: 8px; margin-left: auto; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: 48px 0 90px; display: grid; align-items: center; min-height: min(52vw, 980px); }
.hero__sky { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--bg); }
.hero__scene {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: 30% 0;
}
.hero__sky::after { /* fade into page */
  content: ""; position: absolute; inset: auto 0 0 0; height: 160px;
  background: linear-gradient(180deg, transparent, var(--bg));
}
.hero__inner {
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 36px; align-items: center;
}
.hero__art { min-height: 1px; } /* spacer: the characters in the background image show here */

.hero__copy { text-align: left; position: relative; }
.hero__copy::before { /* dark scrim so copy sits on a calm background */
  content: ""; position: absolute; inset: -60px -70px -40px; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 60% 55% at 50% 58%, rgba(11,7,16,.6), rgba(11,7,16,.25) 60%, transparent 85%);
}
.hero__tag { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: clamp(20px, 2vw, 27px); line-height: 1.15; text-transform: uppercase; margin: 18px 0 10px; text-shadow: 0 3px 0 rgba(0,0,0,.4); }
.hero__lede {
  color: #fff; font-weight: 500; max-width: 46ch; margin: 0 0 26px;
  padding: 14px 18px; border-radius: 12px;
  background: rgba(11, 7, 16, .86);
  border: 1px solid var(--line-soft);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  text-shadow: 0 1px 2px rgba(0,0,0,.6);
}
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.countdown {
  margin-top: 28px; display: inline-flex; align-items: center; gap: 16px; flex-wrap: wrap;
  background: rgba(11,7,16,.6); border: 1px solid var(--line); border-radius: 12px; padding: 10px 16px;
}
.countdown__label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.countdown__clock { display: flex; gap: 14px; }
.countdown__clock div { display: flex; flex-direction: column; align-items: center; min-width: 38px; }
.countdown__clock b { font-family: var(--f-mono); font-size: 22px; color: var(--pink-2); line-height: 1.1; }
.countdown__clock small { font-size: 10px; text-transform: uppercase; color: var(--dim); letter-spacing: .1em; }

/* mini leaderboard */
.mini-board { padding: 18px; backdrop-filter: blur(10px); background: rgba(16, 8, 24, .82); box-shadow: 0 0 0 1px rgba(255,47,179,.35), 0 0 50px -10px var(--pink-glow); }
.mini-board__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.mini-board__head h2 { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 19px; margin: 0; letter-spacing: 0; text-transform: uppercase; }
.crown { color: var(--pink); margin-right: 4px; }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; color: var(--green); letter-spacing: .08em; }
.mini-board__cols { display: grid; grid-template-columns: 36px 1fr auto; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); padding: 0 10px 6px; }
.mini-board__list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; }
.mini-board__list li {
  display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 4px;
  padding: 10px; border-radius: 9px; background: rgba(255,255,255,.03); border: 1px solid var(--line-soft);
  font-size: 14px;
}
.mini-board__list li:nth-child(1) { background: linear-gradient(90deg, rgba(255,201,77,.16), transparent); border-color: rgba(255,201,77,.3); }
.mini-board__list li:nth-child(2) { background: linear-gradient(90deg, rgba(214,217,230,.12), transparent); }
.mini-board__list li:nth-child(3) { background: linear-gradient(90deg, rgba(224,138,77,.14), transparent); }

.rank-chip { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; font-weight: 800; font-size: 13px; background: rgba(255,255,255,.06); }
.rank-chip.r1 { background: var(--gold); color: #2a1a00; }
.rank-chip.r2 { background: var(--silver); color: #1d1d27; }
.rank-chip.r3 { background: var(--bronze); color: #2a1200; }
.addr { font-family: var(--f-mono); font-size: 13px; color: #e9dcf5; }
.pnl { font-family: var(--f-mono); font-weight: 700; color: var(--green); font-variant-numeric: tabular-nums; }
.pnl.neg { color: var(--red); }
.flash { animation: flash .9s ease; }
@keyframes flash { 0% { text-shadow: 0 0 14px var(--green); color: #b5ffd4; } }

/* ---------- Ticker ---------- */
.ticker {
  position: relative; overflow: hidden; border-block: 1px solid var(--line);
  background: linear-gradient(90deg, #1a0a22, #12081a);
  -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ticker__track { display: flex; gap: 42px; width: max-content; padding: 12px 0; animation: marquee 60s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item { display: inline-flex; gap: 8px; align-items: baseline; font-size: 14px; white-space: nowrap; color: var(--muted); }
.ticker__item .addr { font-size: 13px; }
.ticker__item b { color: var(--text); }
.ticker__item .pnl { font-size: 14px; }
.ticker__sep { color: var(--pink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.stat {
  display: flex; flex-direction: column; gap: 2px;
  padding: 20px 22px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line-soft);
  position: relative; overflow: hidden;
}
.stat::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--pink); box-shadow: 0 0 16px var(--pink); }
.stat__label { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--dim); font-weight: 700; }
.stat__val { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: clamp(22px, 2.3vw, 30px); line-height: 1.25; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.stat__unit { font-size: 13px; color: var(--muted); font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding-top: 110px; }
.section__head { margin-bottom: 36px; max-width: 720px; }
.section__head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; max-width: none; flex-wrap: wrap; }
.kicker { font-family: var(--f-marker); color: var(--pink-2); font-size: 18px; margin: 0 0 4px; transform: rotate(-1.5deg); display: inline-block; }
.section__title { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: clamp(32px, 4.4vw, 54px); line-height: 1.05; margin: 0; text-transform: uppercase; letter-spacing: 0; }
.section__sub { color: var(--muted); margin: 14px 0 0; font-size: 17px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { padding: 26px 22px 24px; position: relative; overflow: hidden; transition: transform .2s ease, border-color .2s; }
.step:hover { transform: translateY(-4px); border-color: var(--pink); }
.step__num { position: absolute; right: 16px; top: 6px; font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 56px; color: rgba(255,47,179,.12); line-height: 1; }
.step__icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,47,179,.12); border: 1px solid var(--line); margin-bottom: 18px; }
.step__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--pink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.step h3 { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 21px; margin: 0 0 6px; text-transform: uppercase; letter-spacing: 0; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Leaderboard ---------- */
.lb-tools { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.tabs { display: inline-flex; padding: 4px; border-radius: 11px; background: var(--panel); border: 1px solid var(--line-soft); }
.tab { border: 0; background: none; padding: 8px 14px; border-radius: 8px; font-weight: 700; font-size: 14px; color: var(--muted); }
.tab.is-active { background: rgba(255,47,179,.16); color: var(--pink-2); box-shadow: inset 0 0 0 1px var(--line); }
.search { display: flex; gap: 8px; }
.search input {
  width: 230px; padding: 9px 14px; border-radius: 9px; border: 1px solid var(--line-soft);
  background: var(--panel); color: var(--text); font-family: var(--f-mono); font-size: 13px;
}
.search input:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 3px rgba(255,47,179,.18); }

.podium { display: grid; grid-template-columns: 1fr 1.12fr 1fr; gap: 16px; align-items: end; margin-bottom: 18px; }
.pod { padding: 22px 20px; text-align: center; position: relative; }
.pod--1 { order: 2; padding-top: 30px; border-color: rgba(255,201,77,.5); box-shadow: 0 0 60px -20px rgba(255,201,77,.55); }
.pod--2 { order: 1; }
.pod--3 { order: 3; }
.pod__crown { font-size: 30px; line-height: 1; color: var(--gold); text-shadow: 0 0 16px rgba(255,201,77,.6); }
.pod--2 .pod__crown { color: var(--silver); text-shadow: none; }
.pod--3 .pod__crown { color: var(--bronze); text-shadow: none; }
.pod__title { font-family: var(--f-display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 15px; letter-spacing: .12em; color: var(--muted); margin: 6px 0 4px; }
.pod .addr { font-size: 15px; }
.pod .pnl { display: block; font-size: clamp(20px, 2.4vw, 28px); margin: 8px 0 4px; }
.pod__meta { font-size: 13px; color: var(--dim); }

.table-card { overflow: hidden; }
.table-scroll { overflow-x: auto; }
.lb { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.lb th {
  text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--dim); font-weight: 700;
  padding: 14px 16px; border-bottom: 1px solid var(--line-soft); background: rgba(0,0,0,.18);
}
.lb td { padding: 13px 16px; border-bottom: 1px solid var(--line-soft); white-space: nowrap; }
.lb tbody tr { transition: background .15s; }
.lb tbody tr:hover { background: rgba(255,47,179,.05); }
.lb tr.is-you { background: rgba(255,47,179,.14); box-shadow: inset 3px 0 0 var(--pink); }
.lb .r { text-align: right; }
.lb .num { width: 56px; }
.lb td.mono { font-family: var(--f-mono); color: #d9cbe6; font-variant-numeric: tabular-nums; }
.stars { color: var(--gold); letter-spacing: 1px; font-size: 13px; }
.stars i { color: rgba(255,255,255,.14); font-style: normal; }
.hit { display: inline-flex; gap: 6px; align-items: baseline; }
.hit b { color: var(--text); font-weight: 700; }
.hit span { color: var(--green); font-family: var(--f-mono); font-size: 12px; }
.payout { font-family: var(--f-mono); color: var(--pink-2); font-weight: 700; }
.payout.none { color: var(--dim); font-weight: 500; }
.table-foot { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; gap: 12px; }

/* ---------- Loot ---------- */
.loot { display: grid; grid-template-columns: 1.6fr 1fr; gap: 18px; }
.loot__tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tier { padding: 22px 20px; display: flex; flex-direction: column; gap: 2px; }
.tier__rank { font-family: var(--f-mono); color: var(--muted); font-size: 13px; }
.tier__name { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 20px; text-transform: uppercase; letter-spacing: 0; }
.tier__pct { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 38px; color: var(--pink); line-height: 1.1; margin-top: auto; }
.tier__pct small { font-family: var(--f-body); font-size: 14px; color: var(--muted); font-weight: 600; }
.tier--gold { border-color: rgba(255,201,77,.55); }
.tier--gold .tier__pct { color: var(--gold); }
.tier--silver .tier__pct { color: var(--silver); }
.tier--bronze .tier__pct { color: var(--bronze); }
.loot__tiers .tier:nth-child(4) { grid-column: span 1; }
.loot__tiers .tier:nth-child(5) { grid-column: span 2; }
.loot__note { padding: 26px; }
.loot__note h3 { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 23px; text-transform: uppercase; margin: 0 0 6px; }
.loot__note p { color: var(--muted); margin: 0 0 16px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { padding-left: 28px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 800; }

/* ---------- Rules + flywheel ---------- */
.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: start; }
.rules { list-style: none; padding: 0; margin: 0; counter-reset: rule; display: grid; gap: 12px; }
.rules li {
  counter-increment: rule; position: relative; padding: 16px 18px 16px 62px; border-radius: 12px;
  background: var(--panel); border: 1px solid var(--line-soft); color: var(--muted);
}
.rules li b { color: var(--text); display: block; }
.rules li::before {
  content: counter(rule, decimal-leading-zero); position: absolute; left: 18px; top: 14px;
  font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 24px; color: var(--pink);
}
.flywheel { padding: 28px; }
.flywheel__title { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 28px; text-transform: uppercase; margin: 0 0 18px; }
.wheel { display: grid; gap: 4px; }
.wheel__node { padding: 14px 16px; border-radius: 11px; background: rgba(255,47,179,.07); border: 1px solid var(--line); display: flex; flex-direction: column; }
.wheel__node b { font-weight: 800; }
.wheel__node span { color: var(--muted); font-size: 14px; }
.wheel__arrow { text-align: center; color: var(--pink); font-weight: 800; line-height: 1.3; }

/* ---------- Token ---------- */
.token { display: grid; grid-template-columns: auto 1fr auto; gap: 28px 36px; align-items: center; padding: 28px; }
.token__brand { display: flex; align-items: center; gap: 16px; }
.token__brand img { width: 88px; height: 88px; border-radius: 50%; box-shadow: 0 0 0 2px var(--pink), 0 0 26px var(--pink-glow); }
.token__brand p { margin: 4px 0 0; font-size: 14px; }
.token__facts { display: grid; grid-template-columns: repeat(4, auto); gap: 8px 32px; margin: 0; }
.token__facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--dim); font-weight: 700; }
.token__facts dd { margin: 2px 0 0; font-weight: 700; }
.token__ca { grid-column: 1 / 3; }
.ca { display: flex; gap: 10px; align-items: center; margin-top: 6px; flex-wrap: wrap; }
.ca code { font-family: var(--f-mono); font-size: 14px; padding: 9px 14px; border-radius: 9px; background: rgba(0,0,0,.35); border: 1px dashed var(--line); color: var(--muted); max-width: 100%; overflow-wrap: anywhere; }
.token__cta { grid-column: 3; grid-row: 1 / 3; align-self: center; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.faq details { padding: 0; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 700; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--pink); font-weight: 800; font-size: 20px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { margin-top: 120px; border-top: 1px solid var(--line-soft); background: var(--bg-2); padding: 44px 0 36px; }
.footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 22px 40px; align-items: center; }
.footer__brand p { margin: 8px 0 0; }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; font-weight: 600; }
.footer__links a { color: var(--muted); }
.footer__links a:hover { color: var(--pink-2); }
.footer__legal { grid-column: 1 / -1; border-top: 1px solid var(--line-soft); padding-top: 20px; margin: 0; max-width: 90ch; }

/* ---------- Overlay ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.55), rgba(0,0,0,.88));
  backdrop-filter: grayscale(1) blur(2px);
  -webkit-backdrop-filter: grayscale(1) blur(2px);
  animation: fadeIn .25s ease;
  cursor: pointer;
}
.overlay[hidden] { display: none; }
.overlay__inner { text-align: center; padding: 0 16px; }
.overlay__title {
  font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: clamp(56px, 12vw, 150px); margin: 0; line-height: 1;
  color: #c8102e; letter-spacing: .03em; text-transform: uppercase;
  text-shadow: 3px 3px 0 #000, -1px -1px 0 #000, 0 0 40px rgba(200,16,46,.6);
  animation: slam .45s cubic-bezier(.2,1.4,.4,1);
}
.overlay.is-win { backdrop-filter: none; -webkit-backdrop-filter: none; }
.overlay.is-win .overlay__title { color: var(--gold); text-shadow: 3px 3px 0 #000, 0 0 40px rgba(255,201,77,.6); font-size: clamp(54px, 10vw, 120px); }
.overlay__sub { font-size: clamp(16px, 2vw, 20px); color: #fff; margin: 14px 0 0; font-weight: 600; text-shadow: 0 2px 8px #000; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes slam { from { transform: scale(1.8); opacity: 0; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .hero__inner { grid-template-columns: 1fr 1.2fr; }
  .mini-board { grid-column: 1 / -1; max-width: 640px; width: 100%; justify-self: center; }
  .hero__scene {
    height: 820px; bottom: auto;
    -webkit-mask: linear-gradient(180deg, #000 70%, transparent);
            mask: linear-gradient(180deg, #000 70%, transparent);
  }
  .nav__links a { padding: 8px 9px; font-size: 14px; }
}
@media (max-width: 980px) {
  .nav__links {
    position: fixed; inset: 64px 0 auto 0; flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px;
    background: rgba(11,7,16,.97); border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: transform .25s ease; margin: 0;
  }
  .nav__links.is-open { transform: none; }
  .nav__links a { padding: 14px 6px; font-size: 17px; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  .nav__toggle { display: block; }
  .nav__cta { display: none; }
  .brand__sub { display: none; }
  .nav__inner { gap: 12px; }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .loot, .split { grid-template-columns: 1fr; }
  .token { grid-template-columns: 1fr; }
  .token__facts { grid-template-columns: repeat(2, auto); justify-content: start; }
  .token__ca, .token__cta { grid-column: auto; grid-row: auto; }
  .token__cta { justify-self: start; }
  .hide-md { display: none; }
}
@media (max-width: 760px) {
  .hero { padding-top: 28px; }
  .hero__inner { grid-template-columns: 1fr; gap: 28px; }
  .hero__art { order: -1; height: 300px; }
  .hero__copy { text-align: center; }
  .hero__lede { margin-inline: auto; }
  .hero__ctas { justify-content: center; }
  .wordmark__img { margin-inline: auto; }
  .hero__scene {
    top: 0; height: 600px; object-position: 6% top;
    -webkit-mask: linear-gradient(180deg, #000 55%, transparent 95%);
            mask: linear-gradient(180deg, #000 55%, transparent 95%);
  }
  .hero__sky::after { display: none; }
  .podium { grid-template-columns: 1fr; }
  .pod--1, .pod--2, .pod--3 { order: initial; }
  .lb-tools, .search { width: 100%; }
  .search input { flex: 1; width: auto; min-width: 0; }
  .faq { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .loot__tiers { grid-template-columns: 1fr 1fr; }
  .loot__tiers .tier:nth-child(5) { grid-column: span 2; }
  .hide-sm { display: none; }
  .section { padding-top: 84px; }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { padding: 16px; }
  .steps { grid-template-columns: 1fr; }
  .countdown { justify-content: center; }
  .countdown__clock { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
