:root {
  --bg-top: #fff5d9;
  --bg-bottom: #dff7f0;
  --ink: #23405f;
  --soft-ink: #567089;
  --orange: #ff9d5c;
  --gold: #ffd65a;
  --mint: #79dcb6;
  --sky: #8fdcff;
  --berry: #ff7f96;
  --card: rgba(255, 255, 255, 0.86);
  --line: rgba(35, 64, 95, 0.1);
  --shadow: 0 18px 44px rgba(62, 95, 124, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.75), transparent 14%),
    radial-gradient(circle at 85% 18%, rgba(255, 255, 255, 0.55), transparent 12%),
    radial-gradient(circle at top left, rgba(255, 214, 90, 0.42), transparent 28%),
    radial-gradient(circle at bottom right, rgba(121, 220, 182, 0.3), transparent 26%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
  overflow-x: hidden;
}

.kids-stars {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.kids-stars span {
  position: absolute;
  width: 0.8rem;
  height: 0.8rem;
  background: rgba(255, 255, 255, 0.85);
  clip-path: polygon(50% 0%, 61% 38%, 100% 50%, 61% 62%, 50% 100%, 39% 62%, 0% 50%, 39% 38%);
  animation: starTwinkle 4s ease-in-out infinite;
}

.kids-stars span:nth-child(1) { top: 10%; left: 8%; }
.kids-stars span:nth-child(2) { top: 14%; right: 14%; animation-delay: 0.8s; }
.kids-stars span:nth-child(3) { top: 36%; left: 4%; animation-delay: 1.4s; }
.kids-stars span:nth-child(4) { top: 44%; right: 7%; animation-delay: 2.2s; }
.kids-stars span:nth-child(5) { bottom: 18%; left: 18%; animation-delay: 1.1s; }
.kids-stars span:nth-child(6) { bottom: 12%; right: 22%; animation-delay: 2.7s; }

.kids-orb {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
}

.orb-one {
  top: -7rem;
  left: -6rem;
  width: 18rem;
  height: 18rem;
  background: rgba(255, 157, 92, 0.45);
}

.orb-two {
  right: -6rem;
  top: 12rem;
  width: 22rem;
  height: 22rem;
  background: rgba(143, 220, 255, 0.35);
}

.orb-three {
  bottom: -6rem;
  left: 25%;
  width: 20rem;
  height: 20rem;
  background: rgba(121, 220, 182, 0.35);
}

.kids-header,
main {
  padding-inline: 5vw;
}

.kids-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  background: rgba(255, 250, 236, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(35, 64, 95, 0.06);
}

.kids-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  color: var(--ink);
}

.kids-brand img {
  width: 3.3rem;
  height: 3.3rem;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 24px rgba(50, 68, 92, 0.14);
}

.kids-brand span {
  display: grid;
}

.kids-brand strong,
h1,
h2,
h3,
.scoreboard strong,
.mission-window strong {
  font-family: "Fredoka", sans-serif;
}

.kids-brand strong {
  font-size: 1.55rem;
}

.kids-skip-link {
  position: absolute;
  top: -3rem;
  left: 1rem;
  z-index: 80;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: #111f30;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  transition: top 180ms ease;
}

.kids-skip-link:focus {
  top: 1rem;
}

.kids-brand small {
  color: var(--soft-ink);
  font-weight: 800;
}

.kids-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.kids-nav-toggle {
  display: none;
  width: 3.4rem;
  height: 3.4rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: linear-gradient(135deg, #23405f, #111f30);
  box-shadow: 0 12px 24px rgba(35, 64, 95, 0.24);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.kids-nav-toggle-icon {
  display: inline-flex;
  flex-direction: column;
  gap: 0.25rem;
}

.kids-nav-toggle-icon span {
  width: 1.2rem;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  transition: transform 180ms ease, opacity 180ms ease;
}

.kids-nav-toggle.is-open .kids-nav-toggle-icon span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.kids-nav-toggle.is-open .kids-nav-toggle-icon span:nth-child(2) {
  opacity: 0;
}

.kids-nav-toggle.is-open .kids-nav-toggle-icon span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.kids-nav a,
.hero-button,
.mini-button,
.club-option,
.parade-item {
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.kids-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
}

.kids-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 5vw 3rem;
}

.kids-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(35, 64, 95, 0.12);
  color: var(--soft-ink);
}

.kids-footer-grid strong {
  display: block;
  margin-bottom: 0.5rem;
}

.kids-footer-grid p {
  margin: 0;
}

.kids-footer-grid a {
  display: block;
  margin-top: 0.45rem;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.kids-footer-grid a:hover {
  text-decoration: underline;
}

.kids-hero,
.section {
  max-width: 1180px;
  margin: 0 auto;
}

.kids-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  padding: 3rem 0 1.8rem;
}

.hero-copy {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}

.hero-kicker {
  display: inline-flex;
  margin: 0 0 0.9rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(35, 64, 95, 0.08);
  color: #0b7c6d;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
}

h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  max-width: 9ch;
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
}

h3 {
  font-size: 1.7rem;
}

.hero-text,
.section-heading p,
.intro-card p,
.kid-card p,
.game-message,
.mission-window p {
  color: var(--soft-ink);
}

.hero-text {
  max-width: 58ch;
  margin-inline: auto;
  font-size: 1.1rem;
  line-height: 1.7;
}

.hero-actions,
.hero-badges,
.game-grid,
.club-grid {
  display: grid;
  gap: 1rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.hero-button,
.mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.hero-button {
  padding: 1rem 1.5rem;
}

.hero-button-primary {
  color: #fff;
  background: linear-gradient(135deg, #ff9d5c, #ff7f96);
  box-shadow: 0 16px 30px rgba(255, 127, 150, 0.24);
}

.hero-button-secondary,
.mini-button {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
}

.hero-button:hover,
.mini-button:hover,
.kids-nav a:hover,
.club-option:hover,
.parade-item:hover {
  transform: translateY(-2px);
}

.hero-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.hero-badges span {
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(35, 64, 95, 0.08);
  font-weight: 800;
}

.hero-stage {
  position: relative;
  width: 100%;
  max-width: 1120px;
  min-height: 24rem;
  margin: 0 auto;
  border-radius: 42px;
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(240, 249, 255, 0.82));
  border: 1px solid rgba(35, 64, 95, 0.08);
  box-shadow: 0 28px 60px rgba(62, 95, 124, 0.2);
  overflow: hidden;
  transform: none;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 22%, rgba(255, 157, 92, 0.18) 0 0.45rem, transparent 0.48rem),
    radial-gradient(circle at 78% 24%, rgba(121, 220, 182, 0.18) 0 0.42rem, transparent 0.46rem),
    radial-gradient(circle at 60% 72%, rgba(143, 220, 255, 0.2) 0 0.45rem, transparent 0.5rem),
    radial-gradient(circle at 30% 66%, rgba(255, 127, 150, 0.18) 0 0.35rem, transparent 0.4rem);
  pointer-events: none;
}

