/* ===== Scoops Up! — marketing site ============================================
   Candy-violet theme matched to the app (BG gradient #5B3FBF→#7B5BE0→#4FA4F0,
   pink #FF6BB5, sunshine #FFB347). Playful, rounded, kid-friendly.
   ========================================================================== */

:root {
  --violet: #5b3fbf;
  --violet-2: #7b5be0;
  --blue: #4fa4f0;
  --pink: #ff6bb5;
  --pink-deep: #c2367e;
  --yellow: #ffb347;
  --mint: #6edb8f;
  --ink: #2a1a5e;
  --ink-soft: #5a4a8e;
  --cream: #fff6ef;
  --card: #ffffff;
  --shadow: 0 18px 40px rgba(42, 26, 94, 0.16);
  --shadow-sm: 0 8px 20px rgba(42, 26, 94, 0.12);
  --radius: 26px;
  --maxw: 1120px;
  --font-display: "Baloo 2", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.05; margin: 0; letter-spacing: -0.5px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.eyebrow {
  display: inline-block; font-family: var(--font-display); font-weight: 800;
  letter-spacing: 2px; text-transform: uppercase; font-size: 13px;
  color: var(--pink-deep); background: #ffe9f3; padding: 6px 14px; border-radius: 999px;
}

/* ---- buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  font-family: var(--font-display); font-weight: 800; font-size: 17px;
  padding: 15px 26px; border-radius: 999px; border: none;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:active { transform: translateY(2px); }
.btn-primary {
  color: #fff; background: linear-gradient(180deg, var(--pink), var(--pink-deep));
  box-shadow: 0 8px 0 #9c2765, var(--shadow-sm);
}
.btn-primary:hover { box-shadow: 0 6px 0 #9c2765, var(--shadow); transform: translateY(1px); }
.btn-ghost {
  color: var(--violet); background: #fff;
  box-shadow: 0 6px 0 rgba(90,63,191,.18), var(--shadow-sm);
}
.btn-lg { font-size: 19px; padding: 17px 32px; }

/* ---- nav ----------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 246, 239, 0.82); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(90,63,191,.08);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--violet); }
.brand img { width: 36px; height: 36px; border-radius: 10px; box-shadow: var(--shadow-sm); }
.nav-links { display: flex; align-items: center; gap: 26px; font-weight: 700; }
.nav-links a { color: var(--ink-soft); }
.nav-links a:hover { color: var(--pink-deep); }
.nav-links .btn { padding: 10px 20px; font-size: 15px; }
@media (max-width: 760px) { .nav-links a:not(.btn) { display: none; } }

/* ---- hero ---------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--violet) 0%, var(--violet-2) 48%, var(--blue) 100%);
  color: #fff; padding: 70px 0 90px;
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); color: #fff; text-shadow: 0 4px 0 rgba(42,26,94,.18); }
.hero .tagline { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: #ffe08a; margin-top: 6px; letter-spacing: 1px; }
.hero p.lead { font-size: 19px; color: #f3ecff; max-width: 520px; margin: 18px 0 26px; font-weight: 600; }
.hero .cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .note { margin-top: 16px; font-size: 14px; color: #e7dcff; font-weight: 700; }
.hero-art { display: flex; justify-content: center; }
.hero-art img { width: min(92%, 460px); filter: drop-shadow(0 24px 40px rgba(20,10,50,.4)); }
.blob { position: absolute; border-radius: 999px; filter: blur(6px); opacity: .5; pointer-events: none; }
.blob.b1 { width: 320px; height: 320px; background: rgba(255,107,181,.5); top: -110px; right: -60px; }
.blob.b2 { width: 360px; height: 360px; background: rgba(79,164,240,.55); bottom: -160px; left: -110px; }
.blob.b3 { width: 180px; height: 180px; background: rgba(255,179,71,.5); top: 40%; left: 45%; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero .cta { justify-content: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-art { order: -1; }
}

/* wave divider */
.wave { display: block; width: 100%; height: 60px; margin-top: -1px; }

/* ---- sections ------------------------------------------------------------ */
section { padding: 72px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(30px, 4.5vw, 44px); color: var(--ink); }
.section-head p { font-size: 18px; color: var(--ink-soft); font-weight: 600; margin-top: 12px; }

/* feature grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.feat {
  background: var(--card); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow-sm); border: 2px solid #fff;
  transition: transform .15s ease, box-shadow .15s ease;
}
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feat .ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 28px; margin-bottom: 14px; }
.feat h3 { font-size: 21px; margin-bottom: 6px; }
.feat p { color: var(--ink-soft); font-weight: 600; font-size: 15.5px; margin: 0; }

/* how to play */
.howto { background: linear-gradient(180deg, #fff, #fff6ef); }
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
@media (max-width: 780px) { .steps { grid-template-columns: 1fr; } }
.step { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); text-align: center; }
.step .num { width: 46px; height: 46px; margin: 0 auto 14px; border-radius: 999px; background: linear-gradient(180deg,var(--violet-2),var(--violet)); color:#fff; font-family: var(--font-display); font-weight: 800; font-size: 22px; display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.step h3 { font-size: 20px; margin-bottom: 6px; }
.step p { color: var(--ink-soft); font-weight: 600; margin: 0; }

/* mockups / peek */
.peek { background: linear-gradient(160deg, var(--violet), var(--blue)); color: #fff; }
.peek .section-head h2, .peek .section-head p { color: #fff; }
.shots { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; align-items: end; }
@media (max-width: 820px) { .shots { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; } }
.phone {
  background: #14082e; border-radius: 40px; padding: 12px; box-shadow: 0 30px 60px rgba(10,5,30,.45);
  border: 2px solid rgba(255,255,255,.14);
}
.phone .screen {
  border-radius: 30px; overflow: hidden; aspect-ratio: 9/19.5; position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.phone .cap { text-align: center; font-weight: 800; margin-top: 14px; color: #fff; font-family: var(--font-display); }

/* scene screen (gameplay mock) */
.screen.game { background: linear-gradient(160deg,#5b3fbf,#4fa4f0); }
.screen.game .scene-bg { position:absolute; inset:0; width:100%; height:100%; object-fit: cover; opacity:.5; }
.screen.game .scrim { position:absolute; inset:0; background: rgba(24,14,48,.42); }
.screen.game .pill { position: relative; z-index:2; align-self:flex-end; margin: 14px 14px 0; background:#fff; color:var(--violet); font-family:var(--font-display); font-weight:800; font-size:12px; padding:6px 12px; border-radius:999px; }
.screen.game .stage { position: relative; z-index:2; flex:1; display:flex; align-items:flex-end; justify-content:center; gap: 6px; width:100%; padding: 0 10px 12px; }
.screen.game .stage img.sc { height: 62%; filter: drop-shadow(0 8px 12px rgba(0,0,0,.35)); }
.screen.game .stage img.cone { height: 34%; }
.screen.game .tubs { position: relative; z-index:2; display:flex; gap:6px; padding: 0 10px 16px; }
.screen.game .tubs span { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 3px 6px rgba(0,0,0,.25); }
.screen.home { background: linear-gradient(160deg,#5b3fbf,#4fa4f0); padding: 20px; }
.screen.home img.logo { width: 78%; }
.screen.choose { background: linear-gradient(160deg,#5b3fbf,#4fa4f0); padding: 16px; gap: 10px; }
.screen.choose .row { display:flex; gap:10px; width:100%; align-items:flex-end; justify-content:center; }
.screen.choose .card { flex:1; background: rgba(255,255,255,.14); border:2px solid rgba(255,255,255,.4); border-radius: 18px; padding: 8px; display:flex; align-items:flex-end; justify-content:center; height: 62%; }
.screen.choose .card img { height: 100%; }
.screen.choose .title { color:#fff; font-family:var(--font-display); font-weight:800; font-size:15px; }

/* scoopers */
.scoopers { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; max-width: 760px; margin: 0 auto; }
.scoopers .sc-card { background: linear-gradient(180deg,#fff,#fff6ef); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 20px; text-align: center; }
.scoopers .sc-card img { height: 230px; margin: 0 auto; }
.scoopers .sc-card h3 { margin-top: 10px; }
@media (max-width: 560px){ .scoopers { grid-template-columns: 1fr 1fr; gap: 14px; } .scoopers .sc-card img{ height: 150px; } }

/* safe/trust band */
.trust { background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
@media (max-width: 760px){ .trust-grid { grid-template-columns: repeat(2,1fr); } }
.trust .item { text-align:center; padding: 18px; }
.trust .item .big { font-size: 34px; }
.trust .item h3 { font-size: 18px; margin: 8px 0 4px; }
.trust .item p { color: var(--ink-soft); font-weight:600; font-size:14px; margin:0; }

/* CTA */
.cta-band { background: linear-gradient(160deg, var(--pink), var(--violet)); color:#fff; text-align:center; }
.cta-band h2 { color:#fff; font-size: clamp(30px,5vw,46px); }
.cta-band p { color:#ffe9f3; font-weight:600; font-size:18px; margin: 12px 0 26px; }

/* footer */
.footer { background: var(--ink); color: #d9cffb; padding: 44px 0 34px; }
.footer .wrap { display:flex; flex-wrap:wrap; gap: 20px; justify-content: space-between; align-items:center; }
.footer .brand { color:#fff; }
.footer-links { display:flex; gap: 22px; flex-wrap: wrap; font-weight:700; }
.footer-links a:hover { color:#fff; }
.footer .fine { width:100%; color:#9d8fce; font-size:13px; margin-top:10px; }

/* ---- legal pages --------------------------------------------------------- */
.legal { background: var(--cream); }
.legal-hero { background: linear-gradient(160deg, var(--violet), var(--blue)); color:#fff; padding: 54px 0 40px; }
.legal-hero h1 { font-size: clamp(32px,5vw,48px); color:#fff; }
.legal-hero p { color:#e7dcff; font-weight:700; margin-top:8px; }
.legal-body { max-width: 820px; margin: 0 auto; padding: 46px 22px 80px; }
.legal-body .card { background:#fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 34px 30px; }
.legal-body h2 { font-size: 24px; color: var(--violet); margin: 30px 0 10px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 18px; margin: 18px 0 6px; }
.legal-body p, .legal-body li { color: #3f3562; font-weight: 500; font-size: 16px; }
.legal-body ul { padding-left: 22px; }
.legal-body li { margin: 6px 0; }
.legal-body a { color: var(--pink-deep); font-weight: 700; text-decoration: underline; }
.legal-body .tldr { background: #f3efff; border: 2px solid #e5dcff; border-radius: 18px; padding: 18px 20px; margin-bottom: 8px; }
.legal-body .tldr strong { color: var(--violet); }
.back-home { display:inline-flex; gap:6px; align-items:center; color:#fff; font-weight:800; margin-bottom: 10px; }

/* ===== v2 polish: device frames, real screenshots, motion ================= */

/* nav button must read white (was inheriting the dark nav-link colour) */
.nav-links a.btn-primary { color: #fff; }

/* iPhone-style device frame holding a real screenshot */
.device {
  position: relative; background: #100722; border-radius: 44px; padding: 11px;
  box-shadow: 0 34px 70px rgba(12, 6, 34, .48), inset 0 0 0 2px rgba(255,255,255,.08);
}
.device::before { /* dynamic-island / notch */
  content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 34%; height: 22px; background: #100722; border-radius: 999px; z-index: 3;
}
.device .scr { border-radius: 34px; overflow: hidden; display: block; width: 100%; aspect-ratio: 1170 / 2532; background:#5b3fbf; }
.device .scr img { width: 100%; height: 100%; object-fit: cover; }

/* hero: use a real phone + floating candy */
.hero-art { position: relative; }
.hero-art .device { width: min(74%, 320px); animation: floaty 5.5s ease-in-out infinite; }
.hero-art .drop { position: absolute; width: 74px; filter: drop-shadow(0 10px 16px rgba(10,5,30,.4)); animation: floaty 4.5s ease-in-out infinite; }
.hero-art .drop.d1 { top: 4%; left: 2%; animation-delay: .2s; }
.hero-art .drop.d2 { bottom: 8%; right: 0%; width: 88px; animation-delay: .9s; }
.hero-art .drop.d3 { top: 40%; right: -6%; width: 60px; animation-delay: 1.5s; }
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-16px) rotate(2deg); } }
@media (prefers-reduced-motion: reduce){ .hero-art .device, .hero-art .drop { animation: none; } }

/* screenshot gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 26px; align-items: start; }
@media (max-width: 900px){ .gallery { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px){ .gallery { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; } }
.gallery .g { text-align: center; }
.gallery .g .device { transition: transform .2s ease; }
.gallery .g:hover .device { transform: translateY(-6px) rotate(0deg) !important; }
.gallery .g:nth-child(3n+1) .device { transform: rotate(-2deg); }
.gallery .g:nth-child(3n)   .device { transform: rotate(2deg); }
.gallery .g .cap { color:#fff; font-family: var(--font-display); font-weight: 800; margin-top: 16px; font-size: 16px; }

/* coming soon badge */
.coming {
  display:inline-flex; align-items:center; gap:10px; background: rgba(255,255,255,.14);
  border: 2px solid rgba(255,255,255,.5); color:#fff; font-family: var(--font-display);
  font-weight: 800; font-size: 18px; padding: 15px 26px; border-radius: 999px; backdrop-filter: blur(4px);
}
.coming .dot { width: 10px; height: 10px; border-radius: 999px; background: var(--mint); box-shadow: 0 0 0 0 rgba(110,219,143,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%{ box-shadow: 0 0 0 0 rgba(110,219,143,.55);} 70%{ box-shadow: 0 0 0 12px rgba(110,219,143,0);} 100%{ box-shadow:0 0 0 0 rgba(110,219,143,0);} }

/* flavor marquee */
.flavors-band { background:#fff; padding: 30px 0; border-top: 1px solid rgba(90,63,191,.06); border-bottom: 1px solid rgba(90,63,191,.06); overflow:hidden; }
.marquee { display:flex; gap: 46px; align-items:center; width:max-content; animation: slide 26s linear infinite; }
.marquee img { width: 66px; height:66px; }
.marquee .t { font-family:var(--font-display); font-weight:800; color:var(--ink-soft); font-size: 20px; white-space:nowrap; }
@keyframes slide { from{ transform: translateX(0);} to{ transform: translateX(-50%);} }
@media (prefers-reduced-motion: reduce){ .marquee { animation: none; } }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
