/* =========================================================
   BATON BEAR — arcade cabinet / pinball machine styles
   ========================================================= */

:root {
  --ink: #0a0c0e;
  --char: #131519;
  --char-2: #1b1e24;
  --metal: #262a31;
  --metal-2: #343943;
  --line: rgba(255, 255, 255, 0.08);
  --pink: #5af08f;
  --orange: #2fcf6f;
  --yellow: #a7f3c0;
  --lime: #5af08f;
  --red: #ff3344;
  --violet: #5af08f;
  --cream: #f2fff6;
  --text: #eef3f0;
  --muted: #a7b0ab;
  --pixel: 'Press Start 2P', ui-monospace, monospace;
  --body: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --pill: linear-gradient(90deg, #2fcf6f 0%, #5af08f 50%, #f4fbf7 50%, #ffffff 100%);
  --stripes: repeating-linear-gradient(-45deg, var(--yellow) 0 12px, var(--ink) 12px 24px);
  --chrome: linear-gradient(180deg, #f4f5f8 0%, #c3c8d2 45%, #8e95a3 55%, #dfe3ea 100%);
  --header-h: 84px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--char);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='640'%3E%3Cg stroke='%23fff' stroke-opacity='.05' fill='none'%3E%3Cpath d='M20 80 L260 40'/%3E%3Cpath d='M340 420 L600 372'/%3E%3Cpath d='M100 540 L190 522'/%3E%3Cpath d='M430 120 L478 270'/%3E%3Cpath d='M30 300 Q120 288 210 312'/%3E%3Cpath d='M520 560 L600 610'/%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(1100px 620px at 8% -10%, rgba(47, 207, 111, 0.16), transparent 60%),
    radial-gradient(900px 640px at 100% 18%, rgba(90, 240, 143, 0.12), transparent 60%),
    radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1.5px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.012) 0 1px, transparent 1px 4px);
  background-size: 640px 640px, auto, auto, 7px 7px, auto;
}

img { max-width: 100%; }
main { overflow-x: clip; }
button { font: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }

::selection { background: var(--pink); color: var(--ink); }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: var(--char);
  transition: opacity 0.5s ease, visibility 0.5s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.pre-inner { text-align: center; }
.pre-logo { width: 84px; height: 84px; animation: preBonk 0.7s ease-in-out infinite; }
.pre-inner p { font-family: var(--pixel); font-size: 11px; color: var(--cream); letter-spacing: 0.1em; margin: 18px 0 14px; }
.pre-bar { width: 200px; height: 14px; border: 3px solid var(--ink); background: #08090b; border-radius: 4px; overflow: hidden; box-shadow: 0 0 0 2px #343943; }
.pre-bar span { display: block; height: 100%; width: 40%; background: var(--pill); animation: preLoad 1s steps(8) infinite; }
@keyframes preLoad { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
@keyframes preBonk { 0%, 100% { transform: rotate(0); } 40% { transform: rotate(-10deg) scale(1.05); } 55% { transform: rotate(6deg) scale(0.96); } }

/* ---------- buttons ---------- */
.btn {
  --bg: #262a31;
  --fg: var(--cream);
  --sh: #08090b;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--pixel); font-size: 12px; line-height: 1.25; letter-spacing: 0.02em;
  color: var(--fg);
  background: var(--bg);
  border: 3px solid var(--ink);
  border-radius: 12px;
  padding: 14px 20px;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 5px 0 var(--sh), 0 10px 22px rgba(0, 0, 0, 0.35);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.btn::before {
  content: ''; position: absolute; left: 3px; right: 3px; top: 2px; height: 42%;
  border-radius: 8px 8px 14px 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0));
  pointer-events: none; z-index: -1;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--sh), 0 14px 26px rgba(0, 0, 0, 0.4); filter: brightness(1.06); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--sh), 0 4px 10px rgba(0, 0, 0, 0.3); transition-duration: 0.05s; }
.btn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.btn:disabled { cursor: progress; }
.btn .ico { width: 20px; height: 20px; flex: none; }

