@font-face {
  font-family: Fredoka;
  src: url("../fonts/fredoka.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Nunito;
  src: url("../fonts/nunito.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #140227;
  --bg-deep: #0c0118;
  --bg-card: rgba(44, 12, 86, 0.78);
  --purple: #5a18b8;
  --magenta: #e85cff;
  --gold: #ffd45a;
  --gold-2: #ffc11f;
  --gold-deep: #c88808;
  --cream: #fff7ea;
  --text: #f8f1ff;
  --muted: #cdb8ea;
  --red: #ff4a57;
  --green: #1ad36a;
  --pink: #ff4fb8;
  --blue: #3aa8ff;
  --cyan: #5ef0ff;
  --line: rgba(255, 212, 90, 0.26);
  --nav-h: 72px;
  --radius: 28px;
  --font-display: Fredoka, "Trebuchet MS", "Segoe UI", sans-serif;
  --font-body: Nunito, "Segoe UI", system-ui, sans-serif;
  --shadow: 0 28px 70px -20px rgba(20, 0, 50, 0.7);
  --container: 1140px;
  --focus: 0 0 0 3px var(--bg-deep), 0 0 0 5px var(--gold);
}
@media (min-width: 1600px) {
  :root { --container: 1320px; }
}
@media (min-width: 1920px) {
  :root { --container: 1560px; }
}
@media (min-width: 2400px) {
  :root { --container: 1760px; }
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding-top: var(--nav-h);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text);
  background:
    radial-gradient(900px 520px at 85% -10%, rgba(232, 92, 255, 0.16), transparent 55%),
    radial-gradient(800px 480px at 0% 8%, rgba(90, 24, 184, 0.45), transparent 50%),
    radial-gradient(1000px 600px at 50% 100%, rgba(255, 196, 40, 0.07), transparent 55%),
    var(--bg-deep);
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--cream); }
button { font: inherit; color: inherit; }

:focus { outline: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--gold);
  color: #2a1600;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}
.skip-link:focus {
  top: 0.7rem;
  outline: 3px solid #fff;
}

.container {
  width: min(var(--container), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(12, 1, 24, 0.72);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid rgba(255, 212, 90, 0.12);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.site-header.is-scrolled {
  background: rgba(12, 1, 24, 0.92);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.header-inner {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto;
  align-items: center;
  height: var(--nav-h);
  gap: 0.75rem 1rem;
  position: relative;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  min-width: 0;
  position: relative;
  z-index: 2;
}
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  flex: none;
}
.brand:hover { color: var(--gold); }
.site-nav {
  position: static;
  justify-self: center;
  max-width: 100%;
  z-index: 1;
}
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.2rem 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.3rem 0;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--gold); }
.site-nav .nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.95rem;
  border: 1.5px solid var(--gold);
  border-radius: 999px;
  color: var(--gold);
}
.site-nav .nav-cta:hover {
  background: var(--gold);
  color: #2a1600;
}

