/* ==========================================================================
   DigiChompers v2 — scroll-driven marketing site
   Dark cosmic theme. Fredoka headings + Quicksand body.
   ========================================================================== */

:root {
  --lime-green: #82B82B;        /* darker green for contrast on white */
  --lime-bright: #9ACD32;
  --electric-blue: #2196C8;     /* darker blue for contrast on white */
  --enemy-red: #E53935;
  --digi-orange: #FF9800;
  --cyan-glow: #00B8D4;

  --bg-0: #FFFFFF;              /* page white */
  --bg-1: #F6F9FC;              /* main soft off-white */
  --bg-2: #EEF3F9;              /* alt band */
  --bg-3: #FFFFFF;              /* card white */
  --bg-glow: rgba(33, 150, 200, 0.06);
  --border: rgba(13, 27, 42, 0.12);
  --border-soft: rgba(13, 27, 42, 0.06);

  /* NB: these variable names stayed the same from the dark theme
     but represent text-on-light now — "white" in the variable name
     refers to the original contrast role, not the literal color. */
  --white: #0D1B2A;             /* text color on light bg */
  --white-soft: rgba(13, 27, 42, 0.92);
  --white-muted: rgba(13, 27, 42, 0.75);
  --white-dim: rgba(13, 27, 42, 0.55);

  --font-heading: 'Fredoka', sans-serif;
  --font-body: 'Quicksand', sans-serif;

  --max: 1200px;
  --nav-h: 72px;

  --t-fast: 0.18s;
  --t-med: 0.35s;
  --t-slow: 0.6s;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--white);
  background: var(--bg-1);
  line-height: 1.65;
  overflow-x: hidden;
  min-width: 320px;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

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

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--border);
  transition: background var(--t-med) var(--ease);
  overflow: visible; /* lets the 3x logo overflow above/below the 72px ribbon */
}
.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__logo-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
  letter-spacing: -0.01em;
}
/* Combined character-over-wordmark logo (1193x895). Allowed to slightly
   overflow the 72px nav ribbon so the wordmark half stays legible.
   No CSS filter: drop-shadow — artwork has a baked-in dark outline,
   and drop-shadow on transparent AVIFs flickers black on some Chrome
   paint passes. */
.nav__logo {
  height: 80px;
  width: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  align-self: center;
  position: relative;
  top: 2px;
}
.nav__links {
  display: flex;
  gap: 28px;
  margin-left: auto;
  margin-right: 12px;
}
.nav__links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white-muted);
  transition: color var(--t-fast) var(--ease);
  white-space: nowrap;
}
.nav__links a:hover { color: var(--white); }
.nav__cta {
  padding: 10px 22px;
  border-radius: 22px;
  background: #5F8D18;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.nav__cta:hover { background: #4F7713; transform: translateY(-1px); }
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}

/* ==========================================================================
   HERO — sticky, frame-by-frame canvas, big typography
   ========================================================================== */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 600px at 30% 0%, rgba(33, 150, 200, 0.10) 0%, transparent 60%),
    radial-gradient(800px 400px at 80% 40%, rgba(130, 184, 43, 0.08) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 100%);
}
.hero__scroll {
  height: 300vh; /* drives scroll-linked canvas progression */
  position: relative;
}
.hero__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 28px;
  max-width: 860px;
}
/* Hero content sits OVER the dark-navy canvas art, so its text colors are
   overridden to light regardless of the light-mode body color. */
.hero__eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.1);
}
.hero__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2.5rem, 7vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
  color: #FFFFFF;
}
.hero__title--gradient {
  background: linear-gradient(90deg, var(--lime-green), var(--electric-blue) 65%, var(--digi-orange));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero__subtitle {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.92);
  max-width: 620px;
  margin: 0 auto 28px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}
