/* Crazay Games — shared design system */
:root {
  --ink: #070a06;
  --ink-2: #0c120a;
  --ink-3: #121a0f;
  --ink-4: #1a2516;
  --line: rgba(160, 255, 130, 0.1);
  --line-2: rgba(160, 255, 130, 0.2);
  --text: #eef6e8;
  --muted: #92a589;
  --dim: #5f7058;
  --acid: #74f54f;
  --acid-2: #a6ff86;
  --acid-deep: #1d6e1a;
  --pink: #e0566b;
  --amber: #f6b46e;
  --cobalt: #3350ff;
  --mint: #5be3c3;
  --display: "Dela Gothic One", "Arial Black", sans-serif;
  --body: "Onest", system-ui, sans-serif;
  --mono: "Martian Mono", ui-monospace, monospace;
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 40px; --s5: 64px; --s6: 112px;
  --wrap: 1240px;
  --r: 18px;
  --glow: 0 0 0 1px rgba(116, 245, 79, 0.35), 0 10px 30px -8px rgba(116, 245, 79, 0.45), 0 2px 6px rgba(0, 0, 0, 0.5);
  --lift: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 24px 60px -24px rgba(0, 0, 0, 0.8), 0 8px 18px -10px rgba(29, 110, 26, 0.35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--acid); color: var(--ink); }