@media (min-width: 861px) and (max-width: 1199px) {
  .site-nav ul { gap: 0.1rem 0.65rem; }
  .site-nav a { font-size: 0.86rem; }
  .site-nav .nav-cta { padding: 0.3rem 0.65rem; }
  .store-badge-nav .store-badge-text small { display: none; }
  .store-badge-nav { padding: 0.28rem 0.5rem 0.28rem 0.38rem; }
  .header-inner { gap: 0.5rem 0.65rem; }
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.nav-toggle .bars {
  display: grid;
  gap: 5px;
  width: 22px;
  margin: auto;
}
.nav-toggle .bars span {
  display: block;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 0;
}
.hero-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-keyart {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(72vw, 1400px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 100%);
}
.hero-keyart img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 48%;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 1, 24, 0.96) 0%, rgba(12, 1, 24, 0.82) 26%, rgba(12, 1, 24, 0.3) 52%, rgba(12, 1, 24, 0.08) 100%),
    linear-gradient(180deg, rgba(12, 1, 24, 0.18) 0%, transparent 24%, rgba(12, 1, 24, 0.1) 60%, rgba(12, 1, 24, 0.92) 100%);
}
.hero-gems {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
@media (min-width: 861px) {
  .hero-grid > .hero-copy { grid-column: 1; grid-row: 1; }
  .hero-grid > .hero-art { grid-column: 2; grid-row: 1; }
  .hero-grid > .hero-gems {
    grid-column: 1 / -1;
    grid-row: 1;
    z-index: 1;
    /* Position gems against the viewport so the original left% spread
       covers the lower-left of the screen (not the inset container). */
    left: 50%;
    right: auto;
    width: 100vw;
    transform: translateX(-50%);
  }
}
.hero-gem {
  position: absolute;
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
  animation: float-block 9s ease-in-out infinite;
}
.g-red {
  left: 3.5%;
  bottom: 3%;
  width: clamp(72px, 9.2vw, 152px);
  --rot: -18deg;
  animation-delay: -1.2s;
}
.g-pink {
  left: 15%;
  bottom: 7%;
  width: clamp(54px, 7vw, 118px);
  --rot: 22deg;
  animation-delay: -3.6s;
}
.g-purple {
  left: 6%;
  bottom: 10%;
  width: clamp(46px, 5.6vw, 96px);
  --rot: 10deg;
  animation-delay: -5.4s;
}
.g-blue {
  left: 26%;
  bottom: 3.5%;
  width: clamp(48px, 6.2vw, 104px);
  --rot: -14deg;
  animation-delay: -2.4s;
}
.g-green {
  left: 34%;
  bottom: 8%;
  width: clamp(50px, 6.4vw, 108px);
  --rot: 16deg;
  animation-delay: -4.1s;
}
.g-yellow {
  left: 19.5%;
  bottom: -4.75rem;
  width: clamp(48px, 6.2vw, 104px);
  --rot: 14deg;
  animation-delay: -6.2s;
}
.hero-float {
  position: absolute;
  z-index: 2;
  height: auto;
  -webkit-mask-image: radial-gradient(circle closest-side, #000 60%, transparent 100%);
  mask-image: radial-gradient(circle closest-side, #000 60%, transparent 100%);
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
  animation: float-block 8.5s ease-in-out infinite;
}
.f-white {
  top: 7%;
  left: 1.5%;
  width: clamp(72px, 8.5vw, 170px);
  --rot: -18deg;
  animation-delay: -1s;
}
.f-gold {
  top: 14%;
  right: 6%;
  width: clamp(80px, 9.5vw, 190px);
  --rot: 16deg;
  animation-delay: -3.2s;
}
.f-blue {
  top: 38%;
  left: 39%;
  width: clamp(64px, 7vw, 140px);
  --rot: 10deg;
  animation-delay: -5s;
}
.f-purple {
  bottom: 28%;
  left: 0.5%;
  width: clamp(70px, 8vw, 150px);
  --rot: 14deg;
  animation-delay: -2s;
}
@keyframes float-block {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-14px) rotate(var(--rot, 0deg)); }
}

.hero-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  gap: 2.5rem 3.5rem;
  align-items: start;
  padding: clamp(1.6rem, 5vh, 4rem) 0 1.5rem;
}
.hero-logo {
  width: min(480px, 100%);
  height: auto;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.45));
}
.hero-copy h1 { margin: 0 0 0.35rem; }
.eyebrow {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-size: 0.92rem;
}
.lede {
  margin: 0 0 0.6rem;
  font-size: clamp(1.2rem, 1.5vw, 1.45rem);
  line-height: 1.5;
  font-weight: 700;
  color: var(--cream);
  max-width: 36rem;
}
.hero-sub {
  margin: 0 0 1.25rem;
  color: var(--muted);
  max-width: 34rem;
}

