/* ========== Reset / base ========== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Heebo", "Fredoka", system-ui, sans-serif;
  background: #FFF8E7;
  color: #1E3A5F;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

:root {
  --sky-top: #87CEEB;
  --sky-mid: #B7E3F4;
  --sky-bottom: #FFE5B4;
  --sun: #FFD93D;
  --sun-glow: #FFB627;
  --watermelon: #FF6B9D;
  --watermelon-deep: #E91E63;
  --teal: #4ECDC4;
  --teal-deep: #1A8FA0;
  --sand: #FFE9B7;
  --cream: #FFF8E7;
  --navy: #1E3A5F;
  --leaf: #2E8B57;
}

/* ========== Animated sky ========== */
.sky {
  position: fixed; inset: 0; z-index: 0;
  background:
    linear-gradient(180deg,
      var(--sky-top) 0%,
      var(--sky-mid) 45%,
      var(--sky-bottom) 80%,
      #FFD9A0 100%);
  overflow: hidden;
  pointer-events: none;
}
.sun {
  position: absolute;
  top: 12%; left: 50%;
  width: 220px; height: 220px;
  margin-left: -110px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #FFEB85, var(--sun) 55%, var(--sun-glow) 100%);
  box-shadow:
    0 0 80px rgba(255, 217, 61, 0.7),
    0 0 160px rgba(255, 182, 39, 0.5),
    0 0 240px rgba(255, 182, 39, 0.3);
  animation: sunPulse 4s ease-in-out infinite;
}
@keyframes sunPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
.cloud {
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 60px;
  filter: blur(0.5px);
  box-shadow:
    inset 0 -8px 20px rgba(135, 206, 235, 0.25),
    0 8px 24px rgba(0, 0, 0, 0.05);
}
.cloud::before, .cloud::after {
  content: ""; position: absolute;
  background: inherit; border-radius: 50%;
}
.cloud-1 { width: 180px; height: 50px; top: 18%; left: 8%; animation: drift 60s linear infinite; }
.cloud-1::before { width: 80px; height: 80px; top: -35px; left: 25px; }
.cloud-1::after { width: 60px; height: 60px; top: -25px; right: 20px; }
.cloud-2 { width: 240px; height: 60px; top: 8%; right: 5%; animation: drift 80s linear infinite reverse; }
.cloud-2::before { width: 100px; height: 100px; top: -45px; left: 30px; }
.cloud-2::after { width: 80px; height: 80px; top: -35px; right: 30px; }
.cloud-3 { width: 160px; height: 44px; top: 32%; left: 60%; animation: drift 100s linear infinite; }
.cloud-3::before { width: 70px; height: 70px; top: -30px; left: 20px; }
.cloud-3::after { width: 50px; height: 50px; top: -20px; right: 15px; }
@keyframes drift {
  from { transform: translateX(0); }
  to { transform: translateX(100vw); }
}

.palm {
  position: absolute;
  bottom: 18%;
  width: 180px; height: 320px;
  background:
    radial-gradient(ellipse 90px 22px at 50% 12%, var(--leaf) 60%, transparent 70%),
    radial-gradient(ellipse 22px 90px at 50% 12%, var(--leaf) 60%, transparent 70%),
    radial-gradient(ellipse 70px 18px at 30% 18%, #3CB371 60%, transparent 70%),
    radial-gradient(ellipse 70px 18px at 70% 18%, #3CB371 60%, transparent 70%),
    radial-gradient(ellipse 18px 70px at 35% 22%, #3CB371 60%, transparent 70%),
    radial-gradient(ellipse 18px 70px at 65% 22%, #3CB371 60%, transparent 70%),
    linear-gradient(180deg, transparent 28%, #8B5A2B 28%, #6B4222 100%);
  background-repeat: no-repeat;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.15));
}
.palm-left { left: -30px; transform: rotate(-8deg); }
.palm-right { right: -30px; transform: rotate(8deg) scaleX(-1); }

.sea {
  position: absolute;
  bottom: 12%; left: 0; right: 0;
  height: 90px;
  background:
    linear-gradient(180deg, rgba(78, 205, 196, 0.6), rgba(26, 143, 160, 0.85));
  box-shadow: 0 -2px 10px rgba(255, 255, 255, 0.5) inset;
}
.sea::after {
  content: "";
  position: absolute;
  top: -4px; left: 0; right: 0; height: 8px;
  background: repeating-linear-gradient(90deg,
    transparent 0, transparent 30px,
    rgba(255, 255, 255, 0.7) 30px, rgba(255, 255, 255, 0.7) 50px);
  filter: blur(1px);
  animation: waves 8s linear infinite;
}
@keyframes waves {
  from { transform: translateX(0); }
  to { transform: translateX(80px); }
}
.sand {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 12%;
  background: linear-gradient(180deg, #FFE9B7 0%, #F4D58D 100%);
}

/* ========== Mini bar ========== */
.mini-bar {
  position: fixed;
  top: 14px; left: 50%;
  transform: translateX(-50%) translateY(-200%);
  z-index: 50;
  display: flex; align-items: center; gap: 14px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border: 2px solid var(--watermelon);
  border-radius: 999px;
  box-shadow: 0 12px 40px rgba(255, 107, 157, 0.35);
  font-size: 0.9rem;
  font-weight: 700;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  direction: rtl;
}
.mini-bar.show { transform: translateX(-50%) translateY(0); }
.mini-emoji { font-size: 1.2rem; }
.mini-label { color: var(--watermelon-deep); }
.mini-time { font-family: "Fredoka", monospace; letter-spacing: 0.04em; color: var(--navy); }
.mini-time b { color: var(--watermelon-deep); font-weight: 700; }
.mini-sep { opacity: 0.4; margin: 0 4px; }
.mini-cta {
  background: var(--sun);
  color: var(--navy);
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 700;
}

/* ========== Top nav ========== */
.topnav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 40;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 32px;
  background: linear-gradient(180deg, rgba(255, 248, 231, 0.7), transparent);
  pointer-events: none;
}
.topnav > * { pointer-events: auto; }
.topnav-brand {
  display: flex; align-items: center; gap: 8px;
  font-family: "Fredoka", "Heebo", sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--watermelon-deep);
  background: rgba(255, 255, 255, 0.9);
  padding: 8px 16px;
  border-radius: 999px;
  border: 2px solid var(--sun);
  box-shadow: 0 6px 20px rgba(255, 217, 61, 0.4);
}
.brand-icon { font-size: 1.4rem; }
.topnav nav { display: flex; gap: 8px; }
.topnav nav a {
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.7);
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.topnav nav a:hover {
  background: var(--watermelon);
  color: #fff;
  transform: translateY(-2px);
}
@media (max-width: 720px) {
  .topnav nav { display: none; }
}

/* ========== Hero ========== */
.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 120px 24px 60px;
  text-align: center;
}
.hero-frame {
  max-width: 1100px; width: 100%;
}
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "Fredoka", "Heebo", sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--watermelon-deep);
  background: rgba(255, 255, 255, 0.85);
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 32px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}
.kicker .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--watermelon);
  animation: blink 1.4s infinite;
}
@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0.2; }
}

