/* Game Zone AI website: what every page shares (fonts, colors, nav, buttons, footer, legal pages).
   The landing page adds assets/home.css. Same "Prime Time" system as the app: ink, stadium light,
   electric green for edges, cyan for the Analyst, red for the house. Mobile first. */

@font-face { font-family: "Big Shoulders"; src: url("fonts/big-shoulders-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Big Shoulders"; src: url("fonts/big-shoulders-900.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Geist"; src: url("fonts/geist-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url("fonts/geist-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geist"; src: url("fonts/geist-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/geist-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --bg: #05070a;
  --bg2: #080b10;
  --raised: #0c1015;
  --surface: rgba(255, 255, 255, 0.035);
  --surface2: rgba(255, 255, 255, 0.06);
  --stroke: rgba(255, 255, 255, 0.08);
  --stroke-hi: rgba(255, 255, 255, 0.15);
  --text: #f3f6f8;
  --text2: #b3bdc7;
  --text3: #7f8a96;
  --text4: #4e5864;
  --green: #2ef2a0;
  --green-deep: #14b97a;
  --green-bg: rgba(46, 242, 160, 0.12);
  --green-line: rgba(46, 242, 160, 0.35);
  --cyan: #5be3ff;
  --cyan-bg: rgba(91, 227, 255, 0.12);
  --violet: #9b8cff;
  --amber: #ffb547;
  --amber-bg: rgba(255, 181, 71, 0.13);
  --red: #ff5d5d;
  --red-bg: rgba(255, 93, 93, 0.13);
  --on-green: #03140c;
  --display: "Big Shoulders", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --body: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --radius: 20px;
  --wrap: 1200px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  background: transparent; /* the page color lives on html, so the fixed stadium light shows */
  color: var(--text);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: rgba(46, 242, 160, 0.3); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--green); color: var(--on-green); font-weight: 600; }
.skip:focus { left: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
@media (min-width: 640px) { .wrap { padding: 0 28px; } }

/* ---- Stadium light ------------------------------------------------------------------ */
.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.beam { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.9; }
.beam-a { width: 1100px; height: 700px; left: 50%; top: -420px; transform: translateX(-60%); background: radial-gradient(closest-side, rgba(46, 242, 160, 0.22), rgba(46, 242, 160, 0.05) 60%, transparent); }
.beam-b { width: 800px; height: 600px; right: -260px; top: -200px; background: radial-gradient(closest-side, rgba(91, 227, 255, 0.16), transparent); }
.lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 12.5% 100%;
  mask-image: linear-gradient(to bottom, #000 0, transparent 70vh);
  -webkit-mask-image: linear-gradient(to bottom, #000 0, transparent 70vh);
}

/* ---- Nav ------------------------------------------------------------------------------ */
.nav { position: sticky; top: 0; z-index: 50; transition: background 0.3s, border-color 0.3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(5, 7, 10, 0.78); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-bottom-color: var(--stroke); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand img { width: 158px; height: auto; }
.nav-links { display: none; gap: 4px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--text2); font-weight: 500; font-size: 15px; padding: 8px 14px; border-radius: 999px; transition: color 0.2s, background 0.2s; }
.nav-links a:hover { color: var(--text); background: var(--surface2); }
.nav .btn { margin-left: auto; }
.nav-cta { font-size: 14px; padding: 0 14px; }
.lg-only { display: none; }
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav .btn { margin-left: 8px; }
  .brand img { width: 186px; }
  .lg-only { display: inline; }
  .sm-only { display: none; }
}

/* ---- Buttons ---------------------------------------------------------------------------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 24px; border-radius: 14px; border: 0; cursor: pointer;
  font: 600 16px/1 var(--body); text-decoration: none; white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s, border-color 0.2s;
}
.btn:active { transform: scale(0.98); }
.btn-primary { color: var(--on-green); background: linear-gradient(135deg, var(--green), #2bd9c9); box-shadow: 0 10px 32px rgba(46, 242, 160, 0.28); }
.btn-primary:hover { box-shadow: 0 12px 44px rgba(46, 242, 160, 0.5); }
.btn-ghost { color: var(--text); background: var(--surface2); border: 1px solid var(--stroke-hi); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); }
.btn-sm { min-height: 40px; padding: 0 16px; border-radius: 12px; font-size: 14.5px; }
.btn-xl { min-height: 60px; padding: 0 30px; border-radius: 16px; font-size: 17px; }
.btn-block { display: flex; width: 100%; }

/* ---- Type ------------------------------------------------------------------------------ */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; font: 600 12.5px/1 var(--body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--green); }
.eyebrow.ai, .eyebrow.cyan { color: var(--cyan); }
.eyebrow.red { color: var(--red); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); position: relative; flex: none; display: inline-block; }
.dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; opacity: 0; animation: pulse 1.8s ease-out 2; }
.dot.cyan { background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.dot.amber { background: var(--amber); box-shadow: 0 0 12px var(--amber); }
.dot.off { background: var(--text3); box-shadow: none; }
.dot.off::after { display: none; }
@keyframes pulse { from { opacity: 0.6; transform: scale(1); } to { opacity: 0; transform: scale(2.8); } }
h1, h2, h3 { font-family: var(--display); font-weight: 900; letter-spacing: 0.005em; text-transform: uppercase; margin: 0; line-height: 0.95; }
h1 { font-size: clamp(64px, 14vw, 132px); }
h2 { font-size: clamp(40px, 6.6vw, 72px); font-weight: 900; line-height: 0.92; }
h3 { font-size: 28px; font-weight: 800; line-height: 1; }
.grad { background: linear-gradient(100deg, var(--green) 10%, var(--cyan) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 30px rgba(46, 242, 160, 0.35)); }
.fine { font-size: 14px; color: var(--text3); margin: 18px 0 0; }
.mono { font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; }
.g { color: var(--green); }
.r { color: var(--red); }

/* ---- Footer ------------------------------------------------------------------------------ */
.footer { border-top: 1px solid var(--stroke); background: rgba(5, 7, 10, 0.86); padding: 40px 0 36px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; }
.footer-brand { max-width: 560px; }
.footer-brand img { width: 164px; }
.footer-brand p { color: var(--text3); font-size: 14px; margin: 14px 0 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: flex-start; }
.footer-links a { color: var(--text2); text-decoration: none; font-size: 15px; }
.footer-links a:hover { color: var(--text); }
.footer-rg { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--stroke); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: var(--text3); font-size: 14px; }
.footer-rg p { margin: 0; }
.footer-rg a { color: var(--text2); }

/* ---- Legal pages ------------------------------------------------------------------------ */
.legal { max-width: 760px; padding-top: 40px; padding-bottom: 80px; }
.legal h1 { font-size: clamp(48px, 9vw, 80px); margin-bottom: 10px; }
.legal h2 { font-size: 30px; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--text2); }
.legal .updated { color: var(--text3); font-size: 14px; }
.legal .btn { margin: 0 8px 8px 0; }

/* ---- Motion ------------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