.store-cta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
@media (min-width: 861px) {
  .hero-copy {
    padding-bottom: clamp(11.75rem, 13vw, 14.5rem);
  }
  .hero-copy .store-cta {
    margin-left: clamp(1.75rem, 2.8vw, 3.25rem);
  }
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background:
    linear-gradient(180deg, #4a1b7a 0%, #2a0b4e 46%, #160326 100%);
  color: #fffef8;
  border: 1.5px solid var(--gold);
  border-radius: 16px;
  padding: 0.82rem 1.4rem 0.82rem 1.15rem;
  box-shadow:
    0 0 0 1px rgba(255, 193, 31, 0.28),
    inset 0 1px 0 rgba(255, 247, 234, 0.28),
    0 0 20px rgba(255, 196, 40, 0.38),
    0 8px 22px rgba(0, 0, 0, 0.42);
}
.apple-mark,
.play-mark {
  width: 35px;
  height: 35px;
  flex: none;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}
.store-badge-text { display: grid; line-height: 1.15; }
.store-badge-text small {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--gold);
  opacity: 1;
}
.store-badge-text strong {
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 700;
  color: #fffef8;
  letter-spacing: 0.01em;
}

/* Hero badges: slightly smaller than the 220x69 enlarged size. */
.hero-copy .store-badge {
  gap: 0.78rem;
  border-radius: 15px;
  padding: 0.76rem 1.3rem 0.76rem 1.06rem;
}
.hero-copy .apple-mark,
.hero-copy .play-mark {
  width: 32px;
  height: 32px;
}
.hero-copy .store-badge-text small { font-size: 0.76rem; }
.hero-copy .store-badge-text strong { font-size: 1.32rem; }

.header-stores {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  flex: none;
  position: relative;
  z-index: 2;
  min-width: 0;
}
.store-badge-nav {
  gap: 0.4rem;
  border-radius: 10px;
  border-width: 1px;
  padding: 0.22rem 0.55rem 0.22rem 0.38rem;
  box-shadow:
    0 0 0 1px rgba(255, 193, 31, 0.22),
    inset 0 1px 0 rgba(255, 247, 234, 0.22),
    0 0 10px rgba(255, 196, 40, 0.28),
    0 4px 12px rgba(0, 0, 0, 0.35);
  cursor: default;
  user-select: none;
  pointer-events: none;
  flex: none;
}
.store-badge-nav .apple-mark,
.store-badge-nav .play-mark {
  width: 18px;
  height: 18px;
}
.store-badge-nav .store-badge-text {
  line-height: 1.05;
}
.store-badge-nav .store-badge-text small {
  font-size: 0.52rem;
  letter-spacing: 0.02em;
}
.store-badge-nav .store-badge-text strong {
  font-size: 0.72rem;
  letter-spacing: 0.01em;
}

.hero-art { display: flex; justify-content: center; }
.device {
  display: block;
  width: 100%;
  aspect-ratio: 2048 / 2732;
  border-radius: 32px;
  padding: 9px;
  background:
    linear-gradient(180deg, #ffe7a0, #e0a01a 45%, #a86a00);
  box-shadow:
    0 0 0 1px rgba(255, 230, 150, 0.35),
    0 30px 70px -18px rgba(80, 0, 140, 0.7),
    0 0 80px rgba(255, 80, 200, 0.16);
}
.device img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  background: #2a0460;
}
.device-hero {
  width: min(440px, 100%);
  transform: rotate(2deg);
  animation: phone-in 1s ease both;
}
@keyframes phone-in {
  from { opacity: 0; transform: rotate(2deg) translateY(24px); }
  to { opacity: 1; transform: rotate(2deg) translateY(0); }
}
@media (min-width: 861px) {
  /* Room for the extra yellow gem below the existing row. */
  .hero { padding-bottom: 5.75rem; }
}
@media (min-width: 1400px) {
  /* Fill the first screen so the background train can stay large, without
     stretching the foreground card. Gems stay anchored to .hero-grid. */
  .hero { min-height: calc(100svh - var(--nav-h)); }
}
@media (min-width: 1600px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 540px);
    gap: 3rem 4.5rem;
  }
  .hero-logo { width: min(560px, 100%); }
  .device-hero { width: min(520px, 100%); }
  .lede { font-size: clamp(1.3rem, 1.15vw, 1.7rem); max-width: 40rem; }
  .hero-keyart { width: min(70vw, 1600px); }
}
@media (min-width: 1920px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(500px, 600px);
    gap: 3.5rem 5rem;
  }
  .hero-logo { width: min(600px, 100%); }
  .device-hero { width: min(580px, 100%); }
  .hero-keyart { width: min(68vw, 1800px); }
}
@media (min-width: 2400px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(540px, 680px);
    padding-top: 3rem;
  }
  .hero-logo { width: min(680px, 100%); }
  .device-hero { width: min(660px, 100%); }
  .hero-keyart { width: min(66vw, 2000px); }
  .lede { max-width: 46rem; }
  .hero-sub { margin-bottom: 1rem; }
}

