:root {
  color-scheme: dark;
  --ink: #f9f7ff;
  --muted: #cfc5ee;
  --violet: #8f4dff;
  --violet-deep: #32116d;
  --cyan: #4bdcff;
  --pink: #ff5fc8;
  --gold: #ffc83d;
  --panel: rgba(34, 15, 78, 0.78);
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 30px 70px rgba(11, 4, 36, 0.48);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 18% 12%, rgba(97, 226, 255, 0.2), transparent 27rem),
    radial-gradient(circle at 82% 18%, rgba(255, 95, 200, 0.2), transparent 25rem),
    linear-gradient(155deg, #12072d 0%, #26105b 50%, #17083d 100%);
  color: var(--ink);
  font-family: Inter, ui-rounded, "SF Pro Rounded", "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a { color: inherit; }

img { display: block; max-width: 100%; }

.site-shell { min-height: 100vh; overflow: hidden; }

.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img { width: 42px; height: 42px; border-radius: 13px; box-shadow: 0 9px 22px rgba(0,0,0,.3); }

.nav { display: flex; gap: 8px; }
.nav a { padding: 10px 14px; color: var(--muted); text-decoration: none; border-radius: 999px; }
.nav a:hover, .nav a:focus-visible { color: #fff; background: rgba(255,255,255,.09); outline: none; }

.hero {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  align-items: center;
  gap: clamp(42px, 7vw, 90px);
  padding: clamp(68px, 9vw, 120px) 0;
}

.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 22px;
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  color: #e9e1ff;
  font-size: .84rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 18px var(--cyan); }

h1, h2, h3 { line-height: 1.08; letter-spacing: -.035em; }
h1 { margin: 0; font-size: clamp(3.35rem, 7vw, 6.65rem); }
h1 span { display: block; color: transparent; background: linear-gradient(100deg, var(--cyan), #fff 48%, var(--pink)); background-clip: text; -webkit-background-clip: text; }

.lead { max-width: 620px; margin: 25px 0 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.28rem); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 20px; border-radius: 15px; text-decoration: none; font-weight: 800; }
.button.primary { color: #16052f; background: linear-gradient(100deg, var(--cyan), #b9fbff); box-shadow: 0 14px 32px rgba(75,220,255,.22); }
.button.secondary { border: 1px solid var(--line); background: rgba(255,255,255,.07); }
.button:hover { transform: translateY(-2px); }

.visual { position: relative; min-height: 560px; }
.visual::before { content: ""; position: absolute; inset: 14% 0 6%; border-radius: 50%; background: radial-gradient(circle, rgba(143,77,255,.66), transparent 67%); filter: blur(22px); }
.app-icon { position: absolute; z-index: 2; top: 0; right: 0; width: min(55%, 290px); border-radius: 25%; box-shadow: var(--shadow); transform: rotate(5deg); }
.game-shot { position: absolute; z-index: 1; left: 3%; bottom: 0; width: min(65%, 350px); border: 8px solid rgba(255,255,255,.16); border-radius: 30px; box-shadow: var(--shadow); transform: rotate(-4deg); }

.section { padding: 92px 0; }
.section-kicker { margin: 0 0 10px; color: var(--cyan); font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.section h2 { max-width: 720px; margin: 0; font-size: clamp(2.2rem, 4vw, 3.8rem); }
.section-intro { max-width: 720px; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 38px; }
.step { min-height: 220px; padding: 27px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(145deg, rgba(255,255,255,.1), rgba(255,255,255,.035)); box-shadow: 0 18px 45px rgba(0,0,0,.16); }
.step-number { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: linear-gradient(135deg, var(--violet), var(--pink)); font-weight: 900; }
.step h3 { margin: 24px 0 8px; font-size: 1.35rem; }
.step p { margin: 0; color: var(--muted); }

.support-card { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: clamp(28px, 5vw, 52px); border: 1px solid rgba(255,255,255,.18); border-radius: 30px; background: linear-gradient(120deg, rgba(143,77,255,.42), rgba(75,220,255,.13)); }
.support-card h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.support-card p { margin-bottom: 0; color: var(--muted); }

.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; padding: 30px 0 45px; border-top: 1px solid var(--line); color: #afa4d3; font-size: .92rem; }
.footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer a { text-decoration: none; }

.legal { width: min(840px, calc(100% - 40px)); margin: 0 auto; padding: 70px 0 90px; }
.legal-header { padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.legal h1 { font-size: clamp(2.65rem, 6vw, 4.75rem); }
.legal .updated { color: var(--muted); }
.legal article { padding-top: 28px; }
.legal h2 { margin: 42px 0 12px; font-size: 1.55rem; }
.legal p, .legal li { color: #d7d0ec; }
.legal a { color: #81e7ff; }
.legal ul { padding-left: 22px; }
.notice { margin-top: 26px; padding: 18px 20px; border-left: 4px solid var(--gold); border-radius: 10px; background: rgba(255,200,61,.09); color: #f4e6b1; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-top: 55px; }
  .visual { min-height: 510px; max-width: 520px; width: 100%; margin: 0 auto; }
  .steps { grid-template-columns: 1fr; }
  .support-card { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 520px) {
  .wrap, .legal { width: min(100% - 28px, 1120px); }
  .topbar { min-height: 68px; }
  .brand img { width: 36px; height: 36px; }
  .nav a:first-child { display: none; }
  .hero { padding-bottom: 48px; }
  .visual { min-height: 430px; }
  .app-icon { width: 57%; }
  .game-shot { width: 66%; border-width: 6px; }
  .section { padding: 68px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button:hover { transform: none; }
}
