/* ---------- Fonts (self-hosted, latin subset, SIL OFL) ---------- */
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url("assets/fonts/barlow-condensed-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("assets/fonts/barlow-condensed-700.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-display: swap; src: url("assets/fonts/barlow-condensed-800.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400 600; font-display: swap; src: url("assets/fonts/inter-latin.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --accent: #FF3EC8;
  --cyan: #3FE6F5;
  --bg: #0A0A0C;
  --bg-deep: #050507;
  --card: #111116;
  --card-border: #22222A;
  --line: #1E1E24;
  --text: #F2F2F2;
  --muted: #B4B4BE;
  --dim: #8A8A94;
  --display: "Barlow Condensed", sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--text); text-decoration: none; transition: color .15s; }
a:hover { color: var(--accent); }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 24px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); }
.lead { font-size: 18px; line-height: 1.6; color: var(--muted); }
.display { font-family: var(--display); font-weight: 800; text-transform: uppercase; }
.accent { color: var(--accent); }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--line); }
.nav { padding-block: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; }
.brand span { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: .04em; }
.brand span small { font-size: inherit; color: var(--dim); font-weight: 600; }
.nav-links { display: flex; flex-wrap: wrap; gap: 28px; font-size: 15px; font-weight: 500; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 28px; font-weight: 600; border-radius: 6px; transition: transform .15s, background .15s, color .15s, border-color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { color: var(--bg); filter: brightness(1.1); }
.btn-ghost { border: 1px solid #3A3A44; }
.btn-ghost:hover { border-color: var(--accent); }
.btn-store { min-height: 52px; padding: 0 24px; background: var(--text); color: var(--bg); border-radius: 8px; }
.btn-store:hover { color: var(--bg); background: #fff; }
.btn-store[aria-disabled="true"] { cursor: default; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* ---------- Hero ---------- */
.hero { padding-block: 96px 80px; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 56px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: clamp(56px, 8vw, 88px); line-height: .92; }
.hero .lead { max-width: 520px; }
.hero-art { display: flex; justify-content: center; }
.hero-art img { width: 100%; max-width: 460px; aspect-ratio: 1; object-fit: cover; border-radius: 16px; }

/* ---------- Games ---------- */
.games { background: var(--bg-deep); border-block: 1px solid var(--line); }
.games-inner { padding-block: 96px; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 56px; align-items: center; }
.teaser { position: relative; width: 100%; max-width: 640px; margin-inline: auto; aspect-ratio: 1024 / 572; border-radius: 12px; overflow: hidden; }
.teaser img, .teaser svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.teaser img { object-fit: cover; }
.games-copy { display: flex; flex-direction: column; gap: 22px; }
.games-copy h2 { font-size: clamp(44px, 6vw, 64px); line-height: .95; }
.release { font-size: 14px; color: var(--dim); }

/* ---------- Studio ---------- */
.studio { padding-block: 96px; display: flex; flex-direction: column; gap: 48px; }
.studio-head { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }
.studio-head h2 { font-size: clamp(40px, 5vw, 56px); line-height: 1; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.card { background: var(--card); border: 1px solid var(--card-border); border-radius: 12px; padding: 32px; display: flex; flex-direction: column; gap: 12px; transition: border-color .2s; }
.card:hover { border-color: #3A3A44; }
.card h3 { font-family: var(--display); font-weight: 700; font-size: 28px; text-transform: uppercase; }
.card p { font-size: 16px; line-height: 1.6; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-deep); }
.footer-inner { padding-block: 64px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; align-items: flex-start; }
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-brand span { font-family: var(--display); font-weight: 800; font-size: 32px; letter-spacing: .04em; }
.footer-brand p, .legal { color: var(--dim); }
.footer-brand p { font-size: 15px; }
.footer-contact { font-size: 15px; }
.legal { padding: 0 24px 32px; text-align: center; font-size: 13px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