/* grain over everything */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 100;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { width: min(var(--wrap), 100% - 2 * var(--s3)); margin-inline: auto; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* ---------- ticker ---------- */
.ticker {
  position: relative; z-index: 30;
  background: var(--acid);
  color: var(--ink);
  overflow: hidden;
  height: 34px;
  display: flex; align-items: center;
}
.ticker-track {
  display: flex; gap: 48px; white-space: nowrap;
  font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  animation: tick 38s linear infinite;
  will-change: transform;
  padding-left: 48px;
}
.ticker-track span { display: inline-flex; align-items: center; gap: 10px; }
.ticker-track b { font-weight: 800; }
.ticker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); animation: pulse 1.4s ease-in-out infinite; }
.ticker .up { color: var(--acid-deep); }
@keyframes tick { to { transform: translateX(-50%); } }
@keyframes pulse { 50% { opacity: 0.25; transform: scale(0.7); } }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 25;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(7, 10, 6, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: var(--s3); }
.brand { display: inline-flex; align-items: center; gap: 12px; border-radius: 12px; }
.brand img { width: 54px; height: auto; transition: transform 0.5s var(--spring); filter: drop-shadow(0 6px 10px rgba(116, 245, 79, 0.25)); }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }
.brand-word { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 25px; letter-spacing: -0.01em; line-height: 1; color: var(--acid); }
.brand-word small { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.32em; color: var(--text); padding-left: 10px; border-left: 1px solid var(--line-2); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a:not(.btn) { position: relative; padding: 8px 14px; border-radius: 999px; font-size: 15px; color: var(--muted); transition: color 0.2s, background-color 0.2s; }
.nav-links a:not(.btn):hover { color: var(--text); background: var(--ink-3); }
.nav-links a:not(.btn):active { transform: scale(0.97); }
.nav-links a[aria-current="page"] { color: var(--acid); }
.nav-toggle { display: none; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--acid); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px;
  border-radius: 14px;
  border: 0; cursor: pointer;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 16px; letter-spacing: -0.01em; white-space: nowrap;
  box-shadow: var(--glow);
  transition: transform 0.35s var(--spring), box-shadow 0.3s var(--ease), background-color 0.2s;
}
.btn:hover { transform: translateY(-3px) rotate(-1deg); background: var(--acid-2); }
.btn:active { transform: translateY(1px) scale(0.97); }
.btn svg { width: 18px; height: 18px; transition: transform 0.35s var(--spring); }
.btn:hover svg { transform: translateX(3px); }
.btn.ghost { --bg: transparent; --fg: var(--text); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn.ghost:hover { background: var(--ink-3); box-shadow: inset 0 0 0 1.5px var(--acid); }
.btn.sm { height: 42px; padding: 0 18px; font-size: 14.5px; border-radius: 12px; }
.btn.dark { --bg: var(--ink); --fg: var(--acid); box-shadow: 0 10px 24px -10px rgba(7, 10, 6, 0.8); }
.btn.dark:hover { background: var(--ink-3); }
:focus-visible { outline: 2.5px solid var(--acid); outline-offset: 3px; }
.btn.dark:focus-visible, .contact :focus-visible { outline-color: var(--ink); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: var(--s5) 0 var(--s6); isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 130%; z-index: -2;
  background:
    radial-gradient(40% 50% at 78% 42%, rgba(116, 245, 79, 0.28), transparent 70%),
    radial-gradient(30% 35% at 88% 20%, rgba(91, 227, 195, 0.14), transparent 70%),
    radial-gradient(30% 30% at 8% 55%, rgba(51, 80, 255, 0.1), transparent 70%),
    radial-gradient(60% 60% at 50% 0%, rgba(29, 110, 26, 0.25), transparent 70%);
}
.hero-grid-bg {
  position: absolute; inset: 0; z-index: -1; opacity: 0.5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 80% at 60% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 80% at 60% 40%, #000 20%, transparent 75%);
}
.hero .wrap { display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: center; gap: var(--s4); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px; background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--muted); }
.eyebrow i { display: inline-block; width: 22px; height: 22px; border-radius: 50%; background: var(--acid); position: relative; }
.eyebrow i::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--ink); animation: pulse 1.4s infinite; }
.hero h1 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(50px, 6.9vw, 104px);
  line-height: 0.9; letter-spacing: -0.035em;
  margin: var(--s3) 0 var(--s3);
}
.hero h1 .outline { color: transparent; -webkit-text-stroke: 2px var(--acid); }
.hero h1 .acid { color: var(--acid); }
.hero p.lede { font-size: 19px; color: var(--muted); max-width: 520px; margin: 0 0 var(--s4); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-art { position: relative; aspect-ratio: 1; max-width: 560px; justify-self: end; width: 100%; }
.disc {
  position: absolute; inset: 8%; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #5cf04a, #2aa126 55%, #145c12 100%);
  box-shadow: 0 0 0 14px rgba(116, 245, 79, 0.07), 0 0 0 30px rgba(116, 245, 79, 0.04), 0 40px 120px -20px rgba(116, 245, 79, 0.55), inset 0 -30px 60px rgba(0, 0, 0, 0.35);
}
.disc::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, 0.06) 0 6deg, transparent 6deg 18deg); mix-blend-mode: overlay; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pad-float { position: absolute; left: -2%; right: -2%; top: 27%; animation: bob 5s ease-in-out infinite; will-change: transform; }
.pad-float img { width: 100%; filter: drop-shadow(0 34px 30px rgba(0, 0, 0, 0.55)); transition: transform 0.6s var(--ease); }
@keyframes bob { 50% { transform: translateY(-14px) rotate(-1.5deg); } }
.chip {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 16px;
  background: rgba(12, 18, 10, 0.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 20px 40px -16px rgba(0, 0, 0, 0.8);
  animation: bob 6s ease-in-out infinite;
}
.chip .k { color: var(--muted); font-size: 10.5px; }
.chip .v { font-family: var(--mono); font-weight: 700; font-size: 20px; line-height: 1.1; }
.chip .swatch { width: 12px; height: 38px; border-radius: 6px; }
.chip.a { top: 6%; left: 0; animation-delay: -2s; }
.chip.b { bottom: 8%; right: 0; animation-delay: -4s; }

/* ---------- scoreboard ---------- */
.scoreboard { margin-top: calc(var(--s5) * -1); position: relative; z-index: 3; }
.scoreboard .board {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--ink-2); border-radius: 22px; overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line), var(--lift);
}
.score { padding: var(--s3) var(--s3) 22px; position: relative; }
.score + .score { border-left: 1px solid var(--line); }
.score .v { font-family: var(--mono); font-weight: 700; font-size: clamp(26px, 3.2vw, 40px); letter-spacing: -0.04em; line-height: 1.1; margin-top: 10px; }
.score .k { color: var(--muted); display: flex; align-items: center; gap: 8px; }
.score .k::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c, var(--acid)); box-shadow: 0 0 12px var(--c, var(--acid)); }

/* ---------- section heads ---------- */
section { position: relative; }
.section { padding: var(--s6) 0 0; }
.head { display: flex; align-items: end; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s4); flex-wrap: wrap; }
.head .idx { color: var(--acid); display: block; margin-bottom: 14px; }
.head h2 { font-family: var(--display); font-weight: 400; font-size: clamp(38px, 5.4vw, 72px); line-height: 0.95; letter-spacing: -0.035em; margin: 0; }
.head p { color: var(--muted); max-width: 420px; margin: 0; }

