:root { color-scheme: dark; --accent: #8ce9c6; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #0b111c; color: #edf2fa; font: 1rem/1.65 system-ui, sans-serif; }
header, main, footer { max-width: 1160px; margin: auto; padding: 24px; }
header { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
nav { display: flex; gap: 20px; flex-wrap: wrap; }
a { color: var(--accent); }
.brand { font-weight: 800; text-decoration: none; letter-spacing: .08em; }
.hero { padding: 64px 0; max-width: 800px; }
h1 { font-size: clamp(2.5rem, 7vw, 4.7rem); line-height: 1.1; margin: 12px 0 24px; }
h2 { line-height: 1.25; }
p { color: #bac6d9; }
.eyebrow { color: var(--accent); font-size: .8rem; font-weight: 700; letter-spacing: .12em; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 20px; margin: 24px 0; }
.panel, .game-card { background: #141e2e; border: 1px solid #2e3f57; border-radius: 18px; padding: 28px; }
.panel { margin-top: 28px; scroll-margin-top: 20px; }
.game-card { display: flex; flex-direction: column; align-items: flex-start; }
.game-card p { flex: 1; }
.button { display: inline-block; border: 0; border-radius: 10px; padding: 12px 20px; background: var(--accent); color: #0b111c; text-decoration: none; font: inherit; font-weight: 700; }
button:disabled { background: #33435b; color: #d5deec; cursor: not-allowed; }
a:focus-visible, button:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
footer { padding-top: 48px; padding-bottom: 48px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