/* Sections */
.section { padding: 5.25rem 0; scroll-margin-top: calc(var(--nav-h) + 0.8rem); }
.section-head { max-width: 42rem; margin: 0 auto 2.8rem; text-align: center; }
.kicker {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-size: 0.82rem;
}
.section-head h1,
.section-head h2,
.error-wrap h1,
.final-cta h2 {
  margin: 0 0 0.8rem;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--cream);
  text-wrap: balance;
}
.section-lead { margin: 0; color: var(--muted); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 1.6rem 1.45rem 1.7rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 4px;
  background: var(--gold);
}
.feature-card.accent-green::before { background: linear-gradient(90deg, var(--green), var(--cyan)); }
.feature-card.accent-pink::before { background: linear-gradient(90deg, var(--pink), var(--gold)); }
.feature-card.accent-gold::before { background: linear-gradient(90deg, var(--gold), #fff3b0); }
.feature-icon {
  width: 72px;
  height: 72px;
  padding: 12px;
  margin-bottom: 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}
.feature-icon svg { width: 100%; height: 100%; }
.feature-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--cream);
}
.feature-card p { margin: 0; color: var(--muted); font-size: 1.02rem; }

/* How to play */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.8rem;
}
.step {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2rem 2.5rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 32px;
  padding: 1.1rem 1.2rem 1.1rem 1.1rem;
  box-shadow: var(--shadow);
}
.step:nth-child(even) { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
.step:nth-child(even) .step-visual { order: 2; }
.step-visual {
  width: 48%;
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #2a0460;
}
.step-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.step-gold .step-visual img { object-position: center 40%; }
.step-copy { padding-right: 0.6rem; }
.step:nth-child(even) .step-copy { padding-right: 0; padding-left: 0.6rem; }
.step-num {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.92rem;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.step-num span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.85rem;
  background: var(--red);
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0;
}
.step-gold .step-num span { background: var(--gold-2); color: #3a2500; }
.step-blue .step-num span { background: var(--blue); }
.step-copy h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  color: var(--cream);
  line-height: 1.2;
}
.step-copy p:last-child { margin: 0; color: var(--muted); }

/* Gallery */
.gallery-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 340px));
  justify-content: center;
  gap: 1.4rem 1.85rem;
  align-items: end;
  margin-bottom: 2.2rem;
  padding: 1.4rem 0.4rem 2rem;
}
.shot {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s ease;
}
.shot .device {
  width: 100%;
  aspect-ratio: 1179 / 2556;
}
.shot .device img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  background: #2a0460;
}
.shot:nth-child(1) { transform: rotate(-4deg) translateY(18px); }
.shot:nth-child(2) { transform: rotate(0deg) translateY(-8px); }
.shot:nth-child(3) { transform: rotate(4deg) translateY(18px); }
.shot:hover,
.shot:focus-visible { transform: rotate(0deg) translateY(-6px) scale(1.03); z-index: 2; }
.banner-frame {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 212, 90, 0.18);
  background: #2a0460;
}
.banner-frame a { display: block; }
.banner-frame img { width: 100%; height: auto; }

/* FAQ */
.faq-wrap { max-width: 760px; }
.faq-list { display: grid; gap: 0.8rem; }
.faq-list details {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  padding: 0 1.2rem;
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--cream);
  padding: 1.05rem 2rem 1.05rem 0;
  position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq-body { padding: 0 0 1.15rem; color: var(--muted); }
.faq-body p { margin: 0; }