.btn-hot {
  --bg: linear-gradient(180deg, #8ff7b3 0%, #5af08f 45%, #2fcf6f 100%);
  --sh: #0f6b35;
  --fg: #06140b;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-hot::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.5) 45%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.65s ease;
  pointer-events: none;
}
.btn-hot:hover::after { transform: translateX(120%); }
.btn-chrome { --bg: var(--chrome); --fg: #171a1d; --sh: #3a3f46; }
.btn-dark { --bg: linear-gradient(180deg, #2b2f36, #1b1e24); --fg: var(--cream); --sh: #040506; }
.btn-dark:hover { --bg: linear-gradient(180deg, #353a42, #22262b); }
.btn-sm { font-size: 10px; padding: 11px 14px; border-width: 2px; border-radius: 10px; box-shadow: 0 4px 0 var(--sh); }
.btn-sm:hover { box-shadow: 0 6px 0 var(--sh); }
.btn-sm:active { box-shadow: 0 1px 0 var(--sh); }
.btn-lg { font-size: 13px; padding: 18px 24px; }
.btn-xl { font-size: clamp(12px, 1.8vw, 17px); padding: 24px 30px; border-radius: 16px; }
.btn-block { display: flex; width: 100%; white-space: normal; }

.wallet-dot { width: 9px; height: 9px; border-radius: 50%; background: #87908b; border: 2px solid var(--ink); flex: none; }
.is-connected .wallet-dot { background: var(--lime); box-shadow: 0 0 8px var(--lime); }
.btn.is-loading .wallet-dot { background: var(--orange); animation: blink 0.4s steps(2) infinite; }

.play-tri { width: 0; height: 0; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }

@keyframes blink { 50% { opacity: 0.2; } }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 60; padding: 12px 16px 0; pointer-events: none; }
.site-header > * { pointer-events: auto; }
.header-inner {
  position: relative;
  max-width: 1280px; height: 62px; margin: 0 auto;
  display: flex; align-items: center; gap: 18px;
  padding: 0 10px 0 12px;
  background: linear-gradient(180deg, rgba(36, 40, 46, 0.94), rgba(20, 22, 26, 0.94));
  border: 2px solid #08090b;
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 10px 30px rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: box-shadow 0.3s ease;
}
.header-inner::after {
  content: ''; position: absolute; left: 22px; right: 22px; bottom: -6px; height: 4px;
  background: var(--pill); border-radius: 0 0 4px 4px; border: 1px solid #08090b; border-top: 0;
}
.site-header.scrolled .header-inner { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 14px 40px rgba(0, 0, 0, 0.7); }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cream); flex: none; }
.brand-mark { width: 40px; height: 40px; filter: drop-shadow(0 3px 0 rgba(0, 0, 0, 0.55)); transition: transform 0.2s ease; }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }
.brand-text { font-family: var(--pixel); font-size: 13px; letter-spacing: 0.02em; margin: 0; }
.brand-text span { color: var(--pink); }

.nav { display: flex; gap: 4px; margin: 0 auto; }
.nav a {
  position: relative;
  font-family: var(--pixel); font-size: 10px;
  color: var(--muted); text-decoration: none;
  padding: 11px 12px; border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav a:hover { color: var(--cream); background: rgba(255, 255, 255, 0.06); }
.nav a.active { color: var(--cream); }
.nav a.active::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 3px;
  background: var(--pill); border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.wallet-wrap { position: relative; }
.wallet-pop {
  position: absolute; right: 0; top: calc(100% + 14px); width: 250px;
  padding: 16px; z-index: 5;
  background: linear-gradient(180deg, #262a31, #171a1e);
  border: 2px solid var(--ink); border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.wp-label { font-family: var(--pixel); font-size: 8px; color: var(--lime); margin: 0 0 8px; }
.wp-addr { font-family: var(--pixel); font-size: 14px; color: var(--cream); margin: 0 0 6px; }
.wp-mode { font-size: 13px; color: var(--muted); margin: 0 0 14px; line-height: 1.4; }
.wp-disconnect { width: 100%; }

.menu-btn {
  display: none;
  width: 46px; height: 44px; padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  background: linear-gradient(180deg, #353a42, #1f2328);
  border: 2px solid var(--ink); border-radius: 10px;
  box-shadow: 0 4px 0 #040506;
  cursor: pointer;
}
.menu-btn span { display: block; width: 20px; height: 3px; background: var(--cream); border-radius: 1px; transition: transform 0.2s ease, opacity 0.2s ease; }
.menu-btn.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.menu-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 #040506; }

.mobile-menu {
  max-width: 1280px; margin: 14px auto 0;
  padding: 16px;
  background: linear-gradient(180deg, #262a31, #171a1e);
  border: 2px solid var(--ink); border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
  opacity: 0; transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.mobile-menu.open { opacity: 1; transform: none; }
.mobile-menu nav { display: grid; gap: 4px; margin-bottom: 14px; }
.mobile-menu nav a {
  font-family: var(--pixel); font-size: 13px; text-decoration: none; color: var(--cream);
  padding: 14px 12px; border-radius: 10px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}
.mobile-menu nav a:active { background: rgba(90, 240, 143, 0.2); }
.mobile-menu .btn { width: 100%; }
.mm-disconnect { margin-top: 12px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  padding: calc(var(--header-h) + 40px) 0 72px;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: auto 0 0 0; height: 240px;
  background: radial-gradient(60% 100% at 70% 100%, rgba(47, 207, 111, 0.18), transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--pixel); font-size: 10px; line-height: 1.4; color: var(--ink);
  background: var(--yellow);
  padding: 9px 12px; margin: 0;
  border: 2px solid var(--ink); border-radius: 6px;
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(-1.5deg);
}
.eyebrow-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); border: 2px solid var(--ink); animation: blink 1s steps(2) infinite; }

.hero-title {
  font-family: var(--pixel); font-weight: 400;
  font-size: clamp(26px, 4.1vw, 56px);
  line-height: 1.2; letter-spacing: -0.01em;
  margin: 28px 0 22px;
}
.ht-1 { display: block; color: var(--cream); text-shadow: 0 4px 0 #138a43, 0 8px 0 #0a4d26, 0 16px 26px rgba(0, 0, 0, 0.5); }
.ht-2 { display: block; color: var(--yellow); margin-top: 0.3em; text-shadow: 0 4px 0 #138a43, 0 8px 0 #0a4d26, 0 16px 26px rgba(0, 0, 0, 0.5); }
.hero-lede { font-size: clamp(16px, 1.35vw, 19px); color: #d5ddd8; max-width: 560px; margin: 0; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 28px; }

.legend { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.legend li {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 14px 5px 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 13px; color: var(--muted);
}
.legend img { width: 30px; height: 36px; object-fit: contain; object-position: top; image-rendering: pixelated; }
.legend b { font-family: var(--pixel); font-size: 8px; font-weight: 400; color: var(--cream); margin-right: 4px; }
.legend-bad { border-color: rgba(255, 51, 68, 0.4) !important; }
.legend-bad span { color: #ff8fa3; }

/* stickers */
.stickers { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.sticker {
  position: absolute;
  font-family: var(--pixel); font-size: 9px; line-height: 1.5; text-align: center;
  padding: 10px 12px;
  border: 2px solid var(--ink); border-radius: 8px;
  box-shadow: 3px 4px 0 rgba(0, 0, 0, 0.55);
  opacity: 0.9;
}
.sticker::after {
  content: ''; position: absolute; right: -2px; top: -2px; width: 14px; height: 14px;
  background: linear-gradient(225deg, var(--char) 50%, rgba(255, 255, 255, 0.55) 50%);
  border-bottom-left-radius: 4px;
}
.s1 { top: 17%; left: 2.5%; background: var(--lime); color: var(--ink); transform: rotate(-9deg); }
.s2 { bottom: 9%; left: 40%; background: var(--pink); color: var(--ink); transform: rotate(6deg); }
.s3 { bottom: 5%; right: 34%; background: var(--cream); color: var(--ink); transform: rotate(8deg); }
.s4 { bottom: 14%; right: 2%; background: var(--orange); color: var(--ink); transform: rotate(-7deg); }

/* ---------- cabinet ---------- */
.hero-game { position: relative; }
.cabinet {
  position: relative;
  max-width: clamp(400px, calc(100svh - 330px), 520px); margin: 0 auto;
  padding: 14px 18px 18px;
  border-radius: 30px 30px 22px 22px;
  background: linear-gradient(90deg, #16191d 0%, #2e333b 7%, #262a30 50%, #2e333b 93%, #16191d 100%);
  border: 3px solid #08090b;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.14),
    inset 0 -6px 0 rgba(0, 0, 0, 0.4),
    0 0 0 6px #0f1114,
    0 34px 70px rgba(0, 0, 0, 0.6),
    0 0 90px rgba(90, 240, 143, 0.14);
}
.cabinet::before, .cabinet::after {
  content: ''; position: absolute; top: 150px; bottom: 90px; width: 12px;
  background: var(--stripes);
  border: 2px solid var(--ink); border-radius: 4px;
}
.cabinet::before { left: -21px; }
.cabinet::after { right: -21px; }
.cabinet.is-live { box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.14), inset 0 -6px 0 rgba(0, 0, 0, 0.4), 0 0 0 6px #0f1114, 0 34px 70px rgba(0, 0, 0, 0.6), 0 0 110px rgba(47, 207, 111, 0.3); }

.cab-marquee {
  position: relative; overflow: hidden;
  padding: 24px 16px 22px; text-align: center;
  border-radius: 20px 20px 10px 10px;
  background: radial-gradient(120% 150% at 50% 0%, #e9fff1 0%, #2fcf6f 34%, #5af08f 74%, #0f6b35 100%);
  border: 3px solid var(--ink);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.25), inset 0 -12px 22px rgba(0, 0, 0, 0.28);
}
.cab-marquee::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(0, 0, 0, 0.14) 1.2px, transparent 1.6px);
  background-size: 6px 6px; pointer-events: none;
}
.bulbs {
  position: absolute; left: 14px; right: 14px; height: 10px;
  background-image:
    radial-gradient(circle, #ffffff 0 3px, transparent 3.6px),
    radial-gradient(circle, #5af08f 0 3px, transparent 3.6px);
  background-size: 22px 10px;
  background-position: 0 0, 11px 0;
  animation: chase 0.7s steps(2) infinite;
  filter: drop-shadow(0 0 4px rgba(200, 255, 220, 0.9));
  z-index: 1;
}
.bulbs-top { top: 6px; }
.bulbs-bottom { bottom: 6px; animation-direction: reverse; }
@keyframes chase { to { background-position: 22px 0, 33px 0; } }

.marquee-title {
  position: relative; z-index: 2;
  font-family: var(--pixel); font-size: clamp(22px, 3vw, 34px);
  color: #fff; margin: 4px 0 0;
  -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill;
  text-shadow: 0 5px 0 var(--ink);
}
.marquee-title span { color: var(--yellow); }
.marquee-sub { position: relative; z-index: 2; font-family: var(--pixel); font-size: 7px; letter-spacing: 0.14em; color: var(--ink); margin: 10px 0 0; }

.cab-hud { display: grid; grid-template-columns: 1.15fr 1.15fr 1fr 1fr; gap: 8px; margin: 14px 0 12px; }
.led {
  background: #090a0c; border: 2px solid #000; border-radius: 8px;
  padding: 8px 6px 9px; text-align: center; min-width: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), inset 0 4px 10px rgba(0, 0, 0, 0.8);
}
.led span { display: block; font-family: var(--pixel); font-size: 6px; color: #86918b; letter-spacing: 0.04em; margin-bottom: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.led strong {
  display: block; font-family: var(--pixel); font-weight: 400;
  font-size: clamp(10px, 1.25vw, 14px);
  color: #86efac; text-shadow: 0 0 8px rgba(90, 240, 143, 0.6);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.led-score strong { color: var(--lime); text-shadow: 0 0 8px rgba(90, 240, 143, 0.5); }
.led-combo strong { color: var(--pink); text-shadow: 0 0 8px rgba(90, 240, 143, 0.6); }
.led strong.bump { animation: bump 0.22s ease; }
@keyframes bump { 40% { transform: scale(1.25); } }

.cab-screen {
  position: relative;
  padding: 10px; border-radius: 16px;
  background: linear-gradient(145deg, #f2f3f6, #9aa1ae 28%, #5e6472 52%, #d9dde4 78%, #7b8190);
  border: 3px solid var(--ink);
  box-shadow: 0 6px 0 #08090b, inset 0 1px 0 #fff;
}
.cab-screen canvas {
  display: block; width: 100%; height: auto; aspect-ratio: 480 / 560;
  border-radius: 8px; border: 3px solid #040605;
  background: #111316;
  touch-action: manipulation;
  -webkit-user-select: none; user-select: none;
  -webkit-touch-callout: none;
  cursor: pointer;
}
@media (hover: hover) and (pointer: fine) { .cab-screen canvas { cursor: none; } }
.screen-glare {
  position: absolute; inset: 13px; border-radius: 8px; pointer-events: none;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0) 26%),
    radial-gradient(130% 90% at 50% 120%, rgba(0, 0, 0, 0.3), transparent 60%);
}
.cab-screen.shake { animation: shake 0.28s linear; }
@keyframes shake {
  20% { transform: translate(-5px, 3px) rotate(-0.6deg); }
  40% { transform: translate(5px, -3px) rotate(0.5deg); }
  60% { transform: translate(-3px, -2px); }
  80% { transform: translate(2px, 2px); }
}

.cab-deck {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 16px; padding: 12px 18px;
  background: linear-gradient(180deg, #353a42, #1f2328);
  border: 3px solid var(--ink); border-radius: 14px;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.1);
}
.arcade-btn {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: none; border: 0; padding: 0; cursor: pointer;
  color: var(--cream); font-family: var(--pixel); font-size: 8px;
  -webkit-tap-highlight-color: transparent;
}
.arcade-btn i {
  display: block; width: 52px; height: 52px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0 7%, var(--c1) 24%, var(--c2) 72%);
  border: 3px solid var(--ink);
  box-shadow: 0 6px 0 var(--c3), 0 6px 0 3px var(--ink), inset 0 -5px 7px rgba(0, 0, 0, 0.25);
  transition: transform 0.08s ease, box-shadow 0.08s ease, filter 0.2s;
}
.arcade-btn:hover i { filter: brightness(1.1); }
.arcade-btn:active i { transform: translateY(5px); box-shadow: 0 1px 0 var(--c3), 0 1px 0 3px var(--ink); }
.arcade-btn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; border-radius: 8px; }
.ab-pink { --c1: #8ff7b3; --c2: #2fcf6f; --c3: #0f6b35; }
.ab-yellow { --c1: #ffffff; --c2: #cfe9da; --c3: #4f6358; }
.arcade-btn.off i { --c1: #646b70; --c2: #3a3f44; --c3: #181b1d; }
.coin-slot { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.slot {
  width: 64px; height: 40px; border-radius: 8px;
  background: linear-gradient(180deg, #d9dde4, #7b8190);
  border: 3px solid var(--ink); position: relative;
  box-shadow: inset 0 2px 0 #fff;
}
.slot::after {
  content: ''; position: absolute; left: 50%; top: 8px; bottom: 8px; width: 6px; margin-left: -3px;
  background: #08090b; border-radius: 3px; box-shadow: 0 0 10px rgba(90, 240, 143, 0.9), 0 0 2px var(--pink);
}
.slot-label { font-family: var(--pixel); font-size: 7px; color: var(--muted); }
.cab-note { text-align: center; font-size: 14px; color: var(--muted); margin: 16px 0 2px; }

/* ---------- ticker tape ---------- */
.tape {
  position: relative; z-index: 3;
  margin: 0 -20px; overflow: hidden;
  background: var(--yellow);
  border-block: 3px solid var(--ink);
  transform: rotate(-1.2deg);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}
.tape-track { display: flex; width: max-content; animation: tape 32s linear infinite; }
.tape-track span { font-family: var(--pixel); font-size: 12px; color: var(--ink); padding: 15px 14px; white-space: nowrap; }
.tape-track span:nth-child(4n+3) { color: #138a43; }
@keyframes tape { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { position: relative; padding: 120px 0; }
.sec-head { margin-bottom: 36px; }
.sec-head.center { text-align: center; }
.kicker {
  display: inline-block;
  font-family: var(--pixel); font-size: 9px; letter-spacing: 0.12em;
  color: var(--pink); margin: 0 0 14px;
  padding-left: 20px; position: relative;
}
.kicker::before { content: ''; position: absolute; left: 0; top: 50%; width: 12px; height: 4px; margin-top: -2px; background: var(--pill); }
.sec-title {
  font-family: var(--pixel); font-weight: 400;
  font-size: clamp(20px, 3.3vw, 38px); line-height: 1.35;
  color: var(--cream); margin: 0;
  text-shadow: 0 4px 0 #138a43, 0 8px 0 rgba(0, 0, 0, 0.5);
}

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- contract plate ---------- */
.plate {
  position: relative;
  max-width: 900px; margin: 0 auto;
  padding: 52px clamp(20px, 5vw, 56px) 48px;
  border-radius: 22px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #2b2f36, #1b1e23);
  border: 3px solid var(--ink);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.12), 0 0 0 6px #0f1114, 0 30px 60px rgba(0, 0, 0, 0.5);
}
.plate::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 14px;
  background: var(--stripes); border-bottom: 3px solid var(--ink);
  border-radius: 19px 19px 0 0;
}
.bolt {
  position: absolute; width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #8a909d 60%, #3d4049);
  border: 2px solid var(--ink);
}
.bolt::after { content: ''; position: absolute; left: 2px; right: 2px; top: 50%; height: 2px; margin-top: -1px; background: #2a2d34; transform: rotate(35deg); }
.b1 { left: 14px; top: 26px; } .b2 { right: 14px; top: 26px; } .b3 { left: 14px; bottom: 14px; } .b4 { right: 14px; bottom: 14px; }

.ca-box {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  padding: 12px 12px 12px 16px;
  background: #08090b;
  border: 2px solid #000; border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), inset 0 6px 14px rgba(0, 0, 0, 0.8);
}
.ca-label { font-family: var(--pixel); font-size: 9px; color: var(--ink); background: var(--lime); padding: 6px 8px; border-radius: 4px; flex: none; }
.ca-value {
  flex: 1; min-width: 0;
  font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  font-size: clamp(15px, 2vw, 20px); color: #86efac; letter-spacing: 0.08em;
  overflow-wrap: anywhere;
  text-shadow: 0 0 10px rgba(90, 240, 143, 0.45);
}
.copy-btn {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  font-family: var(--pixel); font-size: 10px; color: var(--ink);
  padding: 11px 14px; border-radius: 9px; cursor: pointer;
  background: var(--chrome); border: 2px solid var(--ink);
  box-shadow: 0 4px 0 #3a3f46;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}
.copy-btn svg { width: 16px; height: 16px; }
.copy-btn:hover { transform: translateY(-1px); box-shadow: 0 5px 0 #3a3f46; }
.copy-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 #3a3f46; }
.copy-btn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.tooltip {
  position: absolute; right: 0; bottom: calc(100% + 12px);
  max-width: min(360px, 100%);
  padding: 12px 14px; border-radius: 10px;
  font-size: 14px; font-weight: 600; line-height: 1.4;
  background: var(--cream); color: var(--ink);
  border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
  opacity: 0; transform: translateY(6px); pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.tooltip::after {
  content: ''; position: absolute; right: 34px; top: 100%;
  border: 8px solid transparent; border-top-color: var(--ink);
}
.tooltip.show { opacity: 1; transform: none; }
.tooltip.tip-warn { background: var(--yellow); }
.tooltip.tip-ok { background: var(--lime); }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0; }
.fact { padding: 16px; border-radius: 12px; background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line); }
.fact dt { font-family: var(--pixel); font-size: 8px; color: var(--muted); margin-bottom: 10px; }
.fact dd { margin: 0; display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; color: var(--cream); }
.fact .ico { width: 20px; height: 20px; }
.sol-mark { width: 20px; height: 15px; flex: none; background: linear-gradient(90deg, #9945ff, #14f195); clip-path: polygon(15% 0, 100% 0, 85% 28%, 0 28%, 15% 36%, 100% 36%, 85% 64%, 0 64%, 15% 72%, 100% 72%, 85% 100%, 0 100%); }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(47, 207, 111, 0.7); animation: pulse 1.6s ease-out infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(47, 207, 111, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 207, 111, 0); } }

.warn {
  display: flex; gap: 16px; align-items: center;
  padding: 16px 18px; margin-bottom: 26px;
  background: rgba(255, 51, 68, 0.08);
  border: 2px solid rgba(255, 51, 68, 0.55); border-radius: 12px;
  position: relative; overflow: hidden;
}
.warn::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: repeating-linear-gradient(-45deg, var(--red) 0 6px, var(--ink) 6px 12px); }
.warn strong { font-family: var(--pixel); font-weight: 400; font-size: 9px; color: var(--red); padding-left: 8px; flex: none; }
.warn p { margin: 0; font-size: 15px; color: #f2d9dc; }

/* ---------- scoreboard ---------- */
.scoreboard {
  max-width: 760px; margin: 0 auto;
  padding: 16px 18px 22px;
  border-radius: 26px;
  background: linear-gradient(90deg, #16191d 0%, #2e333b 8%, #262a30 50%, #2e333b 92%, #16191d 100%);
  border: 3px solid #08090b;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.14), 0 0 0 6px #0f1114, 0 30px 60px rgba(0, 0, 0, 0.55);
}
.sb-marquee {
  position: relative; overflow: hidden; text-align: center;
  padding: 26px 12px 16px; border-radius: 16px 16px 8px 8px;
  background: linear-gradient(180deg, #5af08f, #1fa856);
  border: 3px solid var(--ink);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.2);
}
.sb-marquee p {
  margin: 0; font-family: var(--pixel); font-size: clamp(16px, 2.6vw, 24px); color: var(--yellow);
  -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; text-shadow: 0 4px 0 var(--ink);
}
.sb-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0 14px; }
.sb-tab {
  font-family: var(--pixel); font-size: 10px; color: var(--muted);
  padding: 13px 8px; border-radius: 10px; cursor: pointer;
  background: linear-gradient(180deg, #353a42, #1f2328);
  border: 2px solid var(--ink);
  box-shadow: 0 5px 0 #040506, inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform 0.08s ease, box-shadow 0.08s ease, color 0.2s;
}
.sb-tab:hover { color: var(--cream); }
.sb-tab:active { transform: translateY(4px); box-shadow: 0 1px 0 #040506; }
.sb-tab.is-active {
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff, #2fcf6f);
  transform: translateY(3px);
  box-shadow: 0 2px 0 #4f6358, inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.sb-tab:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.sb-screen {
  padding: 16px 14px 14px;
  background: #08090b;
  border: 3px solid #000; border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), inset 0 8px 18px rgba(0, 0, 0, 0.85);
  background-image: radial-gradient(rgba(134, 239, 172, 0.05) 1px, transparent 1.4px);
  background-size: 4px 4px;
}
.sb-head, .sb-row { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; }
.sb-head { font-family: var(--pixel); font-size: 8px; color: #6f7a74; padding: 0 12px 12px; border-bottom: 2px dashed rgba(255, 255, 255, 0.08); }
.sb-head span:last-child { text-align: right; }
.sb-list { list-style: none; margin: 8px 0 0; padding: 0; }
.sb-row {
  font-family: var(--pixel); font-size: clamp(10px, 1.6vw, 14px);
  color: #86efac; text-shadow: 0 0 8px rgba(90, 240, 143, 0.45);
  padding: 13px 12px; border-radius: 8px;
  animation: rowIn 0.35s ease both; animation-delay: calc(var(--i) * 55ms);
}
.sb-row:nth-child(even) { background: rgba(255, 255, 255, 0.025); }
.sb-row .s { text-align: right; font-variant-numeric: tabular-nums; }
.sb-row .n { display: flex; align-items: center; gap: 10px; min-width: 0; flex-wrap: wrap; }
.sb-row em { font-style: normal; font-size: 7px; color: var(--ink); background: var(--lime); padding: 4px 6px; border-radius: 4px; text-shadow: none; }
.sb-row.top-1 { color: var(--yellow); text-shadow: 0 0 10px rgba(167, 243, 192, 0.6); }
.sb-row.top-1 .r::after { content: ' ♛'; font-family: var(--body); font-size: 1.3em; }
.sb-row.top-2 { color: #e9ecf2; text-shadow: 0 0 8px rgba(233, 236, 242, 0.4); }
.sb-row.top-3 { color: #86efac; }
.sb-row.is-you { color: var(--lime); background: rgba(90, 240, 143, 0.08); box-shadow: inset 0 0 0 2px rgba(90, 240, 143, 0.35); text-shadow: 0 0 8px rgba(90, 240, 143, 0.5); }
.sb-row.is-empty .s { font-size: 8px; color: var(--muted); text-shadow: none; }
.sb-sep { text-align: center; color: #4f5953; font-family: var(--pixel); font-size: 10px; padding: 6px; animation: rowIn 0.35s ease both; animation-delay: calc(var(--i) * 55ms); }
@keyframes rowIn { from { opacity: 0; transform: translateX(-10px); } }
.sb-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; padding: 12px 12px 0; border-top: 2px dashed rgba(255, 255, 255, 0.08); font-size: 13px; color: #808b85; }
.chip { font-family: var(--pixel); font-size: 7px; color: var(--ink); background: var(--orange); padding: 5px 7px; border-radius: 4px; }

.sb-cta { text-align: center; padding: 22px 8px 4px; }
.sb-cta p { margin: 0 auto 18px; max-width: 520px; color: #d5ddd8; }
.sb-cta-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

.mystery {
  max-width: 760px; margin: 34px auto 0;
  display: flex; align-items: center; gap: 18px;
  padding: 20px 22px; border-radius: 14px;
  background: linear-gradient(90deg, rgba(90, 240, 143, 0.10), rgba(90, 240, 143, 0.06));
  border: 1px dashed rgba(255, 255, 255, 0.18);
}
.mystery p { margin: 0; color: #cdd6d1; font-size: 15px; flex: 1; }
.lock { width: 34px; height: 34px; flex: none; position: relative; }
.lock::before { content: ''; position: absolute; left: 7px; top: 1px; width: 20px; height: 18px; border: 4px solid var(--yellow); border-bottom: 0; border-radius: 10px 10px 0 0; }
.lock::after { content: ''; position: absolute; left: 2px; bottom: 0; width: 30px; height: 20px; background: var(--pill); border: 2px solid var(--ink); border-radius: 4px; }
.redacted { display: grid; gap: 6px; flex: none; }
.redacted i { display: block; height: 8px; width: 70px; background: #08090b; border-radius: 2px; animation: redact 2.4s steps(3) infinite; }
.redacted i:nth-child(2) { width: 50px; animation-delay: 0.4s; }
.redacted i:nth-child(3) { width: 62px; animation-delay: 0.8s; }
@keyframes redact { 50% { background: #262a30; } }

/* ---------- about cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; perspective: 1000px; }
.card { --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 30%; --c: var(--pink); }
.card-pink { --c: var(--pink); --c2: #138a43; }
.card-orange { --c: var(--orange); --c2: #0d6a35; }
.card-yellow { --c: var(--yellow); --c2: #3e8f61; }
.card-inner {
  position: relative; height: 100%;
  padding: 14px 14px 18px;
  border-radius: 18px;
  background: linear-gradient(160deg, var(--c), var(--c2));
  border: 3px solid var(--ink);
  box-shadow: 0 8px 0 var(--ink), 0 24px 40px rgba(0, 0, 0, 0.45);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}
.card:hover .card-inner { box-shadow: 0 12px 0 var(--ink), 0 34px 60px rgba(0, 0, 0, 0.55); }
.card-top { display: flex; justify-content: space-between; align-items: center; font-family: var(--pixel); font-size: 9px; color: var(--ink); margin: 2px 4px 10px; }
.card-type { background: var(--ink); color: var(--cream); padding: 5px 7px; border-radius: 4px; }
.card-art {
  position: relative; height: 190px; border-radius: 10px; overflow: hidden;
  background:
    radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1.5px) 0 0 / 8px 8px,
    radial-gradient(90% 90% at 50% 100%, #26302b, #111316);
  border: 3px solid var(--ink);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.12);
}
.card h3 { font-family: var(--pixel); font-weight: 400; font-size: 14px; line-height: 1.45; color: var(--ink); margin: 18px 4px 10px; }
.card p { margin: 0 4px; color: #0b140f; font-weight: 500; font-size: 15.5px; line-height: 1.55; min-height: 4.6em; }
.card-foot { display: flex; justify-content: space-between; margin: 16px 4px 0; padding-top: 12px; border-top: 2px solid rgba(10, 12, 14, 0.35); font-family: var(--pixel); font-size: 9px; color: var(--ink); }
.card-foot .stars { font-family: var(--body); font-size: 16px; letter-spacing: 2px; line-height: 1; }
.card-foil {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: overlay; opacity: 0;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, 0.65), transparent 40%),
    linear-gradient(115deg, transparent 20%, rgba(90, 240, 143, 0.5) 40%, rgba(90, 240, 143, 0.4) 55%, transparent 75%);
  transition: opacity 0.3s ease;
}
.card:hover .card-foil { opacity: 1; }

.art-1 .a1-bear { position: absolute; left: 50%; bottom: -24px; width: 120px; transform: translateX(-50%); image-rendering: pixelated; animation: wobble 1.2s ease-in-out infinite; }
.art-1 .a1-baton { position: absolute; width: 62%; max-width: 190px; right: -4%; top: 20px; transform-origin: 90% 50%; transform: scaleX(-1) rotate(-14deg); animation: cardBonk 1.2s ease-in-out infinite; }
.a1-bonk { position: absolute; left: 12px; top: 14px; font-family: var(--pixel); font-size: 13px; color: var(--ink); background: var(--pink); padding: 6px 8px; border: 2px solid var(--ink); border-radius: 6px; transform: rotate(-10deg); box-shadow: 3px 3px 0 var(--ink); }
@keyframes wobble { 0%, 100% { transform: translateX(-50%) rotate(-3deg); } 50% { transform: translateX(-50%) rotate(3deg); } }
@keyframes cardBonk { 0%, 100% { transform: scaleX(-1) rotate(-30deg); } 45% { transform: scaleX(-1) rotate(4deg); } 55% { transform: scaleX(-1) rotate(0deg); } }

.art-2 { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 16px; }
.trophy { width: 104px; height: 104px; filter: drop-shadow(0 6px 0 rgba(0, 0, 0, 0.5)); animation: float 2.4s ease-in-out infinite; }
.mini-board { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; width: 100px; }
.mini-board li { display: flex; align-items: center; gap: 8px; font-family: var(--pixel); font-size: 8px; color: var(--yellow); }
.mini-board i { display: block; height: 8px; width: var(--w); background: var(--pill); border-radius: 2px; box-shadow: 0 0 8px rgba(47, 207, 111, 0.5); }
@keyframes float { 50% { transform: translateY(-8px); } }

.art-3 { display: grid; place-items: center; }
.a3-baton { width: min(220px, 80%); filter: brightness(0) drop-shadow(0 0 1px #a7f3c0) drop-shadow(0 0 12px rgba(90, 240, 143, 0.9)); transform: rotate(-22deg); animation: mystery 3s ease-in-out infinite; }
.q { position: absolute; font-family: var(--pixel); color: var(--yellow); text-shadow: 3px 3px 0 var(--ink); animation: float 2s ease-in-out infinite; }
.q1 { font-size: 26px; left: 16%; top: 14%; }
.q2 { font-size: 18px; right: 16%; top: 24%; animation-delay: 0.5s; color: var(--pink); }
.q3 { font-size: 22px; right: 30%; bottom: 10%; animation-delay: 1s; color: var(--lime); }
@keyframes mystery { 50% { transform: rotate(-16deg) scale(1.05); filter: brightness(0) drop-shadow(0 0 1px #a7f3c0) drop-shadow(0 0 22px rgba(47, 207, 111, 1)); } }

/* sneaky bear */
.sneak-stage {
  position: relative; height: 200px; margin-top: 64px;
  border-radius: 16px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(47, 207, 111, 0.06));
  border: 2px dashed rgba(255, 255, 255, 0.1);
}
.sneak-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 22px; background: var(--stripes); border-top: 3px solid var(--ink); opacity: 0.9; }
.sneak-sign { position: absolute; right: 5%; bottom: 44px; font-family: var(--pixel); font-size: 8px; line-height: 1.6; text-align: center; color: #fff; background: var(--red); padding: 8px 10px; border: 2px solid var(--ink); border-radius: 6px; transform: rotate(3deg); box-shadow: 3px 3px 0 var(--ink); }
.sneaker { position: absolute; bottom: 22px; left: -15%; width: 90px; animation: sneak 7s linear infinite; }
.sneaker .bob { position: relative; animation: bob 0.3s steps(2) infinite; }
.sneaker img { display: block; width: 100%; image-rendering: pixelated; }
.sneaker .hurt { position: absolute; inset: 0; opacity: 0; animation: hurt 7s step-end infinite; }
@keyframes bob { 50% { transform: translateY(-4px) rotate(2deg); } }
@keyframes hurt { 0% { opacity: 0; } 58% { opacity: 1; } 76% { opacity: 0; } }
@keyframes sneak {
  0% { left: -15%; transform: none; opacity: 1; }
  50% { left: 44%; transform: none; }
  58% { left: 46%; transform: none; }
  60% { left: 46%; transform: translate(0, 4px) scale(1.08, 0.86); }
  75% { left: 46%; transform: translate(-280px, -240px) rotate(-560deg) scale(0.35); opacity: 1; }
  76%, 100% { left: -15%; transform: none; opacity: 0; }
}
.sneak-baton { position: absolute; left: calc(46% - 20px); bottom: 86px; width: 240px; transform-origin: 100% 50%; animation: sneakBaton 7s ease-in infinite; opacity: 0; }
.sneak-baton img { display: block; width: 100%; transform: scaleX(-1); }
@keyframes sneakBaton {
  0%, 48% { opacity: 0; transform: rotate(85deg); }
  52% { opacity: 1; transform: rotate(85deg); }
  56% { opacity: 1; transform: rotate(80deg); }
  58.5% { opacity: 1; transform: rotate(-6deg); }
  62% { opacity: 1; transform: rotate(0deg); }
  70% { opacity: 1; transform: rotate(70deg); }
  74%, 100% { opacity: 0; transform: rotate(85deg); }
}
.sneak-bonk { position: absolute; left: calc(46% - 70px); bottom: 130px; font-family: var(--pixel); font-size: 18px; color: var(--ink); background: var(--pink); padding: 8px 10px; border: 3px solid var(--ink); border-radius: 8px; box-shadow: 4px 4px 0 var(--ink); opacity: 0; animation: sneakBonk 7s ease-out infinite; }
@keyframes sneakBonk {
  0%, 58% { opacity: 0; transform: scale(0.3) rotate(-12deg); }
  60% { opacity: 1; transform: scale(1.25) rotate(-8deg); }
  63% { transform: scale(1) rotate(-8deg); }
  72% { opacity: 1; transform: translateY(-10px) rotate(-8deg); }
  76%, 100% { opacity: 0; }
}

/* ---------- socials / final CTA ---------- */
.socials { padding-bottom: 140px; }
.final {
  position: relative; overflow: hidden;
  text-align: center;
  padding: 80px clamp(18px, 5vw, 64px) 70px;
  border-radius: 28px;
  background:
    radial-gradient(70% 90% at 50% 0%, rgba(47, 207, 111, 0.35), transparent 70%),
    radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1.5px) 0 0 / 8px 8px,
    linear-gradient(180deg, #22282c, #121518);
  border: 3px solid var(--ink);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.12), 0 0 0 6px #0f1114, 0 40px 80px rgba(0, 0, 0, 0.55);
}
.final::before, .final::after { content: ''; position: absolute; left: 0; right: 0; height: 16px; background: var(--stripes); }
.final::before { top: 0; border-bottom: 3px solid var(--ink); }
.final::after { bottom: 0; border-top: 3px solid var(--ink); }
.final-title {
  font-family: var(--pixel); font-weight: 400;
  font-size: clamp(22px, 4.6vw, 54px); line-height: 1.3;
  margin: 6px 0 22px; position: relative; z-index: 1;
}
.final-title span:first-child { display: block; color: var(--cream); text-shadow: 0 4px 0 #138a43, 0 9px 0 rgba(0, 0, 0, 0.5); }
.final-title span:last-child { display: block; color: var(--yellow); margin-top: 0.25em; text-shadow: 0 4px 0 #138a43, 0 9px 0 rgba(0, 0, 0, 0.5); animation: pulseText 1.6s ease-in-out infinite; }
@keyframes pulseText { 50% { transform: scale(1.04); } }
.final-lede { position: relative; z-index: 1; max-width: 560px; margin: 0 auto 32px; color: #d5ddd8; }
.final-ctas { position: relative; z-index: 1; display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.final-baton { position: absolute; width: 340px; right: -60px; top: 36px; transform: scaleX(-1) rotate(24deg); opacity: 0.9; animation: finalBaton 2.6s ease-in-out infinite; pointer-events: none; }
.final-bear { position: absolute; width: 110px; left: 4%; bottom: 30px; image-rendering: pixelated; transform: rotate(-18deg); opacity: 0.85; animation: float 3s ease-in-out infinite; pointer-events: none; }
@keyframes finalBaton { 50% { transform: scaleX(-1) rotate(16deg) translateY(-6px); } }

/* ---------- footer ---------- */
.footer { border-top: 3px solid var(--ink); background: #0d0f11; padding: 44px 0 36px; position: relative; }
.footer::before { content: ''; position: absolute; left: 0; right: 0; top: -3px; height: 4px; background: var(--pill); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 20px 32px; align-items: center; }
.f-brand { display: flex; align-items: center; gap: 14px; }
.f-brand .brand-mark { width: 48px; height: 48px; }
.f-ticker { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.f-icons { display: flex; gap: 10px; justify-self: end; }
.f-icons a {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(180deg, #353a42, #1f2328); color: var(--cream);
  border: 2px solid var(--ink); box-shadow: 0 4px 0 #040506;
  transition: transform 0.12s ease, box-shadow 0.12s ease, color 0.2s;
}
.f-icons a:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #040506; color: var(--yellow); }
.f-icons a:active { transform: translateY(3px); box-shadow: 0 1px 0 #040506; }
.f-icons svg { width: 20px; height: 20px; }
.f-disclaimer { grid-column: 1 / -1; margin: 6px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: #8d9792; font-size: 14px; }
.f-copy { grid-column: 1 / -1; margin: 0; font-family: var(--pixel); font-size: 8px; color: #56605a; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 18px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(6, 7, 9, 0.78); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity 0.25s ease; }
.modal-card {
  position: relative; width: min(500px, 100%);
  max-height: calc(100vh - 36px); overflow-y: auto;
  padding: 42px clamp(18px, 4vw, 30px) 24px;
  text-align: center;
  border-radius: 24px;
  background: linear-gradient(180deg, #2b2f36, #181b1f);
  border: 3px solid var(--ink);
  box-shadow: 0 0 0 6px #0f1114, 0 0 0 9px var(--pink), 0 40px 80px rgba(0, 0, 0, 0.7);
  transform: scale(0.85) translateY(20px); opacity: 0;
  transition: transform 0.3s cubic-bezier(0.2, 1.4, 0.4, 1), opacity 0.2s ease;
}
.modal.open .modal-backdrop { opacity: 1; }
.modal.open .modal-card { transform: none; opacity: 1; }
.modal-card .bulbs-top { top: 12px; }
.modal-kicker { font-family: var(--pixel); font-size: 10px; color: var(--pink); margin: 6px 0 10px; letter-spacing: 0.1em; }
.modal-title { font-family: var(--pixel); font-weight: 400; font-size: clamp(14px, 3.4vw, 20px); line-height: 1.4; color: var(--yellow); margin: 0 0 18px; text-shadow: 0 3px 0 #138a43; }
.end-score { padding: 18px; border-radius: 14px; background: #08090b; border: 2px solid #000; box-shadow: inset 0 6px 14px rgba(0, 0, 0, 0.8); }
.end-score span { display: block; font-family: var(--pixel); font-size: 8px; color: #86918b; }
.end-score strong { display: block; font-family: var(--pixel); font-weight: 400; font-size: clamp(28px, 7vw, 42px); color: var(--lime); text-shadow: 0 0 14px rgba(90, 240, 143, 0.55); margin-top: 12px; }
.new-best { display: inline-block; margin-top: 12px; font-style: normal; font-family: var(--pixel); font-size: 9px; color: var(--ink); background: var(--yellow); padding: 6px 8px; border-radius: 4px; animation: blink 0.6s steps(2) infinite; }
.end-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 12px 0 14px; }
.end-grid div { padding: 10px 4px; border-radius: 10px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.end-grid span { display: block; font-family: var(--pixel); font-size: 6px; color: #86918b; margin-bottom: 8px; }
.end-grid strong { font-family: var(--pixel); font-weight: 400; font-size: 12px; color: #86efac; }
.end-rank { font-size: 15px; color: #d5ddd8; margin: 0 0 18px; }
.end-rank b { color: var(--yellow); }
.modal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.modal-actions .btn { font-size: 11px; padding: 16px 10px; }
.share-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; }
.share-link svg { width: 15px; height: 15px; }
.share-link:hover { color: var(--cream); }
.modal-close { position: absolute; right: 12px; top: 22px; width: 36px; height: 36px; border-radius: 10px; border: 2px solid var(--ink); background: #353a42; color: var(--cream); font-size: 22px; line-height: 1; cursor: pointer; }
.modal-close:hover { background: var(--pink); }

/* ---------- toasts ---------- */
.toasts { position: fixed; left: 50%; bottom: 20px; z-index: 150; transform: translateX(-50%); display: grid; gap: 10px; width: min(440px, calc(100% - 32px)); pointer-events: none; }
.toast {
  padding: 13px 16px; border-radius: 12px;
  font-size: 14px; font-weight: 600; line-height: 1.4;
  color: var(--ink); background: var(--lime);
  border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.toast.in { opacity: 1; transform: none; }
.toast-warn { background: var(--yellow); }
.toast-err { background: #ff8fa3; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hero-inner { gap: 36px; }
  .nav a { padding: 11px 9px; }
}

@media (max-width: 980px) {
  .nav, .wallet-wrap { display: none; }
  .menu-btn { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .hero { min-height: 0; padding-top: calc(var(--header-h) + 30px); }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .cabinet { max-width: 520px; }
  .hero-copy { text-align: center; }
  .hero-lede { margin: 0 auto; }
  .hero-ctas, .legend { justify-content: center; }
  .s1, .s3 { display: none; }
  .s2 { bottom: auto; top: 58%; left: 2%; }
  .s4 { bottom: auto; top: 64%; right: 2%; }
  .cards { grid-template-columns: minmax(0, 1fr); max-width: 460px; margin: 0 auto; }
  .card p { min-height: 0; }
  .facts { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  :root { --header-h: 76px; }
  body { font-size: 16px; }
  .btn { white-space: normal; }
  .wrap { padding: 0 16px; }
  .site-header { padding: 8px 8px 0; }
  .header-inner { height: 58px; gap: 8px; padding: 0 6px 0 8px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-text { font-size: 10px; }
  .hero-inner { padding: 0 16px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .legend li { padding-right: 10px; font-size: 12px; }
  .stickers { display: none; }
  .cabinet { padding: 10px 10px 14px; border-radius: 22px 22px 16px 16px; }
  .cabinet::before, .cabinet::after { display: none; }
  .cab-marquee { padding: 22px 10px 20px; }
  .cab-hud { grid-template-columns: 1fr 1fr; gap: 6px; }
  .led strong { font-size: 13px; }
  .led span { font-size: 7px; }
  .cab-screen { padding: 6px; border-radius: 12px; }
  .screen-glare { inset: 9px; }
  .cab-deck { padding: 10px 12px; }
  .arcade-btn i { width: 46px; height: 46px; }
  .section { padding: 84px 0; }
  .plate { padding-top: 46px; }
  .ca-box { flex-wrap: wrap; }
  .ca-value { flex-basis: calc(100% - 60px); }
  .copy-btn { width: 100%; justify-content: center; }
  .tooltip { left: 0; right: 0; max-width: none; }
  .warn { flex-direction: column; align-items: flex-start; gap: 8px; padding-left: 26px; }
  .warn strong { padding-left: 0; }
  .scoreboard { padding: 12px 10px 18px; border-radius: 20px; }
  .sb-tab { font-size: 9px; padding: 12px 4px; }
  .sb-screen { padding: 12px 6px; }
  .sb-head, .sb-row { grid-template-columns: 38px 1fr auto; gap: 8px; }
  .sb-row { padding: 12px 8px; }
  .sb-head { padding: 0 8px 10px; }
  .sb-cta-btns .btn { flex: 1 1 100%; }
  .mystery { flex-direction: column; text-align: center; }
  .sneak-stage { height: 180px; }
  .sneaker { width: 72px; }
  .sneak-baton { width: 190px; bottom: 72px; left: calc(46% - 26px); }
  .sneak-bonk { font-size: 13px; bottom: 112px; }
  .sneak-sign { display: none; }
  .final { padding: 64px 16px 56px; }
  .final-ctas .btn { flex: 1 1 100%; }
  .final-baton { width: 200px; right: -50px; top: 24px; opacity: 0.35; }
  .final-bear { width: 70px; opacity: 0.35; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .f-brand { justify-content: center; }
  .f-icons { justify-self: center; }
  .end-grid { grid-template-columns: 1fr 1fr; }
  .modal-actions { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .hide-xs { display: none; }
  .brand-text { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .sneaker, .sneak-baton, .sneak-bonk { display: none; }
}