.hero-ring {
  position: absolute;
  top: 1.2rem;
  left: 50%;
  width: 14rem;
  height: 14rem;
  margin-left: -7rem;
  border-radius: 50%;
  border: 18px solid rgba(255, 255, 255, 0.36);
  box-shadow: 0 0 0 18px rgba(255, 214, 90, 0.1);
}

.hero-confetti {
  position: absolute;
  border-radius: 999px;
  opacity: 0.92;
  animation: confettiSwing 5s ease-in-out infinite;
}

.confetti-one {
  top: 2.8rem;
  left: 1.4rem;
  width: 4.8rem;
  height: 1rem;
  background: linear-gradient(90deg, #ff9d5c, #ffd65a);
  transform: rotate(-28deg);
}

.confetti-two {
  top: 4rem;
  right: 1.2rem;
  width: 5.2rem;
  height: 1rem;
  background: linear-gradient(90deg, #79dcb6, #8fdcff);
  transform: rotate(28deg);
  animation-delay: 0.7s;
}

.confetti-three {
  bottom: 7.2rem;
  left: 50%;
  width: 6rem;
  height: 1rem;
  margin-left: -3rem;
  background: linear-gradient(90deg, #ff7f96, #ff9d5c);
  transform: rotate(8deg);
  animation-delay: 1.1s;
}

.parade-cloud {
  position: absolute;
  inset: auto 1.5rem 0.8rem;
  height: 7.4rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 244, 211, 0.76), rgba(255, 255, 255, 0.35));
}

.food-hero {
  position: absolute;
  box-shadow: 0 18px 26px rgba(62, 95, 124, 0.16);
}

.food-hero::before,
.food-hero::after {
  content: "";
  position: absolute;
  background: rgba(35, 64, 95, 0.84);
  border-radius: 999px;
}

.food-hero::before {
  width: 0.9rem;
  height: 0.2rem;
  left: -0.55rem;
  top: 3.2rem;
  transform: rotate(25deg);
  animation: waveLeft 1.8s ease-in-out infinite;
}

.food-hero::after {
  width: 0.9rem;
  height: 0.2rem;
  right: -0.55rem;
  top: 3.2rem;
  transform: rotate(-25deg);
  animation: waveRight 1.8s ease-in-out infinite;
}

.hero-eyes::before,
.hero-eyes::after {
  content: "";
  position: absolute;
  width: 0.5rem;
  height: 0.5rem;
  top: 2.4rem;
  border-radius: 50%;
  background: #23405f;
}

.hero-eyes::before {
  left: 2rem;
}

.hero-eyes::after {
  right: 2rem;
}

.broccoli-hero {
  left: 10%;
  bottom: 3.9rem;
  width: 6.3rem;
  height: 7.4rem;
  border-radius: 36px 36px 24px 24px;
  background:
    radial-gradient(circle at 28% 22%, #aff08a 0 18%, transparent 19%),
    radial-gradient(circle at 50% 14%, #7fd05c 0 23%, transparent 24%),
    radial-gradient(circle at 72% 23%, #4ead52 0 18%, transparent 19%),
    linear-gradient(180deg, #80cf65 0 58%, #6d8b4f 58% 100%);
  animation: floatBob 3.6s ease-in-out infinite;
}

.milk-hero {
  left: 29%;
  bottom: 4.1rem;
  width: 5.8rem;
  height: 6.9rem;
  border-radius: 26px;
  border: 4px solid rgba(111, 177, 213, 0.25);
  background:
    linear-gradient(180deg, #ffffff 0 18%, #90d7f7 18% 30%, #ffffff 30% 100%);
  animation: floatBob 3.9s ease-in-out infinite 0.35s;
}

.butter-hero {
  right: 29%;
  bottom: 4rem;
  width: 6rem;
  height: 4.5rem;
  border-radius: 26px;
  background: linear-gradient(180deg, #ffe79f, #f5c74e);
  animation: floatBob 3.4s ease-in-out infinite 0.8s;
}

.butter-hero .hero-eyes::before,
.butter-hero .hero-eyes::after {
  top: 1.8rem;
}

.meat-hero {
  right: 10%;
  bottom: 4.1rem;
  width: 5.8rem;
  height: 6.5rem;
  border-radius: 40px 40px 30px 30px;
  background:
    radial-gradient(circle at 50% 50%, #ffd3c9 0 26%, transparent 27%),
    linear-gradient(180deg, #d86d70 0%, #af454f 100%);
  animation: floatBob 4.1s ease-in-out infinite 1.1s;
}

.stage-bubble {
  position: absolute;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(35, 64, 95, 0.08);
  font-family: "Fredoka", sans-serif;
  font-size: 1.05rem;
  box-shadow: 0 10px 20px rgba(62, 95, 124, 0.08);
}

.bubble-one {
  top: 1.4rem;
  right: 1.7rem;
  animation: bubbleDrift 4s ease-in-out infinite;
}

.bubble-two {
  left: 1.7rem;
  top: 5.2rem;
  animation: bubbleDrift 4.5s ease-in-out infinite 0.6s;
}

.section {
  padding: 3.2rem 0;
}

.ribbon-strip {
  max-width: 100%;
  overflow: hidden;
  padding: 0.4rem 0 1.2rem;
}

.ribbon-track {
  display: flex;
  gap: 0.9rem;
  width: max-content;
  padding: 0 5vw;
  animation: ribbonMove 18s linear infinite;
}

.ribbon-track span {
  flex: 0 0 auto;
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 248, 221, 0.95));
  border: 1px solid rgba(35, 64, 95, 0.08);
  box-shadow: 0 10px 22px rgba(62, 95, 124, 0.08);
  font-family: "Fredoka", sans-serif;
  font-size: 1.05rem;
}

.kids-intro {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.intro-card,
.kid-card,
.finale-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.intro-card,
.kid-card {
  padding: 1.4rem;
}

.intro-card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 249, 236, 0.8));
}

.intro-card::after {
  content: "";
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd65a, #ff9d5c);
  box-shadow: 0 0 0 8px rgba(255, 214, 90, 0.12);
}

.intro-card-one {
  transform: rotate(-2deg);
}

.intro-card-two {
  transform: translateY(0.8rem) rotate(1.2deg);
}

.intro-card-three {
  transform: rotate(-1deg);
}

.intro-card strong,
.kid-card-top,
.score-label {
  font-family: "Fredoka", sans-serif;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 1.3rem;
}

.games-showcase {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20rem;
  gap: 1.5rem;
  align-items: start;
  max-width: 1280px;
}

.games-showcase .section-heading {
  grid-column: 1 / -1;
  max-width: 820px;
}

.doctor-cheer-panel {
  display: grid;
  grid-template-columns: 1fr 148px;
  gap: 0.9rem;
  align-items: center;
  width: 100%;
  padding: 1rem 1rem 0.95rem;
  border-radius: 28px;
  background:
    radial-gradient(circle at right top, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 232, 238, 0.78));
  border: 1px solid var(--line);
  box-shadow: 0 24px 48px rgba(62, 95, 124, 0.18);
  position: sticky;
  top: 6.2rem;
  z-index: 6;
  overflow: hidden;
  isolation: isolate;
  backdrop-filter: blur(16px);
}

.doctor-cheer-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 8% 24%, rgba(255, 214, 90, 0.16) 0 0.45rem, transparent 0.5rem),
    radial-gradient(circle at 22% 70%, rgba(121, 220, 182, 0.16) 0 0.4rem, transparent 0.46rem),
    radial-gradient(circle at 90% 40%, rgba(143, 220, 255, 0.16) 0 0.42rem, transparent 0.48rem);
  pointer-events: none;
}

.doctor-copy h3 {
  font-size: 1.45rem;
  margin-bottom: 0.45rem;
}

.doctor-bubble {
  margin: 0;
  padding: 0.9rem 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(35, 64, 95, 0.08);
  color: var(--soft-ink);
  font-weight: 800;
  line-height: 1.45;
}

.doctor-figure {
  position: relative;
  width: 8.6rem;
  max-width: 100%;
  margin-inline: auto;
  animation: doctorBounce 3s ease-in-out infinite;
  transform-origin: center bottom;
  filter: drop-shadow(0 18px 24px rgba(62, 95, 124, 0.16));
}

.doctor-figure img {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
  border-radius: 0;
  box-shadow: none;
}

.doctor-heart {
  position: absolute;
  right: -0.25rem;
  top: 0.35rem;
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff9d5c, #ff7f96);
  color: #fff;
  font-family: "Fredoka", sans-serif;
  font-size: 1rem;
  box-shadow: 0 12px 24px rgba(255, 127, 150, 0.24);
  animation: heartPop 2.2s ease-in-out infinite;
}

.doctor-cheer-panel.is-cheering .doctor-figure {
  animation: doctorCelebrate 0.9s ease-in-out 2;
}

.doctor-cheer-panel.is-cheering .doctor-heart {
  animation: doctorHeartBurst 0.9s ease-in-out 2;
}

.game-grid {
  grid-column: 1 / 2;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 1.25rem;
}

.games-showcase .doctor-cheer-panel {
  grid-column: 2 / 3;
  grid-row: 2 / span 2;
}

.kid-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 249, 236, 0.76));
  box-shadow:
    0 22px 44px rgba(62, 95, 124, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.kid-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 9px;
  background: linear-gradient(90deg, #ff9d5c, #ffd65a, #79dcb6, #8fdcff);
}

.kid-card::after {
  content: "";
  position: absolute;
  right: -2.2rem;
  top: -2rem;
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.kid-card > * {
  position: relative;
  z-index: 1;
}

.kid-card-top {
  margin-bottom: 0.4rem;
}

.parade-card {
  transform: rotate(-1.3deg);
  background:
    radial-gradient(circle at top left, rgba(143, 220, 255, 0.34), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(237, 248, 255, 0.84));
}

.parade-card::before {
  background: linear-gradient(90deg, #8fdcff, #79dcb6, #ffd65a);
}

.parade-card::after {
  width: 8rem;
  height: 8rem;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.62), rgba(143, 220, 255, 0.08) 58%, rgba(255, 255, 255, 0));
}

.parade-card {
  border-style: solid;
}

.kid-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.kid-badge {
  display: inline-flex;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.kid-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  font-size: 1.4rem;
  box-shadow: 0 8px 18px rgba(62, 95, 124, 0.08);
}

.scoreboard {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
  padding: 0.9rem 1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.score-label {
  display: block;
  font-size: 0.9rem;
  color: var(--soft-ink);
}

.scoreboard strong {
  font-size: 2rem;
  color: #ff7f96;
}

.mini-button {
  padding: 0.8rem 1rem;
}

.parade-playground {
  position: relative;
  min-height: 18rem;
  border-radius: 28px;
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0) 36%),
    linear-gradient(180deg, rgba(182, 235, 255, 0.7), rgba(255, 255, 255, 0.55)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(255, 214, 90, 0.18));
  overflow: hidden;
  border: 1px solid rgba(35, 64, 95, 0.08);
  box-shadow: inset 0 -24px 40px rgba(255, 214, 90, 0.16);
}

