:root {
  --purple: #6b4eff;
  --purple-dark: #4a2fd6;
  --purple-ink: #1d1442;
  --yellow: #edc873;
  --yellow-soft: #fbf1d8;
  --ink: #17132b;
  --muted: #5d5874;
  --bg: #fffdf8;
  --card: #ffffff;
  --line: #ece7f7;
  --radius: 22px;
  --max: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f4f1ff;
    --muted: #b6b0cf;
    --bg: #110d24;
    --card: #1b1636;
    --line: #2c2550;
    --yellow-soft: #2a2340;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--purple); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* header */
.top { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(12px); background: color-mix(in srgb, var(--bg) 82%, transparent); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--ink); }
.nav .cta { color: #fff; background: var(--purple); padding: 9px 16px; border-radius: 999px; }
.nav .cta:hover { color: #fff; background: var(--purple-dark); }
@media (max-width: 720px) { .nav a:not(.cta) { display: none; } }

/* hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 500px at 85% -10%, #8d76ff 0%, transparent 60%), linear-gradient(160deg, var(--purple) 0%, var(--purple-dark) 100%); color: #fff; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); padding: 6px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.02; letter-spacing: -0.035em; margin: 18px 0 16px; font-weight: 850; }
h1 em { font-style: normal; color: var(--yellow); }
.lead { font-size: 19px; opacity: .92; max-width: 34ch; margin: 0 0 28px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 10px; background: #0d0a1c; color: #fff; text-decoration: none; padding: 10px 18px 10px 14px; border-radius: 14px; border: 1px solid rgba(255,255,255,.18); transition: transform .15s ease; }
.store:hover { transform: translateY(-2px); }
.store svg { width: 26px; height: 26px; fill: #fff; }
.store small { display: block; font-size: 11px; opacity: .75; line-height: 1.1; }
.store b { display: block; font-size: 17px; line-height: 1.15; }
.rating { margin-top: 18px; font-size: 14px; opacity: .85; }
.rating b { color: var(--yellow); }

.phones { position: relative; height: 560px; }
.phone { position: absolute; width: 250px; border-radius: 30px; overflow: hidden; box-shadow: 0 30px 60px rgba(10, 4, 50, .45); border: 6px solid #0d0a1c; background: #0d0a1c; }
.phone img { border-radius: 24px; }
.phone.p1 { left: 4%; top: 60px; transform: rotate(-8deg); }
.phone.p2 { left: 32%; top: 0; z-index: 2; }
.phone.p3 { left: 60%; top: 70px; transform: rotate(8deg); }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; }
  .phones { height: 430px; }
  .phone { width: 190px; }
  .phone.p1 { left: 0; } .phone.p2 { left: calc(50% - 95px); } .phone.p3 { left: auto; right: 0; }
}

/* sections */
section { padding: 88px 0; }
.kicker { color: var(--purple); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; }
h2 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.03em; line-height: 1.1; margin: 8px 0 14px; }
.sub { color: var(--muted); font-size: 18px; max-width: 60ch; margin: 0; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; counter-reset: s; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
.step::before { counter-increment: s; content: "0" counter(s); font-weight: 850; font-size: 15px; color: var(--purple); background: color-mix(in srgb, var(--purple) 12%, transparent); padding: 4px 10px; border-radius: 999px; }
.step h3 { margin: 16px 0 6px; font-size: 20px; letter-spacing: -0.01em; }
.step p { margin: 0; color: var(--muted); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.games { background: var(--yellow-soft); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.game { background: var(--card); border-radius: var(--radius); padding: 22px; display: flex; gap: 16px; align-items: flex-start; border: 1px solid var(--line); transition: transform .15s ease, box-shadow .15s ease; }
.game:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(40, 20, 120, .10); }
.game .ic { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 28px; background: color-mix(in srgb, var(--purple) 10%, transparent); }
.game h3 { margin: 2px 0 4px; font-size: 18px; }
.game p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }

.shots { display: flex; gap: 18px; overflow-x: auto; padding: 36px 2px 10px; scroll-snap-type: x mandatory; }
.shots img { width: 230px; flex: none; border-radius: 20px; scroll-snap-align: start; box-shadow: 0 10px 30px rgba(40, 20, 120, .12); }

/* contact */
.contact { background: linear-gradient(160deg, var(--purple) 0%, var(--purple-dark) 100%); color: #fff; border-radius: 32px; padding: 48px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; }
.contact h2 { color: #fff; }
.contact .sub { color: rgba(255,255,255,.85); }
form { display: grid; gap: 12px; }
input, textarea { width: 100%; font: inherit; color: #17132b; background: #fff; border: 0; border-radius: 14px; padding: 14px 16px; }
textarea { min-height: 130px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #8a849f; }
.hp { position: absolute; left: -5000px; }
button { font: inherit; font-weight: 700; border: 0; border-radius: 999px; padding: 14px 22px; background: var(--yellow); color: #1b1300; cursor: pointer; justify-self: start; }
button:disabled { opacity: .6; cursor: default; }
.formmsg { min-height: 24px; font-weight: 600; }
@media (max-width: 800px) { .contact { grid-template-columns: 1fr; padding: 30px 22px; } }

/* footer */
footer { padding: 40px 0 50px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); margin-top: 88px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; }
footer a { color: var(--muted); }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* legal pages */
.legal { max-width: 780px; margin: 0 auto; padding: 56px 20px 0; }
.legal h1 { font-size: clamp(34px, 5vw, 48px); color: var(--ink); }
.legal h2 { font-size: 24px; margin-top: 36px; }
.legal p, .legal li { color: var(--muted); }
.legal .updated { color: var(--muted); font-size: 14px; }