.hero-title {
  position: relative;
  font-family: "Fredoka", "Heebo", sans-serif;
  font-weight: 700;
  font-size: clamp(4rem, 14vw, 11rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.t-1, .t-2 {
  display: inline-block;
  background: linear-gradient(180deg, #FF8FB1 0%, var(--watermelon-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow:
    0 0 0 transparent,
    4px 6px 0 rgba(255, 217, 61, 0.55);
  animation: bob 3s ease-in-out infinite;
}
.t-2 {
  background: linear-gradient(180deg, #FFB627 0%, #E69500 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation-delay: 0.4s;
}
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}
.hero-stars {
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: var(--sun);
  animation: spin 6s linear infinite;
}
@keyframes spin {
  from { transform: translateX(-50%) rotate(0deg); }
  to { transform: translateX(-50%) rotate(360deg); }
}

.tagline {
  font-family: "Caveat", "Heebo", cursive;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--teal-deep);
  margin-bottom: 40px;
}
.tagline #bigDays {
  font-family: "Fredoka", "Heebo", sans-serif;
  font-weight: 700;
  font-size: 1.4em;
  color: var(--watermelon-deep);
  background: rgba(255, 255, 255, 0.7);
  padding: 0 12px;
  border-radius: 12px;
  display: inline-block;
}

.mode-switch {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.85);
  border: 2px solid var(--teal);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 8px;
  box-shadow: 0 8px 22px rgba(78, 205, 196, 0.3);
}
.mode-btn {
  font-family: "Heebo", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 8px 18px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--teal-deep);
  cursor: pointer;
  transition: background 0.3s, color 0.3s, transform 0.3s;
}
.mode-btn.active {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 4px 14px rgba(78, 205, 196, 0.45);
  transform: translateY(-1px);
}
.mode-btn:not(.active):hover { color: var(--watermelon-deep); }
.mode-hint {
  font-family: "Caveat", "Heebo", cursive;
  font-size: 1.1rem;
  color: var(--teal-deep);
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.4s, transform 0.4s;
  height: 0;
  overflow: hidden;
}
.mode-hint.show {
  opacity: 0.85;
  transform: translateY(0);
  height: auto;
  margin-bottom: 28px;
}

