/* ============================================================
   Little Monster Plants® — littlemonsterplants.com
   No cookies, no tracking, all fun.
   ============================================================ */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Fishfingers";
  src: url("../assets/fonts/fishfingers.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Fishfingers Light";
  src: url("../assets/fonts/fishfingers-light.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Bright and Beautiful";
  src: url("../assets/fonts/bright-and-beautiful.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Folio Bold Condensed";
  src: url("../assets/fonts/folio-bold-condensed.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Fredoka";
  src: url("../assets/fonts/fredoka-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --teal: #8ad8d2;
  --teal-dark: #4fbdb4;
  --teal-deep: #2d9a92;
  --lime: #b5d334;
  --lime-dark: #93b321;
  --red: #b23b2e;
  --red-bright: #cf4a3a;
  --green: #6fa83c;
  --green-dark: #55842c;
  --ink: #233028;
  --paper: #ffffff;
  --cream: #f7faf5;
  --shadow: 0 10px 26px rgba(40, 70, 60, 0.14);
  --font-hand: "Fredoka", "Trebuchet MS", sans-serif;
  --font-hand-light: "Fredoka", "Trebuchet MS", sans-serif;
  --font-script: "Bright and Beautiful", cursive;
  --font-cond: "Folio Bold Condensed", "Arial Narrow", sans-serif;
  --font-body: "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  line-height: 1.5;
}

img { max-width: 100%; height: auto; }

/* ---------- Reusable brand bits ---------- */

/* glossy white title plate, like the 3D logo plates */
.strip {
  display: inline-block;
  background: linear-gradient(180deg, #ffffff, #f2f5ef);
  color: var(--red-bright);
  font-family: var(--font-hand);
  font-weight: 600;
  padding: 0.3em 0.9em 0.28em;
  border-radius: 16px;
  transform: rotate(-1deg);
  box-shadow: var(--shadow), inset 0 2px 0 #fff;
  line-height: 1.25;
}
.strip-lg {
  font-size: clamp(1.5rem, 4.5vw, 2.5rem);
  letter-spacing: 0.01em;
}

/* white card */
.sticker {
  background: var(--paper);
  padding: 0.9rem 1.3rem;
  box-shadow: var(--shadow);
  transform: rotate(0.4deg);
  border-radius: 16px;
}

.btn {
  display: inline-block;
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: clamp(1.1rem, 2.3vw, 1.35rem);
  color: #fff;
  text-decoration: none;
  border: none;
  cursor: pointer;
  padding: 0.6em 1.4em 0.55em;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(40, 70, 60, 0.28), inset 0 2px 0 rgba(255,255,255,0.45), inset 0 -3px 0 rgba(0,0,0,0.18);
  transform: rotate(-0.5deg);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.btn:hover, .btn:focus-visible { transform: rotate(0.5deg) scale(1.06); filter: brightness(1.06); }
.btn:active { transform: translateY(3px) scale(0.99); box-shadow: 0 2px 6px rgba(40, 70, 60, 0.28), inset 0 2px 0 rgba(255,255,255,0.3); }
.btn-green { background: linear-gradient(180deg, #8cc253, var(--green)); }
.btn-red { background: linear-gradient(180deg, #e06553, var(--red-bright)); }

/* ---------- Top bar ---------- */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 14px;
  pointer-events: none;
}
.topbar > * { pointer-events: auto; }
.topbar-logo img {
  display: block;
  height: 52px;
  width: auto;
  filter: drop-shadow(0 3px 5px rgba(40, 70, 60, 0.3));
  transition: transform 0.2s;
}
.topbar-logo:hover img { transform: rotate(-4deg) scale(1.08); }

.topbar-right { display: flex; gap: 10px; align-items: center; }

.fly-counter {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #111;
  color: #fff;
  font-family: var(--font-hand-light);
  font-size: 1.05rem;
  padding: 5px 12px 3px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.fly-counter-icon { width: 26px; height: auto; }
.fly-counter-label { font-family: var(--font-body); font-size: 0.72rem; opacity: 0.8; margin-left: 2px; }
.fly-counter.bump { animation: counterBump 0.45s ease; }
@keyframes counterBump {
  30% { transform: scale(1.25) rotate(-4deg); background: var(--green); }
}

.lang-toggle {
  display: flex;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.lang-btn {
  font-family: var(--font-cond);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  border: none;
  background: transparent;
  padding: 6px 12px;
  cursor: pointer;
  color: var(--ink);
}
.lang-btn.is-active { background: var(--green); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 78% 18%, rgba(253, 220, 110, 0.35) 0 140px, transparent 260px),
    linear-gradient(180deg, #ffffff 0%, #eaf6f1 45%, #d9efe6 100%);
  overflow: hidden;
  padding: 70px 16px 110px;
}

.hero-sky { position: absolute; inset: 0; }

.cloud {
  position: absolute;
  background: rgba(186, 224, 211, 0.45);
  border-radius: 100px;
  animation: cloudDrift linear infinite;
}
.cloud::before, .cloud::after {
  content: "";
  position: absolute;
  background: inherit;
  border-radius: 50%;
}
.cloud-1 { width: 180px; height: 52px; top: 12%; left: -200px; animation-duration: 70s; }
.cloud-1::before { width: 70px; height: 70px; top: -32px; left: 28px; }
.cloud-1::after { width: 50px; height: 50px; top: -20px; left: 92px; }
.cloud-2 { width: 120px; height: 38px; top: 32%; left: -140px; animation-duration: 95s; animation-delay: -40s; opacity: 0.7; }
.cloud-2::before { width: 48px; height: 48px; top: -22px; left: 20px; }
.cloud-2::after { width: 36px; height: 36px; top: -14px; left: 62px; }
.cloud-3 { width: 220px; height: 60px; top: 6%; left: -260px; animation-duration: 120s; animation-delay: -70s; opacity: 0.55; }
.cloud-3::before { width: 84px; height: 84px; top: -38px; left: 36px; }
.cloud-3::after { width: 60px; height: 60px; top: -24px; left: 118px; }
@keyframes cloudDrift { to { transform: translateX(calc(100vw + 300px)); } }

.doodle-sun {
  position: absolute;
  top: 7%; right: 6%;
  width: 90px; height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #ffe98a, #fdd335);
  box-shadow: 0 0 60px 20px rgba(253, 211, 53, 0.45);
  animation: sunPulse 5s ease-in-out infinite;
}
@keyframes sunPulse {
  50% { box-shadow: 0 0 80px 32px rgba(253, 211, 53, 0.6); transform: scale(1.05); }
}

.fly-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

.hero-inner {
  position: relative;
  text-align: center;
  z-index: 2;
  max-width: 640px;
}
.hero-logo {
  width: min(440px, 78vw);
  filter: drop-shadow(0 10px 18px rgba(20, 70, 65, 0.25));
  animation: logoPop 1s cubic-bezier(0.34, 1.56, 0.64, 1) both 0.2s;
}
@keyframes logoPop {
  from { transform: scale(0.3) rotate(-8deg); opacity: 0; }
}
.hero-tagline {
  margin-top: 6px;
  animation: fadeUp 0.7s ease both 0.8s;
}
.hero-cta {
  margin-top: 26px;
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.7s ease both 1.1s;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
}

.hero-doctord {
  position: absolute;
  bottom: -12px;
  right: clamp(-30px, 3vw, 80px);
  width: clamp(170px, 24vw, 320px);
  z-index: 3;
  transform-origin: bottom center;
  animation: monsterBob 3.4s ease-in-out infinite;
  filter: drop-shadow(0 12px 14px rgba(20, 70, 65, 0.3));
}
@keyframes monsterBob {
  0%, 100% { transform: rotate(-2deg) translateY(0); }
  50% { transform: rotate(2deg) translateY(-14px); }
}

/* scavenger hunt intro card */
.hunt-intro {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 480px;
  margin: 30px auto 0;
  text-align: left;
  transform: rotate(-0.8deg);
  animation: fadeUp 0.7s ease both 1.4s;
}
.hunt-intro-fly {
  width: 74px;
  flex-shrink: 0;
  animation: flyIdle 2.6s ease-in-out infinite;
}
.hunt-intro-title {
  font-family: var(--font-hand);
  font-weight: 600;
  color: var(--green-dark);
  font-size: 1.3rem;
  margin: 0 0 4px;
}
.hunt-intro p { margin: 0; font-size: 0.95rem; color: #444; }

.scroll-hint {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-family: var(--font-script);
  font-size: 1.25rem;
  color: #14524d;
  z-index: 2;
}
.scroll-arrow { animation: arrowHop 1.4s ease-in-out infinite; font-size: 1rem; }
@keyframes arrowHop { 50% { transform: translateY(7px); } }

/* ---------- Sections ---------- */
.section { padding: 84px 20px; position: relative; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-sub {
  display: inline-block;
  margin-top: 22px;
  font-size: 1.05rem;
  max-width: 560px;
}

/* subtle science doodle background for meet-section, like the pot covers */
.section-meet {
  background:
    radial-gradient(circle at 15% 20%, rgba(138, 216, 210, 0.18) 0 120px, transparent 130px),
    radial-gradient(circle at 85% 70%, rgba(181, 211, 52, 0.12) 0 150px, transparent 160px),
    var(--cream);
}

.monster-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 26px;
  max-width: 1050px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .monster-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .monster-grid { grid-template-columns: 1fr; }
}

.monster-card {
  position: relative;
  background: linear-gradient(180deg, #ffffff, #f6f8f3);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 18px 18px 22px;
  text-align: center;
  transform: rotate(var(--card-rot, -1deg));
  transition: transform 0.25s ease;
  cursor: pointer;
}
.monster-card:nth-child(even) { --card-rot: 1.2deg; }
.monster-card:hover, .monster-card:focus-visible, .monster-card.is-talking {
  transform: rotate(0deg) scale(1.04);
  z-index: 5;
}

.monster-img-wrap { height: 230px; display: flex; align-items: flex-end; justify-content: center; }
.monster-img-wrap img {
  max-height: 100%;
  width: auto;
  transform-origin: bottom center;
}
.monster-card:hover .monster-img-wrap img,
.monster-card.is-talking .monster-img-wrap img {
  animation: monsterWiggle 0.6s ease-in-out;
}
@keyframes monsterWiggle {
  25% { transform: rotate(-5deg) scale(1.05); }
  75% { transform: rotate(5deg) scale(1.05); }
}

.monster-name {
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: 1.55rem;
  color: var(--green-dark);
  margin: 14px 0 0;
}
.monster-latin {
  font-family: var(--font-script);
  font-size: 1.15rem;
  color: var(--teal-deep);
  margin: 2px 0 10px;
}
.monster-desc { font-size: 0.93rem; margin: 0; color: #444; }

/* speech bubble */
.bubble {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translate(-50%, -100%) scale(0);
  transform-origin: bottom center;
  width: min(260px, 80vw);
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 18px;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.35;
  z-index: 10;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}
.bubble::after {
  content: "";
  position: absolute;
  bottom: -14px;
  left: calc(50% - 8px);
  border: 8px solid transparent;
  border-top: 12px solid var(--ink);
}
.monster-card.is-talking .bubble { transform: translate(-50%, -100%) scale(1); }

.bubble-static {
  position: static;
  transform: none;
  pointer-events: auto;
}
.bubble-static::after { display: none; }

/* ---------- Game ---------- */
.section-game {
  background: linear-gradient(180deg, #e3f4ee 0%, #d2ede4 100%);
}
.game-wrap { max-width: 860px; margin: 0 auto; position: relative; }
.game-frame {
  position: relative;
  border: 6px solid #2b3a31;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(40, 70, 60, 0.25);
  background: linear-gradient(180deg, #bdebe7 0%, #d9f3e3 70%, #b5d334 100%);
}
#gameCanvas { display: block; width: 100%; height: auto; touch-action: none; }

.game-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 70, 65, 0.35);
  z-index: 4;
  padding: 16px;
}
.game-overlay[hidden] { display: none; }
.game-overlay-card { max-width: 420px; text-align: center; }
.game-overlay-card h3 { font-family: var(--font-hand); font-weight: 600; color: var(--green-dark); font-size: 1.7rem; margin: 0 0 10px; }
.game-overlay-card p { font-size: 0.98rem; }
.game-overlay-img {
  display: block;
  height: 110px;
  width: auto;
  margin: 0 auto 10px;
  filter: drop-shadow(0 6px 8px rgba(20, 70, 65, 0.3));
}

/* on-screen d-pad, only for touch */
.dpad {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  display: none;
  grid-template-columns: repeat(3, 48px);
  grid-template-rows: repeat(2, 48px);
  gap: 4px;
}
@media (pointer: coarse) {
  .dpad { display: grid; }
}
.dpad-btn {
  border: 2px solid #111;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  cursor: pointer;
  touch-action: none;
}
.dpad-up { grid-column: 2; grid-row: 1; }
.dpad-left { grid-column: 1; grid-row: 2; }
.dpad-right { grid-column: 3; grid-row: 2; }
.dpad-down { grid-column: 2; grid-row: 2; }

.game-hud {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  gap: 8px;
  z-index: 3;
}
.game-hud-chip {
  background: #111;
  color: #fff;
  font-family: var(--font-cond);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  border-radius: 16px;
}
.game-eco { display: block; margin: 26px auto 0; max-width: 560px; text-align: center; font-size: 1.05rem; }

/* ---------- Care ---------- */
.care-layout {
  max-width: 1050px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}
.care-teacher { position: sticky; top: 90px; text-align: center; }
.care-teacher img { width: 100%; max-width: 260px; animation: monsterBob 4s ease-in-out infinite; }
.care-teacher-bubble { margin-top: 14px; display: inline-block; }

.care-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 22px;
  counter-reset: rule;
}
.care-card {
  position: relative;
  background: linear-gradient(180deg, #ffffff, #f6f8f3);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 20px 22px 20px 84px;
  transform: rotate(var(--rot, 0deg));
  counter-increment: rule;
  opacity: 0;
  translate: 0 36px;
  transition: opacity 0.6s ease, translate 0.6s ease;
}
.care-card.in-view { opacity: 1; translate: 0 0; }
.care-card::before {
  content: counter(rule);
  position: absolute;
  top: -12px;
  left: -12px;
  width: 42px; height: 42px;
  background: var(--red-bright);
  color: #fff;
  font-family: var(--font-hand);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 3px 0 rgba(0,0,0,0.2);
  transform: rotate(-8deg);
}
.care-emoji {
  position: absolute;
  left: 20px;
  top: 50%;
  translate: 0 -50%;
  font-size: 2.4rem;
}
.care-card h3 { font-family: var(--font-hand); font-weight: 600; font-size: 1.3rem; color: var(--green-dark); margin: 0 0 6px; }
.care-card p { margin: 0; font-size: 0.95rem; color: #444; }

@media (max-width: 820px) {
  .care-layout { grid-template-columns: 1fr; }
  .care-teacher { position: static; }
  .care-teacher img { max-width: 170px; }
}

/* per-species tips */
.species-head { text-align: center; margin: 70px auto 36px; }
.species-head .strip { font-size: clamp(1.2rem, 3vw, 1.8rem); }
.species-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px 22px;
  max-width: 1050px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .species-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .species-grid { grid-template-columns: 1fr; }
}
.species-card {
  position: relative;
  background: linear-gradient(180deg, #ffffff, #f6f8f3);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 18px 18px 20px;
  text-align: center;
  transform: rotate(var(--card-rot, -0.8deg));
}
.species-card:nth-child(even) { --card-rot: 0.9deg; }
.species-card img {
  height: 120px;
  width: auto;
  filter: drop-shadow(0 5px 6px rgba(20, 70, 65, 0.25));
}
.species-card h4 {
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--green-dark);
  margin: 10px 0 6px;
}
.species-card p { margin: 0; font-size: 0.9rem; color: #444; }

/* ---------- Products ---------- */
.section-products { background: var(--cream); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 30px;
  max-width: 900px;
  margin: 0 auto 40px;
}
.product-card {
  position: relative;
  margin: 0;
  background: linear-gradient(180deg, #ffffff, #f6f8f3);
  border-radius: 18px;
  padding: 14px 14px 10px;
  box-shadow: var(--shadow);
  transform: rotate(-1deg);
  transition: transform 0.25s ease;
}
.product-card img { border-radius: 10px; }
.product-card:nth-child(even) { transform: rotate(1.4deg); }
.product-card:hover { transform: rotate(0) scale(1.03); }
.product-card img { display: block; width: 100%; }
.product-card figcaption {
  font-family: var(--font-body);
  font-size: 0.95rem;
  text-align: center;
  padding: 12px 4px 6px;
}
.retailer {
  display: block;
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.92rem;
  color: #555;
}
.retailer p { margin: 0; }

/* ---------- Footer ---------- */
.footer {
  position: relative;
  background: #203029;
  color: #ddd;
  text-align: center;
  padding: 50px 20px 36px;
}
.footer-logo { width: 150px; margin-bottom: 18px; filter: drop-shadow(0 6px 10px rgba(0,0,0,0.35)); }
.footer-privacy { background: linear-gradient(180deg, #8cc253, var(--green)); color: #fff; transform: rotate(-1deg); font-family: var(--font-body); font-size: 0.95rem; }
.footer-credit { font-size: 0.92rem; margin-top: 24px; color: #ccc; }
.footer-credit a { color: var(--lime); font-weight: 600; }
.footer-copy { font-size: 0.85rem; margin-top: 10px; color: #999; }

/* ---------- Hidden flies (the hunt) ---------- */
.hidden-fly {
  position: absolute;
  width: 46px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 8;
  transition: transform 0.2s ease;
  animation: flyIdle 2.6s ease-in-out infinite;
}
.hidden-fly img { display: block; width: 100%; height: auto; filter: drop-shadow(0 3px 3px rgba(0,0,0,0.25)); }
.hidden-fly-fred { width: 54px; }
.hidden-fly:hover { transform: scale(1.3) rotate(10deg); opacity: 1; }
.hidden-fly.caught {
  animation: flyCaught 0.7s ease forwards;
  pointer-events: none;
}
@keyframes flyIdle {
  0%, 100% { translate: 0 0; rotate: -6deg; }
  50% { translate: 2px -6px; rotate: 8deg; }
}
@keyframes flyCaught {
  30% { transform: scale(1.6) rotate(20deg); opacity: 1; }
  100% { transform: scale(0) rotate(180deg) translateY(-60px); opacity: 0; }
}

/* ---------- Hunt complete overlay ---------- */
.hunt-done[hidden] { display: none; }
.hunt-done {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(17, 17, 17, 0.55);
  padding: 20px;
}
.hunt-done-card {
  max-width: 420px;
  text-align: center;
  animation: logoPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.hunt-done-card h3 { font-family: var(--font-hand); font-weight: 600; color: var(--green-dark); font-size: 1.8rem; margin: 8px 0 10px; }
.hunt-done-fly { display: block; width: 92px; height: auto; margin: 0 auto; animation: flyIdle 2s ease-in-out infinite; }

/* Fred toast */
.fred-toast[hidden] { display: none; }
.fred-toast {
  position: fixed;
  top: 64px;
  left: 50%;
  translate: -50% 0;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--paper);
  border: 3px solid var(--green);
  border-radius: 40px;
  padding: 8px 20px;
  font-family: var(--font-hand);
  font-size: 1.2rem;
  box-shadow: var(--shadow);
}
.fred-toast img { width: 44px; height: auto; }
.fred-toast.show { animation: toastPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
@keyframes toastPop {
  from { translate: -50% -20px; scale: 0.4; opacity: 0; }
}

/* dev version switcher */
.version-bar {
  position: fixed;
  top: 64px;
  left: 14px;
  z-index: 200;
  background: #fff;
  border: 2px solid #111;
  border-radius: 18px;
  padding: 4px 12px;
  font: 600 0.78rem var(--font-body);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.version-bar a { color: var(--green); }

/* ---------- Confetti ---------- */
.confetti-bit {
  position: fixed;
  top: -20px;
  width: 10px;
  height: 14px;
  z-index: 99;
  animation: confettiFall linear forwards;
  pointer-events: none;
}
@keyframes confettiFall {
  to { transform: translateY(110vh) rotate(720deg); opacity: 0.6; }
}

/* ---------- Reveal on scroll ---------- */
.monster-card, .product-card { view-timeline-name: none; }
.reveal { opacity: 0; translate: 0 36px; transition: opacity 0.6s ease, translate 0.6s ease; }
.reveal.in-view { opacity: 1; translate: 0 0; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01s !important;
  }
  html { scroll-behavior: auto; }
  .reveal, .care-card { opacity: 1; translate: 0 0; }
}

/* ---------- Small screens ---------- */
@media (max-width: 560px) {
  .fly-counter-label { display: none; }
  .hero-doctord { right: -20px; width: 150px; }
  .section { padding: 60px 14px; }
  .monster-img-wrap { height: 190px; }
}