.parade-playground::before,
.parade-playground::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
}

.parade-playground::before {
  top: 1rem;
  left: 1rem;
  width: 5rem;
  height: 1.2rem;
}

.parade-playground::after {
  top: 2.6rem;
  right: 1.2rem;
  width: 4rem;
  height: 1rem;
}

.parade-item {
  position: absolute;
  width: 3.3rem;
  height: 3.3rem;
  border: 0;
  border-radius: 50%;
  font-size: 1.45rem;
  cursor: pointer;
  box-shadow: 0 12px 20px rgba(62, 95, 124, 0.16);
  border: 2px solid rgba(255, 255, 255, 0.75);
  animation: floatParade 4s ease-in-out infinite;
}

.is-good {
  background: linear-gradient(135deg, #fff7d5, #ffffff);
}

.item-candy,
.item-soda {
  background: linear-gradient(135deg, #ffd6df, #ffffff);
}

.item-broccoli {
  animation-delay: 0.2s;
}

.item-milk {
  animation-delay: 0.6s;
}

.item-butter {
  animation-delay: 1s;
}

.item-meat {
  animation-delay: 1.4s;
}

.item-candy {
  animation-delay: 0.4s;
}

.item-soda {
  animation-delay: 1.1s;
}

.picker-card {
  transform: translateY(0.8rem) rotate(1deg);
  background:
    radial-gradient(circle at top right, rgba(255, 214, 90, 0.28), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 247, 221, 0.86));
}

.picker-card::before {
  background: linear-gradient(90deg, #ff9d5c, #ff7f96, #ffd65a);
}

.bounce-playground,
.leader-playground {
  position: relative;
  min-height: 18rem;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(35, 64, 95, 0.08);
}

.bounce-playground {
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0) 38%),
    linear-gradient(180deg, rgba(255, 246, 205, 0.74), rgba(255, 255, 255, 0.62)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 127, 150, 0.12));
}