.hero__cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero__proof {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}
.hero__proof-dot { margin: 0 10px; color: rgba(255, 255, 255, 0.4); }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 14px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.005em;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(180deg, var(--lime-green), #82B82B);
  color: var(--bg-0);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 6px 28px rgba(154, 205, 50, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 40px rgba(154, 205, 50, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.btn--ghost {
  background: rgba(13, 27, 42, 0.04);
  color: var(--white);
  border: 1px solid var(--border);
}
.btn--ghost:hover { background: rgba(13, 27, 42, 0.08); transform: translateY(-2px); }

/* Ghost button inside the dark hero needs inverted contrast */
.hero .btn--ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.25);
}
.hero .btn--ghost:hover { background: rgba(255, 255, 255, 0.18); }
.btn--play {
  background: linear-gradient(180deg, #33cc55, #22aa44 60%, #1a8833);
  color: var(--white);
  font-size: 1.25rem;
  padding: 18px 48px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(34, 170, 68, 0.35);
}
.btn--play:hover { transform: translateY(-2px); box-shadow: 0 12px 44px rgba(34, 170, 68, 0.5); }

/* ==========================================================================
   SECTION BASICS
   ========================================================================== */
.section {
  padding: 140px 0;
  position: relative;
}
.section__head { text-align: center; margin-bottom: 72px; max-width: 760px; margin-left: auto; margin-right: auto; }
.section__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--electric-blue);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.section__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--white-muted);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */
.how { background: var(--bg-2); }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step {
  background: var(--bg-3);
  padding: 44px 30px;
  border-radius: 24px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 6px 20px rgba(13, 27, 42, 0.05);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform var(--t-med) var(--ease), border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.step:hover { box-shadow: 0 12px 40px rgba(13, 27, 42, 0.1); }
.step:hover { transform: translateY(-6px); border-color: var(--border); }
.step__num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--electric-blue);
  margin-bottom: 12px;
}
.step__art {
  width: 100%;
  max-width: 220px;
  height: auto;
  margin: 0 auto 18px;
  filter: drop-shadow(0 8px 24px rgba(79, 195, 247, 0.15));
}
.step__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.7rem;
  margin-bottom: 10px;
  color: var(--white);
}
.step__text {
  color: var(--white-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* ==========================================================================
   MODES GRID
   ========================================================================== */
.modes {
  background:
    radial-gradient(1000px 500px at 50% 0%, rgba(154, 205, 50, 0.07) 0%, transparent 70%),
    var(--bg-1);
}
.modes__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}
.mode-tile {
  background: var(--bg-3);
  padding: 30px 14px 22px;
  border-radius: 22px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 4px 14px rgba(13, 27, 42, 0.04);
  text-align: center;
  transition: transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
  cursor: default;
}
.mode-tile img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto 14px;
  filter: drop-shadow(0 4px 12px rgba(13, 27, 42, 0.18));
}
.mode-tile span {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  letter-spacing: 0.01em;
}
.mode-tile:hover {
  transform: translateY(-4px);
  border-color: var(--electric-blue);
  background: rgba(79, 195, 247, 0.06);
}
.mode-tile--meta {
  border-color: rgba(255, 152, 0, 0.25);
  background: rgba(255, 152, 0, 0.04);
}
.mode-tile--meta:hover { border-color: var(--digi-orange); background: rgba(255, 152, 0, 0.1); }

/* ==========================================================================
   CHARACTERS (split parallax)
   ========================================================================== */
.characters { background: var(--bg-2); }
.characters__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.character-card {
  background: var(--bg-3);
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  box-shadow: 0 12px 36px rgba(13, 27, 42, 0.06);
  transition: transform var(--t-slow) var(--ease), border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.character-card--hero:hover { border-color: var(--lime-green); }
.character-card--villain:hover { border-color: var(--enemy-red); }
.character-card__video {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--bg-0);
}
.character-card__body { padding: 32px 36px 40px; }
.character-card__body h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 12px;
}
.character-card__body p {
  color: var(--white-muted);
  font-size: 1rem;
  line-height: 1.65;
}

/* ==========================================================================
   MOMENTS (Kling videos)
   ========================================================================== */
.moments {
  background:
    radial-gradient(900px 500px at 20% 100%, rgba(79, 195, 247, 0.08) 0%, transparent 70%),
    var(--bg-1);
}
.moments__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.moment-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid var(--border-soft);
  background: var(--bg-3);
}

/* ==========================================================================
   PARENT ZONE
   ========================================================================== */
