/* LOOTR. Night: a blue-black ground with one soft blue glow, where the loot chip sits as the crate's gauge (eight
   notches, each an eighth of a drop). Heavy uppercase Barlow headlines, glass cards, real skins. Blue means the drop
   (the live crate, the one action, a win). Rust red and CS2 amber mean only their game. Cream is the chip's face and
   the text. */

/* headlines and big numbers: Barlow 900, uppercase, tight (the trailer's face) */
@font-face { font-family: 'Barlow'; src: url('/fonts/barlow-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('/fonts/barlow-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('/fonts/barlow-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('/fonts/barlow-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('/fonts/barlow-latin-800-normal.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('/fonts/barlow-latin-900-normal.woff2') format('woff2'); font-weight: 900; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('/fonts/jetbrains-mono-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('/fonts/jetbrains-mono-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }

:root {
  --ground: #05080F;      /* the night */
  --surface: #0C1322;     /* panels, cards */
  --surface-2: #131C30;
  --surface-3: #1A2540;
  --glass: linear-gradient(180deg, rgba(150, 190, 255, .075), rgba(150, 190, 255, .025));
  --line: rgba(169, 203, 255, .10);
  --line-2: rgba(169, 203, 255, .18);
  --cream: #FFF7EA;       /* text; the chip's face */
  --cream-2: #CCD4E2;     /* secondary text */
  --muted: #8C97AD;       /* labels: 6.8:1 on the ground */
  --green: #3B8CFF;       /* THE accent: the drop. The chip, the one action, a win, every live number */
  --green-2: #6AA8FF;
  --glow: rgba(59, 140, 255, .45);
  --deep: #061633;        /* ink on blue (9.5:1) and on cream */
  --mint: #A9CBFF;
  --rust: #FF5B3D;        /* Rust skins, and nothing else */
  --cs2: #FFB938;         /* CS2 skins, and nothing else */
  --bad: #FF7A6B; --good: #6FB0FF;
  --display: 'Barlow', 'Arial Black', system-ui, sans-serif;
  --text: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  --r: 24px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 128px; }
body { margin: 0; background: var(--ground); color: var(--cream); font: 400 17px/1.55 var(--text); overflow-x: hidden; min-height: 100vh; display: flex; flex-direction: column; }
#main { flex: 1; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--green); color: var(--deep); }
:focus-visible { outline: 3px solid var(--green-2); outline-offset: 3px; border-radius: 10px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.mono, .num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.fine { font-size: 14px; color: var(--muted); margin: 0; }
.label, .kicker { font: 600 12px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.kicker { display: inline-flex; align-items: center; gap: 9px; color: var(--mint); justify-self: start; }
.kicker::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--glow); }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1 { font: 900 clamp(44px, 5.6vw, 86px)/.94 var(--display); letter-spacing: -.025em; text-transform: uppercase; }
h2 { font: 900 clamp(32px, 3.8vw, 54px)/.98 var(--display); letter-spacing: -.02em; text-transform: uppercase; }
h3 { font: 700 20px/1.25 var(--text); }
p { margin: 0; }
.lede { font-size: clamp(17px, 1.45vw, 19px); max-width: 33em; color: var(--cream-2); }
.lede b { color: var(--cream); font-weight: 700; }
.icon { display: inline-flex; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.green { color: var(--green-2); }

/* ---------- buttons: pills ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--surface-2); color: var(--cream); font: 700 16px/1 var(--text); text-decoration: none; cursor: pointer; white-space: nowrap; box-shadow: inset 0 0 0 1.5px var(--line-2); transition: transform .12s var(--ease), background .2s, box-shadow .2s; }
.btn:hover { background: var(--surface-3); }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--green); color: var(--deep); box-shadow: 0 10px 30px -8px var(--glow), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn.primary:hover { background: var(--green-2); box-shadow: 0 12px 36px -6px var(--glow), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn.deep { background: var(--deep); color: var(--cream); box-shadow: none; }
.btn.deep:hover { background: #0E2552; }
.btn.cream { background: var(--cream); color: var(--deep); box-shadow: none; }
.btn.cream:hover { background: #fff; }
.btn.sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn.lg { height: 56px; padding: 0 28px; font-size: 17px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; color: inherit; }
.icon-btn { width: 38px; height: 38px; display: inline-grid; place-items: center; border: 0; border-radius: 50%; background: var(--surface-2); cursor: pointer; }

.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px; border-radius: 999px; font: 600 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; background: var(--surface-2); color: var(--cream-2); white-space: nowrap; }
.chip.green { background: var(--green); color: var(--deep); }
.chip.rust { background: var(--rust); color: #1A0603; }
.chip.cs2 { background: var(--cs2); color: #1C1205; }
.chip.ghost { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-2); }

.plate { position: relative; background: var(--glass), var(--surface); border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, .05); }

/* the loot chip, wherever it shows */
.loot-chip { width: 100%; height: auto; overflow: visible; }
.loot-chip .eyes { transform-box: fill-box; transform-origin: center; }
[data-motion='on'] .loot-chip .eyes { animation: blink 7s ease-in-out infinite; }
@keyframes blink { 0%, 46%, 50%, 100% { transform: scaleY(1); } 48% { transform: scaleY(.12); } }

/* ---------- header ---------- */
#top { position: sticky; top: 0; z-index: 40; background: rgba(5, 8, 15, .82); backdrop-filter: blur(12px); transition: box-shadow .2s; }
#top.scrolled { box-shadow: 0 1px 0 var(--line-2); }
.demo-strip { background: var(--deep); color: var(--cream-2); font: 500 13px/1.4 var(--text); text-align: center; padding: 7px var(--gut); }
.demo-strip b { color: var(--mint); font-weight: 700; }
.top-bar { display: flex; align-items: center; gap: 22px; height: 72px; }
.brand { display: flex; align-items: center; text-decoration: none; flex: none; }
.logo { display: flex; align-items: center; gap: 12px; }
.brand .mk { width: 40px; height: 40px; flex: none; filter: drop-shadow(0 0 14px rgba(59, 140, 255, .35)); }
.brand .mk svg { width: 40px; height: 40px; }
.brand .wm svg { height: 22px; width: auto; }
.nav { display: flex; gap: 2px; }
.nav a { padding: 9px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--cream-2); }
.nav a:hover { background: var(--surface-2); color: var(--cream); }
.nav a[aria-current] { color: var(--deep); background: var(--green); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.top-actions .btn { height: 42px; font-size: 15px; padding: 0 16px; }
.ca-chip { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 999px; font: 600 12px/1 var(--mono); color: var(--cream-2); background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-2); border: 0; }
.ca-chip.live { cursor: pointer; background: var(--surface-2); }
.wallet-box { position: relative; }
.wallet-btn.on { gap: 8px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(59, 140, 255, .25); }
.menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; background: var(--surface); border-radius: 18px; padding: 6px; box-shadow: inset 0 0 0 1px var(--line-2), 0 18px 40px rgba(0, 0, 0, .55); z-index: 50; }
.menu-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.menu-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px; border: 0; background: none; border-radius: 12px; text-align: left; text-decoration: none; font-size: 15px; cursor: pointer; }
.menu-item:hover { background: var(--surface-2); }
.tabbar { display: none; }

/* ---------- the night hero ---------- */
.night { position: relative; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line);
  background: radial-gradient(52% 64% at 74% 46%, rgba(59, 140, 255, .26), rgba(59, 140, 255, 0) 70%), radial-gradient(40% 46% at 8% -6%, rgba(59, 140, 255, .14), rgba(59, 140, 255, 0) 70%), var(--ground); }
/* a fine dot grid, faded at the edges: a dark room, a lit table */
.specks { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(circle, rgba(169, 203, 255, .22) 1px, transparent 1.6px) 0 0 / 34px 34px;
  -webkit-mask-image: radial-gradient(70% 80% at 60% 45%, #000, transparent 75%); mask-image: radial-gradient(70% 80% at 60% 45%, #000, transparent 75%); }
.hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 36px; align-items: center; padding-top: clamp(40px, 5.5vw, 80px); padding-bottom: clamp(44px, 5.5vw, 80px); min-height: clamp(600px, calc(100vh - 110px), 820px); }
.hero-copy { display: grid; gap: 22px; align-content: center; }
.hero h1 .l1 { display: block; }
.hero h1 .l2, .close h2 .l2 { display: block; color: var(--green); text-shadow: 0 0 42px rgba(59, 140, 255, .55); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.how3 { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; counter-reset: s; }
.how3 li { counter-increment: s; display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 6px; border-radius: 999px; background: var(--glass), var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--cream); font: 700 15px var(--text); }
.how3 li::before { content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: var(--deep); font: 800 15px var(--mono); }
.trust { font: 500 14px/1.5 var(--text); color: var(--muted); max-width: 36em; }
.proof { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.proof li { display: flex; gap: 10px; align-items: baseline; font-size: 15.5px; font-weight: 500; color: var(--cream-2); }
.proof li::before { content: ''; flex: none; width: 14px; height: 9px; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg) translate(2px, -2px); }

.ca-box { display: grid; gap: 6px; padding: 14px 18px; border-radius: 20px; max-width: 560px; background: var(--glass), var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); }
.ca-box .ca-line { display: flex; align-items: center; gap: 10px; }
.ca-box .addr { font: 600 14px/1.3 var(--mono); user-select: all; overflow-wrap: anywhere; flex: 1; }
.ca-box .soon { font: 900 24px/1 var(--display); letter-spacing: -.01em; text-transform: uppercase; color: var(--cream); }
.ca-box .btn.deep { background: var(--green); color: var(--deep); }

/* the chip gauge: rays and rings behind it, real skins floating by it */
.stage-wrap { position: relative; display: grid; justify-items: center; align-content: center; gap: 20px; }
.gauge { position: relative; width: min(100%, 440px); aspect-ratio: 1; display: grid; place-items: center; }
.gauge::before, .close-chip::before {
  content: ''; position: absolute; left: 50%; top: 50%; width: 250%; aspect-ratio: 1; z-index: -2; pointer-events: none; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(59, 140, 255, .42) 0, rgba(59, 140, 255, 0) 32%), repeating-conic-gradient(from 0deg, rgba(106, 168, 255, .09) 0deg 7deg, transparent 7deg 18deg);
  -webkit-mask-image: radial-gradient(circle, #000 0, #000 18%, transparent 58%); mask-image: radial-gradient(circle, #000 0, #000 18%, transparent 58%);
}
.gauge::after { content: ''; position: absolute; inset: -16%; z-index: -1; border-radius: 50%; pointer-events: none;
  background: repeating-radial-gradient(circle, transparent 0 46px, rgba(106, 168, 255, .12) 47px 48px);
  -webkit-mask-image: radial-gradient(circle, transparent 34%, #000 44%, transparent 70%); mask-image: radial-gradient(circle, transparent 34%, #000 44%, transparent 70%); }
[data-motion='on'] .gauge::before, [data-motion='on'] .close-chip::before { animation: burst 120s linear infinite; }
@keyframes burst { to { transform: translate(-50%, -50%) rotate(360deg); } }
/* the chip is a button: click it to open the crate */
.stage { all: unset; display: grid; place-items: center; width: 74%; cursor: pointer; border-radius: 50%; }
.stage:focus-visible { outline: 3px solid var(--green-2); outline-offset: 8px; }
.stage .loot-chip { filter: drop-shadow(0 28px 40px rgba(0, 0, 0, .55)) drop-shadow(0 0 40px rgba(59, 140, 255, .35)); transition: transform .25s var(--ease); }
.stage:hover .loot-chip { transform: scale(1.03) rotate(-4deg); }
.loot-chip .n.next { animation: none; }
[data-motion='on'] .stage { animation: bob 6s ease-in-out infinite; }
[data-motion='on'] .stage .loot-chip .n.next { animation: next 1.6s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(-6px); } 50% { transform: translateY(8px); } }
@keyframes next { 50% { fill-opacity: .75; fill: #6AA8FF; } }

.floats { position: absolute; inset: 0; pointer-events: none; }
.float { position: absolute; width: 156px; padding: 9px 9px 11px; border-radius: 18px; display: grid; gap: 6px; background: linear-gradient(180deg, rgba(24, 34, 58, .96), rgba(12, 19, 34, .96)); box-shadow: inset 0 0 0 1px var(--line-2), 0 24px 44px -10px rgba(0, 0, 0, .7); }
.float .art { position: relative; height: 70px; border-radius: 12px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 60%, rgba(255, 91, 61, .3), rgba(255, 91, 61, 0) 70%), rgba(255, 255, 255, .03); box-shadow: inset 0 -3px 0 var(--rust); }
.float .art.cs2 { background: radial-gradient(circle at 50% 60%, rgba(255, 185, 56, .28), rgba(255, 185, 56, 0) 70%), rgba(255, 255, 255, .03); box-shadow: inset 0 -3px 0 var(--cs2); }
.float .art img { max-height: 64px; max-width: 92%; width: auto; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .5)); }
.float .fname { font-weight: 700; font-size: 13px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 2px; }
.float .fmeta { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; padding: 0 2px; font: 500 10.5px var(--mono); color: var(--muted); }
.float .usd { font: 900 19px/1 var(--display); color: var(--cream); }
.float .ftag { position: absolute; left: 6px; top: 6px; padding: 2px 6px; border-radius: 6px; font: 600 9px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--cream-2); background: rgba(5, 8, 15, .6); }
.float .g { font: 700 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.float .g.rust { color: var(--rust); } .float .g.cs2 { color: var(--cs2); }
.float.f1 { left: -17%; top: 0; transform: rotate(-7deg); }
.float.f2 { right: -18%; top: 36%; transform: rotate(6deg); }
.float.f3 { left: -12%; bottom: -3%; transform: rotate(-3deg); }
[data-motion='on'] .float { animation: hover 7s ease-in-out infinite; }
[data-motion='on'] .float.f2 { animation-delay: -2.4s; } [data-motion='on'] .float.f3 { animation-delay: -4.6s; }
@keyframes hover { 50% { translate: 0 -10px; } }

.readout { width: min(100%, 420px); padding: 18px 20px 20px; display: grid; gap: 10px; background: var(--glass), rgba(12, 19, 34, .92); color: var(--cream); border-radius: 26px; box-shadow: inset 0 0 0 1px var(--line-2), 0 24px 50px -20px rgba(0, 0, 0, .8); }
.readout .big { font: 900 52px/1 var(--display); letter-spacing: -.02em; color: var(--green); text-shadow: 0 0 30px rgba(59, 140, 255, .45); }
.readout .big small { font: 600 15px var(--mono); color: var(--muted); margin-left: 8px; letter-spacing: 0; text-shadow: none; }
.notch-line { display: flex; justify-content: space-between; gap: 10px; font: 500 12.5px var(--mono); color: var(--muted); }
.notch-line b { color: var(--cream); font-weight: 600; }
.bar { height: 12px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #2A6FE0, var(--green-2)); box-shadow: 0 0 16px var(--glow); width: 0; transition: width .6s var(--ease); }
.readout .state { font-size: 15px; color: var(--cream-2); }
.readout .state b { color: var(--cream); }
.readout .open { font: 600 13px var(--mono); color: var(--green-2); }
.row.between { justify-content: space-between; flex-wrap: nowrap; }
.stack.tight { gap: 8px; }

/* ---------- the live drop zone ---------- */
.live { padding: clamp(56px, 7vw, 92px) 0 0; }
.kicker.pulse::before { box-shadow: 0 0 0 0 rgba(59, 140, 255, .6); }
[data-motion='on'] .kicker.pulse::before { animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(59, 140, 255, .55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(59, 140, 255, 0); } }
.dz { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; align-items: stretch; }
.dz-card, .dz-buys { border-radius: 30px; padding: 26px; display: grid; gap: 18px; align-content: start; }
.dz-card { background: radial-gradient(90% 60% at 0% 0%, rgba(59, 140, 255, .2), rgba(59, 140, 255, 0) 70%), linear-gradient(180deg, #0B1630, #08101F); color: var(--cream); box-shadow: inset 0 0 0 1.5px rgba(59, 140, 255, .34), 0 30px 60px -30px rgba(59, 140, 255, .35); }
.dz-buys { background: var(--glass), var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.dz-amt { font: 900 clamp(56px, 6vw, 84px)/.9 var(--display); color: var(--green); letter-spacing: -.03em; text-shadow: 0 0 36px rgba(59, 140, 255, .45); }
.dz-amt small { font: 600 16px var(--mono); color: var(--cream-2); margin-left: 10px; letter-spacing: 0; text-shadow: none; }
.bar.thick { height: 18px; background: rgba(255, 247, 234, .1); }
.chip.cream { background: var(--cream); color: var(--deep); }
.dz-line { font-size: 15px; color: var(--cream-2); }
.dz-line b { color: var(--cream); }

/* five steps, filling to delivered */
.stepper { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.stepper li { position: relative; display: grid; justify-items: center; gap: 8px; text-align: center; font: 600 12px/1.25 var(--text); color: var(--muted); }
.stepper li::before { content: ''; position: absolute; top: 15px; left: calc(-50% + 18px); right: calc(50% + 18px); height: 3px; border-radius: 2px; background: rgba(255, 247, 234, .14); }
.stepper li:first-child::before { display: none; }
.stepper .dot { position: relative; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 700 13px var(--mono); background: rgba(255, 247, 234, .1); color: var(--cream-2); }
.stepper li.done { color: var(--cream-2); }
.stepper li.done::before, .stepper li.now::before { background: var(--green); box-shadow: 0 0 10px var(--glow); }
.stepper li.done .dot { background: var(--green); color: var(--deep); }
.stepper li.now { color: var(--cream); }
.stepper li.now .dot { background: var(--cream); color: var(--deep); box-shadow: 0 0 0 5px rgba(59, 140, 255, .35); }
[data-motion='on'] .stepper li.now .dot { animation: nowdot 2s ease-in-out infinite; }
@keyframes nowdot { 50% { box-shadow: 0 0 0 9px rgba(59, 140, 255, .12); } }

.facts { margin: 0; display: grid; gap: 0; }
.facts > div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 11px 0; border-top: 1px solid rgba(255, 247, 234, .1); font-size: 15px; }
.facts dt { font: 600 12px/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; color: var(--cream); }
.facts dd a { color: var(--green-2); text-decoration: none; }
.mini { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: rgba(255, 247, 234, .06); text-decoration: none; font-size: 14.5px; color: var(--cream-2); }
.mini:hover { background: rgba(255, 247, 234, .1); }
.mini b { color: var(--cream); }
.mini .proof { font: 600 13px var(--mono); color: var(--green-2); }

/* real skins at the market: examples */
.ex-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ex { display: grid; gap: 6px; align-content: start; padding: 10px 10px 12px; border-radius: 20px; background: var(--glass), var(--surface); box-shadow: inset 0 0 0 1px var(--line); min-width: 0; transition: transform .2s var(--ease); }
.ex:hover { transform: translateY(-3px); }
.ex.sk { min-height: 190px; }
.ex .art { height: 108px; border-radius: 14px; display: grid; place-items: center; overflow: hidden; }
.ex .art { background: radial-gradient(circle at 50% 62%, rgba(255, 91, 61, .3), rgba(255, 91, 61, 0) 70%), var(--surface-2); box-shadow: inset 0 -4px 0 var(--rust), inset 0 0 0 1px var(--line); }
.ex .art.cs2 { background: radial-gradient(circle at 50% 62%, rgba(255, 185, 56, .3), rgba(255, 185, 56, 0) 70%), var(--surface-2); box-shadow: inset 0 -4px 0 var(--cs2), inset 0 0 0 1px var(--line); }
.ex .art img { max-height: 92px; max-width: 92%; width: auto; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .5)); }
.ex .art .item-ic { width: 96px; }
.ex .name { font-weight: 700; font-size: 14.5px; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; min-height: 2.5em; }
.ex .meta { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; font: 500 12px var(--mono); color: var(--muted); }
.ex .usd { font: 900 22px/1 var(--display); color: var(--cream); letter-spacing: -.01em; }

/* recent winners */
.wins { display: grid; gap: 10px; }
.win { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 16px 10px 10px; border-radius: 22px; background: var(--glass), var(--surface); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; color: var(--cream); transition: background .2s, box-shadow .2s; }
.win.sk { min-height: 76px; }
.win:hover { box-shadow: inset 0 0 0 1px rgba(59, 140, 255, .45); }
.win .thumb { width: 76px; height: 56px; border-radius: 14px; display: grid; place-items: center; overflow: hidden; background: var(--surface-2); box-shadow: inset 0 -4px 0 var(--muted); }
.win .thumb.rust { background: radial-gradient(circle at 50% 62%, rgba(255, 91, 61, .3), rgba(255, 91, 61, 0) 70%), var(--surface-2); box-shadow: inset 0 -4px 0 var(--rust), inset 0 0 0 1px var(--line); }
.win .thumb.cs2 { background: radial-gradient(circle at 50% 62%, rgba(255, 185, 56, .3), rgba(255, 185, 56, 0) 70%), var(--surface-2); box-shadow: inset 0 -4px 0 var(--cs2), inset 0 0 0 1px var(--line); }
.win .thumb img, .win .thumb .item-ic { max-width: 64px; max-height: 44px; width: auto; object-fit: contain; }
.win .who { display: grid; gap: 6px; min-width: 0; }
.win .who b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win .meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font: 500 13px var(--mono); color: var(--muted); }
.win .meta .chip { height: 22px; padding: 0 8px; font-size: 11px; }
.win .val { display: grid; justify-items: end; gap: 6px; }
.win .usd { font: 900 26px/1 var(--display); color: var(--green); letter-spacing: -.01em; }
.win .proof { display: inline-flex; align-items: center; gap: 4px; font: 600 12px var(--mono); color: var(--cream-2); }
.win-empty { padding: 22px; border-radius: 22px; background: var(--glass), var(--surface); box-shadow: inset 0 0 0 1px var(--line); }

/* the crate, opened */
.crate-open { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; }
.crate-open .loot-chip { width: 120px; filter: drop-shadow(0 0 24px rgba(59, 140, 255, .35)); }
.crate-open .big { font: 900 46px/1 var(--display); color: var(--green); letter-spacing: -.02em; }
.crate-open .big small { font: 600 14px var(--mono); color: var(--muted); margin-left: 8px; }
.modal-panel .stepper li { font-size: 11px; }
.modal-panel .stepper .dot { width: 28px; height: 28px; }
.modal-panel .stepper li::before { top: 13px; }
.modal-panel .facts > div { grid-template-columns: 1fr; gap: 2px; border-color: var(--line); }
.modal-panel .state { font-size: 15px; color: var(--cream-2); }
.modal-panel .state b { color: var(--cream); }
.modal-panel .mini { background: var(--surface-2); }

/* the latest drop, under the header: one calm line, it never scrolls */
.latest { display: flex; align-items: center; gap: 12px; padding: 0 var(--gut); height: 38px; background: linear-gradient(90deg, #0A1A3D, #071127); color: var(--cream-2); font-size: 14px; text-decoration: none; white-space: nowrap; overflow: hidden; }
.latest .in { display: flex; align-items: center; gap: 12px; max-width: var(--wrap); width: 100%; margin: 0 auto; min-width: 0; }
.latest .k { font: 600 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--green-2); flex: none; }
.latest b { color: var(--cream); }
.latest .txt { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.latest .go { margin-left: auto; flex: none; font: 600 12px var(--mono); color: var(--green-2); }
.latest .live-dot { flex: none; }
.latest:hover .go { text-decoration: underline; }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 116px) 0; }
.section-head { display: grid; gap: 14px; margin-bottom: 34px; max-width: 780px; }
.section-head.split { max-width: none; grid-template-columns: 1fr auto; align-items: end; }

/* the bento: big rounded tiles of colour */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.tile { position: relative; border-radius: 30px; padding: 26px; display: grid; gap: 10px; align-content: space-between; min-height: 230px; overflow: hidden; text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s; }
a.tile:hover { transform: translateY(-3px); }
.tile .label { color: inherit; opacity: .75; }
.tile .v { font: 900 clamp(42px, 4.4vw, 66px)/.95 var(--display); letter-spacing: -.03em; }
.tile .v small { font: 600 16px var(--mono); opacity: .7; margin-left: 6px; letter-spacing: 0; }
/* before launch or before the first drop: words, not a zero */
.tile .v.soon { font-size: clamp(26px, 2.5vw, 36px); line-height: 1; text-transform: uppercase; letter-spacing: -.01em; }
.tile p { font-size: 15.5px; }
.t-crate { grid-column: span 5; background: radial-gradient(80% 90% at 100% 100%, rgba(59, 140, 255, .22), rgba(59, 140, 255, 0) 70%), var(--glass), var(--surface); color: var(--cream); box-shadow: inset 0 0 0 1px var(--line); }
.t-crate .v, .t-zone .v { color: var(--green); text-shadow: 0 0 30px rgba(59, 140, 255, .4); }
.t-crate .bar { background: var(--surface-2); }
.t-last { grid-column: span 4; background: radial-gradient(70% 60% at 50% 40%, rgba(59, 140, 255, .18), rgba(59, 140, 255, 0) 70%), var(--glass), var(--surface); color: var(--cream); box-shadow: inset 0 0 0 1px var(--line); }
.t-last .label { opacity: .75; }
.t-last .art { height: 104px; display: grid; place-items: center; }
.t-last .art img, .t-last .art svg { max-height: 104px; width: auto; }
.t-last p { color: var(--cream-2); }
.t-last p b { color: var(--cream); }
.t-zone { grid-column: span 3; background: var(--glass), var(--surface); color: var(--cream); box-shadow: inset 0 0 0 1px var(--line); }
.t-rust { grid-column: span 3; background: linear-gradient(160deg, #FF6E52, #F2482B); color: #1A0603; }
.t-cs2 { grid-column: span 3; background: linear-gradient(160deg, #FFC650, #F5A623); color: #1C1205; }
.t-proof { grid-column: span 3; background: var(--glass), var(--surface); color: var(--cream); box-shadow: inset 0 0 0 1px var(--line); }
.t-split { grid-column: span 3; background: linear-gradient(160deg, #5A9EFF, #2F7BEF); color: var(--deep); box-shadow: 0 24px 50px -24px var(--glow); }
.tile .glyph { position: absolute; right: -14px; bottom: -18px; width: 150px; opacity: .2; transform: rotate(-12deg); pointer-events: none; }
.tile-link { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.step { padding: 26px 24px; display: grid; gap: 12px; align-content: start; }
.step .n { font: 900 56px/.95 var(--display); color: var(--green); letter-spacing: -.03em; text-shadow: 0 0 30px rgba(59, 140, 255, .4); }
.step .loot-chip { width: 58px; flex: none; }
.how-chip .loot-chip { width: 120px; filter: drop-shadow(0 0 22px rgba(59, 140, 255, .3)); }
.step p { font-size: 15.5px; color: var(--cream-2); }

/* skin cards: one per drop */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.skin { display: grid; background: var(--glass), var(--surface); border-radius: 26px; overflow: hidden; text-decoration: none; color: var(--cream); box-shadow: inset 0 0 0 1px var(--line); transition: transform .25s var(--ease), box-shadow .25s; }
.skin:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(59, 140, 255, .45), 0 24px 50px -24px var(--glow); }
.skin .band { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; font: 600 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; background: var(--surface-2); color: var(--cream-2); }
.skin .band.rust { background: var(--rust); color: #1A0603; }
.skin .band.cs2 { background: var(--cs2); color: #1C1205; }
.skin .art { height: 140px; margin: 12px 12px 0; border-radius: 18px; display: grid; place-items: center; background: radial-gradient(circle at 50% 60%, rgba(59, 140, 255, .26), rgba(59, 140, 255, 0) 70%), var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.skin .art img { filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .5)); }
.skin .art img { max-height: 120px; width: auto; }
.skin .art .item-ic { width: 112px; }
.skin .body { padding: 14px 16px 16px; display: grid; gap: 6px; }
.skin .name { font-weight: 700; font-size: 17px; line-height: 1.25; }
.skin .meta { display: flex; justify-content: space-between; gap: 8px; font: 500 13px/1.4 var(--mono); color: var(--muted); }
.skin .usd { font: 900 26px/1 var(--display); color: var(--cream); letter-spacing: -.01em; }
.stamp { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font: 600 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; background: rgba(0, 0, 0, .22); color: inherit; }
.stamp.delivered { background: var(--green); color: var(--deep); }
.stamp.returned { background: rgba(0, 0, 0, .3); }
.stamp.live { background: var(--cream); color: var(--deep); }

/* receipts */
.feed { display: grid; background: var(--glass), var(--surface); border-radius: var(--r); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.feed-row { display: grid; grid-template-columns: 88px 1fr auto; gap: 14px; align-items: center; padding: 13px 18px; border-top: 1px solid var(--line); font-size: 15px; color: var(--cream-2); }
.feed-row:first-child { border-top: 0; }
.feed-row a { color: var(--cream); }
.feed-row .when { font: 500 13px var(--mono); color: var(--muted); }
.feed-row .tx { font: 600 13px var(--mono); color: var(--cream-2); text-decoration: none; white-space: nowrap; }
.feed-row .tx:hover { color: var(--green-2); }
.feed-row .k { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); margin-right: 9px; vertical-align: 1px; }
.feed-row .k.draw, .feed-row .k.delivered, .feed-row .k.commit { background: var(--green-2); }

.split-bar { display: grid; height: 64px; border-radius: 999px; overflow: hidden; background: var(--deep); }
.split-bar > div { display: flex; align-items: center; justify-content: space-between; padding: 0 20px; font: 700 15px var(--text); }
.split-bar .crate { background: var(--deep); color: var(--cream); }
.split-bar .team { background: var(--cream); color: var(--deep); }
.split-bar b { font: 900 28px/1 var(--display); letter-spacing: -.02em; }

.faq { display: grid; gap: 10px; }
.faq details { background: var(--glass), var(--surface); border-radius: 20px; padding: 0 22px; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s; }
.faq details[open] { box-shadow: inset 0 0 0 1px rgba(59, 140, 255, .4); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 600 22px/1 var(--mono); color: var(--green-2); }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 0 18px; color: var(--cream-2); max-width: 64em; }
.faq.two { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }

.close { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 30px; padding: clamp(36px, 5vw, 64px) clamp(24px, 5vw, 70px); border-radius: 36px;
  background: radial-gradient(50% 90% at 82% 50%, rgba(59, 140, 255, .34), rgba(59, 140, 255, 0) 70%), linear-gradient(180deg, #0B1630, #070D1B); box-shadow: inset 0 0 0 1.5px rgba(59, 140, 255, .3), 0 40px 80px -40px rgba(59, 140, 255, .45); }
.close h2 { font-size: clamp(40px, 5.2vw, 80px); line-height: .94; }
.close-chip { position: relative; width: clamp(180px, 21vw, 290px); }
.close-chip::before { width: 300%; }
.close-chip .loot-chip { filter: drop-shadow(0 26px 40px rgba(0, 0, 0, .55)) drop-shadow(0 0 40px rgba(59, 140, 255, .35)); transform: rotate(-8deg); }

/* ---------- footer ---------- */
#foot { border-top: 1px solid var(--line); margin-top: 70px; }
.foot { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px 40px; padding-top: 40px; padding-bottom: 36px; }
.foot-brand { display: grid; gap: 14px; align-content: start; }
.foot-brand .wm svg { height: 30px; width: auto; }
.foot-brand p { color: var(--cream-2); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; align-content: start; justify-content: flex-end; }
.foot-links a { font-weight: 600; text-decoration: none; color: var(--cream-2); }
.foot-links a:hover { color: var(--cream); }
.foot-note { grid-column: 1 / -1; font-size: 14px; color: var(--muted); }
.foot-base { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

/* ---------- pages ---------- */
.page-head { padding: 50px 0 32px; display: grid; gap: 16px; }
.page-head h1 { font-size: clamp(48px, 6.4vw, 92px); }
.card { padding: 24px; }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 18px; align-items: start; }
.stack { display: grid; gap: 16px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.stat { display: grid; gap: 4px; padding: 16px 18px; background: var(--glass), var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); border-radius: 20px; min-width: 0; }
.stat-value { font: 900 30px/1.02 var(--display); letter-spacing: -.02em; overflow-wrap: anywhere; }
.stat-hint { font-size: 13px; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 700; font-size: 15px; }
.input { width: 100%; height: 50px; padding: 0 16px; border: 0; border-radius: 16px; background: var(--surface-2); box-shadow: inset 0 0 0 1.5px var(--line-2); font: 500 16px var(--mono); color: var(--cream); }
.input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--green); }
.input::placeholder { color: #6E7689; }
.problem { color: var(--bad); font-size: 14.5px; font-weight: 600; }
.ok { color: var(--good); font-weight: 700; }
.seg { display: inline-flex; padding: 4px; gap: 4px; border-radius: 999px; background: var(--surface-2); flex-wrap: wrap; }
.seg button { height: 38px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--cream-2); font-weight: 700; cursor: pointer; }
.seg button[aria-pressed='true'] { background: var(--cream); color: var(--deep); }
.seg button[data-g='rust'][aria-pressed='true'] { background: var(--rust); color: #170806; }
.seg button[data-g='cs2'][aria-pressed='true'] { background: var(--cs2); color: #1C1205; }

.checks { display: grid; gap: 10px; }
.check { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 20px; background: var(--glass), var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.check .box { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font: 900 20px var(--display); background: var(--surface-2); color: var(--muted); }
.check.on .box { background: var(--green); color: var(--deep); box-shadow: 0 0 18px var(--glow); }
.check b { display: block; font-weight: 700; }
.check span { font-size: 14.5px; color: var(--cream-2); }
.check .steam-btn { justify-self: start; margin-top: 4px; }
.input:disabled { opacity: .45; cursor: not-allowed; }

.proofline { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.proofline:first-child { border-top: 0; }
.proofline .n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 700 14px var(--mono); background: var(--green); color: var(--deep); }
.proofline .v { font: 500 13.5px/1.5 var(--mono); overflow-wrap: anywhere; color: var(--cream-2); }
.proofline h3 { font-size: 17px; margin-bottom: 4px; }
.verify-out { padding: 14px 16px; border-radius: 16px; font-weight: 600; }
.verify-out.good { background: var(--green); color: var(--deep); }
.verify-out.bad { background: #3A1814; color: var(--bad); }

.timeline { display: grid; }
.tl { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; color: var(--cream-2); }
.tl .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--surface-2); box-shadow: inset 0 0 0 2px var(--line-2); justify-self: center; }
.tl.done { color: var(--cream); }
.tl.done .dot { background: var(--green); box-shadow: none; }
.tl.now .dot { background: var(--cream); box-shadow: 0 0 0 5px rgba(59, 140, 255, .3); }
.tl .t { font: 500 13px var(--mono); color: var(--muted); }

.table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--glass), var(--surface); border-radius: var(--r); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.table th { text-align: left; font: 600 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 14px 16px; border-bottom: 1px solid var(--line-2); }
.table td { padding: 12px 16px; border-top: 1px solid var(--line); font-size: 15px; vertical-align: middle; }
.table tr.clickable { cursor: pointer; }
.table tr.clickable:hover td { background: var(--surface-2); }
.table .itemcell { display: flex; align-items: center; gap: 12px; }
.table .itemcell .thumb { width: 64px; height: 46px; border-radius: 12px; background: radial-gradient(circle at 50% 60%, rgba(59, 140, 255, .26), rgba(59, 140, 255, 0) 70%), var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; flex: none; }
.table .itemcell .thumb .item-ic, .table .itemcell .thumb img { width: 52px; height: 38px; object-fit: contain; }

/* the leaderboard */
.row.between.board-bar { margin-bottom: 16px; gap: 14px; flex-wrap: wrap; }
.board td:first-child { white-space: nowrap; }
.table-wrap { overflow-x: auto; border-radius: var(--r); }
.board td { padding: 13px 16px; }
.board .num-r { text-align: right; }
.board tr.you td { background: rgba(59, 140, 255, .1); }
.board tr.you td:first-child { box-shadow: inset 4px 0 0 var(--green); }
.board tr.gap td { text-align: center; color: var(--muted); padding: 6px; }
.board .chip { height: 24px; font-size: 11px; margin-left: 8px; }
.board td:nth-child(5) .chip { margin-left: 0; }
.board .cap { margin-left: 6px; font: 600 10px var(--mono); text-transform: uppercase; color: var(--green-2); }
.board-usd { font: 900 24px/1 var(--display); color: var(--green); letter-spacing: -.01em; }
.board a.mono { color: var(--cream); text-decoration: none; }
.board a.mono:hover { color: var(--green-2); }
.empty-board { display: grid; gap: 8px; justify-items: start; }

/* the rules, exactly */
.rules { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--glass), var(--surface); border-radius: var(--r); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.rules th, .rules td { text-align: left; vertical-align: top; padding: 15px 18px; border-top: 1px solid var(--line); }
.rules tr:first-child th, .rules tr:first-child td { border-top: 0; }
.rules th { width: 200px; font: 600 12px/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--green-2); }
.rules td { color: var(--cream-2); font-size: 15.5px; }
.rules td b { color: var(--cream); }
.rules code { font: 500 13px var(--mono); color: var(--cream); background: var(--surface-2); padding: 2px 6px; border-radius: 6px; overflow-wrap: anywhere; }

.empty { display: grid; gap: 12px; justify-items: center; text-align: center; padding: 56px 20px; }
.empty .loot-chip { width: 140px; filter: drop-shadow(0 0 26px rgba(59, 140, 255, .3)); }
.sk { background: linear-gradient(90deg, var(--surface), var(--surface-2), var(--surface)); background-size: 200% 100%; border-radius: 12px; min-height: 18px; }
[data-motion='on'] .sk { animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.skin.sk-card { min-height: 300px; }

/* toasts and the modal */
.toasts { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); display: grid; gap: 8px; z-index: 90; }
.toast { padding: 11px 18px; background: var(--cream); color: var(--deep); border-radius: 999px; font-weight: 700; font-size: 15px; }
.toast.bad { background: var(--bad); color: #1A0503; }
.modal-veil { position: fixed; inset: 0; background: rgba(0, 0, 0, .6); display: grid; place-items: center; z-index: 80; padding: 16px; }
.modal-panel { width: min(100%, 460px); max-height: calc(100vh - 32px); overflow: auto; background: linear-gradient(180deg, #111B30, #0B1222); border-radius: 28px; box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 60px rgba(0, 0, 0, .5); }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px 8px; }
.modal-head h2 { font: 900 28px/1 var(--display); letter-spacing: -.02em; text-transform: uppercase; }
.modal-panel.locked .modal-x { visibility: hidden; }
.modal-body { padding: 8px 20px 22px; display: grid; gap: 14px; }
.wallet-list { display: grid; gap: 8px; }
.wallet-row { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; padding: 13px 15px; border: 0; border-radius: 18px; background: var(--surface-2); cursor: pointer; text-align: left; }
.wallet-row:hover { background: var(--surface-3); }
.wallet-row img { border-radius: 8px; }
.wallet-name { font-weight: 700; }
.wallet-tag { font: 600 11px var(--mono); text-transform: uppercase; color: var(--muted); }
.wallet-help { display: grid; gap: 10px; }

#main.enter { animation: enter .35s var(--ease); }
@keyframes enter { from { opacity: 0; transform: translateY(6px); } }
[data-motion='off'] *, [data-motion='off'] *::before, [data-motion='off'] *::after { animation: none !important; transition: none !important; }

/* ---------- smaller screens ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-crate, .t-last { grid-column: span 6; }
  .t-zone, .t-rust, .t-cs2, .t-proof, .t-split { grid-column: span 6; }
  .dz { grid-template-columns: 1fr; }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 60; background: rgba(12, 19, 34, .94); backdrop-filter: blur(10px); border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2), 0 10px 30px rgba(0, 0, 0, .4); padding: 5px; }
  .tabbar a { display: grid; place-items: center; height: 48px; border-radius: 999px; font-weight: 700; font-size: 13.5px; text-decoration: none; color: var(--cream-2); }
  .tabbar a[aria-current] { background: var(--green); color: var(--deep); }
  body { padding-bottom: 76px; }
}
@media (max-width: 860px) {
  /* phones: the words first (what it is), then the chip, then the rest */
  .hero { grid-template-columns: 1fr; min-height: 0; gap: 20px; padding-top: 28px; }
  .hero-copy, .stage-wrap { display: contents; }
  .hero .kicker { order: 1; } .hero h1 { order: 2; } .hero .lede { order: 3; } .hero-cta { order: 4; }
  .gauge { order: 5; justify-self: center; width: min(80vw, 330px); margin: 10px 0 0; }
  .readout { order: 6; justify-self: center; }
  .how3 { order: 7; } .hero .ca-box { order: 8; } .hero .trust { order: 9; }
  .float { width: 128px; padding: 7px 7px 9px; border-radius: 14px; }
  .float .art { height: 54px; }
  .float .art img { max-height: 46px; }
  .float .fname { font-size: 11.5px; }
  .float .fmeta span:last-child { display: none; }
  .float .usd { font-size: 16px; }
  .float.f1 { left: -8%; top: -4%; }
  .float.f2 { right: -8%; top: auto; bottom: 2%; }
  .float .ftag { display: none; }
  .float.f3 { display: none; }
  .grid-2 { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
  .foot-links { justify-content: flex-start; }
  .top-cta, .ca-chip { display: none; }
  .section-head.split { grid-template-columns: 1fr; }
  .close { grid-template-columns: 1fr; text-align: left; }
  .close-chip { width: 160px; justify-self: center; order: -1; }
  .faq.two { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .top-bar { gap: 10px; height: 64px; }
  .brand .wm svg { height: 18px; }
  .close { border-radius: 28px; padding: 30px 20px; }
  .readout .big { font-size: 44px; }
  .steps { grid-template-columns: 1fr; }
  .t-crate, .t-last, .t-zone, .t-rust, .t-cs2, .t-proof, .t-split { grid-column: span 12; min-height: 0; }
  .hero-cta .btn { flex: 1 1 100%; }
  .feed-row { grid-template-columns: 1fr auto; }
  .feed-row .when { grid-column: 1 / -1; }
  .table .hide-sm { display: none; }
  .split-bar > div { padding: 0 14px; font-size: 13px; }
  .split-bar b { font-size: 24px; }
  .wallet-btn .muted { display: none; }
  .dz-card, .dz-buys { padding: 20px 16px; border-radius: 26px; }
  .ex-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ex .meta { flex-direction: column; align-items: flex-start; gap: 4px; }
  .facts > div { grid-template-columns: 1fr; gap: 2px; }
  .stepper li { font-size: 10.5px; }
  .stepper .dot { width: 28px; height: 28px; }
  .stepper li::before { top: 13px; left: calc(-50% + 16px); right: calc(50% + 16px); }
  .dz-buys > .row.between { flex-wrap: wrap; }
  .win { grid-template-columns: 60px minmax(0, 1fr) auto; gap: 10px; padding-right: 12px; }
  .win .thumb { width: 60px; height: 48px; }
  .win .usd { font-size: 24px; }
  .win .meta { gap: 6px; font-size: 12px; }
  .crate-open { grid-template-columns: 84px 1fr; }
  .crate-open .loot-chip { width: 84px; }
  .latest .k { display: none; }
  .row.between.board-bar { flex-direction: column; align-items: stretch; }
  .board-bar .seg { flex-wrap: nowrap; }
  .board-bar .seg button { flex: 1; padding: 0 6px; font-size: 14px; }
  .board td, .board th { padding: 11px 10px; }
  .board .itemcell .thumb { display: none; }
  .board-usd { font-size: 22px; }
  .rules th, .rules td { display: block; width: auto; padding: 12px 16px 0; border-top: 0; }
  .rules td { padding: 4px 16px 14px; border-bottom: 1px solid var(--line); }
}