.bounce-playground::before,
.leader-playground::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3.4rem;
  background: linear-gradient(180deg, rgba(121, 220, 182, 0.06), rgba(121, 220, 182, 0.28));
}

.bounce-buddy,
.dance-buddy {
  position: absolute;
  display: grid;
  place-items: center;
  width: 4.2rem;
  height: 4.2rem;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  font-size: 1.8rem;
  cursor: pointer;
  box-shadow: 0 12px 22px rgba(62, 95, 124, 0.14);
}

.bounce-buddy {
  background: linear-gradient(135deg, #ffffff, #fff4d1);
}

.dance-buddy {
  background: linear-gradient(135deg, #ffffff, #fff0f4);
}

.good-buddy {
  background: linear-gradient(135deg, #ffffff, #e8fff1);
}

.bounce-buddy span {
  display: inline-flex;
  animation: buddyNod 1.8s ease-in-out infinite;
}

.bounce-buddy.is-caught,
.dance-buddy.is-caught {
  transform: scale(1.18);
  opacity: 0.2;
}

.bounce-buddy.is-miss,
.dance-buddy.is-miss {
  background: linear-gradient(135deg, #ffd6df, #ffffff);
}

.bounce-broccoli {
  left: 8%;
  top: 14%;
  animation: bounceAround 4.3s ease-in-out infinite;
}

.bounce-candy {
  left: 56%;
  top: 12%;
  animation: bounceAround 4.8s ease-in-out infinite 0.3s;
}

.bounce-milk {
  left: 30%;
  top: 48%;
  animation: bounceAround 4.1s ease-in-out infinite 0.8s;
}

.bounce-butter {
  left: 68%;
  top: 42%;
  animation: bounceAround 4.5s ease-in-out infinite 1s;
}

.bounce-soda {
  left: 14%;
  top: 70%;
  animation: bounceAround 4.9s ease-in-out infinite 0.5s;
}

.bounce-meat {
  left: 72%;
  top: 70%;
  animation: bounceAround 4.2s ease-in-out infinite 1.2s;
}

.game-message {
  min-height: 3.2rem;
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px dashed rgba(35, 64, 95, 0.1);
  font-weight: 800;
}

.mission-machine {
  display: grid;
  gap: 1rem;
}

.mission-card {
  transform: rotate(-0.8deg);
  background:
    radial-gradient(circle at top left, rgba(255, 127, 150, 0.2), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 239, 244, 0.86));
}

.mission-card::before {
  background: linear-gradient(90deg, #ff7f96, #ff9d5c, #ffd65a);
}

.recipe-mission-section {
  max-width: 1280px;
}

.recipe-mission-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.95fr);
  gap: 1.35rem;
  align-items: start;
  position: relative;
}

.kitchen-lab-card {
  position: relative;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 18%),
    radial-gradient(circle at top right, rgba(255, 230, 168, 0.22), transparent 30%),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.28), transparent 34%),
    linear-gradient(180deg, rgba(255, 252, 242, 0.98), rgba(248, 239, 222, 0.96));
  border-color: rgba(148, 112, 74, 0.14);
  box-shadow:
    0 26px 48px rgba(114, 82, 53, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.kitchen-lab-card::before {
  background: linear-gradient(90deg, #d39a5f, #f2c77a, #fff0bf);
}

.kitchen-lab-card::after {
  content: "";
  position: absolute;
  right: -2.5rem;
  top: -2.2rem;
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.recipe-mission-score strong {
  font-size: 2.15rem;
  line-height: 1;
}

.kitchen-mode-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 0.6rem 0 1rem;
}

.kitchen-mode-button {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  padding: 0.8rem 0.7rem;
  font-family: "Fredoka", sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}

.kitchen-mode-button.is-active {
  background: linear-gradient(135deg, #fff8d8, #ffffff);
  box-shadow: 0 10px 20px rgba(62, 95, 124, 0.1);
}

.kitchen-playground {
  display: grid;
  gap: 1rem;
}

.kitchen-scene-label {
  justify-self: start;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 252, 243, 0.98), rgba(250, 233, 196, 0.96));
  border: 1px solid rgba(148, 112, 74, 0.12);
  box-shadow: 0 10px 20px rgba(114, 82, 53, 0.08);
  font-family: "Fredoka", sans-serif;
  font-size: 0.95rem;
  color: #7b5a39;
}

.kitchen-stove {
  position: relative;
  padding: 1.1rem 1rem 1.3rem;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(74, 58, 42, 0.08), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0)),
    repeating-linear-gradient(
      90deg,
      rgba(210, 171, 120, 0.28) 0 16px,
      rgba(186, 145, 99, 0.24) 16px 32px
    ),
    linear-gradient(180deg, rgba(239, 216, 179, 0.92), rgba(224, 194, 150, 0.96));
  border: 1px solid rgba(148, 112, 74, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 16px 28px rgba(114, 82, 53, 0.12);
}

.kitchen-stove::before {
  content: "";
  position: absolute;
  inset: auto 1.25rem -0.5rem;
  height: 2rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(191, 145, 95, 0.94), rgba(138, 93, 55, 0.98));
  box-shadow: 0 8px 18px rgba(111, 78, 52, 0.16);
}

.kitchen-burner {
  position: absolute;
  top: 2rem;
  width: 4.8rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(40, 44, 48, 0.34) 0 22%, transparent 23%),
    radial-gradient(circle, rgba(53, 60, 66, 0.2) 0 48%, transparent 49%),
    radial-gradient(circle, rgba(59, 66, 72, 0.12) 0 67%, transparent 68%);
  opacity: 0.65;
}

.burner-one {
  left: 1.6rem;
}

.burner-two {
  right: 1.6rem;
}

.kitchen-pan {
  position: relative;
  min-height: 12rem;
  width: min(100%, 19rem);
  margin: 1.4rem auto 0;
  border-radius: 50% 50% 42% 42%;
  background:
    radial-gradient(circle at 50% 16%, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 30%),
    linear-gradient(180deg, #4f5962, #2d353c 60%);
  overflow: hidden;
  box-shadow:
    inset 0 12px 22px rgba(255, 255, 255, 0.06),
    0 18px 30px rgba(46, 53, 59, 0.28);
}

.kitchen-pan::before {
  content: "";
  position: absolute;
  inset: 0.6rem 1rem auto;
  height: 1.15rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.04));
  opacity: 0.7;
}

