@font-face { font-family: 'Scrapyard Display'; src: url('/fonts/scrapyard-display.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Scrapyard UI'; src: url('/fonts/scrapyard-ui.woff2') format('woff2'); font-weight: 400 900; font-display: swap; }

:root {
  --bg: #140d0e; --bg-2: #1e1517; --bg-3: #2a1e1d; --edge: #0b0707;
  --steel: #3a3431; --steel-2: #4a423d;
  --hazard: #f0bd24; --hazard-hi: #ffe27a; --hazard-lo: #d89c10;
  --text: #f6ead4; --muted: #b9a88e; --rust: #c77d3f; --ember: #ff6a2b; --live: #4ade80;
  --display: 'Scrapyard Display', 'Arial Black', system-ui, sans-serif;
  --ui: 'Scrapyard UI', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1200px;
  /* torn-metal edge used at the top/bottom of banded sections */
  --torn: polygon(0 14px, 4% 4px, 9% 12px, 13% 0, 19% 10px, 24% 3px, 30% 13px, 36% 2px, 41% 9px, 47% 0, 53% 11px, 58% 4px, 64% 13px, 70% 1px, 75% 10px, 81% 3px, 86% 12px, 92% 2px, 96% 9px, 100% 3px, 100% 100%, 0 100%);
}
* { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--ui); color: var(--text); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--hazard); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--hazard); color: #2a1208; padding: 8px 14px; border-radius: 8px; font-weight: 900; }
.skip:focus { left: 8px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin: 0 auto; }
.wrap.narrow { width: min(820px, 100% - 40px); }
.hazard { height: 12px; background: repeating-linear-gradient(-45deg, var(--hazard) 0 16px, var(--edge) 16px 32px); }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 #4ade80aa; animation: pulse 1.8s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 #4ade8099; } 70% { box-shadow: 0 0 0 9px #4ade8000; } 100% { box-shadow: 0 0 0 0 #4ade8000; } }

