:root {
  --bg: #0c0a09;
  --bg-2: #15110f;
  --card: #1b1613;
  --card-hover: #231c18;
  --line: #2e2520;
  --text: #f3ede8;
  --muted: #a8998f;
  --accent: #f97316;
  --accent-2: #dc2626;
  --radius: 18px;
  --max: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }

/* ---------- шапка ---------- */
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: rgba(12, 10, 9, 0.82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar .inner {
  max-width: var(--max); margin: 0 auto; padding: 12px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; letter-spacing: 0.02em; }
.brand:hover { text-decoration: none; }
.brand .mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 15px;
  box-shadow: 0 4px 18px rgba(249, 115, 22, 0.35);
}
.topbar nav { display: flex; gap: 18px; font-size: 15px; }
.topbar nav a { color: var(--muted); }
.topbar nav a:hover, .topbar nav strong { color: var(--text); text-decoration: none; }

/* ---------- главная: обложка ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero .mosaic {
  position: absolute; inset: -40px; display: grid;
  grid-template-columns: repeat(6, 1fr); gap: 10px;
  transform: rotate(-8deg) scale(1.15); opacity: 0.22; filter: saturate(1.1) blur(1px);
}
.hero .mosaic img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 22px; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(12, 10, 9, 0.35), rgba(12, 10, 9, 0.92) 70%),
    linear-gradient(to bottom, rgba(12, 10, 9, 0) 60%, var(--bg));
}
.hero .content { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; padding: 96px 16px 88px; }
.eyebrow { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; font-size: 13px; margin: 0 0 12px; }
.hero h1 { font-size: clamp(36px, 7vw, 64px); line-height: 1.05; margin: 0 0 16px; font-weight: 900; letter-spacing: -0.02em; }
.hero h1 span {
  background: linear-gradient(90deg, var(--accent), #fbbf24);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { color: var(--muted); font-size: clamp(17px, 2.4vw, 20px); max-width: 560px; margin: 0 0 28px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: 15px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff;
}
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn.ghost { background: transparent; border: 1px solid var(--line); color: var(--text); }

/* ---------- секции ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: 64px 16px; }
.section h2 { font-size: clamp(26px, 4vw, 34px); margin: 0 0 8px; font-weight: 800; }
.section .sub { color: var(--muted); margin: 0 0 32px; }

/* ---------- карточки игр ---------- */
.games { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.game {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; display: flex; flex-direction: column; gap: 16px;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.game:hover { transform: translateY(-3px); background: var(--card-hover); border-color: rgba(249, 115, 22, 0.35); }
.game .head { display: flex; gap: 16px; align-items: center; }
.game .icon { width: 88px; height: 88px; border-radius: 22px; object-fit: cover; flex: none; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45); }
.game h3 { margin: 0 0 4px; font-size: 19px; line-height: 1.25; }
.game .tag { color: var(--muted); font-size: 14px; margin: 0; }
.stores { display: flex; gap: 8px; flex-wrap: wrap; }
.store {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 12px; font-size: 14px; font-weight: 600;
  background: #000; border: 1px solid #3a302a; color: #fff;
}
.store:hover { text-decoration: none; border-color: var(--accent); }
.store svg { width: 18px; height: 18px; fill: currentColor; }
.store.soon { color: var(--muted); background: transparent; border-style: dashed; cursor: default; }
.game .legal { font-size: 13px; color: var(--muted); margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.game .legal a { color: var(--muted); }
.game .legal a:hover { color: var(--text); }

/* ---------- контакты ---------- */
.contact { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.contact .links { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- подвал ---------- */
footer.site { max-width: var(--max); margin: 0 auto; padding: 28px 16px 40px; color: var(--muted); font-size: 14px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
footer.site a { color: var(--muted); }

/* ---------- страница политики ---------- */
.doc { max-width: 760px; margin: 0 auto; padding: 48px 16px 64px; }
.doc .game-chip { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.doc .game-chip img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; }
.doc h1 { font-size: clamp(28px, 5vw, 38px); line-height: 1.15; margin: 0 0 6px; font-weight: 800; }
.doc .meta { color: var(--muted); margin: 0; }
.doc h2 { font-size: 21px; margin: 40px 0 10px; padding-top: 20px; border-top: 1px solid var(--line); }
.doc h3 { font-size: 17px; margin: 24px 0 6px; color: #fde0c8; }
.doc p, .doc li { color: #ddd3cc; overflow-wrap: anywhere; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc strong { color: var(--text); }
.doc .card {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.12), rgba(220, 38, 38, 0.06));
  border: 1px solid rgba(249, 115, 22, 0.3); border-radius: var(--radius); padding: 18px 22px; margin: 28px 0 8px;
}
.doc .card p { margin: 0; }

@media (max-width: 560px) {
  .topbar nav { gap: 12px; font-size: 14px; }
  .hero .content { padding: 72px 16px 64px; }
  .hero .mosaic { grid-template-columns: repeat(4, 1fr); }
  .game .icon { width: 72px; height: 72px; border-radius: 18px; }
}

/* ---------- логотип и языки ---------- */
.brand .logo { height: 30px; width: auto; opacity: 0.95; }
.topbar nav { align-items: center; }
.topbar .lang { display: inline-flex; gap: 2px; padding: 2px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 700; }
.topbar .lang a, .topbar .lang strong { padding: 3px 9px; border-radius: 999px; }
.topbar .lang strong { background: var(--card-hover); color: var(--text); }
.brand { white-space: nowrap; }
@media (max-width: 560px) { .brand { font-size: 15px; } .topbar nav > a { display: none; } }
