:root {
  --bg: #12081f;
  --bg-deep: #0c0516;
  --surface: #1c1232;
  --card: #24163c;
  --gold: #f5c518;
  --gold-2: #ffd84a;
  --gold-ink: #2a1600;
  --lilac: #9b8cff;
  --fg: #f6f2ff;
  --muted: #b7a8d4;
  --faint: #8a7aa8;
  --line: rgb(255 255 255 / 0.12);
  --font-d: "Unbounded", "Manrope", system-ui, sans-serif;
  --font: "Manrope", system-ui, sans-serif;
  --shadow: 0 18px 50px rgb(4 0 16 / 0.45);
}
* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; }
html, body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); overflow-x: hidden; }
body {
  min-height: 100dvh;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgb(91 48 180 / 0.28), transparent 55%),
    radial-gradient(900px 500px at -10% 20%, rgb(245 197 24 / 0.07), transparent 50%),
    var(--bg);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-d); letter-spacing: -0.03em; text-wrap: balance; margin: 0; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wrap { width: min(1180px, calc(100% - 24px)); margin-inline: auto; }
header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--line); background: rgb(18 8 31 / 0.88); backdrop-filter: blur(12px); }
.bar { display: flex; align-items: center; gap: 8px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-c { width: 36px; height: 36px; border-radius: 10px; background: var(--gold); color: var(--gold-ink); display: grid; place-items: center; font-family: var(--font-d); font-weight: 700; font-size: 20px; box-shadow: 0 6px 18px rgb(245 197 24 / 0.35); }
.logo-t { font-family: var(--font-d); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; font-size: 15px; }
@media (max-width: 399px) { .logo-t { display: none; } }
nav.desk { display: none; gap: 4px; margin-left: 16px; }
nav.desk a, nav.desk button { background: none; border: 0; color: var(--muted); padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; }
nav.desk a.on { border: 1px solid var(--gold); color: var(--fg); }
.right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.lang button { border: 0; background: none; color: var(--muted); padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.lang button.on { background: #2a1a48; color: var(--fg); }
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 10px 18px; font-weight: 600; font-size: 14px; border: 0; }
.btn-gold { background: var(--gold); color: var(--gold-ink); box-shadow: 0 10px 28px rgb(245 197 24 / 0.28); }
.btn-ghost { background: transparent; color: var(--fg); border: 1px solid var(--line); }
.burger { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: none; color: var(--fg); display: grid; place-items: center; }
.ad { border-top: 1px solid var(--line); background: rgb(12 5 22 / 0.8); padding: 8px 16px; text-align: center; font-size: 11px; color: var(--faint); line-height: 1.5; }
.mnav { display: none; border-top: 1px solid var(--line); padding: 12px 16px 16px; }
.mnav.open { display: flex; flex-direction: column; gap: 4px; }
.mnav a, .mnav button { background: none; border: 0; text-align: left; color: var(--fg); padding: 12px; border-radius: 12px; font-size: 16px; }
main { width: min(1180px, calc(100% - 24px)); margin: 0 auto; padding-bottom: 96px; }
.hero { display: grid; gap: 40px; padding: 32px 0 16px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
h1.hero-t { font-size: clamp(32px, 5vw, 52px); line-height: 1.08; margin-top: 20px; }
.gold { color: var(--gold); }
.lilac { color: var(--lilac); }
.score { display: flex; align-items: baseline; gap: 8px; margin-top: 12px; }
.score b { font-family: var(--font-d); font-size: 40px; color: var(--gold); }
.lead { max-width: 54ch; color: var(--muted); line-height: 1.7; font-size: 16px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.age { font-size: 12px; color: var(--faint); margin-top: 14px; }
.shelves { display: grid; gap: 12px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.shelf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 10px; padding-top: 36px; position: relative; }
.shelf-grid img { aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.tag { position: absolute; left: 14px; top: 14px; background: rgb(18 8 31 / 0.8); border-radius: 999px; padding: 4px 12px; font-size: 11px; font-weight: 600; text-transform: uppercase; }
.card-foot { display: flex; justify-content: space-between; padding: 8px 12px 10px; font-size: 13px; }
.live { position: relative; min-height: 220px; }
.live img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.live .g { position: absolute; inset: 0; background: linear-gradient(to top, var(--bg), transparent 55%); }
.poster { position: relative; height: 150px; }
.poster img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.poster .g { position: absolute; inset: 0; background: linear-gradient(to right, var(--bg), rgb(18 8 31 / 0.5), transparent); }
.poster-in { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 16px; }
.pill-gold { background: var(--gold); color: var(--gold-ink); border-radius: 999px; padding: 4px 12px; font-size: 11px; font-weight: 600; text-transform: uppercase; width: fit-content; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 8px 0; }
.chip { flex: 0 0 auto; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 10px 16px; font-size: 13px; color: var(--fg); }
.stats { display: grid; gap: 12px; margin-top: 32px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.stat small { color: var(--faint); text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; }
.stat b { display: block; margin-top: 6px; font-size: 22px; font-family: var(--font-d); }
.article { max-width: 760px; margin: 56px auto 0; }
.article h1, .article h2.page-h { font-size: clamp(26px, 4vw, 36px); margin-bottom: 16px; }
.article h2 { font-size: 24px; margin: 28px 0 12px; }
.article p { color: var(--muted); line-height: 1.75; font-size: 16px; }
.article ul, .article ol { list-style: none; padding: 0; }
.article li { background: var(--surface); border-radius: 12px; padding: 12px 16px 12px 36px; color: var(--muted); margin: 8px 0; position: relative; line-height: 1.6; }
.article ul li::before { content: ""; position: absolute; left: 16px; top: 20px; width: 8px; height: 8px; background: var(--gold); border-radius: 50%; }
.article ol { counter-reset: n; }
.article ol li { padding-left: 16px; display: flex; gap: 12px; align-items: flex-start; }
.article ol li::before { counter-increment: n; content: counter(n); width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: var(--gold-ink); display: grid; place-items: center; font-size: 12px; font-weight: 700; font-family: var(--font-d); flex-shrink: 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; margin: 16px 0; }
table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 14px; }
th { text-align: left; color: var(--gold); padding: 12px 16px; background: #2a1a48; }
td { padding: 12px 16px; color: var(--muted); border-top: 1px solid var(--line); }
td:first-child { color: var(--fg); font-weight: 600; }
.note { border: 1px solid rgb(245 197 24 / 0.3); background: rgb(245 197 24 / 0.08); border-radius: 16px; padding: 20px; margin: 20px 0; }
.note b { color: var(--gold); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.faq { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow: hidden; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 16px; }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; }
.faq details p { margin: 0 0 14px; }
.calc { max-width: 760px; margin: 32px auto 0; border: 1px solid rgb(245 197 24 / 0.25); background: var(--card); border-radius: 22px; padding: 24px; }
.calc input { width: 100%; margin-top: 8px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--fg); font-size: 16px; }
.calc-grid { display: grid; gap: 12px; margin-top: 16px; }
.calc-grid div { background: var(--surface); border-radius: 12px; padding: 12px 16px; }
.calc-grid small { color: var(--faint); font-size: 12px; }
.calc-grid b { display: block; margin-top: 4px; font-size: 18px; }
.games { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 24px; }
.gcard { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.gcard img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.gcard .in { padding: 12px; }
.gcard h2 { font-size: 14px; font-family: var(--font); letter-spacing: 0; }
.gcard p { color: var(--faint); font-size: 12px; margin: 4px 0 10px; }
.filter .chip.on { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }
footer { border-top: 1px solid var(--line); background: var(--bg-deep); padding: 40px 0; margin-top: auto; }
.ed { display: flex; gap: 16px; align-items: center; border: 1px solid var(--line); background: var(--surface); border-radius: 22px; padding: 16px 20px; margin-bottom: 24px; }
.ed-b { width: 44px; height: 44px; border-radius: 12px; background: var(--gold); color: var(--gold-ink); display: grid; place-items: center; font-family: var(--font-d); font-weight: 700; }
.cookie { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; display: flex; gap: 12px; align-items: center; background: rgb(28 18 50 / 0.95); border: 1px solid var(--line); border-radius: 22px; padding: 12px 16px; box-shadow: var(--shadow); }
.cookie p { margin: 0; font-size: 13px; color: var(--muted); flex: 1; }
.cookie .btns { display: flex; gap: 8px; flex-shrink: 0; }
.modal { position: fixed; inset: 0; z-index: 60; background: rgb(12 5 22 / 0.7); backdrop-filter: blur(6px); display: none; place-items: center; padding: 16px; }
.modal.open { display: grid; }
.modal .box { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 24px; max-width: 440px; width: 100%; position: relative; }
.x { position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; border: 0; background: none; color: var(--muted); }
.hidden { display: none !important; }
html[data-lang="ru"] .ua { display: none !important; }
html[data-lang="ua"] .ru { display: none !important; }
@media (min-width: 800px) {
  .bar { height: 72px; }
  nav.desk { display: flex; }
  .burger { display: none; }
  .hero { grid-template-columns: 1.05fr 0.95fr; padding-top: 48px; }
  .shelves { grid-template-columns: 1fr 1fr; }
  .poster { grid-column: 1 / -1; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .calc-grid { grid-template-columns: repeat(3, 1fr); }
  .games { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 640px) and (max-width: 799px) {
  .games { grid-template-columns: repeat(3, 1fr); }
}
