/* ==========================================================================
   NSTW — NEVER SPIN THE WHEEL
   Dark, iOS-inspired, matches the NSTW wheel app.
   ========================================================================== */

:root {
  --bg: #000000;
  --surface: #1c1c1e;
  --surface-2: #2c2c2e;
  --line: #38383a;
  --text: #ffffff;
  --text-2: #8e8e93;
  --text-2-strong: #aeaeb2; /* secondary text on surfaces, better contrast */
  --accent: #b77dff;        /* NSTW violet, light: text on black */
  --accent-strong: #7a1fe0; /* NSTW violet, deep: fills with white text (AA) */
  --violet-ink: #c9a2ff;
  --violet-1: #3d0a6b;
  --violet-2: #9b30ff;
  --gold: #ffd60a;
  --red: #ff453a;

  --r-omega: #ffd60a; --r-ss: #bf5af2; --r-s: #5e5ce6; --r-a: #ff9f0a;
  --r-b: #30d158; --r-c: #64d2ff; --r-d: #8e8e93; --r-f: #636366;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1120px;
  --nav-h: 60px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { line-height: 1.05; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- small labels & pills ---------- */
.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--text-2);
}
.pill {
  display: inline-flex; flex-direction: column; align-items: center; gap: 6px;
}
.pill-emoji { font-size: 28px; line-height: 1; }
.pill-label {
  display: inline-block;
  background: var(--accent-strong); color: #fff;
  padding: 7px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
}
.pill--violet .pill-label { background: linear-gradient(135deg, var(--violet-1), var(--violet-2)); }
.pill--dark .pill-label { background: var(--surface-2); color: #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px;
  border-radius: 999px; border: 0;
  background: var(--surface-2); color: #fff;
  font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background .2s var(--ease), opacity .2s;
}
.btn:hover { background: #3a3a3c; }
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--accent-strong); }
.btn--primary:hover { background: #8b34f2; }
.btn--white { background: #fff; color: #000; }
.btn--white:hover { background: #e5e5ea; }
.btn--ghost { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { background: var(--surface); }
.btn[disabled] { opacity: .45; cursor: default; transform: none; }

.round-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 0;
  display: inline-grid; place-items: center;
  background: var(--surface-2); color: #fff; cursor: pointer; font-size: 20px;
  transition: background .2s, transform .2s var(--ease);
}
.round-btn:hover { background: #3a3a3c; }
.round-btn:active { transform: scale(.94); }

.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(0,0,0,.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(56,56,58,.6);
}
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; }
.logo-mark { font-weight: 900; font-size: 22px; letter-spacing: -0.02em; }
.logo-full { font-size: 10px; font-weight: 700; letter-spacing: .28em; color: var(--text-2); display: none; }
@media (min-width: 1000px) { .logo-full { display: inline; } }
@media (min-width: 761px) and (max-width: 900px) { .nav-menu a { padding: 8px 9px; font-size: 14px; } }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu a {
  text-decoration: none; font-size: 15px; font-weight: 600; color: #d1d1d6;
  padding: 8px 12px; border-radius: 999px; transition: background .2s, color .2s;
}
.nav-menu a:hover, .nav-menu a[aria-current] { color: #fff; background: var(--surface); }
.nav-menu .btn { min-height: 38px; padding: 0 16px; font-size: 14px; margin-left: 6px; color: #fff; }
.nav-menu .btn:hover { background: #8b34f2; }

.nav-toggle {
  display: none; width: 42px; height: 42px; border: 0; border-radius: 50%;
  background: var(--surface); cursor: pointer; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 50%; width: 18px; height: 2px; background: #fff; border-radius: 2px;
  transform: translateX(-50%); transition: transform .25s var(--ease), opacity .2s;
  content: "";
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before { top: -6px; left: 0; transform: none; }
.nav-toggle span::after { top: 6px; left: 0; transform: none; }
.menu-open .nav-toggle span { background: transparent; }
.menu-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 760px) {
  body.menu-open { overflow: hidden; }
  body.menu-open::after {
    content: ""; position: fixed; inset: 0; z-index: 40;
    background: rgba(0,0,0,.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  }
  .nav-toggle { display: inline-block; }
  .nav-menu {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 20px 24px;
    background: #000;
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s;
  }
  .menu-open .nav-menu { opacity: 1; transform: none; visibility: visible; transition: opacity .2s, transform .25s var(--ease); }
  .nav-menu a { font-size: 20px; padding: 14px 8px; border-radius: 12px; }
  .nav-menu .btn { margin: 10px 0 0; min-height: 50px; font-size: 16px; }
}

/* ---------- sections ---------- */
.section { padding: 88px 0; position: relative; }
.section--tight { padding: 56px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; display: grid; gap: 14px; justify-items: center; }
.section-head h2 { font-size: clamp(34px, 7vw, 56px); font-weight: 900; }
.section-head p { color: var(--text-2); font-size: 18px; }
.page-head { padding: 64px 0 28px; text-align: center; display: grid; gap: 14px; justify-items: center; }
.page-head h1 { font-size: clamp(40px, 9vw, 72px); font-weight: 900; }
.page-head p { color: var(--text-2); font-size: 18px; max-width: 620px; }

.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); border: 0; margin: 0; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: calc(100svh - var(--nav-h));
  display: grid; place-items: center;
  padding: 40px 0 72px;
  isolation: isolate;
}
.hero-wheel {
  position: absolute; z-index: -1;
  width: min(140vw, 1100px); aspect-ratio: 1;
  left: 50%; top: 50%;
  translate: -50% -50%;
  opacity: .72;
  -webkit-mask-image: radial-gradient(circle at center, #000 18%, rgba(0,0,0,.55) 45%, transparent 70%);
          mask-image: radial-gradient(circle at center, #000 18%, rgba(0,0,0,.55) 45%, transparent 70%);
  transition: opacity .6s ease, scale .8s cubic-bezier(.2,.8,.2,1);
}
.hero-wheel.deciding { opacity: .95; scale: 1.06; }
.hero-wheel canvas { width: 100%; height: 100%; display: block; will-change: transform; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at 50% 45%, rgba(0,0,0,.3), rgba(0,0,0,.72) 70%);
}
@keyframes slow-spin { to { rotate: 360deg; } }

.hero-content { text-align: center; display: grid; gap: 22px; justify-items: center; padding: 0 20px; }
.hero h1 { font-size: clamp(48px, 13vw, 128px); font-weight: 900; letter-spacing: -0.045em; line-height: .92; }
.hero h1 .dim { color: rgba(255,255,255,.38); }
.hero-sub { font-size: clamp(18px, 3.6vw, 22px); color: #d1d1d6; max-width: 560px; }
.hero-sub strong { color: #fff; }
.hero .btn-row { justify-content: center; }
.hero-cta-secondary { font-size: 15px; color: var(--text-2); }
.hero-cta-secondary a { color: #fff; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--line); }

.scroll-hint {
  position: absolute; bottom: 22px; left: 50%; translate: -50% 0;
  font-size: 11px; letter-spacing: .3em; color: var(--text-2); text-transform: uppercase; text-decoration: none;
}

/* ---------- how it works ---------- */
.steps { display: grid; gap: 14px; grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  background: var(--surface); border-radius: var(--radius); padding: 28px 24px 30px;
  display: grid; gap: 14px; align-content: start; position: relative; overflow: hidden;
}
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; right: 20px; top: 14px;
  font-size: 64px; font-weight: 900; color: rgba(255,255,255,.05); letter-spacing: -0.04em;
}
.step-emoji { font-size: 34px; }
.step h3 { font-size: 28px; font-weight: 800; }
.step p { color: var(--text-2-strong); }
.step-tag { font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }

.cascade-line {
  margin-top: 28px; background: var(--surface); border-radius: var(--radius); padding: 18px 20px;
  display: flex; flex-wrap: wrap; gap: 6px 4px; justify-content: center; align-items: center;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2-strong);
}
.cascade-line span { background: var(--surface-2); padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.cascade-line span.hl { background: linear-gradient(135deg, var(--violet-1), var(--violet-2)); color: #fff; }
.cascade-line i { font-style: normal; color: var(--line); }

/* ---------- spin demo ---------- */
.demo {
  background: var(--surface); border-radius: 30px; padding: 26px 18px 30px;
  display: grid; gap: 22px; justify-items: center; max-width: 560px; margin: 0 auto;
  position: relative; overflow: hidden;
}
.demo-top { width: 100%; display: flex; justify-content: space-between; align-items: center; }
.demo-steps { display: flex; gap: 6px; align-items: center; }
.demo-step-label { font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--text-2-strong); margin-right: 6px; }
.demo-steps span:not(.demo-step-label) { width: 26px; height: 5px; border-radius: 3px; background: var(--surface-2); transition: background .3s; }
.demo-steps span.on:not(.demo-step-label) { background: var(--accent); }
.sound-btn { width: 44px; height: 44px; font-size: 18px; }
.sound-btn[aria-pressed="true"] { background: var(--accent-strong); }

.demo-wheel-wrap { width: min(100%, 420px); aspect-ratio: 1; position: relative; }
.demo-wheel-wrap canvas { width: 100%; height: 100%; display: block; cursor: pointer; touch-action: manipulation; }
.demo-wheel-wrap.shake { animation: shake .55s var(--ease); }
@keyframes shake {
  10%, 90% { transform: translate(-1px, 0); }
  20%, 80% { transform: translate(3px, -1px); }
  30%, 50%, 70% { transform: translate(-5px, 2px); }
  40%, 60% { transform: translate(5px, -2px); }
}
.flash {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; border-radius: 30px;
  background: radial-gradient(circle at 50% 45%, rgba(255,255,255,.55), transparent 60%);
}
.flash.go { animation: flash .7s ease-out; }
.flash.go.gold { background: radial-gradient(circle at 50% 45%, rgba(255,214,10,.6), transparent 62%); }
@keyframes flash { 0% { opacity: 0; } 15% { opacity: 1; } 100% { opacity: 0; } }

.result {
  text-align: center; min-height: 112px; display: grid; gap: 8px; align-content: start; justify-items: center;
}
.result-value {
  font-size: clamp(34px, 9vw, 50px); font-weight: 900; letter-spacing: -0.02em; line-height: 1;
  min-height: 1em;
  transition: color .3s, transform .3s var(--ease);
}
.result-value.is-unknown { color: rgba(255,255,255,.35); }
.result-value.pop { animation: pop .45s var(--ease); }
@keyframes pop { 0% { transform: scale(.85); } 60% { transform: scale(1.08); } 100% { transform: scale(1); } }
.result-odds { color: var(--text-2-strong); font-size: 16px; min-height: 24px; }
.result-odds strong { color: #fff; }
.tier-chip {
  display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase; color: #000; background: var(--tier, #8e8e93);
}
.cascade-note { color: var(--text-2-strong); font-size: 14px; max-width: 380px; }
.cascade-note strong { color: #fff; }

.demo-actions { display: grid; gap: 10px; width: 100%; max-width: 360px; }
.demo-actions .btn { width: 100%; }
.demo-follow {
  width: 100%; border-top: 1px solid var(--line); padding-top: 20px; text-align: center; display: grid; gap: 12px; justify-items: center;
}
.demo-follow p { font-weight: 700; }
.demo-follow .btn-row { justify-content: center; }
.demo-follow .btn { min-height: 42px; padding: 0 16px; font-size: 14px; }

/* ---------- gallery tiles ---------- */
.grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.tile { text-decoration: none; display: grid; gap: 10px; border-radius: var(--radius-sm); }
.tile-visual {
  position: relative; aspect-ratio: 9 / 16; border-radius: var(--radius-sm); overflow: hidden;
  background: var(--surface); box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.tile:hover .tile-visual { transform: translateY(-4px); box-shadow: 0 18px 40px -20px var(--rank), inset 0 0 0 1px rgba(255,255,255,.08); }
.tile-visual img { width: 100%; height: 100%; object-fit: cover; }
.tile-poster {
  position: absolute; inset: 0; display: grid; align-content: end; gap: 6px; padding: 18px 14px;
  background:
    radial-gradient(circle at 50% 32%, color-mix(in srgb, var(--rank) 38%, transparent), transparent 62%),
    linear-gradient(180deg, #1c1c1e, #0a0a0b);
}
.tile-emoji { position: absolute; top: 24%; left: 50%; translate: -50% -50%; font-size: clamp(54px, 14vw, 84px); }
.tile-name { font-size: clamp(20px, 5vw, 28px); font-weight: 900; letter-spacing: -0.02em; line-height: 1; overflow-wrap: anywhere; }
.tile-title { font-size: 13px; color: var(--text-2-strong); font-style: italic; }
.tile-meta { display: grid; gap: 2px; padding: 0 2px; }
.tile-meta strong { font-size: 16px; }
.tile-meta span { font-size: 13px; color: var(--text-2); }

.rank-badge {
  position: absolute; top: 10px; right: 10px;
  min-width: 34px; height: 34px; padding: 0 8px; border-radius: 10px;
  display: inline-grid; place-items: center;
  background: var(--rank); color: #000; font-weight: 900; font-size: 16px;
  box-shadow: 0 4px 14px -4px var(--rank);
}
.rank-badge--big { position: static; min-width: 58px; height: 58px; font-size: 28px; border-radius: 16px; flex: none; }
.sample-tag {
  position: absolute; top: 10px; left: 10px;
  background: rgba(0,0,0,.7); color: #fff; border: 1px solid var(--line);
  font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px;
}

.center-cta { display: flex; justify-content: center; margin-top: 32px; }
.empty-state { text-align: center; color: var(--text-2); padding: 48px 20px; background: var(--surface); border-radius: var(--radius); }

/* ---------- filters ---------- */
.filters { display: grid; gap: 14px; margin-bottom: 28px; }
.chip-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chip-row::-webkit-scrollbar { display: none; }
.chip {
  flex: none; border: 0; cursor: pointer;
  min-height: 40px; padding: 0 16px; border-radius: 999px;
  background: var(--surface); color: #d1d1d6; font-weight: 700; font-size: 14px;
  transition: background .2s, color .2s;
}
.chip:hover { background: var(--surface-2); }
.chip[aria-pressed="true"] { background: var(--chip, #fff); color: #000; }
.select-wrap { position: relative; max-width: 320px; }
.select-wrap select {
  width: 100%; appearance: none; -webkit-appearance: none;
  min-height: 46px; padding: 0 42px 0 16px; border-radius: 14px; border: 0;
  background: var(--surface); color: #fff; font: inherit; font-weight: 600; cursor: pointer;
}
.select-wrap::after { content: "▾"; position: absolute; right: 16px; top: 50%; translate: 0 -50%; color: var(--text-2); pointer-events: none; }
.filter-count { color: var(--text-2); font-size: 14px; }

/* ---------- ranks ---------- */
.ranks { display: grid; gap: 10px; max-width: 760px; margin: 0 auto; }
.rank-row {
  display: grid; grid-template-columns: 58px 1fr auto; gap: 16px; align-items: center;
  background: var(--surface); border-radius: var(--radius-sm); padding: 14px 18px 14px 14px;
}
.rank-row .rank-badge { position: static; width: 58px; height: 58px; font-size: 26px; border-radius: 16px; }
.rank-row h3 { font-size: 18px; font-weight: 800; }
.rank-row p { color: var(--text-2-strong); font-size: 14px; }
.rank-freq { text-align: right; font-weight: 800; font-size: 20px; font-variant-numeric: tabular-nums; }
.rank-freq small { display: block; font-size: 11px; font-weight: 600; color: var(--text-2); letter-spacing: .06em; }
.rank-row--omega { background: linear-gradient(135deg, rgba(255,214,10,.16), var(--surface) 55%); box-shadow: inset 0 0 0 1px rgba(255,214,10,.35); }
.freq-bar { grid-column: 2 / -1; height: 4px; border-radius: 2px; background: var(--surface-2); overflow: hidden; margin-top: -4px; }
.freq-bar i { display: block; height: 100%; background: var(--rank); border-radius: 2px; }

/* ---------- community ---------- */
.community {
  border-radius: 30px; padding: 48px 24px; text-align: center; display: grid; gap: 18px; justify-items: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(155,48,255,.35), transparent 60%),
    var(--surface);
}
.community h2 { font-size: clamp(32px, 7vw, 52px); font-weight: 900; }
.community p { color: #d1d1d6; max-width: 520px; }
.socials { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; width: 100%; max-width: 520px; }
@media (min-width: 640px) { .socials { grid-template-columns: repeat(4, 1fr); } }
.social-card {
  display: grid; gap: 4px; justify-items: center; padding: 18px 10px; border-radius: 18px;
  background: var(--surface-2); text-decoration: none; transition: transform .2s var(--ease), background .2s;
}
.social-card:hover { transform: translateY(-3px); background: #3a3a3c; }
.social-card strong { font-size: 15px; }
.social-card span { font-size: 12px; color: var(--text-2-strong); }
.social-ico { font-size: 22px; line-height: 1; }

/* ---------- bestiary ---------- */
.bestiary-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .bestiary-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .bestiary-grid { grid-template-columns: repeat(3, 1fr); } }
.race-card { background: var(--surface); border-radius: var(--radius); padding: 20px; display: grid; gap: 12px; align-content: start; }
.race-card-head { display: flex; align-items: center; gap: 14px; }
.race-emoji { width: 52px; height: 52px; border-radius: 16px; background: var(--surface-2); display: grid; place-items: center; font-size: 28px; flex: none; }
.race-card h3 { font-size: 20px; font-weight: 900; letter-spacing: .02em; }
.race-card-head .tier-chip { margin-top: 4px; }
.race-pct { margin-left: auto; text-align: right; font-weight: 900; font-size: 22px; font-variant-numeric: tabular-nums; }
.race-pct small { display: block; font-size: 10px; font-weight: 700; color: var(--text-2); letter-spacing: .14em; }
.race-card p { color: var(--text-2-strong); font-size: 15px; }
.race-sub { font-size: 13px; color: var(--text-2); }
.race-sub strong { color: #d1d1d6; font-weight: 700; }
.race-odds-bar { height: 4px; background: var(--surface-2); border-radius: 2px; overflow: hidden; }
.race-odds-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--violet-1), var(--violet-2)); }

.arch-tier { margin-top: 40px; }
.arch-tier-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.arch-tier-head h3 { font-size: 24px; font-weight: 900; }
.arch-tier-head > span:not(.tier-chip) { color: var(--text-2); font-size: 14px; }
.arch-list { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .arch-list { grid-template-columns: repeat(2, 1fr); } }
.arch-item { background: var(--surface); border-radius: var(--radius-sm); padding: 16px 18px; border-left: 4px solid var(--tier); }
.arch-item strong { display: block; font-size: 17px; }
.arch-item span { color: var(--text-2-strong); font-size: 14px; }

.toc { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 8px; }

/* ---------- prose / FAQ ---------- */
.prose { max-width: 720px; margin: 0 auto; display: grid; gap: 18px; font-size: 18px; color: #d1d1d6; }
.prose strong { color: #fff; }
.prose h2 { font-size: 30px; font-weight: 900; color: #fff; margin-top: 24px; }
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--surface); border-radius: var(--radius-sm); padding: 0 20px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 32px 20px 0; position: relative;
  font-weight: 800; font-size: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; translate: 0 -50%;
  font-size: 26px; font-weight: 400; color: var(--text-2); transition: rotate .25s var(--ease);
}
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { color: var(--text-2-strong); padding: 0 0 20px; }

/* ---------- character detail ---------- */
.detail-wrap { display: grid; gap: 28px; justify-items: center; padding: 32px 0 80px; }
.back-link { justify-self: start; text-decoration: none; color: var(--text-2); font-weight: 600; font-size: 15px; }
.back-link:hover { color: #fff; }
.char-card {
  width: 100%; max-width: 440px; background: var(--surface); border-radius: 28px; overflow: hidden;
  box-shadow: 0 30px 80px -40px var(--rank), inset 0 0 0 1px rgba(255,255,255,.05);
}
.char-card-art { position: relative; aspect-ratio: 9 / 16; background: #0a0a0b; }
.char-card-art img { width: 100%; height: 100%; object-fit: cover; }
.char-card-placeholder {
  position: absolute; inset: 0; display: grid; place-items: center; font-size: 120px;
  background: radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--rank) 40%, transparent), transparent 62%), linear-gradient(180deg, #1c1c1e, #050505);
}
.char-card-art:has(.char-card-placeholder) { aspect-ratio: 4 / 3; }
.char-card-body { padding: 22px 22px 18px; display: grid; gap: 18px; }
.char-card-head { display: flex; gap: 14px; justify-content: space-between; align-items: flex-start; }
.char-name { font-size: clamp(36px, 10vw, 48px); font-weight: 900; letter-spacing: -0.03em; line-height: .95; overflow-wrap: anywhere; }
.char-race { margin-top: 8px; color: var(--text-2-strong); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.char-title { margin-top: 6px; font-style: italic; color: #fff; font-size: 18px; }
.stats { display: grid; gap: 8px; }
.stat { display: grid; grid-template-columns: 40px 1fr 22px; gap: 10px; align-items: center; font-size: 13px; font-weight: 800; }
.stat-label { color: var(--text-2-strong); letter-spacing: .06em; }
.stat-bar { height: 8px; background: var(--surface-2); border-radius: 4px; overflow: hidden; }
.stat-bar i { display: block; height: 100%; background: var(--rank); border-radius: 4px; }
.stat-val { text-align: right; font-variant-numeric: tabular-nums; }
.card-rows { display: grid; border-top: 1px solid var(--line); }
.card-row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.card-row span { color: var(--text-2); }
.card-row strong { text-align: right; }
.card-row.is-weak strong { color: var(--red); }
.char-card-foot { text-align: center; font-size: 10px; letter-spacing: .3em; color: var(--text-2); font-weight: 700; padding-top: 4px; }

/* ---------- forms ---------- */
.form-card { max-width: 520px; margin: 0 auto; background: var(--surface); border-radius: var(--radius); padding: 26px 22px; display: grid; gap: 14px; }
.form-card label { font-weight: 700; font-size: 15px; }
.input {
  width: 100%; min-height: 50px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line);
  background: #000; color: #fff; font: inherit;
}
.input::placeholder { color: var(--text-2); }
.form-note { font-size: 13px; color: var(--text-2); }
.form-row { display: grid; gap: 10px; }
@media (min-width: 520px) { .form-row { grid-template-columns: 1fr auto; } }

.coming {
  max-width: 760px; margin: 0 auto 32px; display: grid; gap: 12px; grid-template-columns: 1fr;
}
@media (min-width: 700px) { .coming { grid-template-columns: repeat(3, 1fr); } }
.coming-item { background: var(--surface); border-radius: var(--radius-sm); padding: 20px; display: grid; gap: 8px; }
.coming-item strong { font-size: 17px; }
.coming-item span { color: var(--text-2-strong); font-size: 14px; }

.bracket {
  display: flex; justify-content: center; gap: 6px; align-items: center; margin: 8px auto 36px; flex-wrap: wrap;
  font-weight: 900; font-size: 14px; color: var(--text-2);
}
.bracket b { background: var(--surface); color: #fff; padding: 8px 14px; border-radius: 999px; }
.bracket b.win { background: var(--gold); color: #000; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 48px 0 40px; margin-top: 40px; }
.footer-inner { display: grid; gap: 28px; }
@media (min-width: 760px) { .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand strong { font-size: 28px; font-weight: 900; display: block; }
.footer-brand .eyebrow { margin-top: 6px; }
.footer-brand p { color: var(--text-2); font-size: 14px; margin-top: 12px; max-width: 320px; }
.footer h2 { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--text-2); margin-bottom: 12px; font-weight: 700; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; color: #d1d1d6; font-size: 15px; }
.footer a:hover { color: #fff; }
.footer-bottom { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--text-2); }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero-wheel { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}

@media (max-width: 600px) {
  .rank-row { grid-template-columns: 46px 1fr auto; gap: 12px; padding: 14px 14px 14px 12px; }
  .rank-row .rank-badge { width: 46px; height: 46px; font-size: 21px; border-radius: 13px; }
  .rank-row h3 { font-size: 16px; }
  .rank-freq { font-size: 17px; }
  .rank-freq small { font-size: 10px; letter-spacing: 0; }
}
.rank-freq small { white-space: nowrap; }

/* hero buttons on small phones: Instagram full width, TikTok + YouTube side by side */
@media (max-width: 520px) {
  .hero .btn-row { display: grid; grid-template-columns: 1fr 1fr; width: 100%; max-width: 360px; }
  .hero .btn-row .btn:first-child { grid-column: 1 / -1; }
  .hero { min-height: auto; padding: 72px 0 88px; }
}
.demo-hint { font-size: 13px; color: var(--text-2); margin-top: -10px; }

/* phones: tighter sections, demo fits on one screen */
@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 32px; }
  .demo { gap: 16px; padding: 20px 14px 24px; }
  .demo-wheel-wrap { width: min(100%, 46svh); }
}
#play { scroll-margin-top: 8px; }
.mini-link { display: inline-block; margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--accent); text-decoration: none; }
.mini-link:hover { text-decoration: underline; }

/* ---------- warning tape band ---------- */
.tape {
  overflow: hidden; white-space: nowrap;
  background: linear-gradient(90deg, var(--violet-1), var(--violet-2));
  border-block: 1px solid rgba(255,255,255,.08);
  transform: rotate(-1.2deg) scale(1.02); margin: -8px 0 8px;
}
.tape-track { display: inline-flex; animation: tape 38s linear infinite; }
.tape span {
  padding: 12px 22px; font-size: 13px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; color: #fff;
}
.tape span::after { content: "✦"; margin-left: 44px; opacity: .55; }
@keyframes tape { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .tape-track { animation: none; } }

.cascade-caption { text-align: center; margin-top: 36px; color: var(--text-2); font-size: 12px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; }
.cascade-caption + .cascade-line { margin-top: 12px; }
.fine-print { text-align: center; color: var(--text-2); font-size: 13px; margin-top: 12px; font-style: italic; }
.result-quip { font-size: 16px; font-weight: 700; color: #fff; max-width: 380px; }
.chip--link { display: inline-grid; place-items: center; text-decoration: none; }
.faq details p a { color: var(--accent); font-weight: 700; text-decoration: none; }
main { overflow-x: clip; }
.combo-odds { display: inline-block; margin-top: 6px; font-size: 14px; font-weight: 800; letter-spacing: .04em; color: var(--gold); }


/* =================== EXPERIENCE LAYER =================== */

/* hero intro */
.h1-line { display: inline-block; }
.js .h1-line { animation: rise .9s cubic-bezier(.2,.8,.2,1) both; }
.js .h1-line + .h1-line { animation-delay: .12s; }
@keyframes rise { from { opacity: 0; transform: translateY(40px) scale(.96); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
.hero h1 { display: flex; flex-direction: column; align-items: center; }

/* the visitor's destiny */
.destiny {
  --tier: #9b30ff;
  position: relative; display: grid; gap: 4px; justify-items: center;
  width: min(100%, 460px); padding: 16px 24px 14px; border-radius: 22px;
  background: rgba(28,28,30,.72); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 20px 60px -30px var(--tier);
  transition: box-shadow .5s ease;
}
.destiny::before { /* pointer, like the app */
  content: ""; position: absolute; top: -9px; left: 50%; translate: -50% 0;
  border: 9px solid transparent; border-top: 0; border-bottom: 10px solid #fff;
}
.destiny.decided { box-shadow: inset 0 0 0 1.5px var(--tier), 0 24px 80px -24px var(--tier); animation: thump .5s cubic-bezier(.2,.8,.2,1); }
@keyframes thump { 0% { transform: scale(.94); } 55% { transform: scale(1.04); } 100% { transform: none; } }
.destiny-label { min-height: 2.8em; display: grid; place-items: center; font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--text-2-strong); }
.destiny-value { font-size: clamp(28px, 8vw, 40px); font-weight: 900; letter-spacing: -0.01em; line-height: 1.1; min-height: 1.1em; }
.destiny-value.is-unknown { color: rgba(255,255,255,.4); }
.destiny-sub { font-size: 14px; color: #d1d1d6; min-height: 22px; }
.destiny-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.destiny-actions .mini-link { margin: 0; }
.link-btn {
  background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: inherit;
  text-decoration: underline; text-decoration-color: rgba(255,255,255,.3); text-underline-offset: 3px;
}
.link-btn:hover { text-decoration-color: #fff; }
.destiny-actions .link-btn { font-size: 13px; color: var(--text-2-strong); }
.hero-meta { font-size: 12px; color: var(--text-2); }
.hero-meta .link-btn { color: #d1d1d6; }

/* nav destiny chip */
.destiny-chip {
  display: inline-flex; align-items: center; gap: 6px; margin-left: auto; margin-right: 8px;
  padding: 6px 12px 6px 10px; border-radius: 999px; background: var(--surface);
  box-shadow: inset 0 0 0 1px rgba(155,48,255,.45);
  font-size: 12px; font-weight: 800; letter-spacing: .06em; text-decoration: none; white-space: nowrap;
  max-width: 46vw; overflow: hidden;
}
.destiny-chip .dc-name { overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 761px) { .destiny-chip { order: 3; margin: 0 0 0 10px; } .nav-menu { margin-left: auto; } }
@media (min-width: 761px) and (max-width: 900px) { .destiny-chip .dc-name { display: none; } }

/* bestiary: "that's you" */
.race-card.is-you { box-shadow: inset 0 0 0 2px var(--violet-2), 0 20px 60px -30px var(--violet-2); }
.you-tag { display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--violet-2); }

/* buttons */
.btn--gold { background: linear-gradient(135deg, #ffd60a, #ff9f0a); color: #000; box-shadow: 0 10px 40px -12px rgba(255,214,10,.7); }
.btn--gold:hover { filter: brightness(1.06); background: linear-gradient(135deg, #ffd60a, #ff9f0a); }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom)); z-index: 300;
  translate: -50% 20px; opacity: 0; pointer-events: none;
  background: #fff; color: #000; font-weight: 800; font-size: 14px;
  padding: 12px 18px; border-radius: 999px; max-width: calc(100vw - 32px); text-align: center;
  box-shadow: 0 20px 50px -10px rgba(0,0,0,.8); transition: opacity .25s, translate .35s cubic-bezier(.2,.8,.2,1);
}
.toast.show { opacity: 1; translate: -50% 0; }

/* particles */
.fx-canvas { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 250; }

/* full-screen takeover */
.takeover {
  --tk: #ffd60a;
  position: fixed; inset: 0; z-index: 240; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--tk) 22%, #000), #000 65%);
  opacity: 0; transition: opacity .35s ease; cursor: pointer; padding: 24px;
}
.takeover.show { opacity: 1; }
.takeover-rays {
  position: absolute; width: 220vmax; height: 220vmax; left: 50%; top: 45%; translate: -50% -50%;
  background: repeating-conic-gradient(from 0deg, color-mix(in srgb, var(--tk) 30%, transparent) 0deg 5deg, transparent 5deg 15deg);
  -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 45%); mask-image: radial-gradient(circle, #000 0%, transparent 45%);
  animation: rays 16s linear infinite;
}
@keyframes rays { to { rotate: 360deg; } }
.takeover-inner { position: relative; text-align: center; display: grid; gap: 14px; justify-items: center; max-width: 900px; }
.takeover-eyebrow { font-size: 12px; font-weight: 900; letter-spacing: .3em; text-transform: uppercase; color: var(--tk); }
.takeover-title { font-size: clamp(44px, 13vw, 132px); font-weight: 900; letter-spacing: -0.04em; line-height: .9; text-shadow: 0 0 60px color-mix(in srgb, var(--tk) 60%, transparent); }
.takeover-title .tk-word { display: inline-block; white-space: nowrap; }
.takeover-title.is-long { font-size: clamp(34px, 9vw, 100px); }
.takeover-title .tk-word > span { display: inline-block; opacity: 0; transform: scale(2.2); filter: blur(12px); }
.takeover.show .takeover-title .tk-word > span { animation: slam .55s cubic-bezier(.2,.9,.2,1) forwards; animation-delay: calc(.12s + var(--i) * .045s); }
@keyframes slam { to { opacity: 1; transform: none; filter: none; } }
.takeover-sub { font-size: clamp(16px, 4vw, 20px); color: #e5e5ea; max-width: 560px; opacity: 0; transition: opacity .5s .7s; }
.takeover.show .takeover-sub { opacity: 1; }
.takeover-tap { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-top: 18px; }

/* Terms of Spin */
dialog.terms {
  border: 0; padding: 0; background: var(--surface); color: #fff; border-radius: 26px;
  width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 48px);
  box-shadow: 0 40px 120px -20px rgba(155,48,255,.45), inset 0 0 0 1px rgba(255,255,255,.08);
}
dialog.terms::backdrop { background: rgba(0,0,0,.7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
dialog.terms form { padding: 28px 24px 24px; display: grid; gap: 14px; }
dialog.terms h2 { font-size: 34px; font-weight: 900; }
dialog.terms ol { margin: 0; padding-left: 22px; display: grid; gap: 10px; color: #d1d1d6; }
dialog.terms li::marker { color: var(--violet-2); font-weight: 900; }

.records { font-size: 13px; color: var(--text-2); text-align: center; max-width: 420px; }
.records strong { color: #d1d1d6; }

/* the 19 wheels light up in sequence */
.js .cascade-line span { transition: background .4s, color .4s, transform .4s; }
.js .cascade-line.lit span { animation: chip-on .5s both; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes chip-on { 0% { transform: scale(.8); opacity: .3; } 60% { transform: scale(1.08); background: var(--violet-2); color: #fff; } 100% { transform: none; opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .takeover-title .tk-word > span { opacity: 1; transform: none; filter: none; }
  .takeover-rays { animation: none; }
}


/* =================== VISION =================== */
.vision { background: linear-gradient(180deg, rgba(61,10,107,.32), transparent 45%); }
.loop { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: 1fr; counter-reset: none; position: relative; }
@media (min-width: 720px) { .loop { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .loop { grid-template-columns: repeat(4, 1fr); } }
.loop-step { background: var(--surface); border-radius: var(--radius); padding: 24px 22px; display: grid; gap: 8px; align-content: start; position: relative; }
.loop-step:nth-child(3) { box-shadow: inset 0 0 0 1px rgba(255,214,10,.35); background: linear-gradient(160deg, rgba(255,214,10,.12), var(--surface) 55%); }
.loop-ico { font-size: 32px; }
.loop-tag { font-size: 11px; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.loop-step h3 { font-size: 24px; font-weight: 900; }
.loop-step p { color: var(--text-2-strong); font-size: 15px; }
@media (min-width: 1040px) {
  .loop-step:not(:last-child)::after { content: "›"; position: absolute; right: -11px; top: 50%; translate: 0 -50%; z-index: 1; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: #000; color: var(--text-2); font-weight: 900; }
}
.vision-close { text-align: center; margin-top: 48px; display: grid; gap: 14px; justify-items: center; }
.vision-big { font-size: clamp(26px, 5.5vw, 44px); font-weight: 900; letter-spacing: -0.02em; line-height: 1.08; max-width: 860px; }
.vision-big span { background: linear-gradient(90deg, #bf5af2, #0a84ff, #ffd60a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vision-small { color: var(--text-2-strong); font-size: 17px; max-width: 600px; }
#vision-you { color: #fff; font-weight: 800; }

/* =================== TRIAL: locked wheels =================== */
.locked { width: 100%; border-radius: 22px; padding: 20px 16px; text-align: center; display: grid; gap: 10px;
  background: linear-gradient(180deg, rgba(255,214,10,.08), rgba(0,0,0,.25)); box-shadow: inset 0 0 0 1px rgba(255,214,10,.25); }
.locked.in { animation: unlock-in .7s cubic-bezier(.2,.8,.2,1) both; }
@keyframes unlock-in { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
.locked-eyebrow { font-size: 11px; font-weight: 900; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.locked-title { font-size: 22px; font-weight: 900; }
.locked-grid { list-style: none; margin: 4px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.locked-grid li { font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 999px; background: var(--surface-2); color: var(--text-2-strong); }
.locked.in .locked-grid li { animation: chip-on .45s both; }
.locked.in .locked-grid li:nth-child(n) { animation-delay: calc(.25s + var(--d, 0) * 1ms); }
.locked-grid li.locked-extra { background: rgba(255,214,10,.14); color: #fff; }
.locked-text { font-size: 14px; color: var(--text-2-strong); max-width: 420px; margin: 0 auto; }

/* =================== GET SPUN (offer) =================== */
.get-spun { background: linear-gradient(180deg, rgba(255,214,10,.07), transparent 40%); }
.offer { display: grid; gap: 18px; align-items: start; max-width: 1000px; margin: 0 auto; }
@media (min-width: 900px) { .offer { grid-template-columns: 1.1fr 1fr; gap: 28px; } }
.offer-card {
  border-radius: 30px; padding: 28px 22px 24px; display: grid; gap: 18px;
  background: linear-gradient(170deg, #2a2300, var(--surface) 38%);
  box-shadow: inset 0 0 0 1.5px rgba(255,214,10,.45), 0 40px 100px -50px rgba(255,214,10,.6);
}
.offer-top { text-align: center; display: grid; gap: 4px; }
.offer-label { font-size: 12px; font-weight: 900; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.offer-price { font-size: clamp(64px, 18vw, 96px); font-weight: 900; letter-spacing: -0.04em; line-height: 1; }
.offer-tag { color: #d1d1d6; font-weight: 700; }
.offer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.offer-list li { position: relative; padding-left: 30px; color: var(--text-2-strong); font-size: 15px; }
.offer-list li strong { color: #fff; }
.offer-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--gold); color: #000; font-size: 12px; font-weight: 900; display: grid; place-items: center; }
.offer-cta { width: 100%; min-height: 58px; font-size: 17px; }
.offer-note { font-size: 13px; color: var(--text-2-strong); text-align: center; }
.offer-note strong { color: #fff; }
.offer-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.offer-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; background: var(--surface); border-radius: 18px; padding: 16px; }
.offer-steps li > span { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--surface-2); font-weight: 900; font-size: 18px; }
.offer-steps li:last-child > span { background: var(--gold); color: #000; }
.offer-steps strong { font-size: 17px; }
.offer-steps p { color: var(--text-2-strong); font-size: 14px; }
.offer-fine { max-width: 760px; margin: 28px auto 0; text-align: center; color: var(--text-2-strong); font-size: 14px; }
.offer-fine strong { color: #fff; }
.offer-fine a { color: var(--accent); font-weight: 700; text-decoration: none; }
.coming-item span a { color: var(--accent); font-weight: 700; text-decoration: none; }

/* readable ink on the darker tier/rank colours */
.tier-chip[style*="#5e5ce6"], .rank-badge[style*="#5e5ce6"], .rank-row[style*="#5e5ce6"] .rank-badge, .tile[style*="#5e5ce6"] .rank-badge { color: #fff; }
.you-tag { color: #bf5af2; }
.destiny-actions { min-height: 22px; }

/* =================== AUDIT PASS: experience upgrades =================== */

/* smooth page-to-page transitions (Chrome, Edge, Safari 18.2+) */
@view-transition { navigation: auto; }

/* no JavaScript: hide what can't work */
html:not(.js) .destiny, html:not(.js) .demo, html:not(.js) .hero-meta { display: none; }

/* dare a friend */
.dare-btn {
  border: 0; cursor: pointer; font: inherit; font-size: 13px; font-weight: 800;
  padding: 6px 12px; border-radius: 999px; color: #fff;
  background: linear-gradient(135deg, var(--violet-1), var(--violet-2));
}
.dare-btn:hover { filter: brightness(1.12); }
.dare-verdict { display: inline-block; margin-top: 6px; color: #fff; }

/* sticky mobile CTA bar */
.cta-bar { display: none; }
@media (max-width: 760px) {
  .cta-bar {
    display: flex; align-items: center; gap: 10px; justify-content: space-between;
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 60;
    padding: 10px 10px 10px 16px; border-radius: 20px;
    background: rgba(28,28,30,.88); -webkit-backdrop-filter: blur(18px) saturate(180%); backdrop-filter: blur(18px) saturate(180%);
    box-shadow: inset 0 0 0 1px rgba(255,214,10,.3), 0 20px 50px -10px rgba(0,0,0,.9);
    transform: translateY(140%); transition: transform .45s cubic-bezier(.2,.8,.2,1);
  }
  .cta-bar.show { transform: none; }
  .cta-bar-text { font-size: 12px; color: var(--text-2-strong); line-height: 1.3; }
  .cta-bar-text strong { display: block; color: #fff; font-size: 14px; }
  .cta-bar .btn { min-height: 44px; padding: 0 16px; font-size: 14px; flex: none; }
  body.has-cta-bar .toast { bottom: calc(92px + env(safe-area-inset-bottom)); }
  body.has-cta-bar .mini-wheel { bottom: calc(86px + env(safe-area-inset-bottom)); }
}

/* scroll mini-wheel (back to top) */
.mini-wheel {
  --p: 0%;
  position: fixed; right: 14px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 59;
  width: 48px; height: 48px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: conic-gradient(var(--gold) var(--p), rgba(255,255,255,.12) 0);
  display: grid; place-items: center;
  opacity: 0; transform: scale(.6); pointer-events: none;
  transition: opacity .3s, transform .35s cubic-bezier(.2,.8,.2,1), bottom .45s cubic-bezier(.2,.8,.2,1);
  box-shadow: 0 10px 30px -8px rgba(0,0,0,.8);
}
.mini-wheel.show { opacity: 1; transform: none; pointer-events: auto; }
.mini-wheel-disc {
  width: 40px; height: 40px; border-radius: 50%;
  background:
    radial-gradient(circle, #000 0 5px, transparent 6px),
    conic-gradient(#3d0a6b 0 22%, #5a1a96 0 38%, #7322c4 0 52%, #8628e6 0 64%, #9b30ff 0 74%, #6b1fb5 0 86%, #4a1380 0 100%);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.6);
}
.mini-wheel-pin { position: absolute; top: 1px; left: 50%; translate: -50% 0; border: 5px solid transparent; border-top: 7px solid #fff; }
.mini-wheel:hover .mini-wheel-disc { filter: brightness(1.15); }

/* the Flobbit */
.flobbit { position: relative; background: none; border: 0; padding: 0; cursor: pointer; color: inherit; }
.flobbit-svg { width: 100%; height: auto; display: block; overflow: visible; }
.flobbit .fb-body { transform-origin: 60px 94px; }
.flobbit .fb-lid { transform-box: fill-box; transform-origin: center bottom; transform: scaleY(1); }
.js .flobbit .fb-body { animation: squish 3.2s ease-in-out infinite; }
.js .flobbit .fb-eyes { animation: blink 5.5s infinite; transform-box: fill-box; transform-origin: center; }
@keyframes squish { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.03, .97); } }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
.flobbit.boing .fb-body { animation: boing .6s cubic-bezier(.3,1.6,.5,1); }
@keyframes boing { 0% { transform: scale(1.2, .75); } 50% { transform: scale(.9, 1.15) translateY(-6px); } 100% { transform: none; } }
.flobbit--ledge { position: absolute; right: 7%; top: 0; width: 76px; translate: 0 -78%; z-index: 2; }
.footer { position: relative; }
.fb-bubble {
  position: absolute; right: 70%; bottom: 82%; width: max-content; max-width: 220px;
  background: #fff; color: #000; font-size: 13px; font-weight: 800; line-height: 1.3; text-align: left;
  padding: 9px 12px; border-radius: 16px 16px 4px 16px;
  opacity: 0; transform: translateY(6px) scale(.9); transform-origin: bottom right; pointer-events: none;
  transition: opacity .2s, transform .3s cubic-bezier(.2,.8,.2,1);
}
.flobbit.talking .fb-bubble { opacity: 1; transform: none; }
.flobbit--big { width: 150px; aspect-ratio: 120 / 104; margin: 0 auto 4px; cursor: default; }
.flobbit--ledge { aspect-ratio: 120 / 104; }

/* 404 wheel */
.lost { display: grid; gap: 16px; justify-items: center; margin-top: 18px; width: 100%; }
.lost-wheel-wrap { width: min(80vw, 300px); aspect-ratio: 1; }
.lost-wheel-wrap canvas { width: 100%; height: 100%; display: block; cursor: pointer; }
.lost-result { font-weight: 800; min-height: 1.5em; color: #fff !important; }

/* bestiary controls */
.bestiary-controls { display: grid; gap: 14px; justify-items: center; margin-bottom: 22px; }
.bestiary-controls .chip-row { max-width: 100%; justify-content: flex-start; }
@media (min-width: 900px) { .bestiary-controls .chip-row { justify-content: center; } }
.race-card { transition: box-shadow .3s, transform .3s; }
.race-card.flicker { box-shadow: inset 0 0 0 2px #fff; transform: scale(1.01); }
.race-card.picked { box-shadow: inset 0 0 0 2px var(--gold), 0 24px 70px -24px rgba(255,214,10,.7); animation: thump .6s cubic-bezier(.2,.8,.2,1); }

/* tournaments bracket preview */
.bracket-viz {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; align-items: stretch;
  max-width: 760px; margin: 0 auto 14px; overflow-x: auto; padding: 4px 2px 10px;
}
.bv-col { display: flex; flex-direction: column; justify-content: space-around; gap: 8px; }
.bv-slot {
  display: grid; place-items: center; text-align: center; min-height: 36px; padding: 6px 8px; border-radius: 12px;
  background: var(--surface); color: var(--text-2); font-weight: 900; font-size: 13px; letter-spacing: .08em;
}
.bv-slot small { display: block; font-size: 10px; color: var(--violet-2); letter-spacing: .06em; }
.bv-you { background: linear-gradient(135deg, var(--violet-1), var(--violet-2)); color: #fff; box-shadow: 0 10px 30px -10px var(--violet-2); }
.bv-you small { color: #fff; opacity: .8; }
.js .bv-you { animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(155,48,255,.25), 0 10px 30px -10px var(--violet-2); } }
.bv-path { box-shadow: inset 0 0 0 1px rgba(155,48,255,.6); color: #d1d1d6; }
.bv-crown { background: var(--gold); color: #000; min-height: 56px; font-size: 14px; letter-spacing: 0; }
@media (max-width: 480px) { .bv-slot { font-size: 11px; letter-spacing: .04em; padding: 6px 4px; } }
.bv-caption { text-align: center; color: var(--text-2-strong); margin-bottom: 36px; }
.bv-caption a { color: var(--accent); font-weight: 800; text-decoration: none; }

/* gold tape */
.tape--gold { background: linear-gradient(90deg, #ff9f0a, #ffd60a); transform: rotate(1.2deg) scale(1.02); }
.tape--gold span { color: #000; }
.tape--gold .tape-track { animation-direction: reverse; }

/* Ω row: a slow golden sheen */
.rank-row--omega { position: relative; overflow: hidden; }
.js .rank-row--omega::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255,214,10,.22) 50%, transparent 65%);
  transform: translateX(-100%); animation: sheen 4.5s ease-in-out infinite;
}
@keyframes sheen { 0%, 40% { transform: translateX(-100%); } 80%, 100% { transform: translateX(100%); } }

/* offer objections */
.objections { display: grid; gap: 12px; max-width: 1000px; margin: 28px auto 0; grid-template-columns: 1fr; }
@media (min-width: 800px) { .objections { grid-template-columns: repeat(3, 1fr); } }
.objection { background: var(--surface); border-radius: 18px; padding: 18px; display: grid; gap: 6px; }
.objection > span { font-size: 24px; }
.objection strong { font-size: 16px; }
.objection p { color: var(--text-2-strong); font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
  .js .flobbit .fb-body, .js .flobbit .fb-eyes, .js .bv-you, .js .rank-row--omega::after { animation: none; }
}
@media (max-width: 480px) { .bracket { gap: 3px; font-size: 12px; flex-wrap: nowrap; } .bracket b { padding: 6px 9px; } }

/* =================== /get-spun (one screen, straight to the point) =================== */
.gs {
  min-height: calc(100svh - var(--nav-h)); display: grid; place-items: center; align-content: center; gap: 16px;
  padding: 32px 16px 40px;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,214,10,.16), transparent 60%);
}
.gs-card {
  width: min(100%, 460px); text-align: center; display: grid; gap: 16px; justify-items: center;
  padding: 30px 22px 24px; border-radius: 30px;
  background: linear-gradient(170deg, #2a2300, var(--surface) 42%);
  box-shadow: inset 0 0 0 1.5px rgba(255,214,10,.45), 0 40px 100px -50px rgba(255,214,10,.6);
}
.gs-card h1 { font-size: clamp(36px, 10vw, 54px); font-weight: 900; letter-spacing: -0.035em; line-height: .98; }
.gs-price { font-size: 1.5em; background: linear-gradient(90deg, #ffd60a, #ff9f0a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gs-lead { font-size: 17px; color: #d1d1d6; font-weight: 600; }
.gs-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; text-align: left; width: 100%; max-width: 340px; }
.gs-list li { position: relative; padding-left: 30px; font-size: 16px; font-weight: 600; }
.gs-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--gold); color: #000; font-size: 12px; font-weight: 900; display: grid; place-items: center; }
.gs-cta { width: 100%; min-height: 60px; font-size: 18px; }
.gs-note { font-size: 13px; color: var(--text-2-strong); margin-top: -6px; }
.gs-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; counter-reset: gs; }
.gs-steps li { counter-increment: gs; font-size: 12px; font-weight: 800; padding: 6px 10px; border-radius: 999px; background: var(--surface-2); color: #d1d1d6; }
.gs-steps li::before { content: counter(gs) " · "; color: var(--gold); }
.gs-fine { font-size: 13px; color: var(--text-2); font-style: italic; }
.gs-more { font-size: 14px; color: var(--text-2); }
.gs-more a { color: var(--accent); font-weight: 700; text-decoration: none; }

/* =================== /links =================== */
.page-links { background: radial-gradient(ellipse at 50% -10%, rgba(155,48,255,.35), transparent 55%), #000; }
.links { min-height: 100svh; padding: 48px 18px 32px; display: grid; align-content: center; }
.links-wrap { max-width: 480px; margin: 0 auto; display: grid; gap: 14px; justify-items: center; text-align: center; }
.links-logo { text-decoration: none; }
.links-avatar {
  display: block; width: 104px; height: 104px; border-radius: 50%; overflow: hidden; position: relative;
  border: 0; padding: 0; background: #000; cursor: pointer;
  box-shadow: 0 0 0 3px #000, 0 0 0 5px var(--violet-2), 0 20px 50px -14px rgba(155,48,255,.8);
}
.links-avatar canvas { width: 100%; height: 100%; display: block; }
.links-title { font-size: 22px; font-weight: 900; letter-spacing: .14em; }
.links-tag { color: var(--text-2-strong); font-size: 15px; margin-top: -8px; }
.links-destiny {
  --tier: #9b30ff;
  width: 100%; padding: 16px; border-radius: 22px; display: grid; gap: 6px; justify-items: center;
  background: rgba(28,28,30,.8); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  transition: box-shadow .4s;
}
.links-destiny.decided { box-shadow: inset 0 0 0 1.5px var(--tier), 0 20px 60px -30px var(--tier); animation: thump .5s cubic-bezier(.2,.8,.2,1); }
.ld-label { font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--text-2-strong); }
.ld-value { font-size: 30px; font-weight: 900; line-height: 1.1; }
.ld-value small { font-size: 14px; color: var(--text-2-strong); font-weight: 800; }
.ld-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 4px; }
.ld-actions .btn { min-height: 44px; font-size: 15px; }
.links-list { width: 100%; display: grid; gap: 10px; margin-top: 4px; }
.link-card {
  display: flex; align-items: center; gap: 14px; text-align: left; text-decoration: none;
  padding: 14px 18px; border-radius: 18px; background: var(--surface);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
  transition: transform .2s cubic-bezier(.2,.8,.2,1), background .2s;
}
.link-card:hover { background: var(--surface-2); transform: translateY(-2px); }
.link-card:active { transform: scale(.98); }
.link-card > span:first-child { font-size: 26px; width: 34px; text-align: center; flex: none; }
.link-card strong { display: block; font-size: 17px; }
.link-card { min-height: 64px; }
.link-card small { display: block; font-size: 13px; color: var(--text-2-strong); }
.link-card--gold { background: linear-gradient(135deg, #ffd60a, #ff9f0a); color: #000; box-shadow: 0 16px 44px -16px rgba(255,214,10,.7); }
.link-card--gold small { color: rgba(0,0,0,.72); }
.link-card--gold:hover { background: linear-gradient(135deg, #ffe14a, #ffb02e); }
.links-site { margin-top: 8px; color: var(--text-2-strong); font-size: 14px; font-weight: 700; text-decoration: none; }
.footer--slim { margin-top: 70px; padding: 24px 0 28px; }
.footer--slim .footer-bottom { margin-top: 0; justify-content: center; text-align: center; }
.nav-menu .btn[aria-current] { background: var(--accent-strong); color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); }

/* logo */
.logo { align-items: center; }
.logo-ico { width: 28px; height: 28px; display: block; margin-right: -2px; }
.footer-logo { width: 56px; height: 56px; display: block; margin-bottom: 10px; }
.links-avatar { display: grid; place-items: center; background: #000; text-decoration: none; }
.links-avatar img { width: 72px; height: 72px; display: block; margin-top: -4px; transition: transform .3s cubic-bezier(.3,1.6,.5,1); }
.links-avatar:hover img { transform: rotate(-6deg) scale(1.06); }

/* =================== RESTRUCTURE: rules page, slimmer home =================== */
@media (max-width: 520px) { .hero .btn-row .btn { grid-column: 1 / -1; } }
.trial-race { font-size: 15px; color: var(--text-2-strong); margin-top: -6px; }
.trial-race strong { color: #fff; }
.trial-race-pct { font-size: 13px; color: var(--text-2); font-weight: 700; }
.get-spun .gs-card, .rules-cta .gs-card { margin: 0 auto; }
.gs-h { margin: 0; font-size: clamp(36px, 10vw, 54px); font-weight: 900; letter-spacing: -0.035em; line-height: .98; }
.vision-close .mini-link { font-size: 16px; }

.rules-block { padding: 48px 0 8px; scroll-margin-top: calc(var(--nav-h) + 8px); }
.rules-block h2 { font-size: clamp(28px, 6vw, 40px); font-weight: 900; margin-bottom: 18px; display: flex; align-items: baseline; gap: 12px; }
.rules-block h2 span { font-size: 14px; font-weight: 800; letter-spacing: .14em; color: var(--accent); }
.rules-lead { color: var(--text-2-strong); font-size: 17px; max-width: 640px; margin-bottom: 22px; }
.rule-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .rule-list { grid-template-columns: repeat(2, 1fr); } }
.rule-list li { background: var(--surface); border-radius: var(--radius-sm); padding: 16px 18px; color: var(--text-2-strong); font-size: 15px; }
.rule-list li strong { display: block; color: #fff; font-size: 17px; margin-bottom: 2px; }
.rules-block .cascade-line { margin-top: 0; }
.rules-block .fine-print { text-align: left; }
.page-rules .bestiary-controls { justify-items: start; }
.page-rules .race-card p { font-size: 14px; }
.race-pct { font-size: 20px; }
.arch-rows { display: grid; gap: 12px; }
.arch-row { background: var(--surface); border-radius: var(--radius-sm); padding: 16px 18px; display: grid; gap: 10px; }
.arch-row-head { display: flex; gap: 10px; align-items: center; }
.arch-row-head > span:not(.tier-chip) { color: var(--text-2); font-size: 13px; font-weight: 700; }
.arch-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.arch-chips li { background: var(--surface-2); padding: 6px 12px; border-radius: 999px; font-size: 14px; font-weight: 700; cursor: default; }
.page-rules .ranks { margin: 0; max-width: none; }
.page-rules .rank-row { padding: 10px 16px 12px 12px; }
.rules-cta { padding: 64px 0 40px; }
@media (max-width: 719px) {
  .loop-step { grid-template-columns: 40px 1fr; column-gap: 14px; row-gap: 2px; padding: 16px 18px; }
  .loop-step .loop-ico { grid-row: span 3; font-size: 28px; }
  .loop-step h3 { font-size: 20px; }
  .loop-step p { font-size: 14px; }
}

/* =================== COLOUR PASS: monochrome premium, gold only for the rare =================== */
.btn--gold { background: #fff; color: #000; box-shadow: none; }
.btn--gold:hover { background: #e5e5ea; filter: none; }
.gs-card {
  background: var(--surface);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), 0 40px 100px -60px rgba(0,0,0,.9);
}
.gs-price { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #fff; }
.gs-list li::before { background: #fff; color: #000; }
.gs-steps li::before { color: var(--accent); }
.gs { background: radial-gradient(ellipse at 50% 0%, rgba(155,48,255,.12), transparent 60%); }
.get-spun { background: none; }
.cta-bar { box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 20px 50px -10px rgba(0,0,0,.9); }
.link-card--gold { background: #fff; color: #000; box-shadow: none; }
.link-card--gold:hover { background: #e5e5ea; }
.link-card--gold small { color: rgba(0,0,0,.62); }
.locked { background: rgba(0,0,0,.25); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.locked-eyebrow { color: var(--text-2-strong); }
.locked-grid li.locked-extra { background: var(--surface-2); color: #fff; }
.mini-wheel { background: conic-gradient(#fff var(--p), rgba(255,255,255,.12) 0); }
.combo-odds { color: #fff; }
.loop-step:nth-child(3) { box-shadow: none; background: var(--surface); }

/* =================== JOIN =================== */
.join-big { font-size: clamp(22px, 4.6vw, 32px); font-weight: 800; line-height: 1.25; letter-spacing: -0.01em; max-width: 820px; }
.status-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 760px; }
.status-list li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; background: var(--surface); border-radius: var(--radius-sm); padding: 16px 18px; }
.status-list li > span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; background: var(--surface-2); color: var(--text-2); }
.status-list li.is-done > span { background: #fff; color: #000; }
.status-list li.is-live > span { background: var(--violet-2); color: #fff; }
.js .status-list li.is-live > span { animation: pulse 2.2s ease-in-out infinite; }
.status-list strong { font-size: 17px; }
.status-list p { color: var(--text-2-strong); font-size: 15px; }
.status-list a { color: var(--accent); font-weight: 700; text-decoration: none; }
.ways { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .ways { grid-template-columns: repeat(2, 1fr); } }
.way {
  display: grid; gap: 6px; align-content: start; text-align: left; text-decoration: none; color: #fff;
  background: var(--surface); border: 0; border-radius: var(--radius); padding: 22px; cursor: pointer; font: inherit;
  transition: transform .2s cubic-bezier(.2,.8,.2,1), background .2s;
}
.way:hover { background: var(--surface-2); transform: translateY(-2px); }
.way-ico { font-size: 30px; }
.way strong { font-size: 20px; font-weight: 900; }
.way p { color: var(--text-2-strong); font-size: 15px; }
.way--main { background: #fff; color: #000; }
.way--main:hover { background: #e5e5ea; }
.way--main p { color: rgba(0,0,0,.65); }


/* ==========================================================================
   ALIVE — personality layer (v1)
   ========================================================================== */
/* marker scribble under a word */
.scribble { position: relative; display: inline-block; white-space: nowrap; }
.scribble-svg {
  position: absolute; left: -3%; bottom: -.06em; width: 106%; height: .24em; overflow: visible; pointer-events: none;
}
.scribble-svg path {
  fill: none; stroke: var(--violet-2); stroke-width: 5; stroke-linecap: round; vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s cubic-bezier(.6,.1,.2,1);
  filter: drop-shadow(0 0 6px rgba(155,48,255,.6));
}
.scribble.is-drawn .scribble-svg path { stroke-dashoffset: 0; }
h1 .scribble-svg path { stroke-width: 7; }

/* Flobbit cameo: peeks in from the bottom-left corner once per visit */
.flobbit--cameo {
  position: fixed; left: 14px; bottom: calc(-8px + env(safe-area-inset-bottom)); z-index: 58;
  width: 78px; aspect-ratio: 120 / 104;
  translate: 0 110%; rotate: 14deg;
  transition: translate .6s cubic-bezier(.3,1.5,.5,1), rotate .6s cubic-bezier(.3,1.5,.5,1);
}
.flobbit--cameo.is-in { translate: 0 18%; rotate: 8deg; }
.flobbit--cameo .fb-bubble { left: 72%; right: auto; border-radius: 16px 16px 16px 4px; transform-origin: bottom left; }
@media (max-width: 860px) { .flobbit--cameo { bottom: calc(64px + env(safe-area-inset-bottom)); width: 64px; } .flobbit--cameo.is-in { translate: 0 0; } }

@media (prefers-reduced-motion: reduce) {
  .scribble-svg path { transition: none; }
}

/* free trial: the race you already got, made obvious */
.trial-race {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center;
  margin: 0 auto; padding: 8px 14px 8px 8px; border-radius: 999px;
  background: rgba(155,48,255,.14); border: 1px solid rgba(155,48,255,.45);
  font-size: 15px; color: #fff;
}
.trial-race .tr-k {
  font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  background: var(--violet-2); color: #fff; padding: 5px 10px; border-radius: 999px;
}
.trial-race strong { font-size: 17px; }
.trial-race.is-new { animation: race-pop .7s cubic-bezier(.3,1.5,.5,1); }
@keyframes race-pop { 0% { scale: .85; box-shadow: 0 0 0 0 rgba(155,48,255,.7); } 60% { scale: 1.04; } 100% { scale: 1; box-shadow: 0 0 0 14px rgba(155,48,255,0); } }

/* social cards: real platform icons */
.social-ico { display: block; width: 34px; height: 34px; margin: 0 auto 4px; }
.social-ico svg { width: 100%; height: 100%; display: block; }
@media (prefers-reduced-motion: reduce) { .trial-race.is-new { animation: none; } }
.gs-list { max-width: 380px; }
.gs-list li.gs-tease { color: var(--text-2-strong); font-style: italic; }
.gs-list li.gs-tease::before { content: "?"; background: var(--violet-2); color: #fff; font-style: normal; }

.hero h1, .hero-sub, .hero .eyebrow { text-shadow: 0 2px 18px rgba(0,0,0,.85); }
@media (max-width: 700px) { .hero-wheel { opacity: .9; } }
.hero-slogan { font-size: clamp(20px, 4.2vw, 26px); line-height: 1.3; font-style: italic; color: #d1d1d6; }
.hero-slogan strong { font-style: normal; font-weight: 800; }
.slogan-sign { display: block; margin-top: 8px; font-size: 12px; font-style: normal; font-weight: 800; letter-spacing: .32em; color: var(--text-2); }
.footer-flob { font-style: italic; color: var(--text-2); margin-top: 6px; }
.hero-slogan { text-wrap: balance; max-width: 620px; }

/* compact footer */
.footer { padding: 40px 0 28px; }
.footer-inner { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
.footer-brand { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; }
.footer-logo { width: 44px; height: 44px; margin: 0; grid-row: span 2; }
.footer-brand strong { font-size: 24px; line-height: 1; }
.footer-brand .eyebrow { margin-top: 4px; }
.footer-brand p { grid-column: 1 / -1; max-width: 520px; }
.footer-brand p.footer-flob { margin-top: 6px; }
@media (min-width: 760px) {
  .footer-inner { grid-template-columns: minmax(0, 1fr) auto auto; column-gap: 64px; align-items: start; }
  .footer-brand { grid-column: auto; }
}
.footer-bottom { margin-top: 28px; }
@media (max-width: 759px) { .footer-bottom { padding-right: 64px; } }
/* menu CTA in NSTW violet */
.nav-menu .btn, .nav-menu .btn[aria-current] { background: #7a1fe0; }
.nav-menu .btn:hover { background: #8b34f2; }

/* ==========================================================================
   HERO SPIN MOMENT (v27): the visitor breaks rule #1 themselves
   ========================================================================== */
.destiny-break {
  justify-self: center; margin-top: 4px; min-height: 46px; padding: 0 26px;
  background: #7a1fe0; color: #fff; font-weight: 800;
  box-shadow: 0 0 0 0 rgba(155,48,255,.6);
  animation: break-pulse 2.2s ease-in-out infinite;
}
.destiny-break:hover { background: #8b34f2; }
@keyframes break-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(155,48,255,.55); } 60% { box-shadow: 0 0 0 14px rgba(155,48,255,0); } }
.destiny:has(.destiny-break:not([hidden])) { cursor: pointer; }
.destiny-next { font-size: 14px; font-weight: 700; color: var(--violet-ink, #c9a2ff); text-decoration: none; justify-self: center; }
.destiny-next:hover { color: #fff; }

/* while the wheel decides: everything else steps back, the wheel takes the stage */
.hero .eyebrow, .hero h1, .hero-slogan, .hero .btn-row { transition: opacity .5s ease, filter .5s ease; }
.hero.is-deciding .eyebrow, .hero.is-deciding h1, .hero.is-deciding .hero-slogan, .hero.is-deciding .btn-row { opacity: .12; filter: blur(2px); }
.hero.is-deciding .hero-wheel {
  opacity: 1; scale: 1.08;
  -webkit-mask-image: radial-gradient(circle at center, #000 38%, rgba(0,0,0,.7) 55%, transparent 72%);
          mask-image: radial-gradient(circle at center, #000 38%, rgba(0,0,0,.7) 55%, transparent 72%);
}
.hero.is-deciding::after { background: radial-gradient(ellipse at 50% 45%, rgba(0,0,0,0) 20%, rgba(0,0,0,.6) 75%); transition: background .5s; }
.hero.is-deciding .destiny { box-shadow: inset 0 0 0 1.5px #9b30ff, 0 0 60px -10px rgba(155,48,255,.7); }
.hero.is-deciding .destiny-value { color: #fff; }

/* the landing */
.destiny-value.slam { animation: slam .55s cubic-bezier(.2,1.6,.4,1); }
@keyframes slam { 0% { scale: 1.9; opacity: 0; filter: blur(6px); } 60% { scale: .94; opacity: 1; filter: none; } 100% { scale: 1; } }
.hero.shake .hero-content { animation: hero-shake .38s cubic-bezier(.36,.07,.19,.97); }
@keyframes hero-shake { 10%, 90% { translate: -1px 0; } 20%, 80% { translate: 3px 0; } 30%, 50%, 70% { translate: -5px 0; } 40%, 60% { translate: 5px 0; } }
@media (prefers-reduced-motion: reduce) { .destiny-break { animation: none; } }

/* Join: the four rites (no links, just the ways in) */
.rites { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: 1fr; counter-reset: none; }
@media (min-width: 720px) { .rites { grid-template-columns: repeat(2, 1fr); } }
.rite {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 26px 24px 24px; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(122,31,224,.16), rgba(28,28,30,.9) 45%), var(--surface);
  border: 1px solid rgba(155,48,255,.22);
  display: grid; gap: 10px; align-content: start;
}
.rite::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 2px; background: linear-gradient(90deg, #9b30ff, transparent 70%); }
.rite-num {
  position: absolute; right: 18px; top: -6px; z-index: -1;
  font-size: 110px; font-weight: 900; line-height: 1; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(155,48,255,.35);
  font-family: Georgia, "Times New Roman", serif;
}
.rite-ico {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 26px;
  background: rgba(155,48,255,.16); box-shadow: inset 0 0 0 1px rgba(155,48,255,.35);
}
.rite h3 { font-size: 22px; font-weight: 900; letter-spacing: -.01em; margin-top: 6px; }
.rite p { color: var(--text-2-strong); font-size: 15px; line-height: 1.55; max-width: 44ch; }
#hero-cta.is-official { background: #7a1fe0; color: #fff; box-shadow: 0 10px 40px -12px rgba(155,48,255,.8); }
#hero-cta.is-official:hover { background: #8b34f2; }

/* ==========================================================================
   PUNCH (v34): clear title / text hierarchy, violet accents on key words
   ========================================================================== */
.hl {
  background: linear-gradient(92deg, #c48bff 0%, #9b30ff 60%, #7a1fe0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 24px rgba(155,48,255,.35));
}
.section-head p, .page-head p { color: var(--text-2); font-size: 17px; font-weight: 400; max-width: 560px; margin-inline: auto; }

/* offer card */
.gs-card { border: 1px solid rgba(155,48,255,.28); background: radial-gradient(ellipse at 50% -10%, rgba(122,31,224,.28), transparent 55%), var(--surface); box-shadow: 0 30px 90px -40px rgba(155,48,255,.55); }
.gs-eyebrow { color: #c9a2ff; }
.gs-price {
  display: inline-block; font-size: 1.7em; letter-spacing: -.05em;
  background: linear-gradient(180deg, #e3cbff 0%, #9b30ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 8px 30px rgba(155,48,255,.55));
}
.gs-lead { font-size: 16px; font-weight: 400; color: var(--text-2-strong); font-style: italic; max-width: 34ch; margin-inline: auto; }
.gs-list li { font-weight: 600; color: #fff; }
.gs-list li::before { background: #7a1fe0; color: #fff; }
.gs-list li.gs-tease { font-weight: 500; color: var(--text-2-strong); }
.gs-list li.gs-tease::before { background: transparent; box-shadow: inset 0 0 0 1.5px #9b30ff; color: #c9a2ff; }

/* anchors land cleanly under the sticky nav */
.rules-block, [id^="race-"], .section { scroll-margin-top: calc(var(--nav-h) + 16px); }
/* vision line: same breathing room above and below */
#season { padding-bottom: 0; }
#season .vision-close { margin-top: 80px; }
#season + #spin { padding-top: 80px; }
