@font-face { font-family: "Barlow"; font-weight: 500; src: url("/fonts/barlow-500.woff") format("woff"); font-display: swap; }
@font-face { font-family: "Barlow"; font-weight: 600; src: url("/fonts/barlow-600.woff") format("woff"); font-display: swap; }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; src: url("/fonts/barlow-condensed-700.woff") format("woff"); font-display: swap; }

:root {
  --bg: #0d0a09;
  --bg-2: #131010;
  --panel: #181412;
  --inset: #0a0909;
  --ink: #fff6ee;
  --muted: #c3b6ac;
  --dim: #8a7d75;
  --line: rgba(255, 246, 238, 0.09);
  --red: #e4452d;
  --red-deep: #b92d1a;
  --amber: #ffd16b;
  --dg-gold: #ecc15f;
  --gutter: 16px;
  --maxw: 1200px;
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  font: 500 17px/1.7 "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background:
    radial-gradient(1100px 680px at -8% -6%, rgba(228, 69, 45, 0.17), transparent 62%),
    radial-gradient(900px 620px at 108% 2%, rgba(140, 88, 58, 0.17), transparent 62%),
    var(--bg);
  background-repeat: no-repeat;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: var(--ink); text-decoration-color: rgba(228, 69, 45, 0.7); text-underline-offset: 4px; }
a:hover { color: #fff; text-decoration-color: var(--red); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.pixel { image-rendering: pixelated; image-rendering: crisp-edges; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font: 600 13px/1 "Barlow", sans-serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--red); flex: none; }
.display {
  margin: 0;
  font: 700 clamp(52px, 9vw, 112px)/0.9 "Barlow Condensed", sans-serif;
  letter-spacing: -0.015em;
}
.h2 {
  margin: 0 0 18px;
  font: 700 clamp(40px, 6vw, 72px)/0.95 "Barlow Condensed", sans-serif;
  letter-spacing: -0.01em;
}
.lead { margin: 0; max-width: 56ch; color: var(--muted); font-size: 19px; }
.red { color: var(--red); }

/* ---------- buttons, pills ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  font: 600 16px/1 "Barlow", sans-serif;
  letter-spacing: 0.06em;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn-solid { background: var(--ink); color: #120e0c; }
.btn-solid:hover { background: #fff; color: #120e0c; box-shadow: 0 0 0 4px rgba(228, 69, 45, 0.35); }
.btn-line { color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255, 246, 238, 0.28); }
.btn-line:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--red); background: rgba(228, 69, 45, 0.08); }
.btn .arrow { display: inline-block; width: 9px; height: 9px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); margin-left: 2px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 12px;
  font: 600 12px/1 "Barlow", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(255, 246, 238, 0.22);
  background: rgba(13, 10, 9, 0.5);
}
.pill.live { box-shadow: inset 0 0 0 1px var(--red); }
.pill.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background 0.25s, box-shadow 0.25s; }
.nav.scrolled { background: rgba(13, 10, 9, 0.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.nav-brand img { height: 36px; width: auto; }
.nav-links { display: none; align-items: center; gap: 30px; }
.nav-links a { color: var(--muted); text-decoration: none; font: 600 14px/1 "Barlow", sans-serif; letter-spacing: 0.1em; text-transform: uppercase; }
.nav-links a:hover { color: var(--ink); }
.nav .btn { min-height: 42px; padding: 0 18px; font-size: 14px; }
.nav-cta { display: flex; align-items: center; gap: 8px; }
@media (max-width: 400px) { .nav .wrap { gap: 10px; } .nav .btn { padding: 0 12px; } }
@media (min-width: 900px) { .nav-links { display: flex; } }

/* ---------- hero ---------- */
.hero { position: relative; padding: 128px 0 72px; }
@media (min-width: 960px) { .hero { padding: 168px 0 110px; } }
.hero-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 40px; } }
.hero .lead { margin-top: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-art { position: relative; height: 470px; max-width: 520px; width: 100%; margin: 0 auto; }
@media (min-width: 560px) { .hero-art { height: 560px; } }
.hero-art .mark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 210px;
  transform: translate(-50%, -54%);
  opacity: 0.16;
  filter: blur(0.3px);
}
.hero-art .glow { position: absolute; inset: 8% 4%; background: radial-gradient(closest-side, rgba(228, 69, 45, 0.32), transparent 72%); }
.phone {
  position: absolute;
  width: 46%;
  aspect-ratio: 645 / 1398;
  background: var(--inset);
  box-shadow: 0 0 0 6px #1d1816, 0 0 0 7px rgba(255, 246, 238, 0.1), 0 40px 80px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}
.phone img { width: 100%; height: 100%; object-fit: cover; }
.phone.lf { aspect-ratio: 645 / 1125; }
.phone.lf img { object-position: 50% 0; }
.hero-art .p1 { left: 6%; top: 6%; z-index: 2; }
.hero-art .p2 { right: 6%; top: 16%; z-index: 1; }
.hero-art .label {
  position: absolute;
  z-index: 3;
  padding: 7px 11px;
  font: 600 11px/1 "Barlow", sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(13, 10, 9, 0.85);
  box-shadow: inset 0 0 0 1px rgba(255, 246, 238, 0.16);
}
.hero-art .l1 { left: 2%; bottom: 7%; }
.hero-art .l2 { right: 2%; bottom: 0; }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
@media (min-width: 960px) { .section { padding: 120px 0; } }
.section-head { margin-bottom: 44px; max-width: 720px; }

/* ---------- game cards ---------- */
.game {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--panel);
  margin-bottom: 28px;
}
.game::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  z-index: 3;
  background: linear-gradient(90deg, transparent, var(--red) 30%, var(--red) 70%, transparent);
  opacity: 0.85;
}
.game-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.game-shade { position: absolute; inset: 0; z-index: -1; }
.game-grid { display: grid; gap: 40px; padding: 40px 22px 44px; align-items: center; }
@media (min-width: 720px) { .game-grid { padding: 56px 48px; } }
@media (min-width: 1000px) { .game-grid { grid-template-columns: 1fr 1fr; gap: 56px; padding: 72px 64px; min-height: 560px; } }
.game-copy p { margin: 0 0 16px; color: var(--muted); max-width: 52ch; }
.game-copy .game-tag { margin: 16px 0 22px; font: 600 14px/1 "Barlow", sans-serif; letter-spacing: 0.36em; text-transform: uppercase; }
.game-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 30px; }
.game-note { margin-top: 22px !important; font-size: 15px; }
.game-note strong { color: var(--amber); font-weight: 600; }
.shots { position: relative; height: 360px; max-width: 520px; width: 100%; margin: 0 auto; }
@media (min-width: 560px) { .shots { height: 520px; } }
.game-lf .shots { height: 310px; }
@media (min-width: 560px) { .game-lf .shots { height: 450px; } }
.shots .phone { width: 40%; }
.shots .s1 { left: 0; top: 10%; }
.shots .s2 { left: 30%; top: 0; z-index: 2; width: 42%; }
.shots .s3 { right: 0; top: 10%; }