/* ---------- spotlight ---------- */
.spotlight {
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 0;
  border-radius: 26px; overflow: hidden; background: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line), var(--lift);
  position: relative;
}
.spot-media { position: relative; min-height: 420px; overflow: hidden; background: var(--ink-3); }
.spot-media img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity 0.8s var(--ease); }
.spotlight:hover .spot-media img.bg { transform: scale(1.04); }
.spot-media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: #1d6e1a; mix-blend-mode: multiply; opacity: 0.25; }
.spot-media::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent 55%), linear-gradient(to left, rgba(12, 18, 10, 1), transparent 30%); }
.spot-media .live { position: absolute; z-index: 2; top: 20px; left: 20px; }
.spot-thumbs { position: absolute; z-index: 2; bottom: 20px; left: 20px; display: flex; gap: 8px; }
.spot-thumbs button { width: 64px; aspect-ratio: 16/9; border-radius: 8px; overflow: hidden; border: 0; padding: 0; cursor: pointer; opacity: 0.55; box-shadow: 0 0 0 2px transparent; transition: opacity 0.2s, transform 0.3s var(--spring), box-shadow 0.2s; }
.spot-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.spot-thumbs button:hover { opacity: 0.9; transform: translateY(-2px); }
.spot-thumbs button:active { transform: scale(0.95); }
.spot-thumbs button[aria-pressed="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--acid); }
.spot-body { padding: var(--s4); display: flex; flex-direction: column; gap: var(--s3); }
.spot-title { display: flex; gap: 18px; align-items: center; }
.spot-title img { width: 84px; height: 84px; border-radius: 20px; box-shadow: 0 0 0 1px var(--line-2), 0 14px 30px -12px rgba(116, 245, 79, 0.5); transform: rotate(-4deg); }
.spot-title h3 { font-family: var(--display); font-weight: 400; font-size: 36px; line-height: 1; letter-spacing: -0.03em; margin: 0 0 8px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { padding: 4px 10px; border-radius: 999px; background: var(--ink-4); color: var(--muted); font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; }
.live { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(7, 10, 6, 0.8); color: var(--acid); font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; box-shadow: inset 0 0 0 1px rgba(116, 245, 79, 0.4); }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 10px var(--acid); animation: pulse 1.4s infinite; }
.spot-desc { color: var(--muted); font-size: 15.5px; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.statgrid { display: grid; grid-template-columns: repeat(3, 1fr); border-radius: 16px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.statgrid div { padding: 14px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.statgrid div:nth-child(3n) { border-right: 0; }
.statgrid div:nth-last-child(-n + 3) { border-bottom: 0; }
.statgrid dt { color: var(--dim); font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; }
.statgrid dd { margin: 4px 0 0; font-family: var(--mono); font-weight: 700; font-size: 19px; letter-spacing: -0.03em; }
.statgrid .hot dd { color: var(--acid); }
.spot-ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }

/* ---------- cartridges (game cards) ---------- */
.rail { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--s3); margin-top: var(--s3); }
.cart {
  --c: var(--acid);
  position: relative; display: flex; flex-direction: column;
  background: var(--ink-2); border-radius: var(--r);
  clip-path: polygon(0 0, calc(100% - 38px) 0, 100% 38px, 100% 100%, 0 100%);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 0.45s var(--spring);
}
.cart::before { content: ""; position: absolute; top: 0; left: 0; right: 38px; height: 4px; background: var(--c); border-radius: var(--r) 0 0 0; z-index: 2; }
.cart:hover { transform: translateY(-6px) rotate(-0.6deg); }
.cart:active { transform: translateY(-2px) scale(0.99); }
.cart:nth-child(4n + 2) { --c: var(--amber); }
.cart:nth-child(4n + 3) { --c: var(--mint); }
.cart:nth-child(4n + 4) { --c: var(--pink); }
.cart-media { position: relative; aspect-ratio: 16/9; overflow: hidden; border-radius: var(--r) 0 0 0; background: var(--ink-3); }
.cart-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.cart:hover .cart-media img { transform: scale(1.06); }
.cart-media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--c); mix-blend-mode: multiply; opacity: 0.18; }
.cart-media::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent 60%); }
.cart-media .live { position: absolute; z-index: 2; left: 12px; bottom: 12px; font-size: 10px; padding: 5px 10px; }
.cart-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.cart-head { display: flex; gap: 12px; align-items: center; }
.cart-head img { width: 46px; height: 46px; border-radius: 12px; box-shadow: 0 0 0 1px var(--line-2); }
.cart-head h3 { margin: 0; font-size: 17px; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; }
.cart-head .tag { margin-top: 4px; display: inline-block; }
.cart-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cart-stats div { background: var(--ink-3); border-radius: 10px; padding: 8px 10px; }
.cart-stats dt { font-family: var(--mono); font-size: 9px; letter-spacing: 0.08em; color: var(--dim); text-transform: uppercase; }
.cart-stats dd { margin: 2px 0 0; font-family: var(--mono); font-weight: 700; font-size: 14px; }
.cart .btn { margin-top: auto; width: 100%; }
.cart a.stretch::after { content: ""; position: absolute; inset: 0; z-index: 3; }