/* ---------- buttons */
.btn-play {
  display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px; border-radius: 14px;
  border: 2px solid var(--edge); background: linear-gradient(var(--hazard-hi), var(--hazard) 55%, var(--hazard-lo));
  color: #2a1208; font-family: var(--display); font-size: 20px; letter-spacing: .02em; text-decoration: none; line-height: 1;
  box-shadow: 0 4px 0 var(--edge), 0 10px 26px #0009, inset 0 2px 0 #fff6; transition: filter .12s, translate .12s, box-shadow .12s;
}
.btn-play:hover { filter: brightness(1.08); translate: 0 -2px; box-shadow: 0 6px 0 var(--edge), 0 14px 30px #f0bd2433, inset 0 2px 0 #fff6; }
.btn-play:active { translate: 0 3px; box-shadow: 0 1px 0 var(--edge), inset 0 2px 0 #fff6; }
.btn-play svg { width: 30px; height: 30px; fill: currentColor; flex: none; }
.btn-play.sm { font-size: 16px; padding: 9px 16px; border-radius: 11px; box-shadow: 0 3px 0 var(--edge), inset 0 2px 0 #fff6; }
.btn-play.xl { font-size: 34px; padding: 18px 34px 18px 24px; border-radius: 18px; position: relative; overflow: hidden; }
.btn-play.xl span { display: flex; flex-direction: column; gap: 6px; text-align: left; }
.btn-play.xl small { font-family: var(--ui); font-size: 13px; font-weight: 800; letter-spacing: .02em; opacity: .75; }
.btn-play.xl::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 40%, #fff8 50%, transparent 60%); translate: -120% 0; animation: shine 3.5s 1s infinite; pointer-events: none; }
@keyframes shine { 0%, 70% { translate: -120% 0; } 100% { translate: 120% 0; } }
.btn { align-self: flex-start; margin-top: 8px; padding: 10px 16px; border-radius: 10px; border: 2px solid var(--edge); background: linear-gradient(var(--hazard-hi), var(--hazard) 55%, var(--hazard-lo)); color: #2a1208; font-weight: 900; text-decoration: none; box-shadow: 0 3px 0 var(--edge); }
.btn:active { translate: 0 2px; box-shadow: 0 1px 0 var(--edge); }
.btn.ghost { background: #ffffff14; color: var(--text); }

/* ---------- top bar */
.topbar { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .2s, box-shadow .2s, backdrop-filter .2s; }
.topbar.scrolled { background: #140d0ee6; backdrop-filter: blur(10px); box-shadow: 0 1px 0 #ffffff12, 0 10px 30px #0008; }
.topbar-in { width: min(var(--wrap), 100% - 32px); margin: 0 auto; height: 68px; display: flex; align-items: center; gap: 22px; }
.brand img { height: 46px; width: auto; display: block; filter: drop-shadow(0 3px 6px #000c); }
.nav { display: flex; gap: 4px; margin-left: 8px; flex: 1; }
.nav a { color: var(--text); text-decoration: none; font-weight: 800; font-size: 15px; padding: 8px 12px; border-radius: 10px; opacity: .85; }
.nav a:hover { opacity: 1; background: #ffffff12; }
.live-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: #0009; border: 1px solid #4ade8044; font-size: 13px; font-weight: 800; white-space: nowrap; }

/* ---------- hero */
.hero { position: relative; min-height: min(100vh, 940px); display: flex; flex-direction: column; isolation: isolate; overflow: hidden; padding-top: 68px; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% 40%; z-index: -3; animation: kenburns 30s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.14) translate(-1.5%, 1%); } }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(ellipse at 75% 45%, #ff6a2b22, transparent 55%), linear-gradient(90deg, #140d0ef5 0%, #140d0ed0 38%, #140d0e55 68%, #140d0e30 100%), linear-gradient(0deg, var(--bg) 0%, #140d0e00 28%); }
.hero-float { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-float img { position: absolute; left: var(--x); top: var(--y); width: calc(120px * var(--s)); opacity: .55; filter: blur(1px) drop-shadow(0 10px 14px #000a); animation: bob 7s ease-in-out var(--d) infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-8deg); } 50% { transform: translateY(-18px) rotate(6deg); } }
.hero-in { flex: 1; width: min(var(--wrap), 100% - 40px); margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding: 40px 0 36px; }
.eyebrow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 6px; font-weight: 800; font-size: 14px; color: var(--hazard-hi); letter-spacing: .02em; }
.eyebrow .tag { background: var(--ember); color: #fff; padding: 4px 10px; border-radius: 6px; text-transform: uppercase; font-size: 12px; letter-spacing: .08em; transform: skew(-8deg); }
.logo { width: min(440px, 80vw); height: auto; margin-left: -8px; filter: drop-shadow(0 12px 22px #000d); }
.tagline { font-family: var(--display); font-size: clamp(34px, 5vw, 64px); line-height: 1; margin: 10px 0 14px; letter-spacing: .01em; text-shadow: 0 4px 0 #000b; }
.tagline span { color: var(--hazard); -webkit-text-stroke: 1px #2a1208; }
.lede { max-width: 540px; font-size: clamp(16px, 1.5vw, 19px); margin: 0 0 26px; text-shadow: 0 1px 3px #000; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.platforms-mini { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.platforms-mini li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 10px; border-radius: 10px; background: #000a; border: 1px solid #ffffff24; font-size: 14px; font-weight: 800; }
.platforms-mini svg { width: 18px; height: 18px; fill: var(--text); }
.platforms-mini b, .platforms-mini a { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; padding: 3px 7px; border-radius: 6px; text-decoration: none; font-weight: 900; }
.platforms-mini .on { border-color: #4ade8066; }
.platforms-mini .on b { background: var(--live); color: #052e14; }
.platforms-mini .beta a { background: var(--hazard); color: #2a1208; }
.platforms-mini b.soon { background: #ffffff22; color: var(--muted); }

.hero-phone { position: relative; width: 300px; justify-self: end; margin-right: 30px; }
.phone { position: relative; aspect-ratio: 9 / 19.5; border-radius: 42px; padding: 11px; background: linear-gradient(145deg, #4a423d, #1d1615 50%, #3a3431); box-shadow: 0 0 0 2px #000, 0 30px 70px #000d, 0 0 120px #ff6a2b33, inset 0 1px 0 #ffffff30; transform: rotate(4deg); }
.phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 32px; background: #000; display: block; }
.phone-notch { position: absolute; top: 20px; left: 50%; translate: -50% 0; width: 84px; height: 22px; border-radius: 12px; background: #000; }
.phone-boss { position: absolute; width: 230px; left: -150px; bottom: -70px; filter: drop-shadow(0 16px 20px #000c); transform: scaleX(-1); animation: bossIn .8s .3s both cubic-bezier(.2, 1.4, .4, 1); }
@keyframes bossIn { from { opacity: 0; translate: -40px 30px; } }

/* stat bar */
.statbar { position: relative; z-index: 2; background: linear-gradient(#1e1517f0, #140d0ef0); border-top: 2px solid #f0bd2440; box-shadow: 0 -20px 40px #0006; }
.statbar::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 12px; background: repeating-linear-gradient(-45deg, var(--hazard) 0 16px, var(--edge) 16px 32px); }
.statbar-in { width: min(var(--wrap), 100% - 40px); margin: 0 auto; display: flex; justify-content: space-between; gap: 10px; padding: 18px 0; }
.stat { flex: 1; text-align: center; position: relative; }
.stat:not([hidden]) ~ .stat::before { content: ''; position: absolute; left: -5px; top: 15%; bottom: 15%; width: 2px; background: #ffffff12; }
.stat b { display: flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--display); font-weight: 400; font-size: clamp(22px, 2.6vw, 34px); color: var(--hazard); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat small { display: block; color: var(--muted); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.stat[data-stat="online"] b { color: var(--live); }

/* ---------- sections */
main > section { position: relative; padding: 96px 0; }
.band { background: radial-gradient(ellipse at 50% 0%, #f0bd240d, transparent 60%), var(--bg-2); clip-path: var(--torn); margin-top: -14px; padding-top: 110px !important; }
.band + section:not(.band) { padding-top: 100px; }
.kicker { margin: 0 0 6px; font-weight: 900; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ember); }
.h2 { font-family: var(--display); font-weight: 400; font-size: clamp(32px, 4.4vw, 54px); line-height: 1.04; margin: 0 0 30px; color: var(--hazard); text-shadow: 0 4px 0 #2a1208, 0 8px 24px #0008; }
.h2.center { text-align: center; }
.sub { max-width: 680px; color: var(--muted); font-size: 18px; margin: -14px 0 32px; }

/* how it plays */
.how-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.loop { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.loop li { display: flex; gap: 18px; padding: 20px 22px; border-radius: 18px; background: linear-gradient(180deg, #ffffff0a, #ffffff04); border: 1px solid #ffffff14; }
.loop .num { flex: none; width: 52px; height: 52px; display: grid; place-items: center; font-family: var(--display); font-size: 28px; color: #2a1208; background: linear-gradient(var(--hazard-hi), var(--hazard)); border-radius: 14px; border: 2px solid var(--edge); box-shadow: 0 4px 0 var(--edge); transform: rotate(-4deg); }
.loop h3 { font-family: var(--display); font-weight: 400; font-size: 26px; margin: 0 0 4px; }
.loop p { margin: 0; color: var(--muted); }
.loop em { color: var(--hazard); font-style: normal; font-weight: 800; }

.pack-demo { margin: 0; }
.pack { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(4, 1fr); aspect-ratio: 6 / 4; gap: 6px; padding: 14px; border-radius: 22px;
  background: linear-gradient(#ffffff08 1px, transparent 1px) 0 0 / calc((100% - 28px) / 6) calc((100% - 28px) / 4), linear-gradient(90deg, #ffffff08 1px, transparent 1px) 0 0 / calc((100% - 28px) / 6) calc((100% - 28px) / 4), linear-gradient(160deg, #6b4227, #3d2618);
  background-origin: content-box, content-box, border-box;
  border: 3px solid var(--edge); box-shadow: 0 10px 0 var(--edge), 0 30px 60px #000a, inset 0 2px 0 #ffffff22, inset 0 0 0 6px #00000033; }
.pack::before { content: ''; position: absolute; inset: -10px 30% auto; height: 20px; border-radius: 10px 10px 0 0; background: #3d2618; border: 3px solid var(--edge); border-bottom: 0; }
.it { position: relative; display: grid; place-items: center; border-radius: 10px; background: #00000040; border: 2px solid #ffffff1c; transition: transform .2s; }
.it img { width: 100%; height: 100%; object-fit: contain; padding: 6%; filter: drop-shadow(0 6px 6px #000a); }
.it:hover { transform: scale(1.06) rotate(-2deg); z-index: 2; }
.it.fuel { border-color: #ff6a2baa; box-shadow: 0 0 18px #ff6a2b55 inset; }
.it.forge { border-color: var(--hazard); box-shadow: 0 0 0 2px var(--hazard), 0 0 30px #f0bd24aa; animation: forgeGlow 2.4s ease-in-out infinite; }
@keyframes forgeGlow { 50% { box-shadow: 0 0 0 2px var(--hazard-hi), 0 0 50px #ffe27add; } }
.forge-pop { position: absolute; left: 50%; top: -6px; translate: -50% -50%; padding: 8px 16px 7px; border-radius: 12px; background: var(--ember); border: 2px solid var(--edge); box-shadow: 0 4px 0 var(--edge); font-family: var(--display); font-size: 22px; color: #fff; text-align: center; line-height: 1; transform: rotate(-4deg); animation: popIt 2.4s ease-in-out infinite; white-space: nowrap; }
.forge-pop small { display: block; font-family: var(--ui); font-weight: 900; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; margin-top: 3px; }
@keyframes popIt { 0%, 100% { transform: rotate(-4deg) scale(1); } 50% { transform: rotate(-2deg) scale(1.08); } }
.pack-demo figcaption { margin-top: 26px; text-align: center; color: var(--muted); font-size: 15px; }
.pack-demo figcaption b { color: var(--hazard); }

/* marquee */
.marquee { position: relative; overflow: hidden; padding: 18px 0; background: var(--bg); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 26px; width: max-content; animation: marquee 50s linear infinite; }
.marquee-track img { width: 84px; height: 84px; filter: drop-shadow(0 6px 8px #000a); transition: transform .2s; }
.marquee-track img:hover { transform: scale(1.2) rotate(-6deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* screenshot viewer */
.viewer { display: grid; gap: 14px; }
.viewer-main { border-radius: 20px; overflow: hidden; border: 3px solid var(--edge); box-shadow: 0 0 0 2px #f0bd2433, 0 30px 70px #000c; background: #000; aspect-ratio: 16 / 9; }
.viewer-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .12s, transform .4s; }
.viewer-main img.swap { opacity: 0; transform: scale(1.02); }
.thumbs { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; }
.thumbs button { position: relative; padding: 0; border: 2px solid var(--edge); border-radius: 12px; overflow: hidden; background: #000; cursor: pointer; aspect-ratio: 16 / 9; opacity: .6; transition: opacity .15s, transform .15s, box-shadow .15s; }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button span { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 6px 4px; font-size: 11px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: linear-gradient(transparent, #000c); }
.thumbs button:hover { opacity: .9; transform: translateY(-2px); }
.thumbs button.active { opacity: 1; box-shadow: 0 0 0 3px var(--hazard); }

/* modes */
.mode-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mode { position: relative; min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px 20px; border-radius: 20px; border: 3px solid var(--edge); overflow: hidden; isolation: isolate; box-shadow: 0 6px 0 var(--edge), 0 20px 40px #0009; transition: transform .2s; }
.mode::before { content: ''; position: absolute; inset: 0; z-index: -2; background: var(--bg) center / cover; transition: transform .5s; }
.mode::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #140d0e10 10%, #140d0ecc 55%, #140d0ef5); }
.mode:hover { transform: translateY(-6px); }
.mode:hover::before { transform: scale(1.08); }
.mode.hot { box-shadow: 0 0 0 3px var(--hazard), 0 6px 0 var(--edge), 0 20px 50px #f0bd2433; }
.mode-tag { align-self: flex-start; margin-bottom: auto; padding: 5px 10px; border-radius: 8px; background: #000b; border: 1px solid #ffffff2a; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.mode.hot .mode-tag { background: var(--hazard); color: #2a1208; border-color: var(--edge); }
.mode h3 { font-family: var(--display); font-weight: 400; font-size: 30px; margin: 0 0 6px; text-shadow: 0 3px 0 #000a; }
.mode p { margin: 0; font-size: 15px; color: #e6d7bd; }
.mode-boss { position: absolute; width: 150px; right: -22px; top: 30px; z-index: -1; opacity: .9; filter: drop-shadow(0 10px 14px #000c); }

/* ranked */
.ranked-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.ranked-lede { color: var(--muted); font-size: 18px; margin: -14px 0 18px; max-width: 520px; }
.countdown { display: flex; gap: 10px; margin: 0 0 28px; }
.countdown div { width: 78px; padding: 12px 0 8px; text-align: center; border-radius: 14px; background: linear-gradient(var(--steel-2), var(--steel)); border: 2px solid var(--edge); box-shadow: 0 4px 0 var(--edge), inset 0 1px 0 #ffffff1a; }
.countdown b { display: block; font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1; color: var(--hazard); font-variant-numeric: tabular-nums; }
.countdown small { color: var(--muted); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.ladder-card { padding: 22px; border-radius: 22px; background: radial-gradient(ellipse at 100% 0%, #a855f722, transparent 50%), linear-gradient(180deg, #2a1e1d, #1a1213); border: 3px solid var(--edge); box-shadow: 0 8px 0 var(--edge), 0 30px 60px #0009; }
.leagues { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 10px; }
.leagues figure { margin: 0; text-align: center; transition: transform .2s; }
.leagues figure:hover { transform: translateY(-4px) scale(1.06); }
.leagues img { width: 100%; max-width: 92px; margin: 0 auto; filter: drop-shadow(0 6px 6px #000a); }
.leagues figcaption { font-family: var(--display); font-size: 15px; color: var(--muted); margin-top: 4px; }
.leagues .legend figcaption { color: var(--hazard); }
.leagues .legend img { filter: drop-shadow(0 0 18px #f0bd2488) drop-shadow(0 6px 6px #000a); }
.top { margin-top: 20px; padding-top: 18px; border-top: 1px solid #ffffff14; }
.top h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.top ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; counter-reset: r; }
.top li { counter-increment: r; display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; background: #0006; font-weight: 800; }
.top li::before { content: '#' counter(r); font-family: var(--display); color: var(--hazard); width: 30px; }
.top li img { width: 28px; height: 28px; }
.top li span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top li b { color: var(--muted); font-size: 14px; }

/* platforms */
.plat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plat { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 26px 24px 22px; border-radius: 20px; color: var(--text); text-decoration: none; background: linear-gradient(180deg, #ffffff0c, #ffffff04); border: 2px solid #ffffff18; transition: transform .2s, border-color .2s; }
a.plat:hover { transform: translateY(-4px); border-color: var(--hazard); }
.plat svg { width: 44px; height: 44px; fill: var(--text); margin-bottom: 10px; }
.plat b { font-family: var(--display); font-weight: 400; font-size: 28px; }
.plat small { color: var(--muted); font-size: 15px; font-weight: 700; }
.plat-go { margin-top: 14px; font-weight: 900; color: var(--hazard); }
.plat-state { position: absolute; top: 20px; right: 20px; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; background: #ffffff1a; color: var(--muted); }
.plat.live { border-color: #4ade8066; background: radial-gradient(ellipse at 0% 0%, #4ade801f, transparent 60%), linear-gradient(180deg, #ffffff0c, #ffffff04); }
.plat.live .plat-state { background: var(--live); color: #052e14; }
.plat.beta .plat-state { background: var(--hazard); color: #2a1208; }
.plat.soon { opacity: .75; }
.plat.soon .plat-go { color: var(--muted); }

/* beta */
.beta-box { position: relative; padding: 40px 36px 30px; border-radius: 26px; border: 3px solid var(--edge);
  background: radial-gradient(circle at 10% 0%, #f0bd2430, transparent 50%), repeating-linear-gradient(-45deg, #ffffff03 0 2px, transparent 2px 12px), linear-gradient(180deg, #3d2c22, #22181a);
  box-shadow: 0 8px 0 var(--edge), 0 30px 60px #0009, inset 0 0 0 2px #f0bd2433; }
.beta-boss { position: absolute; z-index: -1; width: 230px; right: 24px; top: -178px; filter: drop-shadow(0 16px 20px #000c); }
.beta-lede { margin: -18px 0 26px; max-width: 640px; font-size: 18px; color: var(--muted); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px 18px 18px; border-radius: 16px; background: #0007; border: 2px solid var(--edge); }
.steps li::before { content: counter(step); position: absolute; top: -14px; left: 16px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--hazard); color: #2a1208; font-family: var(--display); font-size: 17px; border: 2px solid var(--edge); }
.steps b { font-size: 17px; margin-top: 4px; }
.steps span { color: var(--muted); font-size: 14.5px; flex: 1; }
.beta-note { margin: 20px 0 0; color: var(--muted); font-size: 14px; }

/* fair */
.fair-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: center; }
.fair-grid > img { border-radius: 22px; border: 3px solid var(--edge); box-shadow: 0 30px 60px #000b; transform: rotate(-1.5deg); }
.fair-grid p:not(.kicker) { font-size: 18px; margin: -14px 0 18px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; color: #e6d7bd; }
.ticks li::before { content: '✓'; flex: none; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 7px; background: var(--live); color: #052e14; font-weight: 900; font-size: 14px; }

/* faq */
.faq details { border-radius: 14px; background: #ffffff08; border: 1px solid #ffffff14; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 900; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--display); color: var(--hazard); font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--muted); }

/* final cta */
.cta { text-align: center; overflow: hidden; background: radial-gradient(ellipse at 50% 120%, #ff6a2b40, transparent 60%); padding: 110px 0 120px !important; }
.cta p { color: var(--muted); font-size: 18px; margin: -16px 0 28px; }
.cta .h2 { font-size: clamp(40px, 6vw, 76px); }
.cta-boss { position: absolute; bottom: -10px; width: 280px; filter: drop-shadow(0 20px 30px #000c); opacity: .95; }
.cta-boss.l { left: max(0px, 50% - 640px); transform: scaleX(-1); }
.cta-boss.r { right: max(0px, 50% - 640px); }

/* footer */
footer { background: #0b0707; }
.foot-in { width: min(var(--wrap), 100% - 40px); margin: 0 auto; padding: 34px 0 40px; display: grid; justify-items: center; gap: 16px; text-align: center; }
.foot-in > img { width: 160px; height: auto; opacity: .9; }
footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; }
footer a { color: var(--text); text-decoration: none; font-weight: 800; }
footer a:hover { color: var(--hazard); }
footer p { color: var(--muted); font-size: 13px; margin: 0; max-width: 560px; }

/* mobile bar */
.mobile-bar { display: none; }

/* reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s, transform .6s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.loop li.reveal:nth-child(2), .mode.reveal:nth-child(2), .plat.reveal:nth-child(2), .steps li.reveal:nth-child(2) { transition-delay: .08s; }
.loop li.reveal:nth-child(3), .mode.reveal:nth-child(3), .plat.reveal:nth-child(3), .steps li.reveal:nth-child(3) { transition-delay: .16s; }
.mode.reveal:nth-child(4) { transition-delay: .24s; }
.mode.reveal.in:hover { transform: translateY(-6px); transition-delay: 0s; }

/* ---------- responsive */
@media (max-width: 1100px) {
  .nav { display: none; }
  .topbar-in { justify-content: space-between; }
  .hero-phone { width: 250px; margin-right: 10px; }
  .phone-boss { width: 180px; left: -110px; }
  .mode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-boss { width: 200px; }
}
@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; text-align: left; padding-top: 28px; }
  .hero-phone { justify-self: center; margin: 10px 0 0; width: 220px; }
  .phone-boss { width: 160px; left: -120px; }
  .how-grid, .ranked-grid, .fair-grid { grid-template-columns: 1fr; gap: 36px; }
  .plat-grid, .steps { grid-template-columns: 1fr; }
  .steps { gap: 24px; }
  .thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .statbar-in { flex-wrap: wrap; }
  .stat { flex: 1 1 30%; }
  .stat:not([hidden]) ~ .stat::before { display: none; }
  .beta-boss { width: 150px; top: -118px; right: 10px; }
  .cta-boss { width: 140px; opacity: .5; }
}
@media (max-width: 600px) {
  .topbar-in { height: 58px; }
  .brand img { height: 38px; }
  .live-pill { font-size: 12px; padding: 6px 10px; margin-left: auto; }
  .topbar-in { gap: 10px; }
  .hero { padding-top: 58px; min-height: 0; }
  .hero::before { background: linear-gradient(0deg, var(--bg) 2%, #140d0ee0 45%, #140d0e99 100%); }
  .hero-float { display: none; }
  .logo { width: min(320px, 78vw); }
  .btn-play.xl { width: 100%; justify-content: center; font-size: 28px; }
  .hero-phone { width: 190px; }
  .phone-boss { width: 130px; left: -95px; }
  .stat { flex: 1 1 45%; }
  .mode-grid { grid-template-columns: 1fr; }
  .mode { min-height: 260px; }
  main > section { padding: 72px 0; }
  .band { padding-top: 86px !important; }
  .beta-box { padding: 34px 20px 24px; }
  .beta-boss { width: 110px; top: -88px; }
  .countdown div { width: 68px; }
  .cta-boss { display: none; }
  .mobile-bar { display: flex; align-items: center; gap: 10px; position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 60; padding: 8px 8px 8px 10px; border-radius: 16px; background: #1e1517f2; backdrop-filter: blur(10px); border: 1px solid #f0bd2455; box-shadow: 0 10px 30px #000c; translate: 0 140%; transition: translate .3s cubic-bezier(.2, .8, .2, 1); }
  .mobile-bar.on { translate: 0 0; }
  .mobile-bar img { width: 40px; height: 40px; border-radius: 10px; }
  .mobile-bar span { flex: 1; line-height: 1.2; }
  .mobile-bar b { display: block; font-family: var(--display); font-weight: 400; font-size: 17px; }
  .mobile-bar small { color: var(--muted); font-size: 12px; font-weight: 700; }
  footer { padding-bottom: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
.it.tall img { width: 170%; height: auto; max-width: none; padding: 0; transform: rotate(-8deg); }
.it.tall:hover img { transform: rotate(0); }
