:root {
  /* Layout: promo bar, sticky header, routed views (home / game / reviews / faq) in one document. Dark, single theme. */
  --bg: #0a0e15;
  --panel: #0f1621;
  --line: #1b2a3b;
  --text: #e6eef7;
  --muted: #8fa3b8;
  --accent: #19c3e6;
  --accent-ink: #04202a;
  --font-display: "Chakra Petch", "Segoe UI", sans-serif;
  --font-body: "Barlow", "Segoe UI", sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 17px; line-height: 1.55; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; text-wrap: balance; margin: 0; }
h2 { font-size: clamp(24px, 3.5vw, 32px); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.promo { background: var(--accent); color: var(--accent-ink); font: 600 14px var(--font-display); }
.promo .wrap { display: flex; align-items: center; justify-content: center; min-height: 38px; text-align: center; padding-right: 44px; position: relative; }
.promo button { position: absolute; right: 14px; background: none; border: 0; color: inherit; font-size: 20px; cursor: pointer; line-height: 1; padding: 6px; }

header.top { position: sticky; top: 0; z-index: 5; background: rgba(10,14,21,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 22px; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font: 700 19px var(--font-display); text-decoration: none; letter-spacing: .02em; }
.brand svg { width: 30px; height: 30px; }
nav { display: flex; gap: 22px; }
nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; padding: 4px 0; border-bottom: 2px solid transparent; }
nav a:hover { color: var(--text); }
nav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--accent); }
.right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.lang button { background: none; border: 0; color: var(--muted); font: 600 13px var(--font-display); padding: 7px 11px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--accent); color: var(--accent-ink); font: 700 15px var(--font-display); letter-spacing: .02em; text-decoration: none; padding: 13px 22px; border-radius: 8px; border: 0; cursor: pointer; }
.btn:hover { filter: brightness(1.1); }
.btn.ghost { background: none; color: var(--text); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--accent); }
.btn.sm { padding: 9px 15px; font-size: 13px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero { border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(10,14,21,0) 40%, var(--bg) 100%),
    repeating-linear-gradient(90deg, rgba(25,195,230,.06) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(0deg, rgba(25,195,230,.06) 0 1px, transparent 1px 56px),
    radial-gradient(900px 420px at 80% 0%, rgba(25,195,230,.22), transparent 70%), var(--bg); }
.hero .wrap { padding-top: 76px; padding-bottom: 64px; }
.hero h1 { font-size: clamp(38px, 7vw, 68px); max-width: 16ch; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { max-width: 56ch; color: var(--muted); font-size: 19px; margin: 20px 0 28px; }

section { padding: 52px 0; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.sec-head p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* game covers */
.games { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gcard { display: block; text-decoration: none; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: transform .15s, border-color .15s; }
.gcard:hover { transform: translateY(-3px); border-color: var(--accent); }
.cover { position: relative; aspect-ratio: 3 / 4; display: flex; align-items: flex-end; padding: 16px; overflow: hidden; background: linear-gradient(155deg, var(--c1), var(--c2)); }
.cover::before { content: attr(data-mark); position: absolute; right: -6px; top: -14px; font: 700 120px/1 var(--font-display); color: rgba(255,255,255,.12); letter-spacing: -.04em; }
.cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.65)); }
.cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover span { position: relative; z-index: 1; font: 700 22px var(--font-display); line-height: 1.1; text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.ginfo { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px; color: var(--muted); font-size: 14px; }
.ginfo b { color: var(--accent); font: 600 14px var(--font-display); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 0; list-style: none; counter-reset: s; margin: 0; }
.steps li { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 22px; counter-increment: s; }
.steps li::before { content: "0" counter(s); font: 700 14px var(--font-display); color: var(--accent); }
.steps h3 { font-size: 20px; margin: 8px 0 6px; }
.steps p { margin: 0; color: var(--muted); font-size: 15.5px; }

.two { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.box { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.box h2 { font-size: 22px; margin-bottom: 14px; }
.quote { border-left: 3px solid var(--accent); padding-left: 16px; margin: 0 0 18px; }
.quote:last-child { margin-bottom: 0; }
.quote p { margin: 0 0 10px; }
.quote small { color: var(--muted); font-size: 14px; }
.badge { display: inline-block; font: 700 13px var(--font-display); letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent); border-radius: 6px; padding: 4px 10px; margin-bottom: 12px; }
.box p { color: var(--muted); margin: 0 0 16px; }

/* game page */
.gbanner { position: relative; border-bottom: 1px solid var(--line); overflow: hidden; background: linear-gradient(120deg, var(--c1), var(--c2)); }
.gbanner::before { content: attr(data-mark); position: absolute; right: 2%; top: -30px; font: 700 260px/1 var(--font-display); color: rgba(255,255,255,.1); }
.gbanner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,14,21,.1), var(--bg)); }
.gbanner .wrap { position: relative; z-index: 1; padding-top: 32px; padding-bottom: 44px; }
.crumbs { font-size: 14px; color: rgba(255,255,255,.8); margin-bottom: 40px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.gbanner h1 { font-size: clamp(34px, 6vw, 58px); }
.gbanner p { margin: 10px 0 0; color: rgba(255,255,255,.85); max-width: 58ch; }

.items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.item { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 22px; display: flex; flex-direction: column; gap: 18px; justify-content: space-between; }
.item h3 { font-size: 20px; }
.item small { display: block; margin-top: 6px; color: var(--muted); font-size: 14px; }
.note { margin-top: 22px; color: var(--muted); font-size: 15px; max-width: 70ch; }


.items { grid-template-columns: repeat(3, 1fr); }
.pcard { display: flex; flex-direction: column; text-decoration: none; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: transform .15s, border-color .15s; }
.pcard:hover { transform: translateY(-3px); border-color: var(--accent); }
.thumb { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(155deg, var(--c1), var(--c2)); overflow: hidden; }
.thumb::before { content: attr(data-mark); position: absolute; right: 8px; top: -10px; font: 700 96px/1 var(--font-display); color: rgba(255,255,255,.14); }
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pbody { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; }
.pbody h3 { font-size: 19px; }
.price { font: 700 17px var(--font-display); color: var(--accent); }
.price.ask { font: 500 14px var(--font-body); color: var(--muted); }
.crumbs.plain { color: var(--muted); margin-bottom: 24px; }
.pdetail { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.pphoto { position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(155deg, var(--c1), var(--c2)); display: flex; align-items: flex-end; padding: 22px; }
.pphoto::before { content: attr(data-mark); position: absolute; right: 10px; top: -20px; font: 700 220px/1 var(--font-display); color: rgba(255,255,255,.12); }
.pphoto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pphoto span { position: relative; font: 700 24px var(--font-display); text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.pinfo h1 { font-size: clamp(28px, 4.5vw, 42px); margin: 4px 0 18px; }
.pricebox { display: flex; flex-direction: column; gap: 2px; margin-bottom: 18px; }
.pricebox small { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.pricebox strong { font: 700 30px var(--font-display); color: var(--accent); }
.pricebox strong.ask { font: 600 18px var(--font-display); color: var(--text); }
.pdesc { color: var(--muted); margin: 0 0 22px; max-width: 56ch; }

.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 16px 20px; margin-top: 10px; }
.faq summary { cursor: pointer; font: 600 17px var(--font-display); }
.faq details p { color: var(--muted); margin: 10px 0 0; max-width: 70ch; }

footer.site { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }

@media (max-width: 860px) {
  nav { display: none; }
  .games { grid-template-columns: repeat(2, 1fr); }
  .items, .steps, .two, .pdetail { grid-template-columns: 1fr; }
  .hero .wrap { padding-top: 48px; padding-bottom: 44px; }
  .right .btn { display: none; }
  .gbanner::before { font-size: 180px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .gcard { transition: none; } }

/* static-site additions */
.lang a { color: var(--muted); font: 600 13px var(--font-display); padding: 7px 11px; text-decoration: none; display: block; }
.lang a[aria-current="true"] { background: var(--accent); color: var(--accent-ink); }
.lang { display: flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.cover, .thumb, .pphoto, .gbanner { background: linear-gradient(155deg, var(--c1), var(--c2)); }
.gbanner { background: linear-gradient(120deg, var(--c1), var(--c2)); }