/* Final CTA */
.final-cta {
  padding-top: 2rem;
}
.final-cta-inner {
  text-align: center;
  padding: 3.2rem 1.5rem 3.4rem;
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(20, 2, 40, 0.35), rgba(12, 1, 24, 0.72)),
    url("../img/hero-atmosphere.webp") center / cover no-repeat;
  border: 1px solid rgba(255, 212, 90, 0.22);
  box-shadow: var(--shadow);
}
.final-logo {
  width: min(280px, 70vw);
  height: auto;
  margin: 0 auto 0.6rem;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4));
}
.final-cta p { margin: 0 auto 1.4rem; color: var(--muted); max-width: 32rem; }
.final-cta .store-cta { justify-content: center; }

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255, 212, 90, 0.14);
  padding: 1.8rem 0 2.2rem;
  background: rgba(8, 0, 16, 0.5);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem 1.5rem;
}
.brand-foot strong { display: block; font-size: 0.98rem; }
.brand-foot small { display: block; color: var(--muted); font-family: var(--font-body); font-weight: 600; font-size: 0.8rem; }
.footer-mail { color: var(--muted); text-decoration: none; font-weight: 700; font-size: 0.95rem; }
.footer-mail:hover { color: var(--gold); }
.copyright { margin: 0; color: var(--muted); font-size: 0.9rem; }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 1.15rem;
  margin-left: auto;
}
.footer-legal a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
}
.footer-legal a:hover,
.footer-legal a[aria-current="page"] { color: var(--gold); }
.legal-wrap { max-width: 720px; margin-inline: auto; }
.legal-wrap .section-lead { margin-bottom: 1.4rem; }
.legal-back { font-weight: 700; }

/* Contact / 404 */
.page-main { min-height: calc(100svh - var(--nav-h) - 8rem); }
.contact-wrap, .error-wrap { max-width: 720px; text-align: center; margin-inline: auto; }
.contact-section, .error-section { padding-top: 3.5rem; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  text-decoration: none;
  color: var(--cream);
  background: var(--bg-card);
  border: 1px solid rgba(255, 212, 90, 0.22);
  border-radius: 24px;
  padding: 1.15rem 1.3rem;
  box-shadow: var(--shadow);
  text-align: left;
  max-width: 34rem;
  margin: 0 auto;
}
.contact-card:hover { color: var(--cream); border-color: var(--gold); }
.contact-card img { width: 64px; height: 64px; border-radius: 16px; flex: none; }
.contact-card-text { display: grid; min-width: 0; }
.contact-card-text small {
  color: var(--gold);
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
}
.contact-card-text strong {
  font-size: 1.15rem;
  word-break: break-word;
}
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--gold), var(--gold-2));
  color: #2a1600;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.05rem;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(255, 180, 0, 0.25);
}
.btn-gold:hover { color: #2a1600; filter: brightness(1.05); }

/* Lightbox */
.lightbox {
  width: min(920px, 100% - 2rem);
  max-height: calc(100svh - 2rem);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
}
.lightbox::backdrop { background: rgba(6, 0, 14, 0.86); backdrop-filter: blur(8px); }
.lb-stage { margin: 0; }
.lb-stage img {
  width: 100%;
  height: auto;
  max-height: calc(100svh - 4rem);
  object-fit: contain;
  border-radius: 16px;
  background: #1a0733;
  margin: 0 auto;
}
.lb-close,
.lb-nav {
  position: absolute;
  border: 0;
  background: rgba(12, 1, 24, 0.8);
  color: var(--cream);
  cursor: pointer;
  border-radius: 999px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  line-height: 1;
}
.lb-close { top: -0.2rem; right: -0.2rem; z-index: 2; font-size: 1.8rem; }
.lb-prev { left: -0.4rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: -0.4rem; top: 50%; transform: translateY(-50%); }
.lb-close:hover, .lb-nav:hover { background: var(--gold); color: #2a1600; }

body.nav-open { overflow: hidden; }

@media (max-width: 999px) {
  .feature-grid { grid-template-columns: 1fr; }
  .step,
  .step:nth-child(even) { grid-template-columns: 1fr; }
  .step:nth-child(even) .step-visual { order: 0; }
  .step-copy,
  .step:nth-child(even) .step-copy { padding: 0.4rem 0.5rem 0.7rem; }
}

@media (max-width: 959px) {
  #gallery { overflow-x: hidden; }
  .gallery-row {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding: 0.6rem 0 1.2rem;
    margin-inline: 0;
    width: 100%;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }
  .shot {
    flex: 0 0 min(52vw, 210px);
    scroll-snap-align: start;
    transform: none !important;
  }
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 2rem;
    text-align: center;
    padding: 0.8rem 0 3rem;
  }
  .lede, .hero-sub { margin-inline: auto; }
  .store-cta { justify-content: center; }
  .hero-logo { width: min(300px, 86vw); margin-inline: auto; }
  .device-hero { width: min(300px, 72vw); margin-inline: auto; }
  .hero { padding-top: 0; padding-bottom: 0; min-height: 0; }
  .hero-keyart {
    width: 140%;
    right: -20%;
    opacity: 0.45;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
  }
  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(12, 1, 24, 0.7) 0%, rgba(12, 1, 24, 0.55) 42%, rgba(12, 1, 24, 0.72) 100%);
  }
  .hero-gems,
  .f-blue,
  .f-purple { display: none; }
  .f-white { top: 6%; left: 0; width: 64px; }
  .f-gold { top: 8%; right: 0; width: 70px; }
  .nav-toggle { display: grid; order: 3; margin-left: 0; }
  .site-header {
    height: var(--nav-h);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(12, 1, 24, 0.96);
    overflow: visible;
  }
  .site-header:has(.site-nav.is-open) {
    height: auto;
  }
  .header-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    height: auto;
    min-height: var(--nav-h);
    gap: 0.4rem 0.5rem;
  }
  .header-inner .brand { order: 1; flex: 0 1 auto; min-width: 0; }
  .header-stores { order: 2; margin-left: auto; gap: 0.3rem; flex: 0 0 auto; }
  .store-badge-nav .store-badge-text small { display: none; }
  .store-badge-nav { padding: 0.22rem 0.42rem 0.22rem 0.32rem; }
  .store-badge-nav .store-badge-text strong { font-size: 0.68rem; }
  .site-nav {
    display: none;
    position: static;
    left: auto;
    transform: none;
    justify-self: stretch;
    opacity: 1;
    visibility: visible;
    inset: auto;
    width: 100%;
    flex-basis: 100%;
    order: 4;
    background: transparent;
    padding: 0.15rem 0 1.1rem;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0.25rem; }
  .site-nav a { display: block; padding: 0.85rem 0.4rem; font-size: 1.2rem; }
  .site-nav .nav-cta { justify-content: center; margin-top: 0.4rem; }
  .section { padding: 3.6rem 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-legal { margin-left: auto; }
}