.countdown {
  display: flex; justify-content: center; align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.unit {
  background: rgba(255, 255, 255, 0.92);
  border: 3px solid var(--sun);
  border-radius: 24px;
  padding: 18px 22px;
  min-width: 120px;
  box-shadow: 0 12px 30px rgba(255, 182, 39, 0.3);
  transform: rotate(-1deg);
  transition: transform 0.3s;
}
.unit:nth-child(3) { transform: rotate(1deg); border-color: var(--watermelon); box-shadow: 0 12px 30px rgba(255, 107, 157, 0.3); }
.unit:nth-child(5) { transform: rotate(-1deg); border-color: var(--teal); box-shadow: 0 12px 30px rgba(78, 205, 196, 0.35); }
.unit:nth-child(7) { transform: rotate(1deg); border-color: var(--leaf); box-shadow: 0 12px 30px rgba(46, 139, 87, 0.3); }
.unit:hover { transform: rotate(0) translateY(-4px); }
.num-stack { overflow: hidden; }
.num {
  display: block;
  font-family: "Fredoka", monospace;
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.num.flip { animation: flip 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes flip {
  0% { transform: rotateX(-80deg); opacity: 0; }
  100% { transform: rotateX(0); opacity: 1; }
}
.label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--teal-deep);
  margin-top: 6px;
  text-transform: uppercase;
}
.sep {
  font-family: "Fredoka", monospace;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--watermelon);
  align-self: center;
  margin-top: 8px;
  animation: blink 1.4s infinite;
}

.release-row {
  margin-top: 16px;
  display: flex; flex-direction: column; align-items: center;
  gap: 16px;
}
.progress {
  width: min(560px, 90%);
  position: relative;
  height: 16px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.1);
}
.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--watermelon), var(--sun), var(--teal));
  border-radius: 999px;
  transition: width 1s ease;
  box-shadow: 0 0 14px rgba(255, 217, 61, 0.7);
}
.progress-label {
  position: absolute;
  top: 18px;
  width: 100%;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy);
}
.platforms {
  font-family: "Caveat", cursive;
  font-size: 1.5rem;
  color: var(--teal-deep);
  margin-top: 24px;
}

.scroll-hint {
  display: inline-flex; flex-direction: column; align-items: center;
  margin-top: 60px;
  font-family: "Caveat", cursive;
  font-size: 1.2rem;
  color: var(--navy);
  opacity: 0.7;
}
.scroll-hint span {
  display: block;
  width: 12px; height: 12px;
  border-right: 2px solid var(--watermelon);
  border-bottom: 2px solid var(--watermelon);
  transform: rotate(45deg);
  margin-top: -4px;
  animation: arrowDrop 1.6s infinite;
}
.scroll-hint span:nth-child(2) { animation-delay: 0.15s; }
.scroll-hint span:nth-child(3) { animation-delay: 0.3s; }
.scroll-hint em {
  font-style: normal;
  margin-top: 8px;
}
@keyframes arrowDrop {
  0% { opacity: 0; transform: rotate(45deg) translate(-6px, -6px); }
  50% { opacity: 1; }
  100% { opacity: 0; transform: rotate(45deg) translate(6px, 6px); }
}

