:root {
  --bg: #120a1f; --surface: #1d1230; --surface-2: #261840; --text: #f4eefc; --text-2: #c9bde0; --muted: #a596c2;
  --accent: #c084fc; --accent-2: #f472b6; --border: #3a2a57; --focus: #f9a8d4;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root { --bg: #faf7ff; --surface: #ffffff; --surface-2: #f3ecff; --text: #1d1230; --text-2: #4a3b66; --muted: #5f5079;
    --accent: #7c3aed; --accent-2: #be185d; --border: #e4d8f7; --focus: #7c3aed; color-scheme: light; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 system-ui, "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); color: var(--text); padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 16px; z-index: 10; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
header.site { border-bottom: 1px solid var(--border); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 20px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
nav.top a { margin-left: 18px; color: var(--text-2); text-decoration: none; font-weight: 600; }
nav.top a:hover { color: var(--text); }
.hero { padding-top: 64px; padding-bottom: 40px; text-align: center; }
.hero h1 { font-size: clamp(32px, 6vw, 52px); line-height: 1.1; margin: 0 0 12px; }
.hero p { color: var(--text-2); font-size: 20px; margin: 0 auto; max-width: 640px; text-wrap: balance; }
.games { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; padding-top: 24px; padding-bottom: 56px; }
.game { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.game-head { display: flex; gap: 16px; align-items: center; }
.game-head img { width: 96px; height: 96px; border-radius: 22px; flex: none; }
.game h2 { margin: 0; font-size: 24px; line-height: 1.2; }
.game .tag { color: var(--muted); font-size: 15px; margin: 4px 0 0; }
.game p { margin: 0; color: var(--text-2); }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; }
.btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; gap: 8px; padding: 10px 16px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid var(--accent); color: var(--text); }
.btn.primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); border-color: transparent; color: #fff; }
.btn.primary:hover { filter: brightness(1.08); }
section.band { background: var(--surface-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 40px 0; }
section.band h2 { margin-top: 0; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.doc { padding: 40px 0 64px; max-width: 760px; }
.doc h1 { font-size: 36px; margin-bottom: 8px; }
.doc h2 { margin-top: 32px; }
footer.site { padding: 32px 0 48px; color: var(--muted); font-size: 15px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
footer.site a { color: var(--text-2); }
@media (max-width: 420px) { .actions { grid-template-columns: 1fr; } }
@media (max-width: 560px) { nav.top a { margin: 0 14px 0 0; } .game-head img { width: 72px; height: 72px; border-radius: 16px; } }
