:root {
  --bg: #04070f;
  --bg-2: #070c19;
  --card: #0a1122;
  --card-2: #0e172c;
  --line: rgba(140, 170, 255, .1);
  --line-2: rgba(79, 140, 255, .35);
  --text: #eef3ff;
  --muted: #8493b5;
  --blue: #4f8cff;
  --blue-2: #2b5fff;
  --cyan: #3fe0ff;
  --pink: #ff3d9a;
  --gold: #ffd36a;
  --silver: #cbd5e6;
  --bronze: #e39a6b;
  --display: 'Sora', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --r: 22px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { background: var(--bg); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.wrap { width: min(1240px, 100% - 40px); margin-inline: auto; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.accent { color: var(--blue); } .cyan { color: var(--cyan); } .pink { color: var(--pink); } .gold { color: var(--gold); }
.muted { color: var(--muted); }
::selection { background: var(--blue); color: #fff; }

/* ───────── Buttons ───────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: 14px; font-weight: 700; font-size: 15px; white-space: nowrap; transition: transform .2s, box-shadow .25s, background .2s, border-color .2s; }
.btn-sm { padding: 10px 16px; font-size: 13px; border-radius: 11px; }
.btn-lg { padding: 19px 34px; font-size: 17px; }
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: #fff; box-shadow: 0 10px 40px -10px rgba(79, 140, 255, .8), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 5px rgba(79, 140, 255, .16), 0 18px 50px -10px rgba(79, 140, 255, 1), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-ghost { border: 1px solid var(--line); background: rgba(140, 170, 255, .04); }
.btn-ghost:hover { border-color: var(--line-2); background: rgba(79, 140, 255, .1); }
.btn-kick { background: #53fc18; color: #061a00; }
.btn-kick:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -12px rgba(83, 252, 24, .8); }
.btn code { font-family: var(--mono); font-size: .8em; padding: 3px 8px; border-radius: 7px; background: rgba(255, 255, 255, .18); }

/* ───────── Nav ───────── */
.nav { position: fixed; inset: 14px 0 auto; z-index: 50; width: min(1240px, 100% - 28px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 9px 10px 9px 12px; border-radius: 18px; border: 1px solid var(--line); background: rgba(4, 7, 15, .82); backdrop-filter: blur(20px) saturate(1.4); transition: background .3s, border-color .3s; }
.nav.scrolled { background: rgba(6, 10, 22, .9); }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
.brand img { width: 38px; height: 38px; border-radius: 12px; object-fit: cover; object-position: 50% 22%; border: 1px solid var(--line-2); }
.brand i { font-style: normal; color: var(--blue); }
.nav-links { display: flex; gap: 2px; }
.nav-links a { padding: 8px 14px; border-radius: 10px; font-family: var(--body); font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--muted); white-space: nowrap; transition: .2s; }
.nav-links a:hover { color: var(--text); background: rgba(140, 170, 255, .07); }
.nav-links a.active { color: #fff; background: rgba(79, 140, 255, .16); }
.nav-cta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.live-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; border: 1px solid var(--line); color: var(--muted); }
.live-chip i { width: 8px; height: 8px; border-radius: 50%; background: #56627f; }
.live-chip.on { color: #fff; border-color: rgba(255, 61, 90, .5); background: rgba(255, 61, 90, .12); }
.live-chip.on i { background: #ff3d5a; box-shadow: 0 0 0 0 rgba(255, 61, 90, .7); animation: pulse 1.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(255, 61, 90, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 61, 90, 0); } }
.burger { display: none; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); transition: .25s; }
.burger span:first-child { top: 15px; } .burger span:last-child { top: 23px; }
.burger.open span:first-child { top: 19px; transform: rotate(45deg); } .burger.open span:last-child { top: 19px; transform: rotate(-45deg); }

/* ───────── Hero ───────── */
.hero { position: relative; padding: 130px 0 0; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(140, 170, 255, .16) 1px, transparent 1px); background-size: 28px 28px; mask-image: radial-gradient(ellipse 75% 65% at 65% 35%, #000, transparent 75%); }
.orb { position: absolute; border-radius: 50%; filter: blur(130px); }
.orb-a { width: 760px; height: 560px; right: -160px; top: 40px; background: rgba(43, 95, 255, .42); animation: drift 16s ease-in-out infinite alternate; }
.orb-b { width: 460px; height: 460px; left: -200px; top: 380px; background: rgba(63, 224, 255, .1); }
.orb-c { width: 380px; height: 300px; right: 18%; top: 420px; background: rgba(255, 61, 154, .16); animation: drift 20s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(-70px, 40px) scale(1.1); } }

.hero-inner > * { min-width: 0; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; min-height: min(740px, 84vh); padding-bottom: 70px; }
.hero-title { font-family: 'Syne', 'Arial Black', sans-serif; font-weight: 800; font-size: clamp(50px, 6.7vw, 100px); line-height: .9; white-space: nowrap; letter-spacing: -.06em; margin: 22px 0 18px -.04em; background: linear-gradient(180deg, #fff 20%, #9dbdff 60%, var(--blue-2)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 60px rgba(79, 140, 255, .45)); }
.hero-kicker { font-family: var(--mono); font-size: 13px; letter-spacing: .34em; text-transform: uppercase; color: var(--cyan); }
.hero-sub { max-width: 500px; font-size: 18px; color: #b3c0de; margin-top: 18px; }
.hero-sub b { color: #fff; }
.code-chip { display: inline-flex; align-items: center; gap: 14px; margin-top: 28px; padding: 8px 8px 8px 18px; border-radius: 16px; border: 1px dashed var(--line-2); background: rgba(79, 140, 255, .07); transition: .2s; }
.code-chip:hover { background: rgba(79, 140, 255, .14); border-style: solid; }
.code-chip small { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.code-chip b { font-family: var(--mono); font-size: 24px; letter-spacing: .08em; color: #fff; text-shadow: 0 0 24px rgba(79, 140, 255, .9); }
.code-chip em { font-style: normal; font-size: 12px; font-weight: 700; padding: 9px 14px; border-radius: 11px; background: var(--blue); color: #fff; min-width: 74px; text-align: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 40px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 14px 44px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-stats dt { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 700; }
.hero-stats dd { font-family: var(--mono); font-weight: 700; font-size: 26px; }

.hero-art { position: relative; justify-self: center; width: min(100%, 520px); }
.avatar-frame { position: relative; border-radius: 36px; padding: 3px; background: linear-gradient(140deg, var(--cyan), var(--blue-2) 40%, var(--pink)); transform: rotate(2.5deg); box-shadow: 0 50px 120px -30px rgba(43, 95, 255, .7), 0 0 90px -20px rgba(255, 61, 154, .35); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.avatar-frame:hover { transform: rotate(0) scale(1.015); }
.avatar-frame img { border-radius: 33px; aspect-ratio: 1; object-fit: cover; width: 100%; }
.avatar-frame::after { content: ''; position: absolute; inset: 3px; border-radius: 33px; background: linear-gradient(transparent 60%, rgba(4, 7, 15, .75)); pointer-events: none; }
.float-card { position: absolute; z-index: 3; display: grid; gap: 1px; padding: 13px 17px; border-radius: 16px; background: rgba(7, 12, 25, .82); backdrop-filter: blur(14px); border: 1px solid var(--line-2); box-shadow: 0 20px 50px -18px #000; animation: bob 6s ease-in-out infinite; }
.fc-1 { left: -5%; top: -4%; } .fc-2 { right: -7%; bottom: 14%; animation-delay: -3s; }
.fc-label { font-size: 10px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 700; }
.fc-value { font-family: var(--mono); font-weight: 700; font-size: 20px; }
.fc-meta { font-size: 12px; color: #a9c4ff; }
@keyframes bob { 50% { transform: translateY(-12px); } }

.ticker { border-block: 1px solid var(--line-2); background: linear-gradient(90deg, var(--blue-2), var(--blue), var(--blue-2)); overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ticker-track span { padding: 13px 26px; font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.ticker-track span::after { content: '◆'; margin-left: 52px; opacity: .55; font-size: 10px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ───────── Sections ───────── */
.section { padding: 110px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-block: 1px solid var(--line); }
.section-head { max-width: 660px; margin-bottom: 46px; }
.section-head.row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.eyebrow { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .2em; color: var(--cyan); }
h1.page-title, h2 { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 5.2vw, 66px); line-height: 1.05; letter-spacing: -.03em; margin: 14px 0 16px; }
h1.page-title { font-size: clamp(38px, 5.6vw, 80px); overflow-wrap: anywhere; }
.section-head p, .lead { color: var(--muted); font-size: 17px; }
.page-hero { padding: 150px 0 50px; position: relative; overflow: hidden; isolation: isolate; }

/* ───────── Bonus bento ───────── */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.b-card { position: relative; grid-column: span 3; display: flex; flex-direction: column; padding: 30px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: transform .3s, border-color .3s; }
.b-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.b-card::before { content: ''; position: absolute; width: 320px; height: 320px; right: -120px; top: -140px; border-radius: 50%; background: var(--glow, rgba(79, 140, 255, .22)); filter: blur(60px); transition: opacity .3s; opacity: .7; }
.b-card:hover::before { opacity: 1; }
.b-card > * { position: relative; }
.b-tag { align-self: flex-start; padding: 5px 11px; border-radius: 8px; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: rgba(79, 140, 255, .14); color: #a9c4ff; border: 1px solid var(--line-2); }
.b-amount { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -.04em; margin: 20px 0 6px; }
.b-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 16px; }
.b-card ol { list-style: none; display: grid; gap: 10px; margin-bottom: 26px; counter-reset: s; }
.b-card li { display: flex; gap: 12px; color: #b3c0de; font-size: 15px; counter-increment: s; }
.b-card li::before { content: counter(s); flex: none; width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; font-family: var(--mono); font-size: 12px; font-weight: 700; background: rgba(140, 170, 255, .1); color: #fff; }
.b-card .btn { margin-top: auto; align-self: flex-start; }
.b-card.pink { --glow: rgba(255, 61, 154, .2); } .b-card.pink .b-tag { background: rgba(255, 61, 154, .12); color: #ff9cc9; border-color: rgba(255, 61, 154, .4); }
.b-card.gold { --glow: rgba(255, 211, 106, .16); } .b-card.gold .b-tag { background: rgba(255, 211, 106, .1); color: var(--gold); border-color: rgba(255, 211, 106, .4); }
.b-card.cyan { --glow: rgba(63, 224, 255, .18); } .b-card.cyan .b-tag { background: rgba(63, 224, 255, .1); color: var(--cyan); border-color: rgba(63, 224, 255, .4); }

/* ───────── Steps ───────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { padding: 32px 28px 34px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); transition: .3s; }
.step:hover { border-color: var(--line-2); transform: translateY(-4px); }
.step-n { display: block; font-family: var(--mono); font-weight: 700; font-size: 72px; letter-spacing: -.06em; line-height: 1; margin-bottom: 22px; color: var(--card); -webkit-text-stroke: 2.5px rgba(79, 140, 255, .55); paint-order: stroke fill; }
.step h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--muted); }

/* ───────── Leaderboard ───────── */
.lb-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: 46px; }
.lb-head .section-head { margin: 0; flex: 1 1 420px; min-width: 0; }
.countdown { display: flex; gap: 8px; }
.countdown div { min-width: 66px; padding: 10px 8px; text-align: center; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.countdown b { display: block; font-family: var(--mono); font-size: 25px; }
.countdown span { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.cd-label { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; text-align: right; }

.podium { display: grid; grid-template-columns: 1fr 1.14fr 1fr; gap: 16px; align-items: end; margin-bottom: 18px; }
.pod { --c: var(--silver); position: relative; padding: 30px 22px 26px; border-radius: var(--r); text-align: center; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 13%, transparent), transparent 60%), var(--card); border: 1px solid color-mix(in srgb, var(--c) 38%, transparent); }
.pod.p1 { --c: var(--gold); padding-block: 46px 34px; order: 2; box-shadow: 0 30px 90px -40px rgba(255, 211, 106, .55); }
.pod.p2 { order: 1; } .pod.p3 { --c: var(--bronze); order: 3; }
.pod-rank { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 18px; display: grid; place-items: center; font-family: var(--mono); font-weight: 700; font-size: 24px; color: #0a0a0a; background: var(--c); box-shadow: 0 0 40px color-mix(in srgb, var(--c) 50%, transparent); transform: rotate(-4deg); }
.pod-user { font-family: var(--mono); font-weight: 700; font-size: 16px; }
.pod-prize { font-family: var(--mono); font-weight: 700; font-size: clamp(30px, 3.6vw, 46px); color: var(--c); margin: 6px 0 14px; }
.pod-wager { display: grid; gap: 2px; padding-top: 14px; border-top: 1px solid var(--line); }
.pod-wager b { font-family: var(--mono); font-size: 16px; }
.pod-wager span { font-size: 10px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }

.lb-table { border-radius: var(--r); border: 1px solid var(--line); background: var(--card); overflow: hidden; }
.lb-row { display: grid; grid-template-columns: 80px 1.1fr 1.5fr 120px; align-items: center; gap: 12px; padding: 15px 26px; border-top: 1px solid var(--line); transition: background .2s; }
.lb-row:not(.lb-row-head):hover { background: rgba(79, 140, 255, .06); }
.lb-row-head { border-top: 0; font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 700; background: rgba(140, 170, 255, .03); }
.lb-row > :last-child { text-align: right; }
.lb-place { font-family: var(--mono); font-weight: 700; color: var(--muted); }
.lb-user { font-family: var(--mono); font-weight: 700; }
.lb-wager { display: grid; gap: 6px; font-family: var(--mono); }
.lb-wager i { display: block; height: 3px; border-radius: 9px; min-width: 2px; background: linear-gradient(90deg, var(--blue-2), var(--cyan)); }
.lb-prize { font-family: var(--mono); font-weight: 700; color: var(--cyan); }
.lb-empty { padding: 44px; text-align: center; color: var(--muted); }
.seg { display: inline-flex; padding: 4px; border-radius: 13px; border: 1px solid var(--line); background: var(--card); }
.seg button { padding: 8px 16px; border-radius: 10px; font-size: 13px; font-weight: 700; color: var(--muted); transition: .2s; }
.seg button.on { background: var(--blue); color: #fff; }

/* ───────── Proof ───────── */
.proof { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; }
.proof-main { padding: 44px; border-radius: var(--r); border: 1px solid var(--line-2); background: radial-gradient(110% 130% at 100% 0%, rgba(43, 95, 255, .3), transparent 55%), var(--card); }
.proof-num { font-family: var(--mono); font-weight: 700; font-size: clamp(54px, 9vw, 124px); line-height: 1; letter-spacing: -.04em; margin: 16px 0 12px; background: linear-gradient(180deg, #fff 30%, #8db4ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.proof-side { display: grid; gap: 16px; }
.stat-card { padding: 28px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.stat-label { font-size: 11px; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); font-weight: 700; }
.stat-value { font-family: var(--mono); font-weight: 700; font-size: 38px; margin-top: 8px; }

/* ───────── Cards grid (shop / challenges) ───────── */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.item { display: flex; flex-direction: column; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: transform .3s, border-color .3s, box-shadow .3s; }
.item:hover { transform: translateY(-5px); border-color: var(--line-2); box-shadow: 0 30px 60px -30px rgba(43, 95, 255, .7); }
.item-media { position: relative; aspect-ratio: 4 / 3; background: radial-gradient(circle at 50% 60%, rgba(79, 140, 255, .25), transparent 70%), var(--card-2); overflow: hidden; }
.item-media.tall { aspect-ratio: 1; }
.item-media.tall img { object-position: 50% 20%; }
.item-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.item:hover .item-media img { transform: scale(1.06); }
.item-badge { position: absolute; z-index: 2; top: 12px; left: 12px; padding: 5px 10px; border-radius: 8px; font-family: var(--mono); font-size: 11px; font-weight: 700; background: rgba(4, 7, 15, .78); backdrop-filter: blur(6px); border: 1px solid var(--line); }
.item-badge.hot { color: var(--pink); border-color: rgba(255, 61, 154, .5); }
.item-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; flex: 1; }
.item-provider { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.item-title { font-weight: 700; font-size: 16px; line-height: 1.3; }
.item-desc { font-size: 13px; color: var(--muted); }
.item-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding-top: 14px; }
.item-price { font-family: var(--mono); font-weight: 700; font-size: 18px; color: var(--cyan); }
.item-price small { font-size: 11px; color: var(--muted); font-weight: 500; }
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 26px; }
.search { flex: 1; min-width: 220px; padding: 13px 18px; border-radius: 13px; border: 1px solid var(--line); background: var(--card); color: var(--text); font: inherit; outline: none; transition: .2s; }
.search:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(79, 140, 255, .16); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 9px 15px; border-radius: 11px; border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--muted); transition: .2s; }
.chip:hover { color: var(--text); } .chip.on { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ───────── VIP ───────── */
.glance { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 34px; }
.glance div { padding: 18px 20px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.glance b { display: block; font-family: var(--mono); font-size: 22px; margin-top: 4px; }
.calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; }
.targets { display: grid; gap: 8px; }
.target { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; padding: 16px 22px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); text-align: left; transition: .2s; }
.target:hover { border-color: var(--line-2); }
.target.on { border-color: var(--blue); background: linear-gradient(90deg, rgba(79, 140, 255, .2), transparent 70%), var(--card); box-shadow: 0 0 50px -20px rgba(79, 140, 255, .9); }
.target span { font-family: var(--mono); font-weight: 700; font-size: 20px; }
.target small { display: block; font-family: var(--body); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--pink); }
.target b { font-family: var(--mono); font-size: 20px; color: var(--cyan); }
.calc-card { position: sticky; top: 100px; align-self: start; padding: 32px; border-radius: var(--r); border: 1px solid var(--line-2); background: radial-gradient(120% 100% at 100% 0%, rgba(43, 95, 255, .28), transparent 60%), var(--card); }
.calc-bonus { font-family: var(--mono); font-weight: 700; font-size: clamp(44px, 6vw, 72px); line-height: 1; margin: 8px 0 24px; color: #fff; text-shadow: 0 0 50px rgba(79, 140, 255, .8); }
.calc-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.calc-row b { font-family: var(--mono); color: var(--text); }
.range { width: 100%; margin: 6px 0 4px; accent-color: var(--blue); }
.perks { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.perk { padding: 22px 20px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.perk h3 { font-size: 15px; margin-bottom: 6px; } .perk p { font-size: 13px; color: var(--muted); }
.perk-ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; background: rgba(79, 140, 255, .14); color: var(--blue); font-size: 18px; }
.warn { padding: 28px 30px; border-radius: var(--r); border: 1px solid rgba(255, 61, 154, .35); background: rgba(255, 61, 154, .05); }
.warn h3 { font-size: 18px; margin-bottom: 12px; color: #ff9cc9; }
.warn li { margin-left: 18px; color: #c9b5c4; font-size: 15px; padding: 3px 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quote { padding: 34px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); font-size: 20px; font-weight: 500; line-height: 1.45; }
.quote cite { display: block; margin-top: 16px; font-size: 14px; font-style: normal; color: var(--muted); }

/* ───────── Socials / CTA / Footer ───────── */
.socials { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.social { --c: var(--blue); display: flex; flex-direction: column; gap: 4px; padding: 26px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); transition: .3s; }
.social:hover { transform: translateY(-4px); border-color: var(--c); box-shadow: 0 24px 60px -30px var(--c); }
.social svg { width: 30px; height: 30px; color: var(--c); margin-bottom: 18px; }
.social b { font-size: 18px; } .social span { font-size: 14px; color: var(--muted); }
.social em { margin-top: 16px; font-style: normal; font-size: 13px; font-weight: 700; color: var(--c); }
.cta { padding: 30px 0 110px; }
.cta-inner { position: relative; overflow: hidden; text-align: center; padding: 90px 24px; border-radius: 34px; border: 1px solid var(--line-2); background: radial-gradient(80% 130% at 50% 125%, rgba(43, 95, 255, .55), transparent 60%), radial-gradient(40% 60% at 85% 0%, rgba(255, 61, 154, .16), transparent 70%), var(--card); }
.cta-inner h2 { font-size: clamp(38px, 6.4vw, 84px); }
.cta-inner p { color: #b3c0de; max-width: 500px; margin: 0 auto 32px; font-size: 17px; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.footer { border-top: 1px solid var(--line); padding: 48px 0 40px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; font-weight: 600; font-size: 14px; color: var(--muted); }
.footer-links a:hover { color: var(--blue); }
.legal { display: flex; gap: 16px; align-items: flex-start; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12px; color: #5d6b8c; }
.legal a { text-decoration: underline; }
.age { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid #5d6b8c; display: grid; place-items: center; font-weight: 700; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .55s cubic-bezier(.2, .8, .2, 1), transform .55s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ───────── Responsive ───────── */
@media (max-width: 1100px) {
  .nav-links { position: fixed; inset: 78px 14px auto; flex-direction: column; padding: 12px; border-radius: 20px; background: rgba(6, 10, 22, .97); backdrop-filter: blur(18px); border: 1px solid var(--line); display: none; }
  .nav-links.open { display: flex; } .nav-links a { padding: 14px 16px; font-size: 16px; }
  .burger { display: block; }
  .grid { grid-template-columns: repeat(3, 1fr); } .perks { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .hero { padding-top: 110px; }
  .hero-inner { grid-template-columns: 1fr; min-height: 0; gap: 50px; }
  .hero-art { width: min(86%, 440px); }
  .bento, .steps, .proof, .calc, .two { grid-template-columns: 1fr; } .b-card { grid-column: auto; }
  .grid, .grid.three, .socials { grid-template-columns: repeat(2, 1fr); }
  .glance { grid-template-columns: repeat(2, 1fr); } .perks { grid-template-columns: repeat(2, 1fr); }
  .calc-card { position: static; }
  .section { padding: 80px 0; }
}
@media (max-width: 640px) {
  .nav-cta .live-chip, .nav .btn code { display: none; }
  .nav { gap: 8px; } .brand { font-size: 16px; }
  .podium { grid-template-columns: 1fr; } .pod.p1 { order: 1; } .pod.p2 { order: 2; }
  .lb-row { grid-template-columns: 44px 1fr auto; padding: 13px 16px; font-size: 14px; }
  .lb-row .lb-wager { display: none; } .lb-row-head span:nth-child(3) { display: none; }
  .grid, .grid.three { grid-template-columns: 1fr 1fr; gap: 10px; } .item-body { padding: 14px; } .item-title { font-size: 14px; }
  .item-foot { flex-direction: column; align-items: stretch; }
  .socials { grid-template-columns: 1fr; } .perks { grid-template-columns: 1fr; }
  .fc-1 { left: -4%; } .fc-2 { right: -4%; } .float-card { padding: 10px 13px; } .fc-value { font-size: 16px; }
  .proof-main { padding: 28px 22px; } .code-chip b { font-size: 20px; }
  .cd-label { text-align: left; } .countdown div { min-width: 58px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }

/* ═════════════════════ FX LAYER — v2 "Vegas at midnight" ═════════════════════ */
body::before { content: ''; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .07; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--cyan), var(--blue), var(--pink)); box-shadow: 0 0 14px var(--blue); }

/* Synthwave floor under every hero */
.hero-bg::after { content: ''; position: absolute; left: -60%; right: -60%; bottom: -2px; height: 52%; background-image: linear-gradient(rgba(79, 140, 255, .55) 1.5px, transparent 1.5px), linear-gradient(90deg, rgba(79, 140, 255, .55) 1.5px, transparent 1.5px); background-size: 80px 80px; transform: perspective(420px) rotateX(64deg); transform-origin: 50% 100%; animation: floor 2.6s linear infinite; mask-image: linear-gradient(transparent 5%, rgba(0, 0, 0, .55) 70%, #000); opacity: .5; }
@keyframes floor { to { background-position: 0 80px; } }
.page-hero .hero-bg::after { height: 300px; opacity: .28; }
#fxCanvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

/* Neon-sign title, full width, layered over the avatar */
.hero { padding-top: 104px; }
.hero-title { position: relative; z-index: 4; pointer-events: none; font-size: clamp(64px, 17.2vw, 252px); line-height: .8; letter-spacing: -.065em; margin: 0 0 -0.06em -.03em; white-space: nowrap; background: none; -webkit-background-clip: border-box; background-clip: border-box; filter: none; color: #f4f8ff; text-shadow: 0 0 4px #fff, 0 0 18px #8bb4ff, 0 0 44px #3d78ff, 0 0 90px #2b5fff, 0 0 160px rgba(43, 95, 255, .8); animation: hum 4s ease-in-out infinite; }
.hero-title .flick { animation: flick 6s linear infinite; }
@keyframes hum { 50% { text-shadow: 0 0 4px #fff, 0 0 14px #8bb4ff, 0 0 36px #3d78ff, 0 0 70px #2b5fff, 0 0 120px rgba(43, 95, 255, .6); } }
@keyframes flick { 0%, 41%, 43%, 47%, 49%, 100% { opacity: 1; } 42%, 48% { opacity: .25; } 44% { opacity: .7; } }
.hero-inner { min-height: 0; align-items: start; padding-top: 34px; }
.hero-art { margin-top: clamp(-150px, -9vw, -60px); width: min(100%, 560px); transform-style: preserve-3d; }
.hero-kicker { display: flex; align-items: center; gap: 14px; }
.hero-kicker::before { content: ''; width: 46px; height: 2px; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }

/* Slot reels (code + rolling numbers) */
.reel { display: inline-block; height: 1.2em; overflow: hidden; vertical-align: bottom; }
.reel-strip { display: flex; flex-direction: column; transition: transform var(--t, 1.4s) cubic-bezier(.12, .82, .22, 1.03); will-change: transform; }
.reel-strip i { height: 1.2em; line-height: 1.2em; font-style: normal; text-align: center; }
.spun .reel-strip { transform: translateY(calc(var(--n) * -1.2em)); }
.code-chip { position: relative; padding: 10px 10px 10px 20px; border: 1px solid var(--line-2); border-style: solid; background: linear-gradient(180deg, rgba(79, 140, 255, .14), rgba(79, 140, 255, .04)); box-shadow: inset 0 0 30px rgba(43, 95, 255, .25), 0 0 40px -12px rgba(79, 140, 255, .8); }
.code-chip b { display: inline-flex; gap: 3px; font-size: 26px; letter-spacing: 0; }
.code-chip b .reel { width: 1.05em; border-radius: 7px; background: #03060d; box-shadow: inset 0 6px 8px -4px #000, inset 0 -6px 8px -4px #000, 0 0 0 1px rgba(79, 140, 255, .4); }

/* Poker chips floating around the avatar */
.pchip { --c: var(--blue-2); position: absolute; z-index: 5; width: var(--s, 78px); aspect-ratio: 1; border-radius: 50%; background: repeating-conic-gradient(var(--c) 0 22.5deg, #f4f7ff 22.5deg 45deg); display: grid; place-items: center; box-shadow: 0 18px 34px -10px var(--c), inset 0 0 0 3px rgba(0, 0, 0, .28), inset 0 -6px 10px rgba(0, 0, 0, .35); animation: chipfloat 7s ease-in-out infinite; }
.pchip::after { content: attr(data-v); width: 68%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--c) 70%, #fff), var(--c)); border: 2px dashed rgba(255, 255, 255, .75); display: grid; place-items: center; font: 700 calc(var(--s, 78px) * .2) var(--mono); color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.pchip.c1 { right: -6%; top: 6%; --r: 18deg; } .pchip.c2 { --c: var(--pink); --s: 62px; left: -8%; bottom: 20%; --r: -22deg; animation-delay: -2.5s; } .pchip.c3 { --c: #12b886; --s: 52px; right: 12%; bottom: -5%; --r: 40deg; animation-delay: -4.5s; }
@keyframes chipfloat { 0%, 100% { transform: translateY(0) rotate(var(--r)) rotateX(18deg); } 50% { transform: translateY(-16px) rotate(calc(var(--r) + 14deg)) rotateX(-8deg); } }
.avatar-frame { transform: rotate(2.5deg); animation: framepulse 5s ease-in-out infinite; }
@keyframes framepulse { 50% { box-shadow: 0 50px 140px -30px rgba(43, 95, 255, .95), 0 0 120px -10px rgba(255, 61, 154, .5); } }
.avatar-frame::before { content: ''; position: absolute; inset: -40%; z-index: 2; border-radius: inherit; background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, .22) 50%, transparent 58%); transform: translateX(-60%); animation: sweep 6s ease-in-out infinite; pointer-events: none; mix-blend-mode: screen; }
.avatar-frame { overflow: hidden; }
@keyframes sweep { 0%, 55% { transform: translateX(-60%); } 85%, 100% { transform: translateX(60%); } }

/* Tilt + cursor glow */
.tilt { transform-style: preserve-3d; will-change: transform; }
.tilting { transition: transform .08s linear !important; animation-play-state: paused !important; }
.fx-glow { position: relative; }
.fx-glow::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(110, 165, 255, .2), transparent 60%); z-index: 1; }
.fx-glow:hover::after { opacity: 1; }
/* holographic sheen on prize cards */
.item .item-media::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .3s; mix-blend-mode: color-dodge; background: linear-gradient(115deg, transparent 20%, rgba(63, 224, 255, .55) 36%, rgba(255, 61, 154, .5) 50%, rgba(255, 211, 106, .45) 62%, transparent 80%); background-size: 250% 250%; background-position: var(--hx, 50%) var(--hy, 50%); }
.item:hover .item-media::after { opacity: .85; }
.item:hover { transform: none; }

/* Buttons: light sweep */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::before { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .45) 50%, transparent 65%); transform: translateX(-120%); animation: btnsweep 3.6s ease-in-out infinite; }
@keyframes btnsweep { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

/* Mega outline marquee between sections */
.mega { overflow: hidden; padding: 26px 0; border-block: 1px solid var(--line); background: var(--bg-2); }
.mega-track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.mega:nth-of-type(even) .mega-track, .mega.rev .mega-track { animation-direction: reverse; }
.mega span { font-family: var(--display); font-weight: 800; font-size: clamp(60px, 10vw, 150px); line-height: 1; letter-spacing: -.05em; padding-right: .5em; white-space: nowrap; color: var(--bg-2); -webkit-text-stroke: 3px rgba(79, 140, 255, .5); paint-order: stroke fill; }
.mega span.fill { color: #eaf1ff; -webkit-text-stroke: 0; text-shadow: 0 0 40px rgba(79, 140, 255, .9); }
.mega span.pinkt { -webkit-text-stroke-color: rgba(255, 61, 154, .6); }

/* Bento: animated conic border on hover */
@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.b-card { isolation: isolate; }
.b-card .b-ring { position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; z-index: -1; opacity: 0; transition: opacity .4s; background: conic-gradient(from var(--ang), transparent 0 60%, var(--cyan), var(--blue), var(--pink), transparent); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spinang 4s linear infinite; }
.b-card:hover .b-ring { opacity: 1; }
@keyframes spinang { to { --ang: 360deg; } }
.b-amount { background: linear-gradient(180deg, #fff, #9dbdff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.b-amount.gold { background-image: linear-gradient(180deg, #fff3c4, var(--gold) 60%, #b98a2c); } .b-amount.pink { background-image: linear-gradient(180deg, #ffd0e6, var(--pink)); }

/* Podium: spotlight, crown, shine */
.podium { perspective: 1200px; padding-top: 40px; }
.pod { overflow: hidden; }
.pod::after { content: ''; position: absolute; inset: -60%; background: linear-gradient(115deg, transparent 44%, color-mix(in srgb, var(--c) 35%, transparent) 50%, transparent 56%); transform: translateX(-70%); animation: sweep 7s ease-in-out infinite; pointer-events: none; }
.pod.p2::after { animation-delay: .6s; } .pod.p3::after { animation-delay: 1.2s; }
.pod.p1 { overflow: visible; }
.pod.p1::after { display: none; }
.pod.p1::before { content: ''; position: absolute; left: 50%; bottom: 100%; width: 150%; height: 340px; transform: translateX(-50%); pointer-events: none; background: conic-gradient(from 180deg at 50% 0%, transparent 152deg, rgba(255, 211, 106, .2) 172deg, rgba(255, 211, 106, .34) 180deg, rgba(255, 211, 106, .2) 188deg, transparent 208deg); transform: translate(-50%, 100%); filter: blur(6px); z-index: -1; animation: beam 5s ease-in-out infinite; }
@keyframes beam { 50% { opacity: .55; } }
.crown { position: absolute; left: 50%; top: -34px; width: 58px; transform: translateX(-50%) rotate(-6deg); color: var(--gold); filter: drop-shadow(0 0 16px rgba(255, 211, 106, .9)); animation: bob 4s ease-in-out infinite; }
.pod-prize { text-shadow: 0 0 34px color-mix(in srgb, var(--c) 60%, transparent); }

/* Proof: money rain canvas */
.proof-main { position: relative; overflow: hidden; isolation: isolate; }
.proof-main canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .5; }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.cta-inner { isolation: isolate; }
.cta-inner::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(140, 170, 255, .22) 1px, transparent 1px); background-size: 24px 24px; mask-image: radial-gradient(ellipse at 50% 100%, #000, transparent 70%); }

@media (max-width: 900px) {
  .hero-art { margin-top: 10px; width: min(84%, 430px); }
  .hero-title { font-size: clamp(60px, 18.5vw, 170px); }
  .pchip { --s: 54px; } .pchip.c2 { --s: 46px; } .pchip.c3 { --s: 40px; }
  .hero-bg::after { height: 30%; }
}
@media (prefers-reduced-motion: reduce) { .spun .reel-strip, .reel-strip { transition: none !important; } #fxCanvas, .proof-main canvas { display: none; } }
.proof-num { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #eef3ff; text-shadow: 0 0 40px rgba(79, 140, 255, .8), 0 0 100px rgba(43, 95, 255, .6); }
/* v2 tuning */
.reel-strip i { display: block; }
.hero-title { font-size: clamp(60px, 13.6vw, 200px); }
.hero-art { margin-top: clamp(-104px, -6vw, -40px); }
.fc-1 { left: -10%; top: 34%; }
.pchip.c1 { top: 40%; right: -7%; }
@media (max-width: 900px) { .hero-title { font-size: clamp(56px, 17vw, 150px); } .hero-art { margin-top: 10px; } .fc-1 { left: -5%; top: 8%; } }
.reel-static { display: inline-block; height: 1.2em; line-height: 1.2em; vertical-align: bottom; }
.proof-num { text-shadow: none; filter: drop-shadow(0 0 26px rgba(79, 140, 255, .85)) drop-shadow(0 0 70px rgba(43, 95, 255, .55)); }
.mega span { -webkit-text-stroke: 3px rgba(98, 152, 255, .85); color: #060b18; }
.mega span.pinkt { -webkit-text-stroke-color: rgba(255, 61, 154, .85); }
.section, .page-hero, .cta { overflow-x: clip; }
@media (max-width: 640px) {
  .code-chip { gap: 10px; padding: 8px 8px 8px 12px; max-width: 100%; }
  .code-chip small { display: none; }
  .code-chip b { font-size: 21px; gap: 2px; }
  .code-chip em { min-width: 62px; padding: 9px 10px; }
  .hero-kicker { flex-wrap: wrap; font-size: 11px; letter-spacing: .24em; }
  .fc-1 { top: -7%; left: -3%; } .fc-2 { bottom: -7%; right: -3%; }
  .hero-inner { padding-bottom: 90px; }
  .mega span { font-size: 56px; -webkit-text-stroke-width: 2px; }
  .crown { width: 46px; top: -28px; }
}
@media (max-width: 900px) { .hero-title { font-size: clamp(52px, 15.2vw, 140px); } }

/* ═════════════════════ v3 — PERFORMANCE + BOOK LAYOUT ═════════════════════ */
/* Perf: no blend-mode overlay, no blur filters, no animated shadows, transform-only motion */
body::before { mix-blend-mode: normal; opacity: .035; }
.orb { filter: none; animation: none !important; border-radius: 0; }
.orb-a { width: 1100px; height: 900px; right: -300px; top: -140px; background: radial-gradient(closest-side, rgba(43, 95, 255, .4), transparent); }
.orb-b { width: 800px; height: 800px; left: -360px; top: 240px; background: radial-gradient(closest-side, rgba(63, 224, 255, .1), transparent); }
.orb-c { width: 700px; height: 600px; right: 8%; top: 300px; background: radial-gradient(closest-side, rgba(255, 61, 154, .14), transparent); }
.hero-title { animation: none; transform: translateZ(0); text-shadow: 0 0 5px #fff, 0 0 26px #6da2ff, 0 0 70px #2b5fff, 0 0 140px rgba(43, 95, 255, .7); }
.avatar-frame { animation: none; transform: rotate(2deg); box-shadow: 0 50px 120px -30px rgba(43, 95, 255, .8), 0 0 90px -20px rgba(255, 61, 154, .4); transition: none; }
.avatar-frame:hover { transform: rotate(2deg); }
.float-card { backdrop-filter: none; }
/* moving floor: animate transform (compositor) instead of background-position (repaint) */
.hero-bg::after { animation: floorT 2.6s linear infinite; height: calc(52% + 80px); will-change: transform; }
@keyframes floorT { from { transform: perspective(420px) rotateX(64deg) translateY(0); } to { transform: perspective(420px) rotateX(64deg) translateY(80px); } }
.pchip { animation-name: chipfloat2; box-shadow: 0 14px 26px -10px var(--c), inset 0 0 0 3px rgba(0, 0, 0, .28); will-change: transform; }
@keyframes chipfloat2 { 0%, 100% { transform: translateY(0) rotate(var(--r)); } 50% { transform: translateY(-14px) rotate(calc(var(--r) + 12deg)); } }
.pchip.c1 { top: auto; bottom: 16%; right: -5%; } .pchip.c2 { left: -5%; bottom: auto; top: 22%; }
.fx-glow::after { display: none; }
.b-card.fx-glow::after { display: block; }

/* Declutter */
.b-desc { color: #b3c0de; font-size: 15px; margin-bottom: 26px; max-width: 46ch; }
.b-card { padding: 28px 30px; }
.b-card h3 { margin-bottom: 10px; }
.hero-sub { font-size: 17px; }

/* ───────── Book mode: normal scroll, one idea per screen, content eases in/out as you scroll ───────── */
.book main > section { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; --in: 1; --out: 1; }
.book main > section.section, .book .cta { padding: 110px 0 90px; }
.book main > section.section-alt { border: 0; }
.book .hero { justify-content: flex-start; }
.book .hero .ticker { margin-top: auto; }
.book .section-head { margin-bottom: 36px; }
/* scroll-linked: the whole page block drifts up + fades with scroll position (transform/opacity only) */
.book main > section:not(.hero) > .wrap { opacity: calc(var(--in) * var(--out)); transform: translateY(calc((1 - var(--in)) * 70px - (1 - var(--out)) * 40px)) scale(calc(.965 + .035 * var(--in))); will-change: transform, opacity; }
.book .hero > .wrap:not(.hero-inner) { opacity: 1; transform: none; }
.book .hero > .hero-inner { opacity: var(--out); transform: translateY(calc((1 - var(--out)) * 28px)); }
/* neon divider that draws itself across as the next section arrives */
.book main > section + section::before { content: ''; position: absolute; top: 0; left: 50%; width: min(1240px, 100% - 40px); height: 2px; transform: translateX(-50%) scaleX(var(--in)); background: linear-gradient(90deg, transparent, var(--cyan), var(--blue), var(--pink), transparent); box-shadow: 0 0 18px rgba(79, 140, 255, .9); opacity: calc(var(--in) * .9); }
.book main > section + section::after { content: attr(data-num); position: absolute; top: 26px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 11px; letter-spacing: .3em; color: var(--muted); opacity: var(--in); }
/* contents rise in, staggered, once their section arrives */
.book main > section .reveal { transform: translateY(40px); transition-duration: .85s; }
.book main > section .reveal.in { transform: none; }
.book h2 { clip-path: inset(0 0 100% 0); transform: translateY(30px); transition: clip-path .9s cubic-bezier(.2, .8, .2, 1), transform .9s cubic-bezier(.2, .8, .2, 1); }
.book .reveal.in h2 { clip-path: inset(0 0 -10% 0); transform: none; }

/* Chapter rail */
.chapters { position: fixed; right: 22px; top: 50%; z-index: 55; transform: translateY(-50%); display: grid; gap: 4px; justify-items: end; }
.chapters button { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.chapters button span { opacity: 0; transform: translateX(8px); transition: .25s; white-space: nowrap; padding: 3px 9px; border-radius: 7px; background: rgba(6, 10, 22, .9); border: 1px solid var(--line); }
.chapters button i { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--muted); transition: .25s; }
.chapters button:hover span, .chapters button.on span { opacity: 1; transform: none; }
.chapters button.on { color: #fff; } .chapters button.on i { background: var(--blue); border-color: var(--blue); box-shadow: 0 0 12px var(--blue); transform: scale(1.35); }
.chapters button.on span { opacity: 0; } .chapters:hover button.on span { opacity: 1; }
.page-count { position: fixed; left: 22px; bottom: 20px; z-index: 55; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--muted); }
.page-count b { color: #fff; font-size: 15px; }
.scroll-hint { position: absolute; left: 50%; bottom: 66px; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; font-family: var(--mono); font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.scroll-hint::after { content: ''; width: 1px; height: 34px; background: linear-gradient(var(--cyan), transparent); animation: hint 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

@media (max-width: 1100px) { .chapters, .page-count { display: none; } }
@media (max-width: 900px) {
  .book main > section.section, .book .cta { padding: 84px 0 64px; }
  .scroll-hint { display: none; }
  .pchip.c1 { right: -3%; } .pchip.c2 { left: -3%; }
}
@media (prefers-reduced-motion: reduce) { .book h2 { clip-path: none; transform: none; } .hero-bg::after { animation: none; } .book main > section > .wrap { opacity: 1 !important; transform: none !important; } }
/* v3 tuning */
.book .hero .wrap:not(.hero-inner) { position: relative; z-index: 4; pointer-events: none; }
.book .section-head { max-width: 900px; }
.book .bento { grid-template-columns: repeat(4, 1fr); }
.book .b-card { grid-column: auto; padding: 24px; }
.book .b-amount { font-size: clamp(26px, 2.5vw, 38px); margin: 18px 0 8px; min-height: 2.1em; display: flex; align-items: flex-end; }
.book .b-card h3 { font-size: 17px; }
.book .b-desc { font-size: 14px; margin-bottom: 22px; }
.book .b-card .btn { padding: 12px 18px; font-size: 14px; }
@media (max-width: 1100px) { .book .bento { grid-template-columns: repeat(2, 1fr); } .book .b-amount { min-height: 0; } }
@media (max-width: 640px) { .book .bento { grid-template-columns: 1fr; } }

/* ═════════════════════ BLOG ═════════════════════ */
.posts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.post-card { display: flex; flex-direction: column; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: transform .3s, border-color .3s, box-shadow .3s; }
.post-card:hover { transform: translateY(-5px); border-color: var(--line-2); box-shadow: 0 30px 70px -34px rgba(43, 95, 255, .8); }
.post-card.lead { grid-column: 1 / -1; flex-direction: row; }
.post-card.lead .cover { flex: 1.1; aspect-ratio: auto; min-height: 320px; } .post-card.lead .post-body { flex: 1; justify-content: center; padding: 40px; }
.post-card.lead h2 { font-size: clamp(26px, 3vw, 40px); }
.cover { --a: var(--blue-2); --b: var(--cyan); position: relative; aspect-ratio: 16 / 8; overflow: hidden; display: grid; place-items: center; isolation: isolate; background: radial-gradient(90% 120% at 15% 10%, color-mix(in srgb, var(--a) 70%, transparent), transparent 60%), radial-gradient(80% 120% at 90% 100%, color-mix(in srgb, var(--b) 45%, transparent), transparent 60%), #060b18; }
.cover::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 44px 44px; transform: perspective(300px) rotateX(55deg) scale(1.8); transform-origin: 50% 100%; mask-image: linear-gradient(transparent 20%, #000); }
.cover b { font-family: var(--display); font-weight: 800; font-size: clamp(38px, 6vw, 84px); letter-spacing: -.05em; line-height: .9; text-align: center; color: #f4f8ff; text-shadow: 0 0 5px #fff, 0 0 30px var(--a), 0 0 80px var(--a); transition: transform .5s cubic-bezier(.2, .8, .2, 1); padding: 0 16px; }
.post-card:hover .cover b { transform: scale(1.06) rotate(-1.5deg); }
.cover.pinkc { --a: #c2186f; --b: var(--pink); } .cover.goldc { --a: #b07a12; --b: var(--gold); } .cover.cyanc { --a: #0c7f9c; --b: var(--cyan); }
.post-body { display: flex; flex-direction: column; gap: 10px; padding: 24px 26px 28px; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.post-tag { padding: 4px 10px; border-radius: 7px; background: rgba(79, 140, 255, .14); color: #a9c4ff; border: 1px solid var(--line-2); }
.post-card h2 { clip-path: none !important; transform: none !important; font-family: var(--body); font-weight: 700; font-size: 22px; line-height: 1.25; letter-spacing: -.01em; margin: 0; }
.post-card p { color: var(--muted); font-size: 15px; }
.post-more { margin-top: auto; padding-top: 10px; font-weight: 700; font-size: 14px; color: var(--blue); }

.article-hero { padding: 140px 0 0; position: relative; isolation: isolate; overflow: hidden; }
.article-wrap { width: min(760px, 100% - 40px); margin-inline: auto; }
.article-hero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 5.4vw, 62px); line-height: 1.02; letter-spacing: -.04em; margin: 18px 0 18px; }
.article-hero .dek { font-size: 20px; color: #b3c0de; }
.article-hero .cover { margin-top: 40px; border-radius: var(--r); border: 1px solid var(--line-2); aspect-ratio: 16 / 6.5; }
.crumbs { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--muted); } .crumbs a:hover { color: var(--blue); }
.prose { padding: 50px 0 30px; font-size: 18px; line-height: 1.75; color: #cfd8ee; }
.prose h2 { font-family: var(--display); font-weight: 800; font-size: clamp(24px, 3vw, 32px); letter-spacing: -.03em; line-height: 1.1; color: var(--text); margin: 48px 0 14px; }
.prose h3 { font-size: 20px; color: var(--text); margin: 30px 0 8px; }
.prose p { margin: 0 0 20px; } .prose strong { color: #fff; } .prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { margin: 0 0 22px 22px; display: grid; gap: 8px; } .prose li::marker { color: var(--blue); font-weight: 700; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 26px; font-size: 16px; } .prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); } .prose th { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); } .prose td:last-child { font-family: var(--mono); color: var(--cyan); }
.takeaways { padding: 24px 28px; border-radius: 18px; border: 1px solid var(--line-2); background: rgba(79, 140, 255, .07); margin: 0 0 34px; font-size: 16px; }
.takeaways b { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); margin-bottom: 10px; } .takeaways ul { margin-bottom: 0; }
.note { padding: 18px 22px; border-radius: 14px; border-left: 3px solid var(--pink); background: rgba(255, 61, 154, .06); font-size: 15px; color: #d9c3d2; margin: 0 0 24px; }
.code-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 30px 32px; margin: 40px 0; border-radius: var(--r); border: 1px solid var(--line-2); background: radial-gradient(110% 160% at 100% 0%, rgba(43, 95, 255, .35), transparent 60%), var(--card); }
.code-cta h3 { font-family: var(--display); font-size: 22px; letter-spacing: -.02em; margin: 0 0 4px; color: #fff; } .code-cta p { margin: 0; font-size: 15px; color: var(--muted); }
.more-posts { padding: 30px 0 100px; }
@media (max-width: 800px) { .posts { grid-template-columns: 1fr; } .post-card.lead { flex-direction: column; } .post-card.lead .cover { min-height: 0; aspect-ratio: 16 / 8; } .post-card.lead .post-body { padding: 24px 26px 28px; } .prose { font-size: 17px; } }
.cover { container-type: inline-size; }
.cover b { font-size: 10.4cqw; white-space: nowrap; padding: 0; }
.article-hero h1 { font-size: clamp(30px, 4.4vw, 52px); }

/* ═════════════════════ TOOLS — provably fair verifier + seed analyzer ═════════════════════ */
.tool { border-radius: 28px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(14, 23, 44, .9), rgba(8, 13, 26, .95)); box-shadow: 0 50px 120px -60px rgba(43, 95, 255, .8); overflow: hidden; }
.tool-bar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); background: rgba(140, 170, 255, .03); }
.tool-games { display: flex; flex-wrap: wrap; gap: 6px; }
.tool-games .chip { padding: 8px 13px; }
.tool-body { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
.tool-form { padding: 28px; border-right: 1px solid var(--line); display: grid; gap: 18px; align-content: start; }
.tool-out { padding: 28px; min-height: 460px; display: flex; flex-direction: column; gap: 18px; }
.field { display: grid; gap: 7px; }
.field > span { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; gap: 8px; }
.field > span em { font-style: normal; text-transform: none; letter-spacing: 0; font-weight: 500; }
.input, .select { width: 100%; padding: 13px 15px; border-radius: 13px; border: 1px solid var(--line); background: #050a15; color: var(--text); font: 500 14px var(--mono); outline: none; transition: .2s; }
.input:focus, .select:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(79, 140, 255, .16); }
.input::placeholder { color: #4b5874; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.badge { padding: 3px 9px; border-radius: 7px; font-size: 11px; font-weight: 700; }
.badge.ok { background: rgba(18, 184, 134, .15); color: #4ce0b0; } .badge.bad { background: rgba(255, 61, 90, .15); color: #ff8fa0; }
.opts { display: grid; gap: 14px; padding: 18px; border-radius: 16px; background: rgba(140, 170, 255, .04); border: 1px dashed var(--line); }
.opts:empty { display: none; }
.run { width: 100%; }
.run[disabled] { opacity: .45; pointer-events: none; }
.bar-progress { height: 4px; border-radius: 9px; background: rgba(140, 170, 255, .1); overflow: hidden; } .bar-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--cyan)); transition: width .15s; }

.out-empty { margin: auto; text-align: center; color: var(--muted); max-width: 320px; font-size: 15px; }
.out-label { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); }
.big { font-family: var(--mono); font-weight: 700; font-size: clamp(54px, 8vw, 104px); line-height: 1; letter-spacing: -.04em; color: #fff; text-shadow: 0 0 50px rgba(79, 140, 255, .8); }
.big small { font-size: .38em; color: var(--muted); letter-spacing: 0; text-shadow: none; }
.meta-line { font-family: var(--mono); font-size: 12px; color: var(--muted); word-break: break-all; }
.dice-track { position: relative; height: 14px; border-radius: 99px; background: linear-gradient(90deg, #12203f, #1b2f5c); margin: 26px 0 8px; }
.dice-track i { position: absolute; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 8px; background: #fff; box-shadow: 0 0 24px var(--blue); transform: rotate(45deg); transition: left .5s cubic-bezier(.2, .8, .2, 1); }
.dice-scale { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.coins { display: flex; flex-wrap: wrap; gap: 8px; } .coin { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font: 700 13px var(--mono); border: 2px solid; }
.coin.heads { background: rgba(255, 211, 106, .14); border-color: var(--gold); color: var(--gold); } .coin.tails { background: rgba(140, 170, 255, .1); border-color: #6f86b8; color: #a9b9db; }
.board { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; width: min(100%, 360px); }
.tile { aspect-ratio: 1; border-radius: 13px; border: 1px solid var(--line); background: #0b1429; display: grid; place-items: center; font-size: 20px; transition: .2s; }
button.tile:hover { border-color: var(--blue); } .tile.sel { border-color: var(--cyan); background: rgba(63, 224, 255, .14); box-shadow: inset 0 0 0 1px var(--cyan); }
.tile.gem::after { content: ''; width: 38%; aspect-ratio: 1; background: linear-gradient(135deg, #7ff0ff, #2b9dff); transform: rotate(45deg); border-radius: 4px; box-shadow: 0 0 16px rgba(63, 224, 255, .7); }
.tile.mine { background: rgba(255, 61, 90, .14); border-color: rgba(255, 61, 90, .5); } .tile.mine::after { content: ''; width: 42%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff9aa8, #ff3d5a 60%, #7a0f20); box-shadow: 0 0 18px rgba(255, 61, 90, .8); }
.slots { display: flex; gap: 4px; } .slots span { flex: 1; padding: 9px 0; border-radius: 8px; text-align: center; font: 700 11px var(--mono); background: #0b1429; color: var(--muted); border: 1px solid var(--line); } .slots span.hit { background: var(--blue); color: #fff; border-color: var(--blue); box-shadow: 0 0 20px rgba(79, 140, 255, .9); }
.steps-track { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; } .steps-track span { padding: 8px 2px; border-radius: 9px; text-align: center; font: 700 11px var(--mono); border: 1px solid var(--line); color: var(--muted); background: #0b1429; } .steps-track span.win { color: #4ce0b0; border-color: rgba(18, 184, 134, .5); background: rgba(18, 184, 134, .1); } .steps-track span.lose { color: #ff8fa0; border-color: rgba(255, 61, 90, .35); background: rgba(255, 61, 90, .07); } .steps-track span.pick { outline: 2px solid var(--cyan); outline-offset: 1px; }

.sum { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; } .sum div { padding: 14px; border-radius: 14px; background: #0b1429; border: 1px solid var(--line); } .sum b { display: block; font: 700 20px var(--mono); margin-top: 3px; } .sum span { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.timeline { display: block; width: 100%; height: 46px; border-radius: 10px; background: #0b1429; border: 1px solid var(--line); }
.hits { border-radius: 14px; border: 1px solid var(--line); overflow: auto; max-height: 300px; } .hits table { width: 100%; border-collapse: collapse; font: 500 13px var(--mono); } .hits th { position: sticky; top: 0; background: #0d1830; text-align: left; padding: 10px 14px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); } .hits td { padding: 9px 14px; border-top: 1px solid var(--line); } .hits td:last-child { color: var(--cyan); text-align: right; } .hits th:last-child { text-align: right; }
.truth { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; padding: 26px 28px; border-radius: var(--r); border: 1px solid rgba(255, 211, 106, .4); background: rgba(255, 211, 106, .05); margin-top: 22px; } .truth b.ico { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: rgba(255, 211, 106, .16); color: var(--gold); font-size: 20px; } .truth h3 { font-size: 18px; margin-bottom: 6px; } .truth p { color: #d8ccb0; font-size: 15px; }
@media (max-width: 900px) { .tool-body { grid-template-columns: 1fr; } .tool-form { border-right: 0; border-bottom: 1px solid var(--line); padding: 22px; } .tool-out { padding: 22px; min-height: 0; } .sum { grid-template-columns: repeat(2, 1fr); } .truth { grid-template-columns: 1fr; } }
[hidden] { display: none !important; }

/* Keno board */
.board.keno { grid-template-columns: repeat(8, 1fr); width: min(100%, 480px); gap: 6px; }
.tile.num { font: 700 14px var(--mono); color: #b9c6e4; border-radius: 10px; }
.tile.num.drawn { background: rgba(79, 140, 255, .22); border-color: var(--blue); color: #fff; box-shadow: 0 0 16px -2px rgba(79, 140, 255, .8); }
.tile.num.match { background: linear-gradient(135deg, #12b886, #0a7d5c); border-color: #4ce0b0; color: #fff; box-shadow: 0 0 20px -2px rgba(18, 184, 134, .9); }
.tile.num.sel { color: #fff; }

/* Coin flip streak marks */
.coin { position: relative; width: 42px; height: 42px; }
.coin.ok { box-shadow: 0 0 0 3px #12b886, 0 0 18px rgba(18, 184, 134, .8); }
.coin.miss { box-shadow: 0 0 0 3px #ff3d5a; opacity: .9; }
.coin.after { opacity: .35; }

/* Blackjack cards */
.bj-row { display: grid; grid-template-columns: 74px auto 1fr; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.bj-row:first-of-type { border-top: 0; }
.pcards { display: flex; flex-wrap: wrap; gap: 8px; }
.pcard { position: relative; display: grid; place-items: center; width: 56px; height: 78px; border-radius: 10px; background: linear-gradient(160deg, #fff, #dfe6f5); color: #10131c; font: 700 19px var(--mono); box-shadow: 0 10px 24px -10px #000, inset 0 0 0 1px rgba(0, 0, 0, .12); }
.pcard.red { color: #d81e3f; }
.pcard.hole { outline: 2px dashed var(--blue); outline-offset: 2px; }
.pcard.sm { width: 46px; height: 62px; font-size: 15px; }
.pcard.sm i { position: absolute; top: -8px; left: -6px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font: 700 10px var(--mono); font-style: normal; }
@media (max-width: 640px) { .bj-row { grid-template-columns: 1fr; gap: 8px; } }

/* Tools: what it can / can't do */
.cando { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.cando-card { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 22px 24px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.cando-card.yes { border-color: rgba(18, 184, 134, .45); background: linear-gradient(135deg, rgba(18, 184, 134, .1), transparent 60%), var(--card); }
.cando-card.no { border-color: rgba(255, 61, 90, .4); background: linear-gradient(135deg, rgba(255, 61, 90, .08), transparent 60%), var(--card); }
.cando-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 18px; }
.yes .cando-ico { background: rgba(18, 184, 134, .18); color: #4ce0b0; } .no .cando-ico { background: rgba(255, 61, 90, .16); color: #ff8fa0; }
.cando-card h3 { font-size: 17px; margin-bottom: 6px; } .cando-card p { font-size: 14px; color: var(--muted); }
/* FAQ (shared look with details/summary) */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 16px; background: var(--card); border: 1px solid var(--line); padding: 0 22px; transition: border-color .2s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--mono); font-size: 20px; color: var(--blue); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 0 20px; color: var(--muted); font-size: 15px; } .faq p b { color: var(--text); }
@media (max-width: 900px) { .cando { grid-template-columns: 1fr; } .vip-split { grid-template-columns: 1fr !important; gap: 24px !important; } }


/* ───────── v6: plain smooth scrolling, info bubbles, past leaderboards, uncropped challenge art ───────── */
html { scroll-behavior: smooth; }
.cando { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; position: relative; z-index: 6; }
.cando-card { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border-radius: 999px; cursor: help; outline: 0; }
.cando-ico { width: 26px; height: 26px; border-radius: 50%; font-size: 13px; }
.cando-card h3 { font-size: 13px; margin: 0; font-family: var(--body, inherit); letter-spacing: 0; white-space: nowrap; }
.cando-card p { position: absolute; top: calc(100% + 10px); left: 0; width: min(420px, calc(100vw - 40px)); padding: 16px 18px; border-radius: 16px; background: #0d1426; border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(0, 0, 0, .55); font-size: 13.5px; line-height: 1.55; color: #c6d0e6; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s; pointer-events: none; }
.cando-card:hover p, .cando-card:focus p, .cando-card:focus-within p { opacity: 1; visibility: visible; transform: none; }
@media (max-width: 900px) { .cando { display: flex; } .cando-card.no p { left: auto; right: 0; } }
#monthSeg { display: flex; max-width: 100%; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; } #monthSeg::-webkit-scrollbar { display: none; } #monthSeg button { white-space: nowrap; flex: none; }
.item-media.tall { background: #070b16; } .item-media.tall img { object-fit: contain; object-position: center; }

/* v6 mobile: natural-height sections, lighter effects, less chrome */
@media (max-width: 900px) {
  .book main > section:not(.hero) { min-height: 0; padding-block: 56px; }
  .book main > section:not(.hero) > .wrap { transform: translateY(calc((1 - var(--in)) * 28px)); opacity: var(--in); }
  .book main > section + section::after, .chapters, .page-count, .scroll-hint, .pchip, #fxCanvas { display: none !important; }
  .section-head h2 { font-size: clamp(26px, 8vw, 38px); }
  .step p, .b-desc { font-size: 14px; }
}
@media (max-width: 900px) {
  .b-card { padding: 20px; } .b-card::before { display: none; } .b-amount { font-size: 34px; margin: 12px 0 4px; } .b-card h3 { font-size: 16px; margin-bottom: 8px; } .b-card .b-desc { margin-bottom: 14px; } .b-card .btn { padding: 10px 16px; font-size: 13px; }
  .steps { gap: 10px; } .step { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; padding: 18px 20px; } .step-n { grid-row: span 2; font-size: 40px; margin: 0; -webkit-text-stroke-width: 1.5px; } .step h3 { font-size: 16px; margin: 0 0 2px; } .step p { margin: 0; }
  .item:hover .item-media img, .b-card:hover, .step:hover { transform: none; } .item .item-media::after { display: none; }
}
.item-media.tall { aspect-ratio: 3 / 4; }
@media (max-width: 600px) {
  h1.page-title, .page-hero .page-title { font-size: min(38px, 6.9vw) !important; overflow-wrap: normal !important; word-break: normal !important; }
  .lb-head .eyebrow { display: block; white-space: nowrap; font-size: 10px; letter-spacing: .14em; } .lb-head .eyebrow::before { display: none; }
}
/* shop art is square — show all of it */
#shopGrid .item-media, #shopTeaser .item-media, .shop-grid .item-media { aspect-ratio: 1; } .item-media:not(.tall) img { object-position: center; }
@media (max-width: 600px) {
  .item-body { padding: 12px 12px 14px; } .item-title { font-size: 13px; line-height: 1.25; } .item-desc { font-size: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .item-badge { font-size: 9.5px; padding: 4px 7px; top: 8px; left: 8px; } .item-foot { gap: 8px; } .item-foot .btn { padding: 9px 10px; font-size: 12px; width: 100%; }
}
/* page titles: never break inside a word; let the title use the full width, keep the intro text narrow */
h1.page-title { font-size: clamp(38px, 4.4vw, 64px); overflow-wrap: normal; word-break: normal; }
.page-hero .section-head { max-width: none; } .page-hero .section-head p { max-width: 660px; }
/* mobile leaderboard: wagered sits as a second line under the player name */
@media (max-width: 760px) {
  .lb-row { grid-template-columns: 40px minmax(0, 1fr) auto; grid-template-rows: auto auto; row-gap: 2px; column-gap: 10px; padding: 11px 14px; }
  .lb-row .lb-place { grid-row: 1 / 3; } .lb-row .lb-user { grid-column: 2; grid-row: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .lb-row .lb-wager { display: block; grid-column: 2; grid-row: 2; font-size: 12px; color: var(--muted); } .lb-row .lb-wager i { display: none; } .lb-row .lb-wager::after { content: ' wagered'; font-family: var(--body, inherit); }
  .lb-row .lb-prize { grid-column: 3; grid-row: 1 / 3; align-self: center; }
  .lb-row-head { grid-template-rows: auto; } .lb-row-head span:nth-child(3) { display: none; } .lb-row-head span:nth-child(1) { grid-row: auto; } .lb-row-head span:last-child { grid-row: auto; }
}
@media (max-width: 760px) { .lb-row-head { font-size: 9.5px; letter-spacing: .08em; } .lb-row-head span:nth-child(1) { font-size: 0; } .lb-row-head span:nth-child(1)::after { content: "#"; font-size: 10px; } }
/* phones: the extra-wide display font reads as "stretched" in headings — use the regular sans there, keep Syne for the logo + MOOSE title */
@media (max-width: 760px) {
  :root { --display: 'DM Sans', system-ui, sans-serif; }
  .hero-title, .hero-title * { font-family: 'Syne', 'Arial Black', sans-serif; }
  .brand, .brand * { font-family: var(--display); }
  h1, h2, h3, .page-title, .b-amount { letter-spacing: -.02em; font-weight: 700; }
  h1.page-title, .page-hero .page-title { font-size: min(44px, 10.5vw) !important; line-height: 1.02; }
  .section-head h2 { font-size: clamp(28px, 8.6vw, 40px); line-height: 1.05; }
}
/* phones: step cards always stack one per row (the 4-step grids on /vip and /tools were squeezing into 2 columns) */
@media (max-width: 900px) {
  .grid:has(> .step) { grid-template-columns: 1fr !important; gap: 10px; }
  .step { min-width: 0; align-items: start; } .step > * { min-width: 0; } .step h3 { align-self: end; } .step p { overflow-wrap: anywhere; }
  .step .step-n { align-self: center; min-width: 34px; text-align: center; }
}

/* ───────── Log in with Kick ───────── */
.btn-kick { background: #53fc18; color: #06130a; border: 0; font-weight: 800; display: inline-flex; align-items: center; gap: 8px; } .btn-kick:hover { background: #6bff38; transform: translateY(-1px); }
.kick-slot { display: inline-flex; align-items: center; flex-shrink: 0; }
.kick-user { display: inline-flex; align-items: center; flex-wrap: nowrap; gap: 8px; height: 36px; padding: 0 12px 0 8px; border-radius: 999px; border: 1px solid rgba(83, 252, 24, .35); background: rgba(83, 252, 24, .07); font-size: 13px; font-weight: 600; color: #d9ffd0; white-space: nowrap; }
.kick-user img, .kick-user svg { width: 18px; height: 18px; flex: none; } .kick-user img { border-radius: 50%; object-fit: cover; } .kick-user svg { color: #53fc18; }
.kick-user b { overflow: hidden; text-overflow: ellipsis; max-width: 9.5em; }
.kick-user a { color: var(--muted); font-size: 12px; font-weight: 600; flex: none; } .kick-user a:hover { color: #fff; }
[data-kick-gate] { position: relative; } [data-kick-gate].locked > :not(.kick-gate) { filter: blur(7px) saturate(.6); opacity: .45; pointer-events: none; user-select: none; } [data-kick-gate].locked { min-height: 460px; overflow: hidden; }
.kick-gate { position: absolute; inset: 0; z-index: 8; display: grid; place-items: start center; padding: 56px 18px; }
.kick-gate-card { position: sticky; top: 120px; max-width: 440px; text-align: center; padding: 34px 30px; border-radius: 24px; background: rgba(9, 14, 28, .94); border: 1px solid rgba(83, 252, 24, .35); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); display: grid; gap: 14px; justify-items: center; }
.kick-gate-ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: rgba(83, 252, 24, .14); color: #53fc18; } .kick-gate-ico svg { width: 26px; height: 26px; }
.kick-gate-card h3 { font-size: 22px; } .kick-gate-card p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.kick-follow { font-size: 13px; color: var(--muted); } .kick-follow:hover { color: #53fc18; }
.kick-preview { margin-top: 6px; padding: 9px 12px; border-radius: 10px; border: 1px dashed rgba(255, 211, 106, .45); background: rgba(255, 211, 106, .06); color: var(--gold); font-size: 12px; line-height: 1.4; cursor: pointer; }
@media (max-width: 900px) { .nav .kick-slot .btn-kick span, .kick-user b, .kick-user a { display: none; } .nav .kick-slot .btn-kick { padding: 9px 10px; } .kick-user { padding: 4px; } .kick-gate { padding: 28px 14px; } .kick-gate-card { padding: 26px 20px; top: 96px; } }
@media (max-width: 600px) { .toolbar { flex-wrap: wrap; } #sortSeg { width: 100%; } #sortSeg button { flex: 1; padding-inline: 8px; white-space: nowrap; } }
.kick-user em { font-style: normal; font-family: var(--mono); font-size: 12px; color: #53fc18; padding-left: 8px; border-left: 1px solid rgba(83, 252, 24, .3); flex: none; }
@media (max-width: 1240px) { .kick-user a { display: none; } }
@media (max-width: 900px) { .kick-user em { display: none; } }