/* ========== Marquee ========== */
.marquee {
  position: relative;
  z-index: 2;
  background: linear-gradient(90deg, var(--watermelon), var(--sun), var(--teal), var(--watermelon));
  background-size: 300% 100%;
  animation: rainbow 12s linear infinite;
  padding: 18px 0;
  overflow: hidden;
  border-top: 4px solid #fff;
  border-bottom: 4px solid #fff;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}
@keyframes rainbow {
  from { background-position: 0% 0%; }
  to { background-position: 300% 0%; }
}
.marquee-track {
  direction: ltr;
  display: flex;
  width: max-content;
  font-family: "Fredoka", "Heebo", sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: #fff;
  text-shadow: 2px 3px 0 rgba(0, 0, 0, 0.15);
  will-change: transform;
  transform: translateX(0);
}
.marquee-half {
  display: flex;
  align-items: center;
  gap: 50px;
  padding-right: 50px;
  flex-shrink: 0;
  white-space: nowrap;
}
.marquee-half span,
.marquee-half i {
  display: inline-block;
  unicode-bidi: isolate;
}
.marquee-track i {
  color: var(--navy);
  font-style: normal;
  opacity: 0.8;
}

/* ========== Sections ========== */
.section {
  position: relative;
  z-index: 4;
  padding: 120px 24px;
  background: var(--cream);
}
.section-cream { background: linear-gradient(180deg, var(--cream), #FFE9B7); }
.container {
  max-width: 1100px;
  margin: 0 auto;
}
.eyebrow {
  font-family: "Fredoka", "Heebo", sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  color: var(--watermelon-deep);
  margin-bottom: 14px;
  text-align: center;
}
.section-title {
  font-family: "Fredoka", "Heebo", sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
  text-align: center;
  margin-bottom: 50px;
  color: var(--navy);
}

/* ========== TOUR (sticky cinematic) ========== */
.tour {
  position: relative;
  height: 1100vh;
  background: #000;
  z-index: 4;
}
.tour-track {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  isolation: isolate;
}
.tour-stage {
  position: absolute; inset: 0;
}
.tour-panel {
  position: absolute; inset: 0;
  opacity: var(--op, 0);
  pointer-events: none;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.tour-panel.active { pointer-events: auto; }

.panel-bg {
  position: absolute; inset: -5%;
  transform: scale(calc(1.18 - 0.18 * var(--frac, 0)))
             translate3d(calc(var(--dist, 0) * -2.5%), calc(var(--frac, 0) * -3%), 0);
  background-size: cover;
  background-position: center;
  filter: brightness(calc(0.85 + 0.15 * var(--local, 0)));
}
.tour-panel[data-bg="bell"] .panel-bg {
  background: radial-gradient(circle at 50% 30%, #FFF5E6 0%, #FFD93D 30%, #E69500 75%);
}
.tour-panel[data-bg="sleep"] .panel-bg {
  background: linear-gradient(180deg, #2C3E5A 0%, #4A6B9C 50%, #B6D6F2 100%);
}
.tour-panel[data-bg="sea"] .panel-bg {
  background: linear-gradient(180deg, #87CEEB 0%, #4ECDC4 45%, #1A8FA0 75%, #F4D58D 100%);
}
.tour-panel[data-bg="icecream"] .panel-bg {
  background: radial-gradient(circle at 30% 40%, #FFB7D5 0%, #FF6B9D 50%, #E91E63 100%);
}
.tour-panel[data-bg="watermelon"] .panel-bg {
  background: linear-gradient(135deg, #2E8B57 0%, #FF6B9D 50%, #E91E63 100%);
}
.tour-panel[data-bg="night"] .panel-bg {
  background: linear-gradient(180deg, #0D1B3F 0%, #2C3E5A 40%, #6B4F8F 70%, #E91E63 100%);
}

.panel-emoji {
  position: relative;
  z-index: 2;
  font-size: clamp(7rem, 22vw, 18rem);
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.4));
  transform: scale(calc(0.85 + 0.15 * var(--local, 0)))
             rotate(calc(var(--dist, 0) * 6deg))
             translate3d(0, calc(40px * (1 - var(--local, 0))), 0);
  opacity: calc(0.4 + 0.6 * var(--local, 0));
}
.panel-tint {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,0.55) 82%, rgba(0,0,0,0.92) 100%);
  pointer-events: none;
}
.panel-caption {
  position: absolute;
  right: 6vw; left: 6vw;
  bottom: 12vh;
  max-width: 760px;
  color: #fff;
  z-index: 3;
  opacity: var(--local, 0);
  transform: translate3d(0, calc(80px * (1 - var(--local, 0))), 0);
  text-align: right;
}
.panel-eyebrow {
  --t: clamp(0, calc(var(--local, 0) * 1.6), 1);
  font-family: "Caveat", "Heebo", cursive;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  letter-spacing: 0.05em;
  color: var(--sun);
  margin-bottom: 14px;
  opacity: var(--t);
  transform: translate3d(calc(30px * (1 - var(--t))), 0, 0);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}
.panel-caption h3 {
  --t: clamp(0, calc(var(--local, 0) * 1.4 - 0.15), 1);
  font-family: "Fredoka", "Heebo", sans-serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.5);
  opacity: var(--t);
  transform: translate3d(0, calc(40px * (1 - var(--t))), 0);
}
.panel-lede {
  --t: clamp(0, calc(var(--local, 0) * 1.3 - 0.3), 1);
  font-family: "Heebo", sans-serif;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  max-width: 580px;
  margin-right: 0;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
  opacity: var(--t);
  transform: translate3d(0, calc(28px * (1 - var(--t))), 0);
}

.tour-progress {
  position: absolute;
  left: 3vw;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 5;
}
.tour-dot {
  width: 2px;
  height: 22px;
  border-radius: 2px;
  background: rgba(255, 255, 255, calc(0.18 + 0.62 * var(--near, 0)));
  transform: scaleY(calc(0.7 + 0.6 * var(--near, 0)));
  position: relative;
}
.tour-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 2px;
  background: var(--sun);
  opacity: var(--near, 0);
  box-shadow: 0 0 16px rgba(255, 217, 61, calc(0.8 * var(--near, 0)));
}
@media (max-width: 720px) {
  .tour { height: 850vh; }
  .panel-caption { bottom: 10vh; left: 5vw; right: 5vw; }
  .tour-progress { left: 2vw; gap: 10px; }
}

/* ========== STATS ========== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.stat {
  background: #fff;
  border-radius: 28px;
  padding: 36px 24px;
  text-align: center;
  border: 3px solid transparent;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}
.stat:nth-child(1) { border-color: var(--watermelon); }
.stat:nth-child(2) { border-color: var(--teal); }
.stat:nth-child(3) { border-color: var(--sun); }
.stat:nth-child(4) { border-color: var(--leaf); }
.stat:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: 0 22px 50px rgba(0, 0, 0, 0.12); }
.stat-num {
  font-family: "Fredoka", monospace;
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  color: var(--navy);
  line-height: 1;
}
.stat-emoji {
  font-size: 2.6rem;
  margin: 12px 0;
}
.stat-label {
  font-weight: 500;
  color: var(--teal-deep);
  font-size: 0.95rem;
}

/* ========== BYE ========== */
.bye-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}
.bye-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 28px 18px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  border: 2px solid #FFE9B7;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, opacity 0.3s;
  opacity: 0.85;
}
.bye-card:hover {
  transform: rotate(-2deg) translateY(-4px);
  border-color: var(--watermelon);
  opacity: 1;
}
.bye-x {
  position: absolute;
  top: 10px; right: 12px;
  width: 28px; height: 28px;
  background: var(--watermelon);
  color: #fff;
  font-weight: 700;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  box-shadow: 0 4px 10px rgba(255, 107, 157, 0.45);
}
.bye-icon {
  font-size: 2.4rem;
  filter: grayscale(0.4);
  opacity: 0.7;
}
.bye-text {
  font-weight: 500;
  color: var(--navy);
  text-decoration: line-through;
  text-decoration-color: var(--watermelon);
  text-decoration-thickness: 2px;
}
.bye-card.user .bye-icon { filter: none; opacity: 1; }
.bye-card .bye-remove {
  position: absolute;
  top: 8px; left: 8px;
  width: 28px; height: 28px;
  border: none;
  background: var(--watermelon, #ff4f6b);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(255, 79, 107, 0.35);
  transition: transform 0.15s, box-shadow 0.2s;
}
.bye-card.user .bye-remove { display: flex; }
.bye-card .bye-remove:hover { transform: scale(1.1); box-shadow: 0 4px 12px rgba(255, 79, 107, 0.55); }
.bye-card.user .bye-x { display: none; }

.bye-add {
  margin-top: 28px;
  background: rgba(255, 255, 255, 0.85);
  border: 2px dashed var(--watermelon);
  border-radius: 22px;
  padding: 22px 22px 24px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 8px 22px rgba(255, 107, 157, 0.15);
}
.bye-add-label {
  display: block;
  font-family: "Fredoka", "Heebo", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--watermelon-deep);
  margin-bottom: 12px;
  text-align: center;
}
.bye-add-row {
  display: flex;
  gap: 10px;
  flex-direction: row-reverse;
}
.bye-add-icon, .bye-add-text {
  font-family: "Heebo", sans-serif;
  font-size: 1rem;
  padding: 12px 14px;
  border: 2px solid #FFE9B7;
  border-radius: 14px;
  background: #fff;
  color: var(--navy);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.bye-add-icon { width: 64px; text-align: center; font-size: 1.4rem; }
.emoji-trigger {
  cursor: pointer;
  font-family: inherit;
  line-height: 1;
}
.emoji-trigger:hover { border-color: var(--watermelon); }

.emoji-pick-wrap { position: relative; }
.emoji-picker {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(340px, 90vw);
  background: #fff;
  border: 2px solid var(--watermelon);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(255, 107, 157, 0.3), 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 12px;
  z-index: 70;
  direction: rtl;
}
.emoji-picker[hidden] { display: none; }
.emoji-search-row { margin-bottom: 8px; }
.emoji-search {
  width: 100%;
  font-family: "Heebo", sans-serif;
  font-size: 0.95rem;
  padding: 8px 12px;
  border: 2px solid #FFE9B7;
  border-radius: 12px;
  outline: none;
  background: #FFF8E7;
  color: var(--navy);
}
.emoji-search:focus { border-color: var(--watermelon); }
.emoji-tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 107, 157, 0.18);
}
.emoji-tab {
  border: none;
  background: transparent;
  font-size: 1.2rem;
  width: 32px; height: 32px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
  line-height: 1;
}
.emoji-tab:hover { background: rgba(255, 107, 157, 0.12); }
.emoji-tab.active { background: var(--watermelon); }
.emoji-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 2px;
  max-height: 240px;
  overflow-y: auto;
  scrollbar-width: thin;
}
.emoji-grid::-webkit-scrollbar { width: 6px; }
.emoji-grid::-webkit-scrollbar-thumb { background: var(--watermelon); border-radius: 3px; }
.emoji-cell {
  border: none;
  background: transparent;
  font-size: 1.4rem;
  padding: 4px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.12s, transform 0.12s;
  line-height: 1;
}
.emoji-cell:hover { background: #FFE9B7; transform: scale(1.2); }
.emoji-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 18px 0;
  color: var(--teal-deep);
  font-size: 0.9rem;
}
.emoji-paste-row {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 107, 157, 0.18);
}
.emoji-paste {
  flex: 1;
  font-family: "Heebo", sans-serif;
  font-size: 1rem;
  padding: 8px 12px;
  border: 2px solid #FFE9B7;
  border-radius: 12px;
  outline: none;
  background: #FFF8E7;
  color: var(--navy);
  text-align: center;
}
.emoji-paste:focus { border-color: var(--watermelon); }
.emoji-paste-btn {
  font-family: "Fredoka", "Heebo", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 8px 16px;
  border: none;
  border-radius: 12px;
  background: var(--teal);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.emoji-paste-btn:hover { background: var(--teal-deep); transform: translateY(-1px); }
.emoji-paste-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.bye-add-text { flex: 1; min-width: 0; }
.bye-add-icon:focus, .bye-add-text:focus {
  border-color: var(--watermelon);
  box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.18);
}
.bye-add-btn {
  font-family: "Fredoka", "Heebo", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 22px;
  border: none;
  border-radius: 14px;
  background: var(--watermelon);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(255, 107, 157, 0.4);
  transition: transform 0.2s, background 0.2s;
  white-space: nowrap;
}
.bye-add-btn:hover { background: var(--watermelon-deep); transform: translateY(-2px); }
.bye-add-btn:active { transform: translateY(0); }
@media (max-width: 520px) {
  .bye-add-row { flex-wrap: wrap; }
  .bye-add-text { flex: 1 1 100%; }
}