.empty { padding: var(--s5) var(--s3); text-align: center; color: var(--muted); border-radius: 22px; box-shadow: inset 0 0 0 1px dashed var(--line-2); background: var(--ink-2); }
.skeleton { background: linear-gradient(90deg, var(--ink-3), var(--ink-4), var(--ink-3)); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; border-radius: 26px; min-height: 420px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.more { display: flex; justify-content: center; margin-top: var(--s4); }

/* ---------- about / button legend ---------- */
.about .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); align-items: start; }
.about .statement { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.05; letter-spacing: -0.03em; margin: 0; }
.about .statement em { font-style: normal; color: var(--acid); }
.about .body { color: var(--muted); margin: var(--s3) 0 0; max-width: 520px; }
.legend { display: grid; gap: 12px; }
.legend li { list-style: none; display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; padding: 20px 22px; border-radius: var(--r); background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); transition: transform 0.4s var(--spring), background-color 0.2s; }
.legend li:hover { transform: translateX(8px); background: var(--ink-3); }
.legend .key { width: 56px; height: 56px; border-radius: 50%; background: var(--c); display: grid; place-items: center; font-family: var(--display); color: var(--ink); font-size: 20px; box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.25), 0 10px 22px -8px var(--c); }
.legend h3 { margin: 4px 0 4px; font-size: 18px; letter-spacing: -0.01em; }
.legend p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.legend ul { padding: 0; margin: 0; display: grid; gap: 12px; }

/* ---------- partner ---------- */
.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s2); }
.pcard { padding: var(--s3); border-radius: var(--r); background: linear-gradient(180deg, var(--ink-3), var(--ink-2)); box-shadow: inset 0 0 0 1px var(--line); position: relative; overflow: hidden; transition: transform 0.4s var(--spring); }
.pcard:hover { transform: translateY(-6px); }
.pcard .n { font-family: var(--display); font-size: 64px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--line-2); position: absolute; right: 14px; top: 8px; transition: -webkit-text-stroke-color 0.3s; }
.pcard:hover .n { -webkit-text-stroke-color: var(--acid); }
.pcard .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--c); color: var(--ink); margin-bottom: var(--s4); }
.pcard .ico svg { width: 22px; height: 22px; }
.pcard h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -0.01em; line-height: 1.3; }
.pcard p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ---------- contact ---------- */
.contact-panel {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--s5);
  padding: var(--s5);
  border-radius: 32px;
  background: radial-gradient(60% 80% at 0% 0%, #a6ff86, transparent 70%), radial-gradient(60% 80% at 100% 100%, #3fcf2c, transparent 70%), var(--acid);
  color: var(--ink);
  box-shadow: 0 50px 120px -40px rgba(116, 245, 79, 0.55);
}
.contact-panel::before { content: ""; position: absolute; right: -60px; top: -40px; width: 340px; height: 240px; background: url("/assets/controller.svg") center/contain no-repeat; opacity: 0.12; transform: rotate(18deg); pointer-events: none; }
.contact-panel h2 { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 5vw, 68px); line-height: 0.92; letter-spacing: -0.035em; margin: 14px 0 var(--s3); }
.contact-panel .intro p { margin: 0; font-size: 17px; max-width: 380px; color: #16300f; }
.contact-panel .mono { color: #1f4a16; }
form.cform { display: grid; gap: 12px; position: relative; }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: #1f4a16; }
.field input, .field textarea {
  width: 100%; border: 0; border-radius: 14px; padding: 14px 16px;
  background: rgba(7, 10, 6, 0.9); color: var(--text);
  box-shadow: inset 0 0 0 1.5px transparent;
  transition: box-shadow 0.2s, background-color 0.2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:hover, .field textarea:hover { background: rgba(7, 10, 6, 0.95); }
.field input:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--acid), 0 0 0 3px var(--ink); }
.field textarea { min-height: 130px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check { display: flex; gap: 10px; align-items: center; font-size: 15px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--ink); cursor: pointer; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.form-status { font-size: 14.5px; font-weight: 600; min-height: 1.5em; margin: 0; }
.form-status.err { color: #8a1020; }
.fine { font-size: 12.5px; color: #1f4a16; margin: 0; }

/* ---------- footer ---------- */
footer { margin-top: var(--s6); border-top: 1px solid var(--line); overflow: hidden; }
.foot-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--s4); padding: var(--s5) 0 var(--s4); }
.foot-top h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); margin: 0 0 14px; font-weight: 500; }
.foot-top ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-top a:not(.brand) { color: var(--muted); font-size: 15px; transition: color 0.2s; border-radius: 4px; }
.foot-top a:not(.brand):hover { color: var(--acid); }
.foot-top p { color: var(--muted); font-size: 15px; max-width: 300px; }
.bigword { font-family: var(--display); font-size: clamp(80px, 17.5vw, 280px); line-height: 0.8; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1.5px var(--line-2); text-align: center; user-select: none; margin-bottom: -0.12em; white-space: nowrap; position: relative; z-index: -1; }
.foot-bot { display: flex; justify-content: space-between; gap: var(--s2); flex-wrap: wrap; padding: var(--s3) 0; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }

