:root {
  color-scheme: dark;
  --bg: #05030d;
  --card: rgba(14, 8, 28, 0.78);
  --line: rgba(255, 255, 255, 0.16);
  --ink: #fff7ff;
  --muted: rgba(255, 247, 255, 0.72);
  --pink: #ff5bd8;
  --cyan: #62f6ff;
  --gold: #ffd36a;
  --violet: #9b6cff;
  --animation-offset: 240px;
  --animation-shift: -240px;
  --hero-panel-top: 52svh;
  --hero-panel-bottom: 14svh;
  --hero-min-height: 112svh;
  --hero-panel-width: 100%;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body {
  position: relative;
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

body::before {
  background:
    radial-gradient(circle at 18% 12%, rgba(98, 246, 255, 0.28), transparent 22rem),
    radial-gradient(circle at 82% 18%, rgba(255, 91, 216, 0.28), transparent 24rem),
    radial-gradient(ellipse at 50% 96%, rgba(155, 108, 255, 0.26), transparent 34rem),
    linear-gradient(180deg, rgba(5, 3, 13, 0.12), rgba(5, 3, 13, 0.94));
}

body::after {
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at 50% 28%, black, transparent 72%);
  opacity: 0.75;
}

a { color: inherit; }
.container { position: relative; z-index: 2; width: min(720px, calc(100% - 32px)); margin: 0 auto; }

.nav,
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav { padding: 18px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 900; letter-spacing: -0.02em; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 10px; box-shadow: 0 0 18px rgba(255, 91, 216, 0.38); }
.links { display: flex; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 0.94rem; }
.links a { text-decoration: none; }
.links a:hover { color: var(--ink); }
.hero-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
  color: rgba(255, 247, 255, 0.7);
  font-size: 0.92rem;
}
.hero-links a { text-decoration: none; }
.hero-links a:hover { color: var(--ink); }
.hero-copyright {
  margin: 12px 0 0;
  color: rgba(255, 247, 255, 0.48);
  font-size: 0.82rem;
}

.hero,
.page { padding: clamp(44px, 10vw, 92px) 0; }
.hero {
  min-height: var(--hero-min-height);
  padding-top: var(--hero-panel-top);
  padding-bottom: var(--hero-panel-bottom);
  text-align: center;
}
.hero-panel {
  width: var(--hero-panel-width);
  margin: 0 auto;
  padding: clamp(22px, 5vw, 36px);
  border-radius: 30px;
  background: rgba(5, 3, 13, 0.42);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.42),
    inset 0 0 36px rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
}
.icon {
  width: 108px;
  height: 108px;
  margin: 0 auto 24px;
  border-radius: 24px;
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.45),
    0 0 0 2px rgba(255, 255, 255, 0.22),
    0 0 42px rgba(255, 91, 216, 0.42),
    0 0 62px rgba(98, 246, 255, 0.2);
}
h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  font-weight: 950;
  line-height: 0.94;
  letter-spacing: -0.075em;
  text-wrap: balance;
  text-shadow:
    0 0 10px rgba(255,255,255,.42),
    0 0 28px rgba(255, 91, 216, 0.55),
    0 0 54px rgba(98, 246, 255, 0.34);
}
.page h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
.lede { max-width: 580px; margin: 18px auto 0; color: var(--muted); font-size: 1.12rem; }
.hero-statement {
  max-width: 580px;
  margin: 0 auto;
  color: #fff;
  font-size: clamp(1.35rem, 4vw, 2.2rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.055em;
  text-wrap: balance;
  text-shadow:
    0 0 10px rgba(255,255,255,.42),
    0 0 28px rgba(255, 91, 216, 0.55),
    0 0 54px rgba(98, 246, 255, 0.34);
}
.page > .lede { max-width: none; margin: 10px 0 0; font-size: 0.95rem; }
.animation-preview {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  background: #050510;
  pointer-events: none;
}
.animation-preview iframe {
  display: block;
  width: 100%;
  height: calc(100% + var(--animation-offset));
  border: 0;
  transform: translateY(var(--animation-shift));
}
.store-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.store-actions a { display: inline-flex; width: 135px; transition: opacity 140ms ease, transform 140ms ease, filter 140ms ease; }
.store-actions a:first-child { width: 120px; }
.store-actions a:hover { opacity: 0.94; transform: translateY(-1px); filter: drop-shadow(0 0 14px rgba(255, 91, 216, 0.36)); }
.store-actions img { display: block; width: 100%; height: auto; }
.note { margin-top: 16px; color: var(--muted); font-size: 0.92rem; }

.card {
  margin-top: 26px;
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4), inset 0 0 28px rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(10px);
}
h2 { margin: 28px 0 8px; color: var(--cyan); font-size: 1.25rem; text-shadow: 0 0 12px rgba(98, 246, 255, 0.35); }
h2:first-child { margin-top: 0; }
p,
li { color: var(--muted); }
ul { padding-left: 1.2rem; }
.card a { color: var(--ink); font-weight: 800; }

.footer { padding: 28px 0 38px; color: var(--muted); font-size: 0.92rem; }

@media (min-width: 700px) {
  :root {
    --animation-offset: 300px;
    --animation-shift: -300px;
    --hero-panel-top: 56svh;
    --hero-panel-bottom: 16svh;
    --hero-min-height: 120svh;
    --hero-panel-width: 100%;
  }
}

@media (min-width: 1100px) {
  :root {
    --animation-offset: 340px;
    --animation-shift: -340px;
    --hero-panel-top: 52svh;
    --hero-panel-bottom: 14svh;
    --hero-min-height: 112svh;
    --hero-panel-width: 100%;
  }

  .container { width: min(820px, calc(100% - 48px)); }
}

@media (max-height: 720px) {
  :root {
    --animation-offset: 220px;
    --animation-shift: -220px;
    --hero-panel-top: 46svh;
    --hero-panel-bottom: 12svh;
    --hero-min-height: 108svh;
  }

  .hero-panel { padding: 20px; }
  .store-actions { margin-top: 20px; }
}

@media (max-width: 560px) {
  :root {
    --animation-offset: 210px;
    --animation-shift: -210px;
    --hero-panel-top: 50svh;
    --hero-panel-bottom: 12svh;
    --hero-min-height: 112svh;
  }

  .nav, .footer-inner { flex-direction: column; text-align: center; }
  .container { width: min(100% - 24px, 720px); }
  .hero-panel { border-radius: 24px; }
  .hero-statement { font-size: clamp(1.25rem, 7vw, 1.72rem); }
}