.parents { background: var(--bg-2); }
.parents__layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}
.parents__copy .section__eyebrow,
.parents__copy .section__title { text-align: left; }
.parents__copy .section__title { margin-bottom: 24px; }
.parents__bullets li {
  padding: 12px 0 12px 34px;
  position: relative;
  color: var(--white-soft);
  font-size: 1.02rem;
  border-bottom: 1px solid var(--border-soft);
}
.parents__bullets li:last-child { border-bottom: 0; }
.parents__bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 18px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--lime-green);
  box-shadow: 0 0 0 4px rgba(154, 205, 50, 0.15);
}
.parents__mock {
  background: linear-gradient(180deg, #FFFFFF, var(--bg-2));
  border-radius: 28px;
  border: 1px solid var(--border);
  padding: 44px 32px;
  box-shadow: 0 30px 80px rgba(13, 27, 42, 0.1);
}
.parents__pin-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  text-align: center;
  color: var(--white);
  margin-bottom: 20px;
}
.parents__pin-dots {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
}
.parents__pin-dots span {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2px solid var(--white-dim);
}
.parents__pin-dots span:first-child,
.parents__pin-dots span:nth-child(2) { background: var(--lime-green); border-color: var(--lime-green); }
.parents__pin-keys {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.parents__pin-keys button {
  padding: 16px 0;
  background: rgba(13, 27, 42, 0.04);
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
  transition: background var(--t-fast) var(--ease);
  pointer-events: none;
}
.parents__pin-clear { color: var(--enemy-red) !important; }
.parents__pin-ok { background: #5F8D18 !important; color: #FFFFFF !important; }

/* ==========================================================================
   PLAY section
   ========================================================================== */
.play {
  background:
    radial-gradient(600px 400px at 50% 50%, rgba(34, 170, 68, 0.15) 0%, transparent 70%),
    var(--bg-1);
}
.play__inner { text-align: center; }
.play .section__title { margin-bottom: 18px; }

/* ==========================================================================
   PRICING
   ========================================================================== */
.pricing { background: var(--bg-2); }
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}
.price-card {
  background: var(--bg-3);
  border-radius: 28px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 16px 48px rgba(13, 27, 42, 0.06);
  padding: 44px 36px;
  position: relative;
  transition: transform var(--t-med) var(--ease), border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.price-card--free { border-color: rgba(154, 205, 50, 0.25); }
.price-card--paid { border-color: rgba(79, 195, 247, 0.3); transform: scale(1.02); box-shadow: 0 30px 80px rgba(79, 195, 247, 0.08); }
.price-card:hover { transform: translateY(-6px); }
.price-card--paid:hover { transform: translateY(-6px) scale(1.02); }
.price-card__badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.price-card--free .price-card__badge { background: rgba(154, 205, 50, 0.18); color: var(--lime-green); }
.price-card--paid .price-card__badge { background: rgba(79, 195, 247, 0.18); color: var(--electric-blue); }
.price-card__price {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 3.8rem;
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}
.price-card__tier {
  font-size: 1rem;
  color: var(--white-muted);
  font-weight: 600;
  margin-bottom: 24px;
}
.price-card__list li {
  padding: 10px 0 10px 28px;
  position: relative;
  color: var(--white-soft);
  font-size: 0.96rem;
  border-bottom: 1px solid var(--border-soft);
}
.price-card__list li:last-child { border-bottom: 0; }
.price-card__list li::before {
  content: '✓';
  position: absolute;
  left: 4px; top: 10px;
  color: var(--lime-green);
  font-weight: 700;
}
.price-card__cta { margin-top: 24px; width: 100%; justify-content: center; }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials { background: var(--bg-1); }
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.quote {
  background: var(--bg-3);
  border-radius: 22px;
  padding: 36px 30px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 8px 24px rgba(13, 27, 42, 0.05);
  font-style: italic;
}
.quote p {
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--white);
  margin-bottom: 18px;
  font-style: normal;
}
.quote cite {
  font-size: 0.88rem;
  color: var(--white-muted);
  font-style: normal;
  font-weight: 600;
}

/* ==========================================================================
   DOWNLOAD
   ========================================================================== */
.download {
  background:
    radial-gradient(900px 500px at 50% 100%, rgba(154, 205, 50, 0.1) 0%, transparent 70%),
    var(--bg-2);
  /* Override .section's 140px — the download CTA is short and the
     footer sits right below, so aggressive padding just creates a
     giant empty gap before the footer. */
  padding-bottom: 72px;
}
.download__inner { text-align: center; }
.download__badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.download__badge {
  transition: transform var(--t-fast) var(--ease);
  display: inline-block;
  line-height: 0;
}
.download__badge:hover { transform: translateY(-2px); }
.download__badge img,
.download__badge svg {
  height: 64px;
  width: auto;
  display: block;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 24px 0 20px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
}
/* Footer uses the same combined logo as the nav, slightly larger so
   the brand row has presence without turning into a hero block. */
.footer__logo {
  height: 100px;
  width: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.footer__nav {
  display: flex;
  gap: 24px;
  justify-content: center;
}
.footer__nav a {
  color: var(--white-muted);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color var(--t-fast) var(--ease);
}
.footer__nav a:hover { color: var(--white); }
.footer__legal {
  text-align: right;
  color: var(--white-muted);
  font-size: 0.86rem;
  line-height: 1.5;
}
.footer__tagline { color: #4F7713; font-weight: 600; }

/* ==========================================================================
   REVEAL ANIMATIONS (GSAP handles the real thing — fallback CSS for no-JS)
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
}
.is-reveal-ready [data-reveal] { transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 960px) {
  .nav__inner { gap: 12px; padding: 0 16px; }
  .nav__logo { height: 56px; }
  .footer__logo { height: 80px; }
  .nav__links { display: none; }
  .nav__toggle { display: flex; margin-left: auto; }
  .nav__cta { padding: 8px 14px; font-size: 0.8rem; margin-left: 6px; }

  .section { padding: 96px 0; }
  .section__head { margin-bottom: 48px; }

  .steps { grid-template-columns: 1fr; gap: 20px; }
  .step { padding: 36px 24px; }
  .step__art { max-width: 180px; }

  .modes__grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .mode-tile { padding: 22px 10px 16px; }
  .mode-tile img { width: 76px; height: 76px; }
  .mode-tile span { font-size: 0.9rem; }

  .characters__split { grid-template-columns: 1fr; }
  .character-card__body { padding: 24px 24px 32px; }

  .moments__grid { grid-template-columns: 1fr; }

  .parents__layout { grid-template-columns: 1fr; gap: 40px; }
  .parents__mock { padding: 32px 20px; max-width: 420px; margin: 0 auto; }

  .pricing__grid { grid-template-columns: 1fr; }
  .price-card--paid { transform: none; }
  .price-card--paid:hover { transform: translateY(-6px); }

  .testimonials__grid { grid-template-columns: 1fr; }

  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer__brand, .footer__nav { justify-content: center; }
  .footer__legal { text-align: center; }
}

@media (max-width: 520px) {
  .hero__title { font-size: clamp(2.2rem, 10vw, 3.6rem); }
  .modes__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__cta { flex-direction: column; align-items: stretch; max-width: 280px; margin: 0 auto 28px; }
  .hero__cta .btn { justify-content: center; }
}

/* ==========================================================================
   PREFERS-REDUCED-MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   PLAY-NOW — click-to-load Flutter game iframe (ported from feat/play-embed 94495e4)
   Tokens remapped from v1 (dark site) to v2-light palette.
   ========================================================================== */
.play [hidden] { display: none !important; }

.play-now__frame {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 28px auto 0;
  aspect-ratio: 16 / 9;
  background: #0D1B2A;
  border: 2px solid rgba(79, 195, 247, 0.35);
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 20px 60px rgba(13, 27, 42, 0.28),
              0 0 80px rgba(79, 195, 247, 0.18);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.play-now__frame:hover {
  transform: translateY(-4px);
  border-color: rgba(79, 195, 247, 0.7);
  box-shadow: 0 28px 80px rgba(13, 27, 42, 0.36),
              0 0 120px rgba(79, 195, 247, 0.36);
}

.play-now__frame.is-playing,
.play-now__frame.is-loading {
  cursor: default;
}

.play-now__frame.is-playing:hover,
.play-now__frame.is-loading:hover {
  transform: none;
}

.play-now__thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease, filter 0.3s ease;
}

.play-now__frame:hover .play-now__thumb {
  transform: scale(1.03);
  filter: brightness(0.7);
}

.play-now__play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: transparent;
  border: 0;
  color: #FFFFFF;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 0;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
  transition: transform 0.3s ease;
  pointer-events: none;
}

.play-now__play-btn svg {
  width: 120px;
  height: 120px;
  color: #4FC3F7;
  animation: play-pulse 2.4s ease-in-out infinite;
}

@keyframes play-pulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 20px rgba(79, 195, 247, 0.5));
  }
  50% {
    transform: scale(1.08);
    filter: drop-shadow(0 0 40px rgba(79, 195, 247, 0.9));
  }
}