.kitchen-pan::after {
  content: "";
  position: absolute;
  right: -3.8rem;
  top: 4.3rem;
  width: 4.4rem;
  height: 1.1rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #2d353c, #56616a);
}

.kitchen-knobs {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1rem;
}

.kitchen-knobs span {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: linear-gradient(180deg, #7a6550, #4d3d2e);
  box-shadow:
    inset 0 2px 3px rgba(255, 255, 255, 0.16),
    0 3px 6px rgba(86, 61, 38, 0.16);
}

.kitchen-pot-label {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.2rem;
  padding: 1.2rem 1.3rem 0;
  color: #fff;
  text-shadow: 0 3px 10px rgba(18, 30, 41, 0.24);
}

.kitchen-pot-label strong {
  font-family: "Fredoka", sans-serif;
  font-size: 1.3rem;
}

.kitchen-pot-fill {
  position: absolute;
  inset: auto 0 0;
  width: 0;
  height: 60%;
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.26) 0 0.35rem, transparent 0.4rem),
    radial-gradient(circle at 68% 34%, rgba(255, 255, 255, 0.22) 0 0.3rem, transparent 0.36rem),
    linear-gradient(180deg, rgba(129, 201, 133, 0.92), rgba(243, 200, 95, 0.92));
  transition: width 260ms ease;
  box-shadow: inset 0 10px 18px rgba(255, 255, 255, 0.16);
}

.kitchen-pot-ingredients {
  position: absolute;
  inset: auto 0 0;
  height: 62%;
  pointer-events: none;
}