@media (max-width: 699px) {
  :root { --nav-h: 64px; --container: 100%; }
  .container { width: min(100% - 1.6rem, 1140px); }
  body { font-size: 1.05rem; }
  .brand span { font-size: 0.95rem; }
  .store-badge-nav .apple-mark,
  .store-badge-nav .play-mark { width: 16px; height: 16px; }
  .store-badge-nav .store-badge-text strong { font-size: 0.62rem; }
  .store-badge-nav { padding: 0.18rem 0.36rem 0.18rem 0.28rem; gap: 0.28rem; }
  .hero-logo { width: min(260px, 82vw); }
  .lede { font-size: 1.12rem; }
  .device { border-radius: 26px; padding: 7px; }
  .device img { border-radius: 20px; }
  .lb-prev { left: 0.2rem; }
  .lb-next { right: 0.2rem; }
}
@media (max-width: 430px) {
  .brand { gap: 0.4rem; }
  .brand img { width: 32px; height: 32px; border-radius: 8px; }
  .brand span { font-size: 0.82rem; }
  .nav-toggle { width: 40px; height: 40px; }
  .header-inner { gap: 0.3rem 0.35rem; }
  .store-badge-nav .store-badge-text strong { font-size: 0.58rem; }
  .store-badge-nav { padding: 0.16rem 0.32rem 0.16rem 0.24rem; gap: 0.22rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .device-hero,
  .shot:nth-child(1),
  .shot:nth-child(2),
  .shot:nth-child(3) { transform: none; }
  .hero-float { animation: none; transform: rotate(var(--rot, 0deg)); }
  .hero-gem { animation: none; transform: rotate(var(--rot, 0deg)); }
}