.play-now__frame:hover .play-now__play-btn {
  transform: translate(-50%, -50%) scale(1.1);
}

.play-now__loader {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: rgba(13, 27, 42, 0.88);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  z-index: 2;
}

.play-now__loader-icon {
  width: 72px;
  height: auto;
  animation: loader-spin 1.6s linear infinite;
}

@keyframes loader-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.play-now__iframe-host {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.play-now__iframe-host iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #0D1B2A;
}

.play-now__close,
.play-now__fullscreen {
  position: absolute;
  top: 12px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 27, 42, 0.85);
  color: #FFFFFF;
  border: 1px solid rgba(79, 195, 247, 0.5);
  border-radius: 10px;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  z-index: 3;
  backdrop-filter: blur(6px);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.play-now__close:hover,
.play-now__fullscreen:hover {
  background: rgba(79, 195, 247, 0.25);
  border-color: #4FC3F7;
}

.play-now__close { right: 12px; }
.play-now__fullscreen { right: 60px; }

/* Gameplay preview videos — fallback below the live iframe */
.play-now__previews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.play-now__preview-clip {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  max-height: 540px;
  background: #0D1B2A;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}
@media (max-width: 720px) {
  .play-now__previews {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .play-now__preview-clip {
    max-height: 480px;
    aspect-ratio: 9 / 16;
  }
}

.play-now__mobile-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

@media (max-width: 767px) {
  .play-now__frame {
    border-radius: 16px;
    aspect-ratio: 4 / 3;
  }
  .play-now__play-btn svg {
    width: 88px;
    height: 88px;
  }
  .play-now__play-btn {
    font-size: 1.25rem;
    gap: 10px;
  }
}

/* --- Upsell card (static $4.99 app pitch, not an AdSense slot) ---
   Game screenshot bg with dark overlay. Replaces the gradient blue
   house-ad box. Auto Ads from AdSense handles actual ad placement. */
.upsell-card {
  position: relative;
  display: block;
  max-width: 560px;
  margin: 1.5rem auto;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  background-image:
    linear-gradient(135deg, rgba(13,27,42,0.82), rgba(27,40,56,0.82)),
    url('../assets/images/game_screenshot_upsell.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.22);
  overflow: hidden;
  text-align: center;
}

.upsell-card__eyebrow {
  font-family: 'Fredoka', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #f5c842;
  margin-bottom: 0.25rem;
}

.upsell-card__title {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
  color: #fff;
}

.upsell-card__body {
  font-family: 'Quicksand', sans-serif;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.88);
  margin: 0 0 0.7rem;
  line-height: 1.4;
}

.upsell-card__cta {
  display: inline-block;
  background: #f5c842;
  color: #0D1B2A;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.upsell-card__cta:hover,
.upsell-card__cta:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245,200,66,0.4);
  outline: none;
}

@media (max-width: 480px) {
  .upsell-card {
    max-width: 92%;
    padding: 0.9rem 1rem;
  }
  .upsell-card__title { font-size: 1.15rem; }
  .upsell-card__body { font-size: 0.85rem; }
}

/* --- Download badges: pending state (Apple in review) --- */
.download__badge--pending {
  opacity: 0.55;
  cursor: not-allowed;
  filter: grayscale(0.3);
  pointer-events: none;
}

.download__status {
  margin: 0.75rem 0 0;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  text-align: center;
}