.kitchen-pot-item {
  position: absolute;
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 44% 56% 52% 48%;
  box-shadow:
    0 10px 16px rgba(35, 64, 95, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  font-size: 1.1rem;
  animation: potItemDrop 320ms ease-out;
}

.pot-slot-1 {
  left: 18%;
  bottom: 18%;
}

.pot-slot-2 {
  left: 42%;
  bottom: 28%;
}

.pot-slot-3 {
  right: 17%;
  bottom: 20%;
}

.pot-slot-4 {
  left: 34%;
  bottom: 10%;
}

.pot-slot-5 {
  right: 30%;
  bottom: 10%;
}

.pot-item-broccoli {
  background:
    radial-gradient(circle at 40% 32%, #85d66c 0 36%, #4fa554 37% 100%);
  color: transparent;
}

.pot-item-spinach {
  border-radius: 54% 46% 58% 42%;
  background:
    radial-gradient(circle at 46% 36%, #79c85e 0 34%, #3f8c45 35% 100%);
  color: transparent;
}

.pot-item-milk {
  border-radius: 38% 62% 58% 42%;
  background: linear-gradient(180deg, #fbfcff, #d9ebff);
  color: transparent;
}

.pot-item-butter {
  border-radius: 22% 32% 26% 28%;
  background: linear-gradient(180deg, #ffe28a, #f2be39);
  color: transparent;
}

.pot-item-meat {
  border-radius: 50% 44% 56% 48%;
  background: linear-gradient(180deg, #d46a72, #9f3d47);
  color: transparent;
}

.pot-item-onion {
  border-radius: 48% 52% 46% 54%;
  background: linear-gradient(180deg, #e9ddf2, #c5acd9);
  color: transparent;
}

.pot-item-carrot {
  border-radius: 30% 60% 36% 54%;
  background: linear-gradient(180deg, #ffb45a, #e47a1f);
  color: transparent;
}

.pot-item-tomato {
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #ff8c8c 0 35%, #d44a4a 36% 100%);
  color: transparent;
}

.kitchen-steam {
  position: absolute;
  top: -0.5rem;
  width: 1.1rem;
  height: 2.8rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0));
  filter: blur(1px);
  opacity: 0.45;
  animation: kitchenSteam 2.6s ease-in-out infinite;
}

.kitchen-steam-one {
  left: 26%;
}

.kitchen-steam-two {
  left: 47%;
  animation-delay: 0.5s;
}

.kitchen-steam-three {
  left: 66%;
  animation-delay: 1s;
}

.kitchen-ingredients {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.kitchen-ingredient {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  padding: 0.95rem 0.55rem 0.8rem;
  border: 1px solid rgba(148, 112, 74, 0.14);
  border-radius: 24px;
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.72)),
    linear-gradient(180deg, rgba(255, 252, 245, 0.98), rgba(250, 242, 228, 0.92));
  cursor: pointer;
  box-shadow:
    0 10px 20px rgba(114, 82, 53, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.kitchen-ingredient::after {
  content: "";
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: rgba(243, 191, 76, 0.82);
  box-shadow: 0 0 0 6px rgba(255, 214, 90, 0.08);
}

.kitchen-ingredient:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 16px 28px rgba(62, 95, 124, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.kitchen-ingredient small {
  font-weight: 800;
  color: var(--soft-ink);
}

.kitchen-ingredient.is-used {
  opacity: 0.5;
  transform: scale(0.97);
}

.kitchen-ingredient.is-correct {
  background: linear-gradient(135deg, #efffec, #ffffff);
  box-shadow:
    0 16px 28px rgba(121, 220, 182, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.kitchen-ingredient.is-wrong {
  background: linear-gradient(135deg, #ffe0e6, #ffffff);
  animation: kitchenWrong 280ms ease-in-out 2;
}

.recipe-spin-link {
  margin-top: 0.45rem;
  box-shadow: 0 14px 28px rgba(255, 157, 92, 0.18);
}

.kitchen-finale {
  margin-top: 0.85rem;
  padding: 1rem 1rem 0.95rem;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(255, 214, 90, 0.26), transparent 28%),
    linear-gradient(180deg, rgba(255, 252, 233, 0.98), rgba(255, 244, 205, 0.96));
  border: 1px solid rgba(214, 171, 72, 0.18);
  box-shadow: 0 18px 30px rgba(214, 171, 72, 0.12);
}

.kitchen-finale-badge {
  display: inline-flex;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  font-family: "Fredoka", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #9b6a12;
}

.kitchen-finale strong {
  display: block;
  margin-top: 0.55rem;
  font-family: "Fredoka", sans-serif;
  font-size: 1.25rem;
}

.kitchen-finale p {
  margin: 0.35rem 0 0;
}

.kitchen-side-note {
  margin: 0.8rem 0 0;
  color: var(--soft-ink);
  font-weight: 700;
}

.recipe-route-stack {
  display: grid;
  gap: 1rem;
}

.recipe-route-card {
  position: relative;
  display: block;
  padding: 1.2rem 1.2rem 1.15rem;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 252, 245, 0.98), rgba(250, 241, 226, 0.94));
  border: 1px solid rgba(148, 112, 74, 0.14);
  box-shadow: 0 18px 36px rgba(114, 82, 53, 0.1);
  text-decoration: none;
  color: var(--ink);
  overflow: hidden;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.recipe-route-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
}

.recipe-route-card strong {
  display: block;
  margin: 0.35rem 0 0.4rem;
  font-family: "Fredoka", sans-serif;
  font-size: 1.2rem;
}

.recipe-route-card p {
  margin: 0;
}

.recipe-route-icon {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 18px rgba(114, 82, 53, 0.08);
  font-size: 1.35rem;
}

.recipe-route-green {
  background:
    radial-gradient(circle at top left, rgba(121, 220, 182, 0.26), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(238, 255, 245, 0.88));
}

.recipe-route-green::before {
  background: linear-gradient(90deg, #79dcb6, #8fdcff);
}

.recipe-route-red {
  background:
    radial-gradient(circle at top right, rgba(255, 157, 92, 0.22), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 243, 236, 0.88));
}

.recipe-route-red::before {
  background: linear-gradient(90deg, #ff9d5c, #ff7f96);
}

.recipe-route-mix {
  background:
    radial-gradient(circle at top center, rgba(255, 214, 90, 0.24), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 249, 232, 0.88));
}

.recipe-route-mix::before {
  background: linear-gradient(90deg, #ffd65a, #79dcb6, #ff9d5c);
}

.recipe-route-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 40px rgba(62, 95, 124, 0.14);
}

.food-actor {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffffff, #fff6d8);
  box-shadow: 0 10px 16px rgba(62, 95, 124, 0.12);
}

.food-actor::before,
.food-actor::after {
  content: "";
  position: absolute;
  width: 0.55rem;
  height: 0.14rem;
  border-radius: 999px;
  background: rgba(35, 64, 95, 0.78);
  top: 2rem;
}

.food-actor::before {
  left: -0.28rem;
  transform: rotate(28deg);
}

.food-actor::after {
  right: -0.28rem;
  transform: rotate(-28deg);
}

.food-actor .actor-emoji {
  font-size: 1.6rem;
  position: relative;
}

.food-actor .actor-emoji::before,
.food-actor .actor-emoji::after {
  content: "";
  position: absolute;
  top: 0.52rem;
  width: 0.18rem;
  height: 0.18rem;
  border-radius: 50%;
  background: #23405f;
}

.food-actor .actor-emoji::before {
  left: 0.42rem;
}

.food-actor .actor-emoji::after {
  right: 0.42rem;
}

.actor-broccoli { background: linear-gradient(135deg, #f3ffe9, #dbffd7); }
.actor-milk { background: linear-gradient(135deg, #ffffff, #e6f8ff); }
.actor-butter { background: linear-gradient(135deg, #fff8db, #ffe9a6); }
.actor-meat { background: linear-gradient(135deg, #fff2ef, #ffd8d0); }
.actor-candy { background: linear-gradient(135deg, #fff0f4, #ffd6df); }
.actor-soda { background: linear-gradient(135deg, #eef8ff, #d5ebff); }

.memory-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.memory-card {
  position: relative;
  min-height: 7rem;
  border: 0;
  border-radius: 24px;
  background: transparent;
  cursor: pointer;
  perspective: 900px;
}

.memory-card > span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: inherit;
  backface-visibility: hidden;
  transition: transform 260ms ease;
}

.memory-back {
  background: linear-gradient(135deg, #8fdcff, #79dcb6);
  color: #fff;
  font-family: "Fredoka", sans-serif;
  font-size: 2rem;
  box-shadow: 0 12px 20px rgba(62, 95, 124, 0.16);
}

.memory-front {
  transform: rotateY(180deg);
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,249,236,0.92));
  border: 1px solid rgba(35, 64, 95, 0.08);
}

.memory-card.is-flipped .memory-back,
.memory-card.is-matched .memory-back {
  transform: rotateY(180deg);
}

.memory-card.is-flipped .memory-front,
.memory-card.is-matched .memory-front {
  transform: rotateY(0deg);
}

.memory-card.is-matched .memory-front {
  box-shadow: inset 0 0 0 3px rgba(121, 220, 182, 0.38);
}

.lunch-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 0.9rem;
  align-items: start;
}

.lunch-buddies {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.drag-buddy {
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  padding: 0.8rem 0.5rem;
  border: 1px solid rgba(35, 64, 95, 0.08);
  border-radius: 22px;
  background: rgba(255,255,255,0.84);
  cursor: grab;
  box-shadow: 0 12px 20px rgba(62, 95, 124, 0.08);
}

.drag-buddy.tap-ready {
  cursor: pointer;
}

.drag-buddy small {
  font-size: 0.82rem;
  font-weight: 900;
  color: var(--ink);
}

.drag-buddy.drag-bad {
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,228,235,0.9));
}

.drag-buddy.is-selected {
  box-shadow: 0 0 0 3px rgba(255, 157, 92, 0.28), 0 12px 20px rgba(62, 95, 124, 0.08);
  transform: translateY(-2px);
}

.drag-buddy.is-placed {
  opacity: 0.45;
  pointer-events: none;
}

.lunch-box {
  min-height: 17.2rem;
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,245,214,0.78));
  border: 1px solid rgba(35,64,95,0.08);
  box-shadow: inset 0 -20px 30px rgba(255,214,90,0.12);
}

.lunch-slot {
  display: grid;
  place-items: center;
  min-height: 6.3rem;
  border-radius: 20px;
  border: 2px dashed rgba(35,64,95,0.14);
  background: rgba(255,255,255,0.55);
}

.lunch-slot.is-over {
  background: rgba(121,220,182,0.18);
}

.lunch-slot .food-actor {
  transform: scale(1.08);
}

.echo-machine {
  gap: 0.9rem;
}

.echo-window {
  min-height: auto;
  padding-block: 0.95rem;
}

.echo-stage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.echo-pad {
  padding: 1rem;
  border: 1px solid rgba(35,64,95,0.08);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(255,241,245,0.86));
  box-shadow: 0 12px 20px rgba(62, 95, 124, 0.1);
  cursor: pointer;
}

.echo-pad .food-actor {
  margin-inline: auto;
}

.echo-pad.is-active {
  background: linear-gradient(135deg, rgba(255,127,150,0.34), rgba(255,214,90,0.42));
  transform: scale(1.04);
}

.echo-pad.is-miss {
  background: linear-gradient(135deg, rgba(255, 214, 223, 0.92), rgba(255,255,255,0.92));
}

.leader-machine {
  gap: 0.9rem;
}

.mission-window {
  min-height: 12rem;
  padding: 1.1rem;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 247, 217, 0.78));
  border: 1px solid var(--line);
  display: grid;
  align-content: center;
  text-align: center;
  box-shadow: inset 0 -20px 30px rgba(255, 214, 90, 0.12);
}

.mission-window strong {
  font-size: 1.55rem;
  color: #ff7f96;
}

.leader-window {
  min-height: auto;
  padding-block: 0.95rem;
}

.leader-playground {
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0) 36%),
    linear-gradient(180deg, rgba(255, 231, 240, 0.68), rgba(255, 255, 255, 0.58)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(143, 220, 255, 0.14));
}

.dance-broccoli {
  left: 10%;
  top: 18%;
  animation: danceAround 4.7s ease-in-out infinite;
}

.dance-milk {
  left: 42%;
  top: 10%;
  animation: danceAround 4.2s ease-in-out infinite 0.6s;
}

.dance-butter {
  left: 72%;
  top: 20%;
  animation: danceAround 5.1s ease-in-out infinite 1s;
}

.dance-meat {
  left: 16%;
  top: 64%;
  animation: danceAround 4.4s ease-in-out infinite 1.4s;
}

.dance-candy {
  left: 48%;
  top: 58%;
  animation: danceAround 4.9s ease-in-out infinite 0.4s;
}

.dance-soda {
  left: 76%;
  top: 66%;
  animation: danceAround 4.5s ease-in-out infinite 1.1s;
}

.finale-card {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(240, 249, 255, 0.86));
}

@keyframes floatBob {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }

  50% {
    transform: translateY(-14px) rotate(2deg);
  }
}

@keyframes bubbleDrift {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes floatParade {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px) scale(1.04);
  }
}

@keyframes bounceAround {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  20% {
    transform: translate(10px, -12px) scale(1.05);
  }

  40% {
    transform: translate(-6px, 8px) scale(0.98);
  }

  60% {
    transform: translate(12px, 4px) scale(1.04);
  }

  80% {
    transform: translate(-10px, -8px) scale(0.99);
  }
}

@keyframes buddyNod {
  0%,
  100% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(8deg);
  }
}

@keyframes danceAround {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }

  20% {
    transform: translate(12px, -8px) rotate(10deg) scale(1.05);
  }

  40% {
    transform: translate(-8px, 10px) rotate(-8deg) scale(0.98);
  }

  60% {
    transform: translate(10px, 8px) rotate(7deg) scale(1.04);
  }

  80% {
    transform: translate(-10px, -10px) rotate(-10deg) scale(1);
  }
}

@keyframes starTwinkle {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.45;
  }

  50% {
    transform: scale(1.35);
    opacity: 1;
  }
}

@keyframes confettiSwing {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -8px;
  }
}

@keyframes ribbonMove {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-40%);
  }
}

@keyframes doctorBounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

@keyframes doctorCelebrate {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  25% {
    transform: translateY(-8px) rotate(-3deg);
  }

  75% {
    transform: translateY(-8px) rotate(3deg);
  }
}

@keyframes heartPop {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }
}