.bye-final {
  margin-top: 60px;
  text-align: center;
}
.bye-line {
  font-family: "Caveat", cursive;
  font-size: 2rem;
  color: var(--teal-deep);
  margin-bottom: 12px;
}
.bye-big {
  font-family: "Fredoka", "Heebo", sans-serif;
  font-weight: 700;
  font-size: clamp(3rem, 9vw, 6rem);
  background: linear-gradient(180deg, var(--watermelon), var(--sun), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
  animation: bob 3s ease-in-out infinite;
}

/* ========== Footer ========== */
.site-footer {
  position: relative;
  z-index: 4;
  padding: 80px 24px;
  background: var(--navy);
  color: #fff;
  text-align: center;
}
.footer-emoji {
  font-size: 2rem;
  margin-bottom: 18px;
  letter-spacing: 0.2em;
}
.footer-line {
  font-family: "Fredoka", "Heebo", sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 12px;
}
.footer-fine {
  font-size: 0.85rem;
  opacity: 0.7;
  max-width: 600px;
  margin: 0 auto;
}

/* ========== Sound hint overlay ========== */
.sound-hint {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  animation: shFadeIn 0.4s ease;
}
.sound-hint[hidden] { display: none; }
.sh-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 12% 92%, rgba(255, 107, 157, 0.25) 0%, rgba(0, 0, 0, 0.55) 60%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
@keyframes shFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.sh-card {
  position: relative;
  z-index: 2;
  background: #fff;
  border: 4px solid var(--watermelon);
  border-radius: 28px;
  padding: 32px 36px 28px;
  text-align: center;
  max-width: 420px;
  width: calc(100% - 48px);
  box-shadow: 0 24px 60px rgba(255, 107, 157, 0.45), 0 8px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-8%);
  animation: shPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  direction: rtl;
}
@keyframes shPop {
  from { opacity: 0; transform: translateY(-8%) scale(0.8); }
  to { opacity: 1; transform: translateY(-8%) scale(1); }
}
.sh-emoji {
  font-size: 4rem;
  line-height: 1;
  margin-bottom: 12px;
  animation: shBob 1.6s ease-in-out infinite;
}
@keyframes shBob {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-8px) rotate(3deg); }
}
.sh-title {
  font-family: "Fredoka", "Heebo", sans-serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: var(--watermelon-deep);
  margin-bottom: 12px;
  line-height: 1.1;
}
.sh-text {
  font-family: "Heebo", sans-serif;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 22px;
  line-height: 1.5;
}
.sh-ok {
  font-family: "Fredoka", "Heebo", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 12px 28px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--watermelon), var(--sun));
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(255, 107, 157, 0.5);
  transition: transform 0.2s, box-shadow 0.2s;
}
.sh-ok:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(255, 107, 157, 0.6); }
.sh-ok:active { transform: translateY(0); }
.sh-skip {
  display: block;
  margin: 14px auto 0;
  background: transparent;
  border: none;
  color: var(--navy);
  font-family: "Heebo", sans-serif;
  font-size: 0.9rem;
  opacity: 0.6;
  cursor: pointer;
  padding: 6px 14px;
  border-radius: 999px;
  transition: opacity 0.2s, background 0.2s;
}
.sh-skip:hover { opacity: 1; background: rgba(30, 58, 95, 0.06); }