.game-dg .game-bg { object-position: 50% 30%; }
.game-dg .game-shade { background: linear-gradient(90deg, rgba(13, 10, 9, 0.94) 0%, rgba(13, 10, 9, 0.78) 45%, rgba(13, 10, 9, 0.45) 100%), linear-gradient(0deg, rgba(13, 10, 9, 0.85), transparent 45%); }
.dg-logo { width: 328px; height: 40px; }
@media (min-width: 720px) { .dg-logo { width: 410px; height: 50px; } }
.game-dg .game-tag { color: var(--dg-gold); }

.game-lf .game-bg { object-position: 50% 60%; }
.game-lf .game-shade { background: linear-gradient(270deg, rgba(13, 10, 9, 0.94) 0%, rgba(13, 10, 9, 0.8) 45%, rgba(13, 10, 9, 0.4) 100%), linear-gradient(0deg, rgba(13, 10, 9, 0.85), transparent 45%); }
@media (min-width: 1000px) { .game-lf .shots { order: -1; } }
.lf-title { display: flex; align-items: center; gap: 20px; }
.lf-title img { width: 84px; height: 84px; border-radius: 19px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); }
.lf-title h3 { margin: 0; font: 700 clamp(46px, 6vw, 64px)/0.9 "Barlow Condensed", sans-serif; letter-spacing: 0.04em; }
.game-lf .game-tag { color: #ef5656; }
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.stores a { display: block; }
.stores .as { height: 48px; width: auto; }
.stores .gp { height: 72px; width: auto; margin: -12px -10px; }

.game-gv { scroll-margin-top: 88px; }
.game-gv .game-shade { background: linear-gradient(90deg, rgba(13, 10, 9, 0.94) 0%, rgba(13, 10, 9, 0.72) 45%, rgba(13, 10, 9, 0.12) 100%), linear-gradient(0deg, rgba(13, 10, 9, 0.6), transparent 35%); }
@media (max-width: 999px) { .game-gv .game-shade { background: linear-gradient(180deg, rgba(13, 10, 9, 0.9) 0%, rgba(13, 10, 9, 0.84) 58%, rgba(13, 10, 9, 0.3) 100%); } }
.game-gv .game-tag { color: #fff; }
@media (max-width: 379px) { .gv-title { gap: 14px; } .gv-title img { width: 68px; height: 68px; border-radius: 15px; } }

/* ---------- jobs ---------- */
.jobs { display: grid; gap: 20px; }
@media (min-width: 800px) { .jobs { grid-template-columns: 1fr 1fr; } }
.job { position: relative; padding: 36px 30px 32px; background: var(--panel); }
.job::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 2px; background: var(--red); }
.job .kind { font: 600 12px/1 "Barlow", sans-serif; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); }
.job h3 { margin: 14px 0 12px; font: 700 40px/1 "Barlow Condensed", sans-serif; }
.job p { margin: 0 0 24px; color: var(--muted); }
.job a.apply { font-weight: 600; }