@keyframes doctorHeartBurst {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.24);
    opacity: 0.92;
  }
}

@keyframes kitchenSteam {
  0%,
  100% {
    transform: translateY(0) scaleX(1);
    opacity: 0.18;
  }

  50% {
    transform: translateY(-0.85rem) scaleX(1.18);
    opacity: 0.48;
  }
}

@keyframes kitchenWrong {
  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-4px);
  }

  75% {
    transform: translateX(4px);
  }
}

@keyframes potItemDrop {
  0% {
    transform: translateY(-10px) scale(0.92);
    opacity: 0;
  }

  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.health-heroes-section,
.body-helper-section,
.superplate-section,
.feeling-section,
.together-section {
  max-width: 1280px;
}

.hero-power-grid,
.choice-grid,
.together-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.hero-power-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hero-power-card,
.choice-card,
.together-card,
.feeling-feedback-card {
  border-radius: 30px;
  border: 1px solid rgba(148, 112, 74, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 252, 244, 0.98), rgba(248, 240, 224, 0.95));
  box-shadow: 0 18px 34px rgba(114, 82, 53, 0.1);
  padding: 1.2rem;
}

.hero-power-card {
  position: relative;
  overflow: hidden;
  min-height: 14rem;
}

.hero-power-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 10px;
}

.power-green::before {
  background: linear-gradient(90deg, #79dcb6, #8de86f);
}

.power-milk::before {
  background: linear-gradient(90deg, #9ed6ff, #ffffff);
}

.power-butter::before {
  background: linear-gradient(90deg, #ffd65a, #ffefab);
}

.power-meat::before {
  background: linear-gradient(90deg, #ff8e9e, #d65a68);
}

.hero-power-icon {
  display: inline-grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  margin-bottom: 0.8rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 22px rgba(114, 82, 53, 0.08);
  font-size: 1.9rem;
}

.hero-power-card strong,
.choice-card strong,
.plate-picker-group strong,
.together-card strong,
.feeling-feedback-card strong {
  display: block;
  font-family: "Fredoka", sans-serif;
  font-size: 1.15rem;
}

.choice-options,
.plate-options {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.choice-option,
.plate-option,
.feeling-card {
  border: 1px solid rgba(148, 112, 74, 0.14);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(250, 241, 225, 0.95));
  padding: 0.9rem 1rem;
  font-family: "Fredoka", sans-serif;
  font-size: 1rem;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(114, 82, 53, 0.08);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.choice-option:hover,
.plate-option:hover,
.feeling-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(114, 82, 53, 0.12);
}

.choice-option.is-good,
.plate-option.is-active,
.feeling-card.is-active {
  background: linear-gradient(180deg, rgba(233, 255, 228, 0.98), rgba(248, 255, 246, 0.98));
}

.choice-option.is-wrong {
  background: linear-gradient(180deg, rgba(255, 233, 235, 0.98), rgba(255, 247, 248, 0.98));
}

.superplate-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.95fr);
  gap: 1.2rem;
  align-items: start;
}

.superplate-card {
  background:
    radial-gradient(circle at top right, rgba(255, 214, 90, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(255, 252, 244, 0.98), rgba(248, 239, 221, 0.96));
}

.superplate-preview {
  padding: 1rem;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(233, 210, 177, 0.9), rgba(210, 174, 130, 0.95));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.plate-shell {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  padding: 1rem;
  min-height: 16rem;
  border-radius: 999px;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.96), rgba(245, 237, 222, 0.98));
  border: 12px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 16px 28px rgba(114, 82, 53, 0.14);
}

.plate-slot {
  display: grid;
  place-items: center;
  min-height: 6.1rem;
  border-radius: 26px;
  background: rgba(255, 248, 235, 0.72);
  border: 1px dashed rgba(148, 112, 74, 0.2);
  font-family: "Fredoka", sans-serif;
  font-size: 1.05rem;
  text-align: center;
  color: #7b5a39;
}

.plate-picker-stack {
  display: grid;
  gap: 1rem;
}

.plate-picker-group {
  padding: 1rem;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 252, 244, 0.98), rgba(248, 239, 221, 0.95));
  border: 1px solid rgba(148, 112, 74, 0.12);
  box-shadow: 0 16px 28px rgba(114, 82, 53, 0.08);
}

