:root {
  --bg: #0b0b0e;
  --bg-2: #141418;
  --card: #18181d;
  --line: #2a2a31;
  --text: #f4f4f6;
  --muted: #a3a3ad;
  --red: #ff2a2a;
  --red-2: #c40d12;
  --glow: rgba(255, 42, 42, .45);
  --radius: 18px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 11, 14, .82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 18px; letter-spacing: .3px; }
.brand:hover { text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav { display: flex; gap: 22px; font-size: 15px; }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--text); text-decoration: none; }

/* Hero */
.hero {
  position: relative;
  padding: 72px 0 56px;
  background:
    radial-gradient(700px 380px at 15% 0%, rgba(255, 42, 42, .22), transparent 70%),
    radial-gradient(600px 420px at 100% 40%, rgba(196, 13, 18, .18), transparent 70%);
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 42, 42, .12); border: 1px solid rgba(255, 42, 42, .4);
  color: #ff7a7a; font-weight: 700; font-size: 13px; letter-spacing: .6px; text-transform: uppercase;
}
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.05; margin: 18px 0 16px; font-weight: 900; letter-spacing: -1px; }
h1 span { color: var(--red); text-shadow: 0 0 28px var(--glow); }
.lead { font-size: 19px; color: var(--muted); max-width: 560px; margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 14px; font-weight: 700; font-size: 16px;
  background: linear-gradient(180deg, var(--red), var(--red-2)); color: #fff;
  box-shadow: 0 10px 30px -8px var(--glow);
}
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn.ghost { background: transparent; border: 1px solid var(--line); box-shadow: none; color: var(--text); }
.store-soon {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 18px; border-radius: 14px; border: 1px dashed #4a4a55; color: var(--muted); font-size: 14px;
}
.store-soon svg { width: 26px; height: 26px; flex: none; }
.store-soon b { display: block; color: var(--text); font-size: 16px; }

.phone {
  justify-self: center;
  width: min(330px, 100%);
  border-radius: 34px; padding: 10px;
  background: #050506; border: 1px solid #2d2d35;
  box-shadow: 0 30px 80px -20px var(--glow), 0 0 0 6px #121216;
  transform: rotate(2deg);
}
.phone img { border-radius: 26px; aspect-ratio: 9 / 16; object-fit: cover; width: 100%; }

/* Sections */
section { padding: 64px 0; }
.section-title { font-size: clamp(28px, 4vw, 40px); margin: 0 0 8px; font-weight: 800; }
.section-sub { color: var(--muted); margin: 0 0 32px; max-width: 640px; }

.games { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.game { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, border-color .2s; }
.game:hover { transform: translateY(-4px); border-color: rgba(255, 42, 42, .5); }
.game img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.game div { padding: 18px 20px 22px; }
.game h3 { margin: 0 0 6px; font-size: 20px; }
.game p { margin: 0; color: var(--muted); font-size: 15px; }
.tag { display: inline-block; margin-top: 12px; font-size: 12px; color: #ff8a8a; background: rgba(255, 42, 42, .1); padding: 3px 10px; border-radius: 999px; }

.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.feature { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature .ico { font-size: 26px; line-height: 1; margin-bottom: 12px; }
.feature h3 { margin: 0 0 6px; font-size: 17px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

.shots { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; }
.shots img { height: 380px; width: auto; border-radius: 16px; border: 1px solid var(--line); scroll-snap-align: start; flex: none; }
.shots::-webkit-scrollbar { height: 8px; }
.shots::-webkit-scrollbar-thumb { background: #33333b; border-radius: 4px; }

.soon {
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 42, 42, .12), rgba(255, 42, 42, .02));
  border: 1px solid rgba(255, 42, 42, .3);
  border-radius: 24px; padding: 48px 24px;
}
.soon h2 { margin: 0 0 10px; font-size: clamp(26px, 4vw, 36px); }
.soon p { color: var(--muted); margin: 0 auto 24px; max-width: 560px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 32px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }

/* Legal page */
.doc { max-width: 780px; margin: 0 auto; padding: 56px 20px 72px; }
.doc h1 { font-size: clamp(32px, 5vw, 46px); margin: 0 0 8px; }
.doc .updated { color: var(--muted); margin: 0 0 32px; }
.doc h2 { font-size: 22px; margin: 40px 0 10px; padding-top: 8px; }
.doc h3 { font-size: 17px; margin: 24px 0 6px; }
.doc p, .doc li { color: #d5d5dc; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--text); background: var(--bg-2); }
.table-scroll { overflow-x: auto; }
.callout { background: var(--bg-2); border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 12px; padding: 16px 20px; margin: 20px 0; }
.callout p { margin: 0; }
.toc { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 18px 24px; }
.toc ol { margin: 0; padding-left: 20px; }
.toc li { margin: 4px 0; }

.center-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 40px 20px; }
.center-page h1 { font-size: 96px; margin: 0; color: var(--red); text-shadow: 0 0 40px var(--glow); }

@media (max-width: 860px) {
  .hero { padding: 40px 0 32px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .phone { transform: none; width: min(280px, 100%); }
  .nav { gap: 14px; font-size: 14px; }
  .nav .hide-sm { display: none; }
  section { padding: 48px 0; }
  .shots img { height: 300px; }
}
@media (max-width: 420px) {
  .wrap { padding: 0 16px; }
  .brand span { display: none; }
  .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