/* ---------- community ---------- */
.community { position: relative; padding: 48px 26px; background: linear-gradient(120deg, #1c1513, #131010 60%); overflow: hidden; }
@media (min-width: 720px) { .community { padding: 64px 56px; } }
.community-grid { position: relative; z-index: 1; display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .community-grid { grid-template-columns: 1.4fr auto; } }
.community .mark { position: absolute; right: -30px; bottom: -60px; width: 260px; opacity: 0.08; pointer-events: none; }
.community p { margin: 0; color: var(--muted); max-width: 54ch; }

/* ---------- footer ---------- */
.footer { margin-top: 40px; padding: 64px 0 40px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-grid img { height: 40px; width: auto; }
.footer-grid h4 { margin: 0 0 14px; font: 600 12px/1 "Barlow", sans-serif; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin: 0 0 10px; }
.footer-grid a { color: var(--muted); text-decoration: none; }
.footer-grid a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); }
.footer-grid p { margin: 16px 0 0; color: var(--dim); font-size: 15px; max-width: 34ch; }
.legal-note { margin-top: 48px; color: var(--dim); font-size: 13px; line-height: 1.6; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease, transform 0.8s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- legal + utility pages ---------- */
.page { padding: 120px 0 40px; }
.page .wrap { max-width: 860px; }
.page h1 { margin: 0 0 14px; font: 700 clamp(44px, 7vw, 72px)/0.95 "Barlow Condensed", sans-serif; letter-spacing: -0.01em; }
.page h2 { margin: 0 0 10px; font: 700 26px/1.15 "Barlow Condensed", sans-serif; letter-spacing: 0.02em; }
.page h3 { margin: 30px 0 8px; font: 600 19px/1.3 "Barlow", sans-serif; }
.page p, .page li { color: var(--muted); }
.page ol, .page ul { padding-left: 1.3rem; }
.page code { font-size: 0.95em; color: var(--ink); }
.page .kicker { display: none; }
.page .lead-copy, .page .lede { font-size: 19px; color: var(--muted); margin: 0 0 32px; }
.page .info-block { padding: 26px 0; border-top: 1px solid var(--line); }
.page .info-block p { margin: 0 0 12px; }
.page .mb-0 { margin-bottom: 0 !important; }
.page .box { margin: 16px 0; padding: 20px 22px; background: var(--panel); box-shadow: inset 2px 0 0 var(--red); }
.page .box p { margin: 0 0 10px; }
.page .box p:last-child { margin-bottom: 0; }
.page .foot { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 15px; }
.page main > h2 { margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--line); }
.page main > h2:first-of-type { margin-top: 12px; }
.center-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 40px var(--gutter); }
.center-page .mark { width: 64px; margin: 0 auto 26px; }
.center-page h1 { margin: 0 0 10px; font: 700 56px/1 "Barlow Condensed", sans-serif; letter-spacing: 0.04em; }
.center-page p { color: var(--muted); margin: 0 0 30px; }
.center-page .stores { justify-content: center; }