.feeling-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.feeling-card {
  min-height: 7rem;
  text-align: center;
  font-size: 1.05rem;
}

.feeling-feedback-card {
  max-width: 860px;
}

.together-card {
  min-height: 11rem;
}

@keyframes waveLeft {
  0%,
  100% {
    transform: rotate(25deg);
  }

  50% {
    transform: rotate(40deg);
  }
}

@keyframes waveRight {
  0%,
  100% {
    transform: rotate(-25deg);
  }

  50% {
    transform: rotate(-40deg);
  }
}

@media (max-width: 980px) {
  .games-showcase {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .kids-hero,
  .kids-intro,
  .game-grid,
  .finale-card {
    grid-template-columns: 1fr;
  }

  .kids-hero {
    gap: 1.5rem;
  }

  .hero-copy {
    padding-right: 0;
  }

  .hero-stage {
    min-height: 28rem;
    transform: none;
  }

  .doctor-cheer-panel {
    grid-template-columns: 1fr;
    text-align: center;
    width: 100%;
    position: relative;
    top: auto;
    grid-column: auto;
    grid-row: auto;
    order: 2;
  }

  .game-grid {
    order: 3;
  }

  .finale-card {
    display: grid;
  }

  .intro-card-one,
  .intro-card-two,
  .intro-card-three,
  .parade-card,
  .picker-card,
  .mission-card,
  .kitchen-lab-card {
    transform: none;
  }

  .hero-power-grid,
  .choice-grid,
  .together-grid,
  .superplate-grid,
  .feeling-grid {
    grid-template-columns: 1fr;
  }

  .recipe-mission-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .kids-header,
  main {
    padding-inline: 1rem;
  }

  .kids-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .kids-nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .kids-nav {
    display: none;
    width: 100%;
    grid-template-columns: 1fr;
    gap: 0.65rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
  }

  .kids-nav.is-open {
    display: grid;
  }

  .kids-nav a {
    width: 100%;
    color: var(--ink);
    font-weight: 900;
    padding: 0.8rem 0.9rem;
    border-radius: 16px;
  }

  .hero-actions {
    display: grid;
    gap: 0.7rem;
  }

  .hero-button {
    width: 100%;
    min-height: 3.4rem;
  }

  .hero-badges span,
  .games-showcase .hero-button {
    width: 100%;
  }

  .hero-badges {
    display: grid;
    gap: 0.55rem;
  }

  .hero-copy {
    gap: 0.85rem;
  }

  .hero-text {
    font-size: 1rem;
    line-height: 1.5;
  }

  .memory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kid-card {
    padding: 1.1rem;
    border-radius: 24px;
  }

  .scoreboard {
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0.75rem;
  }

  .scoreboard .mini-button {
    width: 100%;
  }

  .recipe-route-card {
    padding: 1rem;
    border-radius: 24px;
  }

  .section {
    padding: 2.35rem 0;
  }

  .section-heading {
    margin-bottom: 1rem;
  }

  .section-heading p,
  .hero-power-card p,
  .choice-card p,
  .together-card p,
  .feeling-feedback-card p {
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .hero-power-grid,
  .choice-grid,
  .together-grid,
  .feeling-grid,
  .superplate-grid {
    grid-template-columns: 1fr;
  }

  .hero-power-card,
  .choice-card,
  .together-card,
  .feeling-feedback-card,
  .plate-picker-group {
    padding: 1rem;
    border-radius: 24px;
  }

  .plate-shell {
    grid-template-columns: 1fr;
    border-radius: 34px;
    min-height: auto;
  }

  .kitchen-mode-row,
  .kitchen-ingredients {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kitchen-mode-button,
  .choice-option,
  .plate-option,
  .feeling-card,
  .kitchen-ingredient {
    min-height: 3.5rem;
  }

  .kitchen-playground {
    gap: 0.8rem;
  }

  .kitchen-pan {
    width: 100%;
    max-width: 16rem;
    min-height: 10.6rem;
  }

  .kitchen-stove {
    padding: 0.9rem 0.85rem 1.2rem;
  }

  .lunch-layout {
    grid-template-columns: 1fr;
  }

  .lunch-buddies {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .drag-buddy {
    min-height: 6.7rem;
  }

  .lunch-slot {
    min-height: 5.5rem;
  }

  .doctor-figure {
    width: 5.6rem;
  }

  .doctor-cheer-panel {
    grid-template-columns: 1fr 5.6rem;
    align-items: center;
    text-align: left;
    padding: 0.85rem;
    border-radius: 22px;
  }

  .doctor-copy h3 {
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
  }

  .doctor-bubble {
    padding: 0.7rem 0.8rem;
    font-size: 0.98rem;
    line-height: 1.35;
  }

  .doctor-heart {
    display: none;
  }

  .hero-stage {
    min-height: 20rem;
  }

  .ribbon-track {
    padding-inline: 1rem;
    animation-duration: 24s;
  }

  .ribbon-track span {
    font-size: 0.94rem;
    padding: 0.7rem 0.9rem;
  }

  .kids-intro {
    gap: 0.85rem;
  }

  .broccoli-hero {
    left: 1rem;
    width: 4.9rem;
    height: 6rem;
  }

  .milk-hero {
    left: 5.9rem;
    width: 4.6rem;
    height: 6rem;
  }

  .butter-hero {
    right: 5.2rem;
    width: 4.9rem;
    height: 3.8rem;
  }

  .meat-hero {
    right: 1rem;
    width: 4.6rem;
    height: 5.8rem;
  }

  .stage-bubble {
    font-size: 0.84rem;
    padding: 0.45rem 0.65rem;
  }

  h1 {
    font-size: clamp(2.2rem, 11vw, 3.3rem);
  }

  h2 {
    font-size: clamp(1.65rem, 8vw, 2.2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 980px) and (prefers-color-scheme: dark) {
  .kids-nav {
    background: rgba(24, 29, 40, 0.97);
    border-color: rgba(230, 226, 216, 0.08);
  }

  .kids-nav a {
    color: #d4e3f0;
  }
}