@media (max-width: 720px) {
  .sh-card { padding: 24px 22px 22px; }
  .sh-emoji { font-size: 3rem; }
}

/* ========== Hidden YT iframe ========== */
.audio-hidden {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 2px; height: 2px;
  opacity: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}
.audio-hidden iframe {
  width: 480px; height: 270px;
  border: 0;
}

/* ========== Audio control panel ========== */
.audio-panel {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border: 2px solid var(--watermelon);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(255, 107, 157, 0.35);
  direction: ltr;
}
.ap-mute {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: none;
  background: var(--watermelon);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(255, 107, 157, 0.5);
  transition: transform 0.25s, background 0.25s;
}
.ap-mute:hover { transform: scale(1.08); background: var(--watermelon-deep); }
.ap-mute svg {
  width: 20px; height: 20px;
}
.ap-mute .ic-sound { display: none; }
.ap-mute .ic-muted { display: block; }
.audio-panel[data-muted="false"] .ap-mute { background: var(--teal); box-shadow: 0 4px 12px rgba(78, 205, 196, 0.55); }
.audio-panel[data-muted="false"] .ap-mute .ic-sound { display: block; }
.audio-panel[data-muted="false"] .ap-mute .ic-muted { display: none; }

.ap-volume {
  -webkit-appearance: none;
  appearance: none;
  width: 90px;
  height: 4px;
  background: linear-gradient(90deg, var(--watermelon), var(--sun));
  border-radius: 999px;
  outline: none;
}
.ap-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px; height: 14px;
  background: #fff;
  border: 2px solid var(--watermelon);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.ap-volume::-moz-range-thumb {
  width: 14px; height: 14px;
  background: #fff;
  border: 2px solid var(--watermelon);
  border-radius: 50%;
  cursor: pointer;
}
.ap-label {
  font-family: "Heebo", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy);
  white-space: nowrap;
  direction: rtl;
}
@media (max-width: 480px) {
  .audio-panel { bottom: 14px; left: 14px; padding: 6px 12px 6px 6px; }
  .ap-volume { width: 70px; }
  .ap-label { display: none; }
}

