/* runrun.fun landing — game visual language: plum/red low-poly, Amboy display, track yellow, HUD blue/green. */

@font-face { font-family: "Amboy"; src: url("assets/Amboy-Black.otf") format("opentype"); font-display: swap; }
@font-face { font-family: "Ubuntu"; src: url("assets/Ubuntu-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Ubuntu"; src: url("assets/Ubuntu-Medium.ttf") format("truetype"); font-weight: 600; font-display: swap; }

:root {
  --bg: #0d0610;
  --plum: #1c0b19;
  --plum-2: #2a1024;
  --red: #e3262f;
  --red-deep: #8f0f1a;
  --blue: #2fa8ff;
  --blue-deep: #1673d6;
  --green: #22c55e;
  --loss: #ef4444;
  --yellow: #ffc21a;
  --orange: #ff8a1f;
  --ink: #fff;
  --muted: #cbb8c7;
  --line: rgba(255, 255, 255, .1);

  --display: "Amboy", "Arial Black", Impact, sans-serif;
  --body: "Ubuntu", system-ui, -apple-system, "Segoe UI", sans-serif;

  --text-hero: min(clamp(3.2rem, 1rem + 6.6vw, 7.4rem), 14.5svh);
  --text-title: clamp(2.2rem, 1.2rem + 3.6vw, 4.4rem);
  --space-section: clamp(4rem, 2.5rem + 4vw, 7rem);
  --gutter: clamp(1rem, .5rem + 2.5vw, 2.5rem);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1rem; color: var(--muted); }
strong, b { color: var(--ink); font-weight: 600; }
h1, h2, h3 { margin: 0; font-weight: 400; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: #000; padding: .5rem 1rem; z-index: 99; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- type ---------- */
.display, .title { font-family: var(--display); line-height: .92; letter-spacing: .01em; text-transform: uppercase; }
.display { font-size: var(--text-hero); text-shadow: 0 .06em 0 var(--red-deep), 0 .12em 0 rgba(0, 0, 0, .45); }
.display em, .title em { font-style: normal; color: var(--red); text-shadow: 0 .06em 0 #5c0711; }
.title { font-size: var(--text-title); margin-bottom: 1.5rem; text-shadow: 0 .05em 0 rgba(0, 0, 0, .5); }
.kicker { display: inline-flex; align-items: center; gap: .6rem; font: 600 .8rem/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--yellow); margin-bottom: 1.1rem; }
.kicker::before { content: ""; width: 28px; height: 6px; background: repeating-linear-gradient(90deg, var(--yellow) 0 10px, transparent 10px 14px); }
.lead { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); max-width: 34ch; color: #ead9e6; }
.sub { max-width: 52ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: 400 1.05rem/1 var(--display); text-transform: uppercase; letter-spacing: .04em; text-decoration: none; color: #fff;
  padding: 1.05rem 1.6rem; border: 0; border-radius: 14px; cursor: pointer;
  background: linear-gradient(180deg, #ff4a4f 0%, var(--red) 55%, #b5131c 100%);
  box-shadow: 0 5px 0 #6d0a12, 0 14px 30px rgba(227, 38, 47, .35), inset 0 2px 0 rgba(255, 255, 255, .35);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), filter .18s;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 7px 0 #6d0a12, 0 18px 36px rgba(227, 38, 47, .45), inset 0 2px 0 rgba(255, 255, 255, .35); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 #6d0a12, 0 6px 14px rgba(227, 38, 47, .3), inset 0 2px 0 rgba(255, 255, 255, .25); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn--ghost { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .22); backdrop-filter: blur(6px); }
.btn--ghost:hover, .btn--ghost:active { background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 2px #fff; }
.btn--small { font-size: .85rem; padding: .8rem 1.1rem; border-radius: 11px; }
.btn--full { width: 100%; font-size: 1.2rem; padding: 1.25rem; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 2rem; padding: .9rem var(--gutter); transition: background .3s, padding .3s; }
.nav.is-scrolled { background: rgba(13, 6, 16, .8); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--line); padding-block: .6rem; }
.nav__logo img { width: 150px; height: auto; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .5)); }
.nav__cta { display: flex; gap: .6rem; }
.have-invite { margin: -1.2rem 0 1.6rem; font-weight: 600; color: #ead9e6; }
.apply__intro .have-invite { margin: 1.6rem 0 0; }
.have-invite a { color: var(--yellow); text-decoration: none; border-bottom: 2px solid rgba(255, 194, 26, .4); transition: border-color .2s; }
.have-invite a:hover { border-color: var(--yellow); }
.nav__links { display: flex; gap: 1.6rem; margin-left: auto; }
.nav__links a { font-weight: 600; font-size: .95rem; text-decoration: none; color: #e7d6e3; position: relative; padding: .3rem 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 3px; background: var(--yellow); transition: right .25s var(--ease); }
.nav__links a:hover::after { right: 0; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; padding: 7rem var(--gutter) 6.5rem; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -3; background: radial-gradient(60% 70% at 78% 60%, rgba(227, 38, 47, .55), transparent 70%), url("assets/poly-2.webp") center / cover; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 6, 16, .92) 0%, rgba(13, 6, 16, .55) 45%, rgba(13, 6, 16, .1) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 30%); }
.hero__lanes { position: absolute; z-index: -2; left: -10%; right: -10%; bottom: 3.5rem; height: 42%; transform: perspective(700px) rotateX(58deg); transform-origin: bottom; background: linear-gradient(180deg, transparent, rgba(45, 30, 30, .9) 30%, #2b2122); border-top: 6px solid var(--yellow); }
.hero__lanes span { position: absolute; left: 0; right: 0; height: 8px; background: repeating-linear-gradient(90deg, var(--orange) 0 80px, transparent 80px 160px); animation: lane 1.1s linear infinite; opacity: .9; }
.hero__lanes span:nth-child(1) { top: 28%; }
.hero__lanes span:nth-child(2) { top: 58%; }
.hero__lanes span:nth-child(3) { top: 88%; }
@keyframes lane { to { background-position: -160px 0; } }

.hero__copy { position: relative; z-index: 2; max-width: 640px; }
.pill { display: inline-flex; align-items: center; gap: .6rem; padding: .5rem .95rem; border-radius: 999px; background: rgba(34, 197, 94, .12); box-shadow: inset 0 0 0 1px rgba(34, 197, 94, .45); color: #b9f5cf; font-weight: 600; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1.6rem; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); animation: ping 1.6s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .7); } 70%, 100% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); } }
.hero .display { margin-bottom: 1.6rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2rem 0 2.6rem; }
.stores { display: flex; flex-wrap: wrap; gap: .7rem; margin: 0 0 2.4rem; }
.store { display: inline-flex; align-items: center; gap: .6rem; padding: .55rem 1rem .55rem .8rem; border-radius: 12px; background: #0b0509; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .22); cursor: default; position: relative; }
.store span { display: grid; line-height: 1.1; }
.store small { font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: var(--yellow); }
.store b { font: 400 1.05rem/1.1 var(--display); text-transform: uppercase; }
.hero__stats { display: flex; gap: clamp(1.2rem, 3vw, 2.8rem); list-style: none; padding: 0; margin: 0; }
.hero__stats li { display: grid; }
.hero__stats b { font: 400 clamp(1.7rem, 1.2rem + 1.5vw, 2.4rem)/1 var(--display); color: var(--yellow); text-shadow: 0 3px 0 rgba(0, 0, 0, .5); }
.hero__stats span { font-size: .85rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

.hero__cast { position: relative; height: min(78vh, 760px); }
.hero__cast .r { position: absolute; bottom: var(--y, 0); left: var(--x); width: var(--w); z-index: var(--z, 1); filter: drop-shadow(0 30px 25px rgba(0, 0, 0, .55)) brightness(var(--lit, 1)); animation: bob 1.6s ease-in-out var(--d, 0s) infinite; }
.r1 { --x: 0; --w: 26%; --y: 8%; --d: -.3s; --lit: .78; }
.r2 { --x: 17%; --w: 31%; --y: 3%; --d: -.9s; --z: 2; }
.r3 { --x: 37%; --w: 33%; --d: -.5s; --z: 4; }
.r4 { --x: 62%; --w: 29%; --y: 6%; --d: -1.2s; --z: 3; }
.r5 { --x: 81%; --w: 19%; --y: 14%; --d: -.1s; --lit: .78; }
@keyframes bob { 50% { transform: translateY(-14px); } }

.ticker { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; overflow: hidden; background: var(--yellow); color: #160a0f; transform: rotate(-1.2deg) scale(1.03); transform-origin: left; box-shadow: 0 -6px 0 var(--bg), 0 10px 30px rgba(0, 0, 0, .5); }
.ticker__track { display: flex; width: max-content; animation: tick 70s linear infinite; }
.ticker__track span { font: 400 1rem/1 var(--display); text-transform: uppercase; padding: 1rem 1.4rem; white-space: nowrap; display: inline-flex; align-items: center; gap: .6rem; }
.ticker__track i { font: 600 .65rem/1 var(--body); letter-spacing: .12em; padding: .3rem .45rem; border-radius: 5px; background: #160a0f; color: var(--yellow); font-style: normal; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { position: relative; padding-block: var(--space-section); }

/* game */
.game { background: linear-gradient(180deg, var(--bg), var(--plum) 60%, var(--bg)); }
.game__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 2rem 0 0; display: grid; gap: .9rem; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 3.2rem 1fr; column-gap: 1rem; align-items: center; padding: 1rem 1.1rem; border-radius: var(--radius); background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px var(--line); transition: transform .25s var(--ease), background .25s; }
.steps li:hover { transform: translateX(6px); background: rgba(255, 255, 255, .06); }
.steps li::before { content: counter(s); grid-row: span 2; display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 12px; font: 400 1.5rem/1 var(--display); color: #160a0f; background: var(--yellow); box-shadow: 0 4px 0 #a87800; }
.steps b { font-size: 1.05rem; }
.steps span { color: var(--muted); font-size: .95rem; }

.race { margin: 0; }
.race__scene {
  position: relative; aspect-ratio: 16 / 10; border-radius: 22px; overflow: hidden;
  background:
    linear-gradient(180deg, #3a2a2e 0 9%, var(--yellow) 9% 10.4%, transparent 10.4%),
    repeating-linear-gradient(90deg, var(--orange) 0 9%, transparent 9% 16%) 0 52% / 100% 1.6% no-repeat,
    linear-gradient(180deg, transparent 93%, var(--yellow) 93% 94.4%, #3a2a2e 94.4%),
    radial-gradient(120% 90% at 50% 40%, #4a3b3d, #2d2224 70%);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .6), inset 0 0 0 2px rgba(255, 255, 255, .08);
}
.race__scene::before { content: ""; position: absolute; inset: 0; background: url("assets/poly-2.webp") center / cover; opacity: .12; mix-blend-mode: screen; pointer-events: none; }
.race__scene::after { content: ""; position: absolute; top: 10.4%; bottom: 6%; left: 7%; width: 6px; background: #fff; opacity: .55; }
.race__lane { position: absolute; left: 0; right: 0; height: 40%; }
.race__lane--a { top: 8%; }
.race__lane--b { top: 48%; z-index: 2; }
.race__lane img { position: absolute; left: 4%; bottom: 0; height: 100%; width: auto; transition: transform .45s linear; filter: drop-shadow(0 14px 10px rgba(0, 0, 0, .6)); }
.race__finish { position: absolute; top: 10.4%; bottom: 6%; right: 9%; width: 18px; background: repeating-conic-gradient(#fff 0 25%, #111 0 50%) 0 0 / 18px 18px; opacity: .85; transform: skewX(-8deg); }
.race__timer { position: absolute; z-index: 3; left: 50%; top: 2.5%; transform: translateX(-50%); background: #fff; color: #160a0f; border-radius: 14px; padding: .4rem 1.1rem .5rem; text-align: center; box-shadow: 0 6px 0 rgba(0, 0, 0, .25); }
.race__timer small { display: block; font: 600 .62rem/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; }
.race__timer b { font: 400 1.7rem/1 var(--display); color: #160a0f; font-variant-numeric: tabular-nums; }
.race__win { position: absolute; z-index: 4; left: 0; right: 0; top: 40%; text-align: center; font: 400 clamp(1.6rem, 1rem + 2.5vw, 2.8rem)/1 var(--display); text-transform: uppercase; text-shadow: 0 4px 0 var(--red-deep), 0 10px 30px rgba(0, 0, 0, .6); animation: pop .5s var(--ease); }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }
.race__hud { display: grid; grid-template-columns: 1fr auto 1fr; gap: .8rem; align-items: center; margin-top: 1rem; }
.hud { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .55rem .6rem .55rem 1rem; border-radius: 14px; background: linear-gradient(180deg, #5cc1ff, var(--blue) 50%, var(--blue-deep)); box-shadow: 0 4px 0 #0b4f99, inset 0 2px 0 rgba(255, 255, 255, .4); }
.hud--b { padding: .55rem 1rem .55rem .6rem; }
.hud__sym { font: 400 1.15rem/1 var(--display); text-shadow: 0 2px 0 rgba(0, 0, 0, .35); }
.hud__pct { font: 400 .95rem/1 var(--display); padding: .45rem .6rem; border-radius: 9px; background: var(--green); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .2); font-variant-numeric: tabular-nums; min-width: 6.6rem; text-align: center; transition: background .2s; }
.hud__pct.is-down { background: var(--loss); }
.race figcaption { margin-top: .9rem; font-size: .85rem; color: #a893a3; text-align: center; }

/* markets */
.markets { background: url("assets/poly-1.webp") center / cover fixed; }
.markets::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg), rgba(13, 6, 16, .82) 25%, rgba(13, 6, 16, .82) 75%, var(--bg)); }
.markets .wrap { position: relative; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(150px, auto); gap: 1rem; }
.mcard { position: relative; overflow: hidden; padding: 1.6rem; border-radius: 22px; background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02)); box-shadow: inset 0 0 0 1px var(--line), 0 20px 40px rgba(0, 0, 0, .35); backdrop-filter: blur(8px); transition: transform .3s var(--ease), box-shadow .3s; }
.mcard:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25), 0 30px 50px rgba(0, 0, 0, .45); }
.mcard b { display: block; font: 400 clamp(3rem, 2rem + 4vw, 6rem)/.85 var(--display); color: var(--c); text-shadow: 0 5px 0 rgba(0, 0, 0, .4); margin-bottom: .8rem; }
.mcard h3 { font: 400 1.35rem/1.1 var(--display); text-transform: uppercase; margin-bottom: .4rem; }
.mcard p { margin: 0; font-size: .95rem; }
.mcard::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; background: var(--c); opacity: .18; clip-path: polygon(50% 0, 100% 38%, 82% 100%, 18% 100%, 0 38%); transition: transform .5s var(--ease); }
.mcard:hover::after { transform: rotate(25deg) scale(1.15); }
.mcard--crypto { --c: var(--yellow); grid-column: span 3; grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; }
.mcard--crypto b { font-size: clamp(5rem, 3rem + 8vw, 10rem); }
.mcard--stock { --c: var(--blue); grid-column: span 3; }
.mcard--commodity { --c: var(--orange); grid-column: span 2; }
.mcard--fx { --c: var(--green); grid-column: span 1; }
.note { margin-top: 1.6rem; max-width: 70ch; font-size: .95rem; padding-left: 1rem; border-left: 4px solid var(--yellow); }

/* runners */
.runners { background: radial-gradient(70% 60% at 50% 100%, rgba(227, 38, 47, .25), transparent 70%), var(--bg); overflow: hidden; }
.cast { display: flex; gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2rem var(--gutter) 2.5rem; scrollbar-width: thin; scrollbar-color: var(--red) transparent; }
.card { flex: 0 0 clamp(200px, 22vw, 260px); scroll-snap-align: center; position: relative; overflow: hidden; border-radius: 22px; padding: 1rem 1rem 1.2rem; background: linear-gradient(180deg, var(--plum-2), #12070f); box-shadow: inset 0 0 0 1px var(--line); text-align: center; transition: transform .35s var(--ease), box-shadow .35s; }
.card::before { content: ""; position: absolute; inset: 0; background: url("assets/poly-3.webp") center / 400%; opacity: .35; mix-blend-mode: screen; }
.card:hover { transform: translateY(-10px) rotate(-1deg); box-shadow: inset 0 0 0 2px var(--red), 0 25px 50px rgba(227, 38, 47, .25); }
.card img { position: relative; height: 270px; width: 100%; object-fit: contain; filter: drop-shadow(0 14px 12px rgba(0, 0, 0, .6)); transition: transform .35s var(--ease); }
.card:hover img { transform: scale(1.06); }
.card h3 { position: relative; font: 400 1.2rem/1 var(--display); text-transform: uppercase; margin-top: .9rem; }
.card p { position: relative; margin: .3rem 0 0; font-size: .85rem; }

/* roadmap */
.roadmap { background: linear-gradient(180deg, var(--bg), var(--plum)); }
.road { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; position: relative; }
.road::before { content: ""; position: absolute; z-index: 0; left: 0; right: 0; top: 50%; height: 8px; background: repeating-linear-gradient(90deg, var(--yellow) 0 40px, transparent 40px 60px); opacity: .5; }
.stage { position: relative; z-index: 1; padding: 4.2rem 1.6rem 1.8rem; border-radius: 22px; background: #1d0d1a; box-shadow: inset 0 0 0 1px var(--line); }
.stage__tag { position: absolute; top: 1rem; left: 1.6rem; font: 400 .9rem/1 var(--display); text-transform: uppercase; padding: .55rem .8rem; border-radius: 10px; background: #3a2333; color: var(--muted); }
.stage--now { background: linear-gradient(170deg, #4a1220, #1d0d1a); box-shadow: inset 0 0 0 2px rgba(227, 38, 47, .6); }
.stage--now .stage__tag { background: var(--green); color: #052e14; }
.stage h3 { font: 400 1.6rem/1 var(--display); text-transform: uppercase; margin-bottom: 1rem; }
.stage ul { margin: 0; padding-left: 1.1rem; color: var(--muted); display: grid; gap: .4rem; }
.stage li::marker { color: var(--yellow); }

/* token */
.token { background: url("assets/poly-3.webp") center / cover; }
.token::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--plum), rgba(13, 6, 16, .7) 40%, var(--bg)); }
.token__box { position: relative; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding: clamp(1.5rem, 4vw, 3.5rem); border-radius: 30px; background: linear-gradient(140deg, rgba(255, 194, 26, .12), rgba(13, 6, 16, .6) 50%); box-shadow: inset 0 0 0 2px rgba(255, 194, 26, .35), 0 40px 80px rgba(0, 0, 0, .5); backdrop-filter: blur(6px); }
.token__runner { width: 100%; max-height: 520px; object-fit: contain; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .6)) drop-shadow(0 0 60px rgba(255, 194, 26, .25)); }
.token .title em { color: var(--yellow); text-shadow: 0 .05em 0 #7a5600; }
.warn { padding: 1rem 1.2rem; border-radius: 14px; background: rgba(0, 0, 0, .35); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); font-size: .95rem; margin: 1.4rem 0 1.6rem; }
.warn a { color: var(--yellow); }

/* apply */
.apply { background: radial-gradient(60% 60% at 15% 70%, rgba(227, 38, 47, .3), transparent 70%), var(--bg); }
.apply__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.ticks { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .6rem; }
.ticks li { display: flex; gap: .7rem; align-items: center; font-weight: 600; }
.ticks li::before { content: "✓"; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--green); color: #052e14; font-size: .85rem; }
.apply__tg { margin-top: 1.6rem; }
.apply__duo { display: flex; align-items: flex-end; margin-top: 2rem; }
.apply__duo img { width: 48%; max-height: 360px; object-fit: contain; filter: drop-shadow(0 20px 18px rgba(0, 0, 0, .6)); }
.apply__duo img + img { margin-left: -8%; }

.form { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; padding: clamp(1.3rem, 3vw, 2.4rem); border-radius: 28px; background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 40px 80px rgba(0, 0, 0, .45); backdrop-filter: blur(10px); }
.field { display: grid; gap: .45rem; min-width: 0; margin: 0; padding: 0; border: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 600; font-size: .9rem; color: #f1e3ee; padding: 0; margin-bottom: .45rem; }
.field label { margin-bottom: 0; }
.field small { font-weight: 400; color: #a893a3; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: #fff; background: rgba(0, 0, 0, .35); border: 0; border-radius: 12px; padding: .85rem 1rem; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .14); transition: box-shadow .2s, background .2s; resize: vertical; }
.field input::placeholder { color: #7d6878; }
.field input:hover, .field textarea:hover { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); }
.field input:focus, .field textarea:focus { outline: none; background: rgba(0, 0, 0, .5); box-shadow: inset 0 0 0 2px var(--yellow); }
.field input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--loss); }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chips label { cursor: pointer; }
.chips input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: .65rem 1.1rem; border-radius: 999px; font: 400 .9rem/1 var(--display); text-transform: uppercase; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .16); transition: background .2s, box-shadow .2s, transform .2s; }
.chips label:hover span { transform: translateY(-2px); }
.chips input:checked + span { background: var(--blue); box-shadow: 0 4px 0 #0b4f99; }
.chips input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 3px; }
.check { display: flex; gap: .7rem; align-items: center; cursor: pointer; font-size: .95rem; color: #ead9e6; }
.check input { width: 1.25rem; height: 1.25rem; accent-color: var(--yellow); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__msg { margin: 0; min-height: 1.4em; font-weight: 600; }
.form__msg.is-ok { color: #86efac; }
.form__msg.is-err { color: #fca5a5; }
.form__legal { margin: 0; font-size: .8rem; color: #8f7a8a; }
.form.is-done .field, .form.is-done .check, .form.is-done #applyBtn { display: none; }
.form.is-done .form__msg { font: 400 clamp(1.4rem, 1rem + 1.5vw, 2rem)/1.15 var(--display); text-transform: uppercase; color: #fff; padding: 2rem 0 .5rem; }

/* footer */
.foot { padding: 3rem 0 2.5rem; background: #08040a; box-shadow: inset 0 1px 0 var(--line); }
.foot__grid { display: grid; grid-template-columns: auto 1fr; gap: 1rem 2rem; align-items: center; }
.foot nav { display: flex; gap: 1.4rem; justify-self: end; }
.foot nav a { text-decoration: none; font-weight: 600; color: #e7d6e3; }
.foot nav a:hover { color: var(--yellow); }
.foot p { grid-column: 1 / -1; margin: 0; font-size: .82rem; color: #8f7a8a; }

/* reveal on scroll (class added by main.js, so content stays visible without JS) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .hero { grid-template-columns: 1fr; padding-top: 5.5rem; padding-bottom: 5.5rem; }
  .hero__copy { order: 2; }
  .hero__cast { order: 1; height: 44vh; margin: 0 auto 1rem; width: min(560px, 100%, 62vh); }
  .hero__lanes { height: 14%; bottom: 3.2rem; }
  .game__grid, .apply__grid, .token__box { grid-template-columns: 1fr; }
  .token__runner { max-height: 320px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .mcard--crypto, .mcard--stock { grid-column: span 2; grid-row: auto; }
  .mcard--commodity, .mcard--fx { grid-column: span 1; }
  .road { grid-template-columns: 1fr; }
  .road::before { display: none; }
  .apply__duo { display: none; }
  .markets { background-attachment: scroll; }
}
@media (max-width: 560px) {
  .nav__logo img { width: 110px; }
  .nav__cta { gap: .4rem; }
  .nav__cta .btn--small { padding: .65rem .7rem; font-size: .72rem; }
  .hero__cast { height: 36vh; }
  .hero__stats { gap: 1.1rem; }
  .form { grid-template-columns: 1fr; }
  .race__hud { grid-template-columns: 1fr 1fr; }
  .race__hud .btn { grid-column: 1 / -1; grid-row: 2; }
  .hud__pct { min-width: 0; font-size: .8rem; }
  .hud__sym { font-size: 1rem; }
  .foot__grid { grid-template-columns: 1fr; }
  .foot nav { justify-self: start; }
}

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