/* Eden's Hatchery marketing page (index.html). The legal pages use style.css. */
@font-face { font-family: "Baloo 2"; src: url("assets/fonts/baloo2-extrabold.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("assets/fonts/nunito-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("assets/fonts/nunito-extrabold.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --ink: #4a3220;
  --muted: #7a5f45;
  --gold: #e6a33a;
  --gold-deep: #b9761b;
  --coral: #f08a6e;
  --teal: #43b4a8;
  --lavender: #9a8ad8;
  --card: rgba(255, 252, 245, 0.82);
  --line: rgba(255, 255, 255, 0.92);
  --shadow: 0 18px 40px rgba(120, 72, 20, 0.14);
  --radius: 28px;
  --max: 1120px;
  --font: "Nunito", "Segoe UI", system-ui, sans-serif;
  --display: "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
  --accent: var(--gold);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  font-weight: 700;
  background: linear-gradient(180deg, #ffe9c8 0%, #fff7ea 40%, #fdeedd 100%);
  overflow-x: hidden;
}
img { max-width: 100%; }
button { font-family: inherit; color: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }

#sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.skip { position: absolute; left: 12px; top: -48px; background: #fff; padding: 8px 12px; z-index: 50; border-radius: 8px; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
:focus-visible { outline: 3px solid #8a4f10; outline-offset: 3px; }

/* ------------------------------------------------------------------ nav */
.nav {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 18px;
  padding: 10px 22px;
  background: rgba(255, 248, 236, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1.2rem; }
.brand img { width: 40px; height: 40px; border-radius: 12px; }
.nav-links { display: flex; gap: 18px; margin-left: auto; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--gold-deep); }
.store-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.store { display: inline-flex; line-height: 0; border-radius: 10px; transition: transform 0.15s ease; }
.store:hover { transform: translateY(-2px); }
.store img { display: block; width: auto; }
.store-google img { height: 78px; margin: -13px -10px; }
.store-apple img { height: 52px; }
.nav-stores { margin-left: 8px; }
.nav-stores .store-google img { height: 60px; margin: -10px -8px; }
.nav-stores .store-apple img { height: 40px; }

.ghost {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; cursor: pointer;
  background: rgba(255, 255, 255, 0.86);
  border: 2px solid rgba(120, 72, 20, 0.14);
  border-radius: 999px; padding: 12px 20px; font-weight: 800;
}
.ghost:hover { background: #fff; }
.ghost.tiny { padding: 8px 14px; font-size: 0.92rem; }

main { position: relative; z-index: 1; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); backdrop-filter: blur(10px); }

/* ------------------------------------------------------------------ hero */
.hero {
  max-width: 1200px; margin: 0 auto; padding: 28px 22px 10px;
  display: grid; grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.05fr); gap: 18px; align-items: center;
}
.hero-copy { background: rgba(255, 252, 245, 0.7); border: 1px solid var(--line); border-radius: 36px; padding: 26px 28px 22px; box-shadow: var(--shadow); backdrop-filter: blur(10px); text-align: center; }
.hero-copy .logo { margin: 0 auto; }
.hero-copy .cta-row, .hero-copy .store-row, .hero-copy .stats { justify-content: center; }
.eyebrow { margin: 0 0 4px; font-family: var(--display); font-weight: 800; color: var(--teal); letter-spacing: 0.03em; }
h1 { margin: 0; }
.logo { width: min(480px, 100%); height: auto; display: block; filter: drop-shadow(0 10px 14px rgba(120, 72, 20, 0.18)); }
.lede { font-size: 1.3rem; line-height: 1.45; margin: 10px 0 18px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.stats { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 18px 0 0; margin: 0; }
.stats li { display: flex; align-items: center; gap: 6px; background: #fff; border-radius: 999px; padding: 5px 14px 5px 6px; box-shadow: 0 6px 16px rgba(120, 72, 20, 0.08); }
.stats img { width: 30px; height: 30px; object-fit: contain; }
.stats strong { font-family: var(--display); font-size: 1.15rem; font-variant-numeric: tabular-nums; }

.hero-stage { position: relative; min-height: 680px; }
.phone {
  position: absolute; right: 6%; top: 50%;
  transform: translateY(-52%) rotate(6deg);
  height: min(70vh, 600px); aspect-ratio: 1080 / 1920;
  border-radius: 38px; overflow: hidden;
  border: 8px solid #5b3a1e;
  box-shadow: 0 30px 50px rgba(90, 50, 10, 0.28), inset 0 0 0 3px rgba(255, 255, 255, 0.7);
  background: #fde9cc;
}
.phone img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-pet {
  position: absolute; left: 0; bottom: 14%;
  width: min(360px, 56%); padding: 0; border: 0; background: transparent; cursor: pointer;
  filter: drop-shadow(0 22px 18px rgba(90, 50, 10, 0.28));
  animation: bob 3.4s ease-in-out infinite; transform-origin: 50% 85%;
  z-index: 2;
}
.hero-pet img { width: 100%; display: block; transition: opacity 0.2s ease; }
.hero-pet.is-hopping { animation: hop 0.6s cubic-bezier(.2, .8, .2, 1); }
.hero-egg { position: absolute; width: 74px; animation: floaty 4.6s ease-in-out infinite; filter: drop-shadow(0 8px 8px rgba(90, 50, 10, 0.2)); }
.e1 { top: 6%; left: 10%; }
.e2 { top: 30%; left: 2%; width: 60px; animation-delay: -1.4s; }
.e3 { bottom: 6%; right: 2%; width: 88px; animation-delay: -2.3s; }
.hero-spark { position: absolute; width: 54px; animation: twinkle 2.6s ease-in-out infinite; pointer-events: none; }
.s1 { top: 12%; right: 4%; }
.s2 { top: 52%; left: 30%; width: 38px; animation-delay: -1.1s; }
.family-pick { position: absolute; left: 0; bottom: 0; display: flex; gap: 8px; z-index: 3; }
.family-pick button {
  width: 62px; height: 62px; border-radius: 18px; border: 3px solid #fff; background: rgba(255, 255, 255, 0.85);
  padding: 6px; cursor: pointer; box-shadow: 0 8px 16px rgba(90, 50, 10, 0.12); transition: transform 0.15s ease;
}
.family-pick button img { width: 100%; height: 100%; object-fit: contain; }
.family-pick button[aria-checked="true"] { border-color: var(--gold); transform: translateY(-5px); }

/* ------------------------------------------------------------------ marquees */
.marquee { overflow: hidden; margin-top: 4px; }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: ticker 46s linear infinite; padding: 8px 0 12px; }
.marquee-b .marquee-track { animation-direction: reverse; animation-duration: 60s; }
.marquee-track img { width: 76px; height: 76px; object-fit: contain; background: rgba(255, 255, 255, 0.55); border-radius: 20px; padding: 8px; }

/* ------------------------------------------------------------------ sections */
.band { max-width: var(--max); margin: 0 auto; padding: 46px 22px 10px; }
.section-head { text-align: center; margin-bottom: 22px; }
.section-head h2 {
  font-family: var(--display); font-weight: 800; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.1;
  margin: 0 auto 8px; width: fit-content; background: rgba(255, 252, 245, 0.95); border-radius: 999px; padding: 8px 22px;
}
.section-head p { margin: 0 auto; max-width: 660px; color: var(--muted); line-height: 1.5; background: rgba(255, 252, 245, 0.92); border-radius: 12px; padding: 4px 10px; }
h3 { font-family: var(--display); font-weight: 800; font-size: 1.4rem; margin: 6px 0; }

.beats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.beat { padding: 18px 20px 22px; text-align: center; }
.beat p { margin: 0; color: var(--muted); line-height: 1.45; }
.beat-art { position: relative; height: 170px; display: grid; place-items: center; }
.beat-pour .bt { height: 160px; }
.beat-pour .be { position: absolute; width: 40px; left: calc(50% - 20px); }
.beat-pour .b1 { bottom: 14px; }
.beat-pour .b2 { bottom: 52px; }
.beat-pour .b3 { bottom: 90px; animation: pour 2.8s ease-in-out infinite; }
.beat-warm img { width: 120px; animation: warm 2.4s ease-in-out infinite; }
.mini-meter { position: absolute; bottom: 4px; left: 20%; right: 20%; height: 14px; border-radius: 99px; background: rgba(120, 72, 20, 0.12); overflow: hidden; }
.mini-meter i { display: block; height: 100%; width: 30%; border-radius: 99px; background: linear-gradient(90deg, #ffd36e, #f39a3c); animation: fill 3.2s ease-in-out infinite; }
.beat-hatch .bh-egg { width: 130px; position: relative; animation: wobble 1.6s ease-in-out infinite; }
.beat-hatch .bh-burst { position: absolute; width: 190px; opacity: 0.85; animation: spin 14s linear infinite; }

/* ------------------------------------------------------------------ the toy */
.toy { padding: 16px 16px 12px; position: relative; overflow: hidden; }
.toy-hud { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 2px 6px 10px; }
.toy-level { font-family: var(--display); font-size: 1.2rem; color: var(--gold-deep); }
.toy-meter { position: relative; flex: 1; min-width: 180px; max-width: 420px; height: 42px; }
.tm-frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; z-index: 1; }
.tm-fill {
  position: absolute; left: 3.5%; top: 26%; bottom: 26%; width: 0; max-width: 93%; border-radius: 99px;
  background: linear-gradient(90deg, #ffe08a, #f6a442); transition: width 0.6s cubic-bezier(.2, .8, .2, 1);
  box-shadow: 0 0 14px rgba(255, 180, 60, 0.7);
}
.toy-tools { display: flex; gap: 8px; margin-left: auto; }
.tool { width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 6px 14px rgba(90, 50, 10, 0.12); cursor: pointer; padding: 8px; }
.tool img { width: 100%; height: 100%; object-fit: contain; }
.tool:disabled { opacity: 0.45; cursor: default; }
.toy-board {
  position: relative;
  display: flex; justify-content: center; align-items: flex-end; flex-wrap: wrap; gap: clamp(8px, 2.6vw, 26px);
  padding: 26px 8px 18px; min-height: 330px; border-radius: 22px;
  background: radial-gradient(600px 260px at 50% 100%, rgba(255, 214, 140, 0.55), transparent 70%), rgba(255, 255, 255, 0.35);
  touch-action: manipulation;
}
.tube {
  position: relative; width: 74px; height: 290px; border: 0; padding: 0; cursor: pointer; background: transparent;
  transition: transform 0.18s ease;
}
.tube::before { content: ""; position: absolute; inset: 0; background: url("assets/tube.webp") center / 100% 100% no-repeat; z-index: 2; pointer-events: none; }
.tube.done::before { background-image: url("assets/tube-glow.webp"); }
.tube.done { animation: done 0.7s ease; }
.tube.selected { transform: translateY(-14px); }
.tube .egg { position: absolute; left: 0; right: 0; margin: 0 auto; height: 21%; width: auto; z-index: 1; pointer-events: none; }
.tube.selected .egg.top { transform: translateY(-36px); transition: transform 0.15s ease; }
.tube.nope { animation: nope 0.3s ease; }
.toy-note { text-align: center; color: var(--muted); margin: 10px 0 4px; }

.hatch { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; align-content: center; gap: 6px; background: rgba(255, 244, 222, 0.9); backdrop-filter: blur(6px); }
.hatch-stage { position: relative; width: 300px; height: 300px; display: grid; place-items: center; }
.hatch-stage > * { grid-area: 1 / 1; }
.hatch-glow { width: 260px; opacity: 0.8; animation: pulse 1.8s ease-in-out infinite; }
.hatch-ring, .hatch-burst { width: 300px; opacity: 0; pointer-events: none; }
.hatch-egg { border: 0; background: transparent; padding: 0; cursor: pointer; width: 190px; z-index: 2; }
.hatch-egg img { width: 100%; display: block; }
.hatch-egg.shake { animation: wobble 0.5s ease; }
.hatch-creature { width: 250px; opacity: 0; z-index: 3; pointer-events: none; }
.shell { position: absolute; width: 120px; opacity: 0; z-index: 4; pointer-events: none; }
.hatch-text { font-family: var(--display); font-size: 1.35rem; margin: 14px 0 0; text-align: center; position: relative; z-index: 5; }

/* Finished: the ending takes the puzzle's place in the card, so the card grows to fit it on any screen. */
.toy.finished > :not(.hatch) { display: none; }
.hatch.finished { position: relative; inset: auto; background: transparent; backdrop-filter: none; padding: 18px 8px 10px; }
.hatch.finished .hatch-stage { width: 190px; height: 190px; transition: width 0.4s ease, height 0.4s ease; }
.hatch.finished .hatch-creature { width: 170px; }
.hatch.finished .hatch-glow { width: 170px; }
.hatch.finished .hatch-text { margin-top: 14px; font-size: 1.1rem; color: var(--muted); }
.hatch-cta { text-align: center; max-width: 520px; animation: rise 0.5s ease both; }
.hatch-title { font-size: clamp(2rem, 5vw, 2.8rem); margin: 4px 0 2px; color: var(--gold-deep); outline: none; }
.hatch-cta p { margin: 0 0 12px; line-height: 1.45; }
.hatch-cta .store-row { justify-content: center; }
.link-btn { background: none; border: 0; padding: 6px 10px; margin-top: 6px; color: var(--muted); text-decoration: underline; cursor: pointer; font-weight: 700; }
.link-btn:hover { color: var(--ink); }

/* ------------------------------------------------------------------ families */
.fam-layout { display: grid; grid-template-columns: 210px 1fr; gap: 16px; }
.fam-tabs { display: flex; flex-direction: column; gap: 8px; }
.fam-tab {
  display: flex; align-items: center; gap: 10px; text-align: left; cursor: pointer; font-weight: 800; font-size: 1.05rem;
  border: 2px solid transparent; background: rgba(255, 252, 245, 0.78); border-radius: 18px; padding: 6px 12px;
  transition: transform 0.15s ease;
}
.fam-tab img { width: 46px; height: 46px; object-fit: contain; }
.fam-tab[aria-selected="true"] { border-color: var(--accent); background: #fff; transform: translateX(4px); }
.fam-stage { position: relative; min-height: 440px; padding: 24px; overflow: hidden; background: var(--fam-bg, var(--card)); transition: background 0.4s ease; }
.fam-copy { position: relative; z-index: 1; max-width: 46%; }
.kicker { margin: 0; color: var(--accent); font-family: var(--display); }
.fam-copy h3 { font-size: 2.2rem; margin: 0 0 4px; }
.fam-copy > p { color: var(--muted); margin: 0 0 14px; line-height: 1.45; }
.album { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 64px); gap: 16px 10px; }
.album li { width: 64px; height: 64px; border-radius: 16px; background: rgba(255, 255, 255, 0.75); display: grid; place-items: center; position: relative; }
.album li img { width: 52px; height: 52px; object-fit: contain; }
.album li.unknown { background: rgba(90, 60, 30, 0.08); }
.album li.unknown > span:first-child { font-family: var(--display); font-size: 1.6rem; color: rgba(90, 60, 30, 0.35); }
.album li .rar { position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%); font-size: 0.62rem; background: #fff; border-radius: 99px; padding: 0 6px; white-space: nowrap; box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.album-note { font-size: 0.85rem; color: var(--muted); margin: 24px 0 0; }
.fam-pet { position: absolute; right: 4%; bottom: 6%; width: min(360px, 46%); border: 0; background: transparent; padding: 0; cursor: pointer; animation: bob 3.2s ease-in-out infinite; filter: drop-shadow(0 18px 14px rgba(60, 30, 0, 0.22)); }
.fam-pet img { width: 100%; display: block; }
.fam-pet.is-hopping { animation: hop 0.6s cubic-bezier(.2, .8, .2, 1); }

/* ------------------------------------------------------------------ nursery */
.room-tabs { display: flex; gap: 8px; margin-bottom: 6px; flex-wrap: wrap; }
.room-tabs button { border: 2px solid transparent; background: rgba(255, 252, 245, 0.85); border-radius: 999px; padding: 8px 18px; cursor: pointer; font-weight: 800; }
.room-tabs button[aria-selected="true"] { border-color: var(--gold); background: #fff; }
.room { padding: 14px; display: grid; grid-template-columns: minmax(300px, 440px) 1fr; gap: 20px; align-items: start; }
.room-stage { position: relative; aspect-ratio: 10 / 15; max-height: 78vh; width: 100%; border-radius: 22px; overflow: hidden; background: #f3dcc0; touch-action: none; user-select: none; }
.room-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; pointer-events: none; transition: opacity 0.35s ease; }
.room-side { display: flex; flex-direction: column; gap: 10px; padding: 6px 4px; }
.room-side .toy-note { text-align: left; margin: 0; }
.room-side .ghost { align-self: flex-start; }
.room-items { position: absolute; inset: 0; }
.placed { position: absolute; width: 120px; cursor: grab; transform: translate(-50%, -50%); filter: drop-shadow(0 10px 8px rgba(60, 30, 0, 0.25)); touch-action: none; }
.placed.dragging { cursor: grabbing; filter: drop-shadow(0 18px 12px rgba(60, 30, 0, 0.3)); z-index: 5; }
.placed.pop { animation: pop 0.35s cubic-bezier(.2, .8, .2, 1.4); }
.room-pet { position: absolute; bottom: 8%; width: 150px; margin-left: -75px; border: 0; padding: 0; background: transparent; cursor: pointer; z-index: 4; filter: drop-shadow(0 14px 10px rgba(60, 30, 0, 0.25)); }
.room-pet img { width: 100%; display: block; }
.decor-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; }
.decor-list button { width: 100%; aspect-ratio: 1; border-radius: 18px; border: 2px solid #fff; background: rgba(255, 255, 255, 0.85); padding: 6px; cursor: pointer; transition: transform 0.15s ease; }
.decor-list button:hover { transform: translateY(-3px); }
.decor-list img { width: 100%; height: 100%; object-fit: contain; }

/* ------------------------------------------------------------------ fair */
.fair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.odds, .promises { padding: 20px 22px; }
.odds-row { display: grid; grid-template-columns: 96px 1fr 52px; align-items: center; gap: 10px; margin: 10px 0; }
.odds-row .bar { height: 18px; border-radius: 0 6px 6px 0; background: rgba(120, 72, 20, 0.08); position: relative; overflow: hidden; }
.odds-row .bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 0 4px 4px 0; background: var(--gold); transition: width 1s cubic-bezier(.2, .8, .2, 1); }
.odds-row .val { text-align: right; font-variant-numeric: tabular-nums; }
.small { color: var(--muted); font-size: 0.9rem; }
.checks { list-style: none; padding: 0; margin: 6px 0 14px; }
.checks li { display: flex; align-items: center; gap: 10px; margin: 8px 0; line-height: 1.35; }
.checks img { width: 26px; height: 26px; object-fit: contain; flex: none; }

.daily { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { display: flex; gap: 14px; padding: 18px; align-items: center; }
.feature img { width: 78px; height: 78px; object-fit: contain; flex: none; }
.feature p { margin: 0; color: var(--muted); line-height: 1.45; }

/* ------------------------------------------------------------------ screenshots */
.shots { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 18px; cursor: grab; scrollbar-width: thin; }
.shots.dragging { cursor: grabbing; scroll-snap-type: none; }
.shots figure { flex: none; margin: 0; scroll-snap-align: center; text-align: center; }
.shots img { height: min(62vh, 520px); aspect-ratio: 1080 / 1920; object-fit: cover; border-radius: 26px; border: 6px solid #fff; box-shadow: var(--shadow); display: block; pointer-events: none; }
.shots img.square { aspect-ratio: 1; }
.shots figcaption { margin-top: 8px; font-family: var(--display); font-size: 1.1rem; }

/* ------------------------------------------------------------------ finale and footer */
.finale { position: relative; max-width: calc(var(--max) - 44px); margin: 54px auto 22px; min-height: 480px; border-radius: 36px; overflow: hidden; display: grid; place-items: center; }
.finale-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.finale-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(80, 40, 0, 0.05), rgba(80, 40, 0, 0.6)); }
.finale-copy { position: relative; z-index: 1; text-align: center; color: #fff; padding: 28px 16px; }
.finale-copy .logo { margin: 0 auto 8px; }
.finale-copy p { font-size: 1.35rem; text-shadow: 0 2px 10px rgba(60, 30, 0, 0.6); }
.finale-copy .store-row { justify-content: center; }
.foot { position: relative; z-index: 1; max-width: 780px; margin: 0 auto 28px; padding: 18px 22px 24px; text-align: center; background: rgba(255, 252, 245, 0.8); border-radius: 28px; backdrop-filter: blur(10px); }
.foot img { border-radius: 16px; }
.foot p { color: var(--muted); line-height: 1.5; }
.foot-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; }
.fine { font-size: 0.8rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-16px) rotate(2deg); } }
@keyframes hop { 0% { transform: translateY(0) scale(1); } 30% { transform: translateY(-60px) scale(1.06, 0.96); } 60% { transform: translateY(0) scale(1.04, 0.94); } 100% { transform: translateY(0) scale(1); } }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-14px) rotate(4deg); } }
@keyframes twinkle { 0%, 100% { opacity: 0.3; transform: scale(0.7) rotate(0); } 50% { opacity: 1; transform: scale(1.1) rotate(25deg); } }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pour { 0%, 20% { transform: translate(0, 0); } 45% { transform: translate(60px, -60px) rotate(20deg); opacity: 1; } 55% { opacity: 0; } 70% { transform: translate(0, 0); opacity: 0; } 85%, 100% { opacity: 1; } }
@keyframes warm { 0%, 100% { filter: drop-shadow(0 0 0 rgba(255, 170, 50, 0)); } 50% { filter: drop-shadow(0 0 18px rgba(255, 170, 50, 0.9)); } }
@keyframes fill { 0% { width: 10%; } 70%, 100% { width: 100%; } }
@keyframes wobble { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-8deg); } 40% { transform: rotate(7deg); } 60% { transform: rotate(-5deg); } 80% { transform: rotate(3deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { transform: scale(0.92); opacity: 0.6; } 50% { transform: scale(1.05); opacity: 1; } }
@keyframes done { 0% { transform: scale(1); } 40% { transform: scale(1.08) translateY(-6px); } 100% { transform: scale(1); } }
@keyframes nope { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { transform: translate(-50%, -50%) scale(0.3); } to { transform: translate(-50%, -50%) scale(1); } }

@media (max-width: 980px) {
  .hero, .beats, .fam-layout, .fair, .daily { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-stores { margin-left: auto; }
  .hero-stage { min-height: 560px; }
  .phone { height: 470px; right: 2%; }
  .fam-tabs { flex-direction: row; overflow-x: auto; padding-bottom: 4px; }
  .room { grid-template-columns: 1fr; }
  .room-stage { aspect-ratio: 3 / 4; }
  .decor-list { grid-template-columns: repeat(5, 1fr); }
  .fam-tab { flex: none; }
  .fam-copy { max-width: 100%; }
  .fam-stage { min-height: 0; }
  .fam-pet { position: relative; right: auto; bottom: auto; display: block; width: min(280px, 72%); margin: 18px auto 0; }
}
@media (max-width: 640px) {
  .brand span { display: none; }
  .nav-stores .store-google img { height: 50px; margin: -8px -7px; }
  .nav-stores .store-apple img { height: 33px; }
  .hero { padding: 16px 16px 6px; }
  .hero-copy { padding: 20px 18px 18px; }
  .hero-stage { min-height: 500px; }
  .phone { height: 400px; }
  .hero-pet { width: 62%; bottom: 16%; }
  .family-pick button { width: 52px; height: 52px; }
  .band { padding: 36px 16px 8px; }
  .toy { padding: 12px 8px 10px; }
  .tube { width: 46px; height: 196px; }
  .toy-board { min-height: 250px; gap: 8px; padding: 22px 4px 14px; }
  .hatch-stage { width: 240px; height: 240px; }
  .hatch-egg { width: 150px; }
  .hatch-creature { width: 210px; }
  .placed { width: 90px; }
  .room-pet { width: 110px; margin-left: -55px; }
  .album { grid-template-columns: repeat(4, 56px); }
  .album li { width: 56px; height: 56px; }
  .shots img { height: 420px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