/* ========== Mobile (UA-detected only) ========== */
body.is-mobile { font-size: 14px; }

body.is-mobile .topnav { padding: 10px 14px; }
body.is-mobile .topnav-brand { font-size: 0.95rem; padding: 5px 11px; gap: 5px; }
body.is-mobile .brand-icon { font-size: 1rem; }
body.is-mobile .topnav nav { display: none; }

body.is-mobile .sky .sun { width: 130px; height: 130px; margin-left: -65px; top: 8%; }
body.is-mobile .sky .palm { width: 100px; height: 180px; }
body.is-mobile .sky .palm-left { left: -40px; }
body.is-mobile .sky .palm-right { right: -40px; }
body.is-mobile .sky .cloud-1 { width: 110px; height: 32px; }
body.is-mobile .sky .cloud-2 { width: 140px; height: 38px; }
body.is-mobile .sky .cloud-3 { width: 90px; height: 26px; }
body.is-mobile .sky .sea { height: 50px; bottom: 14%; }
body.is-mobile .sky .sand { height: 14%; }

body.is-mobile .hero { padding: 80px 14px 40px; min-height: 100vh; }
body.is-mobile .kicker { font-size: 0.75rem; padding: 5px 12px; margin-bottom: 18px; gap: 6px; }
body.is-mobile .hero-title { font-size: clamp(3rem, 18vw, 5.5rem); line-height: 0.92; margin-bottom: 14px; }
body.is-mobile .hero-stars { font-size: 1.3rem; top: -6px; }
body.is-mobile .tagline { font-size: 1.1rem; margin-bottom: 22px; }
body.is-mobile .tagline #bigDays { font-size: 1.25em; padding: 0 8px; }

body.is-mobile .mode-switch { padding: 3px; gap: 3px; }
body.is-mobile .mode-btn { font-size: 0.72rem; padding: 6px 12px; }
body.is-mobile .mode-hint { font-size: 0.85rem; }
body.is-mobile .mode-hint.show { margin-bottom: 18px; }

body.is-mobile .countdown { gap: 4px; margin-bottom: 24px; }
body.is-mobile .unit {
  padding: 10px 8px;
  min-width: 0;
  flex: 1 1 0;
  border-width: 2px;
  border-radius: 14px;
  transform: rotate(0);
}
body.is-mobile .unit:hover { transform: none; }
body.is-mobile .num { font-size: clamp(1.6rem, 8vw, 2.4rem); }
body.is-mobile .label { font-size: 0.6rem; letter-spacing: 0.05em; margin-top: 3px; }
body.is-mobile .sep { display: none; }