/* ---------- games page ---------- */
.page-hero { padding: var(--s5) 0 var(--s4); position: relative; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(40% 80% at 80% 0%, rgba(116, 245, 79, 0.18), transparent 70%); }
.page-hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(54px, 9vw, 130px); line-height: 0.88; letter-spacing: -0.04em; margin: 16px 0 var(--s5); }
.page-hero h1 span { color: var(--acid); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: var(--s2); flex-wrap: wrap; margin-bottom: var(--s3); }
.seg { display: inline-flex; padding: 4px; border-radius: 14px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.seg button { border: 0; background: transparent; padding: 8px 14px; border-radius: 10px; cursor: pointer; color: var(--muted); font-size: 14px; font-weight: 600; transition: color 0.2s, background-color 0.2s; }
.seg button:hover { color: var(--text); }
.seg button:active { transform: scale(0.97); }
.seg button[aria-pressed="true"] { background: var(--acid); color: var(--ink); }
.updated { color: var(--dim); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.load > * { opacity: 0; transform: translateY(24px); animation: rise 0.9s var(--ease) forwards; }
.load > *:nth-child(2) { animation-delay: 0.08s; }
.load > *:nth-child(3) { animation-delay: 0.16s; }
.load > *:nth-child(4) { animation-delay: 0.24s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero .wrap, .about .wrap, .contact-panel, .spotlight { grid-template-columns: 1fr; }
  .hero-art { justify-self: center; max-width: 440px; order: -1; }
  .scoreboard { margin-top: 0; }
  .scoreboard .board { grid-template-columns: repeat(2, 1fr); }
  .score:nth-child(3) { border-left: 0; }
  .score:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .spot-media { min-height: 260px; aspect-ratio: 16/9; }
  .spot-media::after { background: linear-gradient(to top, rgba(12, 18, 10, 1), transparent 50%); }
  .contact-panel { padding: var(--s4) var(--s3); gap: var(--s4); }
}
@media (max-width: 760px) {
  :root { --s6: 80px; }
  .nav-links { position: fixed; top: 106px; left: 12px; right: 12px; flex-direction: column; align-items: stretch; padding: 12px; border-radius: 18px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2), var(--lift); opacity: 0; transform: translateY(-10px) scale(0.98); pointer-events: none; transition: opacity 0.25s var(--ease), transform 0.35s var(--spring); }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a:not(.btn) { padding: 12px 14px; font-size: 17px; }
  .nav-toggle { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; border: 0; background: var(--ink-3); cursor: pointer; box-shadow: inset 0 0 0 1px var(--line-2); transition: transform 0.3s var(--spring); }
  .nav-toggle:active { transform: scale(0.94); }
  .nav-toggle svg { width: 22px; height: 22px; }
  .brand-word { font-size: 21px; }
  .brand img { width: 46px; }
  .spot-body { padding: var(--s3); }
  .spot-title h3 { font-size: 28px; }
  .spot-title img { width: 64px; height: 64px; }
  .statgrid dd { font-size: 16px; }
  .row2 { grid-template-columns: 1fr; }
  .chip .v { font-size: 16px; }
  .chip { padding: 9px 12px; }
}
@media (max-width: 520px) {
  .partner-grid, .foot-top { grid-template-columns: 1fr; }
  .brand-word small { display: none; }
  .hero-ctas .btn { flex: 1; padding: 0 16px; }
  .statgrid { grid-template-columns: repeat(2, 1fr); }
  .statgrid div:nth-child(3n) { border-right: 1px solid var(--line); }
  .statgrid div:nth-child(2n) { border-right: 0; }
  .statgrid div:nth-last-child(-n + 3) { border-bottom: 1px solid var(--line); }
  .statgrid div:nth-last-child(-n + 2) { border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .reveal, .load > * { opacity: 1; transform: none; }
}
