:root {
  --bg: #0b0d19;
  --ink: #eef0ff;
  --soft: #b7bbd6;
  --muted: #9ea3c4;
  --panel: rgba(255, 255, 255, 0.045);
  --rim: rgba(255, 255, 255, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.5 Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
}
a { color: #c9c0ff; text-decoration: none; }
a:hover { color: #fff; }
h1, h2, p { margin: 0; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1168px; margin: 0 auto; padding: 0 24px; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 28px 0; }
.brand { color: var(--ink); font-weight: 800; font-size: 22px; letter-spacing: -0.01em; }
.top-right { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.links { display: flex; gap: 24px; flex-wrap: wrap; font-weight: 500; font-size: 15px; }
.lang {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 12px;
  border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
}
.lang select {
  appearance: none; -webkit-appearance: none;
  background: transparent; border: 0; color: var(--ink);
  font: 600 15px Manrope, system-ui, sans-serif; padding: 8px 4px; cursor: pointer;
}
.lang select option { color: var(--bg); }
.lang:focus-within { outline: 2px solid #c9c0ff; outline-offset: 2px; }

/* hero */
.hero { padding: 64px 0 56px; display: flex; flex-direction: column; gap: 16px; max-width: 720px; }
.hero h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.08; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
.hero p { font-size: 19px; color: var(--soft); }

/* games */
.games { display: flex; flex-direction: column; gap: 24px; padding-bottom: 80px; }
.game {
  display: flex; flex-wrap: wrap; align-items: center; gap: 32px 48px;
  padding: 40px; border-radius: 28px;
  background: var(--panel); border: 1px solid var(--rim);
  scroll-margin-top: 16px;
}
.info { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.head { display: flex; align-items: center; gap: 16px; }
.icon { width: 72px; height: 72px; border-radius: 18px; flex: none; }
.head h2 { font-size: 30px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; }
.kind { font-weight: 700; font-size: 14px; }
.text { color: var(--soft); font-size: 17px; }
.more { font-weight: 700; font-size: 16px; }

.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 20px;
  border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.06);
  color: var(--ink); font-weight: 700; font-size: 15px;
}
a.store:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.store.soon { opacity: 0.55; cursor: default; }
.store.soon small { font-weight: 500; font-size: 13px; color: var(--muted); }
.store svg { flex: none; }

.shots { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 4px; max-width: 100%; }
.shot {
  flex: none; width: 216px; height: 470px; padding: 5px;
  border-radius: 30px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 25px; }

/* privacy policy */
.doc {
  max-width: 820px; margin: 24px auto 80px; padding: 48px 56px;
  border-radius: 28px; background: var(--panel); border: 1px solid var(--rim);
}
.doc h1 { font-size: clamp(28px, 4vw, 44px); line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; hyphens: auto; overflow-wrap: break-word; }
.doc-date { margin-top: 12px; color: var(--muted); font-size: 15px; }
.doc h2 { margin: 32px 0 0; padding-top: 24px; border-top: 1px solid var(--rim); font-size: 20px; font-weight: 700; }
.doc p, .doc li { font-size: 17px; line-height: 1.7; color: var(--soft); }
.doc p { margin-top: 12px; }
.doc ul { margin: 12px 0 0; padding-left: 22px; }
.doc a { text-decoration: underline; text-underline-offset: 3px; }

/* footer */
.foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  padding: 32px 0 48px; border-top: 1px solid var(--rim);
  color: var(--muted); font-size: 14px;
}

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 32px 0 40px; }
  .game { padding: 24px 20px; border-radius: 24px; }
  .doc { padding: 28px 20px; border-radius: 24px; margin-top: 8px; }
  .shot { width: 180px; height: 392px; border-radius: 26px; }
  .shot img { border-radius: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