body.is-mobile .progress { height: 12px; width: 100%; }
body.is-mobile .progress-label { font-size: 0.7rem; top: 14px; }
body.is-mobile .platforms { font-size: 1.1rem; margin-top: 28px; }
body.is-mobile .scroll-hint { margin-top: 32px; font-size: 0.95rem; }

body.is-mobile .marquee { padding: 12px 0; }
body.is-mobile .marquee-track { font-size: 1rem; }
body.is-mobile .marquee-half { gap: 26px; padding-right: 26px; }

body.is-mobile .section { padding: 60px 14px; }
body.is-mobile .section-title { font-size: clamp(1.4rem, 5vw, 1.9rem); margin-bottom: 26px; }
body.is-mobile .eyebrow { font-size: 0.7rem; letter-spacing: 0.2em; margin-bottom: 8px; }

body.is-mobile .bye-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
body.is-mobile .bye-card { padding: 16px 10px; border-radius: 14px; gap: 6px; }
body.is-mobile .bye-icon { font-size: 1.7rem; }
body.is-mobile .bye-text { font-size: 0.8rem; }
body.is-mobile .bye-x { width: 22px; height: 22px; font-size: 0.7rem; top: 6px; right: 8px; }
body.is-mobile .bye-card .bye-remove { width: 20px; height: 20px; font-size: 0.7rem; top: 6px; left: 8px; }

body.is-mobile .bye-add { padding: 14px 14px 16px; border-radius: 16px; }
body.is-mobile .bye-add-label { font-size: 0.85rem; margin-bottom: 8px; }
body.is-mobile .bye-add-row { gap: 6px; }
body.is-mobile .bye-add-icon, body.is-mobile .bye-add-text { font-size: 0.9rem; padding: 9px 11px; border-radius: 10px; }
body.is-mobile .bye-add-icon { width: 50px; font-size: 1.2rem; }
body.is-mobile .bye-add-btn { font-size: 0.85rem; padding: 9px 14px; border-radius: 10px; }

body.is-mobile .emoji-picker { width: min(310px, 92vw); padding: 10px; }
body.is-mobile .emoji-search { font-size: 0.85rem; padding: 6px 10px; }
body.is-mobile .emoji-tab { font-size: 1rem; width: 28px; height: 28px; }
body.is-mobile .emoji-grid { grid-template-columns: repeat(7, 1fr); max-height: 200px; }
body.is-mobile .emoji-cell { font-size: 1.2rem; padding: 3px; }
body.is-mobile .emoji-paste { font-size: 0.85rem; padding: 6px 10px; }
body.is-mobile .emoji-paste-btn { font-size: 0.8rem; padding: 6px 12px; }

body.is-mobile .bye-line { font-size: 1.4rem; }
body.is-mobile .bye-big { font-size: clamp(2.2rem, 11vw, 3.4rem); }
body.is-mobile .bye-final { margin-top: 36px; }

body.is-mobile .site-footer { padding: 50px 14px; }
body.is-mobile .footer-emoji { font-size: 1.3rem; letter-spacing: 0.1em; margin-bottom: 12px; }
body.is-mobile .footer-line { font-size: 1.05rem; }
body.is-mobile .footer-fine { font-size: 0.72rem; }

body.is-mobile .mini-bar { font-size: 0.72rem; padding: 6px 12px; gap: 8px; top: 8px; }
body.is-mobile .mini-cta { padding: 3px 9px; font-size: 0.7rem; }
body.is-mobile .mini-emoji { font-size: 0.95rem; }

body.is-mobile .audio-panel { bottom: 12px; left: 12px; padding: 5px 10px 5px 5px; gap: 7px; }
body.is-mobile .ap-mute { width: 36px; height: 36px; }
body.is-mobile .ap-mute svg { width: 17px; height: 17px; }
body.is-mobile .ap-volume { width: 60px; }
body.is-mobile .ap-label { display: none; }

body.is-mobile .sh-card { max-width: 320px; padding: 22px 20px 18px; border-radius: 22px; border-width: 3px; }
body.is-mobile .sh-emoji { font-size: 2.6rem; margin-bottom: 8px; }
body.is-mobile .sh-title { font-size: 1.4rem; margin-bottom: 8px; }
body.is-mobile .sh-text { font-size: 0.9rem; margin-bottom: 16px; }
body.is-mobile .sh-ok { font-size: 0.95rem; padding: 10px 22px; }
body.is-mobile .sh-skip { font-size: 0.8rem; margin-top: 10px; }

/* ========== Reveal anim ========== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
