/* Shared layout for game pages; each game's theme.css sets the variables and decorations. */
:root {
  --bg: #0b111b; --panel: #121a26; --line: #223044; --ink: #e6edf5; --muted: #93a1b3;
  --accent: #8fb0ff; --accent-ink: #0b111b; --radius: 14px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --font-display: var(--font);
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--font); }
a { color: var(--accent); }
img { display: block; max-width: 100%; height: auto; }

.backdrop { position: absolute; z-index: -1; top: 0; left: 0; right: 0; height: 720px; overflow: hidden; pointer-events: none; }

.top, .hero, main, footer { max-width: 1080px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.top { padding-top: 20px; font-size: .9rem; }
.top a { color: var(--muted); text-decoration: none; }
.top a:hover { color: var(--ink); }

/* Hero */
.hero { display: grid; gap: 40px; align-items: center; padding-top: 32px; padding-bottom: 48px; }
@media (min-width: 820px) { .hero { grid-template-columns: 1fr 320px; padding-top: 56px; } }
.kicker, .section-head h2 {
  margin: 0; font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--accent);
}
.title { display: flex; align-items: center; gap: 18px; margin: 14px 0 22px; }
.title img { flex: none; width: 72px; height: 72px; border-radius: 18px; }
h1 { margin: 0; font: 700 clamp(2.1rem, 9vw, 3.8rem)/1.05 var(--font-display); overflow-wrap: anywhere; }
.lead { margin: 0; max-width: 34em; font-size: 1.1rem; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 14px; }
.button {
  display: inline-block; padding: 11px 20px; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--panel); color: var(--ink); text-decoration: none; font-weight: 600;
}
.button.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.button.soon { color: var(--muted); font-weight: 500; }
.meta { margin: 0; color: var(--muted); font-size: .9rem; }
.phone { margin: 0 auto; width: min(290px, 76vw); }
.phone img { border-radius: 26px; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }

/* Sections */
main section { padding: 40px 0; border-top: 1px solid var(--line); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; margin-bottom: 22px; }
.section-head p { margin: 0; color: var(--muted); font-size: .92rem; }
.note { margin: 20px 0 0; max-width: 44em; color: var(--muted); font-size: .95rem; }

.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .cards.three { grid-template-columns: repeat(3, 1fr); } }
.cards li { padding: 18px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.cards strong { display: block; margin-bottom: 4px; color: var(--ink); font-size: 1.02rem; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: step; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); } }
.steps li { counter-increment: step; padding: 18px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.steps li::before {
  content: counter(step, decimal-leading-zero); display: block; margin-bottom: 8px;
  font: 700 .85rem var(--font-display); color: var(--accent);
}

.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { display: flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); font-size: .92rem; }
.chips i { width: 12px; height: 12px; border-radius: 3px; background: var(--c); box-shadow: 0 0 8px var(--c); }

/* Screenshots */
.shots {
  list-style: none; margin: 0 -16px; padding: 4px 16px 16px; display: flex; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.shots li { flex: 0 0 min(220px, 60vw); scroll-snap-align: start; }
.shots img { border-radius: 18px; border: 1px solid var(--line); }

footer {
  display: flex; flex-wrap: wrap; gap: 8px 22px; padding-top: 24px; padding-bottom: 48px;
  border-top: 1px solid var(--line); font-size: .9rem;
}
footer a { color: var(--muted); }
footer a:hover { color: var(--ink); }
