:root {
  --mint: #7fd1c0;
  --mint-deep: #3e9c8a;
  --plum: #5b2a6e;
  --plum-soft: #8a4fa3;
  --cream: #fbf6ec;
  --cream-2: #f3ead8;
  --ink: #2f2140;
  --muted: #6b5d78;
  --gold: #ffc93c;
  --violet: #a46bff;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(91, 42, 110, 0.14);
  --font: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", "Nunito", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  font-size: 18px;
}
img { max-width: 100%; display: block; }
a { color: var(--plum); }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 246, 236, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--cream-2);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--plum); font-weight: 900; font-size: 1.35rem; }
.brand img { width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--mint); }
.nav { display: flex; gap: 6px; flex-wrap: wrap; }
.nav a { text-decoration: none; font-weight: 800; padding: 8px 12px; border-radius: 999px; color: var(--plum); font-size: 0.95rem; }
.nav a:hover { background: var(--cream-2); }
.nav a.cta { background: #ff0033; color: #fff; }
.nav a.cta:hover { background: #d4002b; }
@media (max-width: 760px) { .nav a:not(.cta) { display: none; } }

/* Hero */
.hero {
  background: linear-gradient(120deg, #7fe0cc 0%, #fff1c9 50%, #c79bff 100%);
  padding: 48px 0 56px;
  overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; align-items: center; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } }
.kicker { display: inline-block; background: #fff; color: var(--plum); font-weight: 900; padding: 6px 14px; border-radius: 999px; font-size: 0.9rem; box-shadow: var(--shadow); }
h1, h2, h3 { line-height: 1.12; color: var(--plum); margin: 0 0 12px; }
h1 { font-size: clamp(2.3rem, 6vw, 3.8rem); font-weight: 900; margin-top: 14px; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; }
h3 { font-size: 1.3rem; font-weight: 900; }
.lead { font-size: 1.2rem; color: var(--ink); max-width: 34em; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px; font-weight: 900; text-decoration: none;
  border: 0; cursor: pointer; font-family: inherit; font-size: 1.05rem;
  box-shadow: var(--shadow); transition: transform .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.red { background: #ff0033; color: #fff; }
.btn.plum { background: var(--plum); color: #fff; }
.btn.white { background: #fff; color: var(--plum); }

/* Player */
.player {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 18px 40px rgba(47, 33, 64, 0.25); border: 6px solid #fff; background: #000;
  aspect-ratio: 16 / 9;
}
.player img { width: 100%; height: 100%; object-fit: cover; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player button.play {
  position: absolute; inset: 0; margin: auto; width: 96px; height: 96px; border-radius: 50%;
  background: rgba(255, 0, 51, 0.92); border: 5px solid #fff; cursor: pointer;
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.player button.play::after { content: ""; border-left: 30px solid #fff; border-top: 19px solid transparent; border-bottom: 19px solid transparent; margin-left: 8px; }
.player .soon {
  position: absolute; left: 12px; bottom: 12px; background: rgba(255,255,255,.95); color: var(--plum);
  padding: 6px 12px; border-radius: 999px; font-weight: 900; font-size: .9rem;
}

/* Sections */
section { padding: 64px 0; }
section.alt { background: #fff; }
.center { text-align: center; }
.sub { color: var(--muted); max-width: 40em; margin: 0 auto 28px; font-size: 1.1rem; }

/* Glow tail game */
.glow-game { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: center; }
@media (max-width: 860px) { .glow-game { grid-template-columns: 1fr; } }
.tail-stage {
  background: var(--cream); border-radius: var(--radius); padding: 28px; text-align: center;
  box-shadow: inset 0 0 0 4px var(--cream-2);
}
.tail-svg { width: min(320px, 100%); margin: 0 auto; }
.tail-svg .tip { transition: fill .4s ease, filter .4s ease, transform .4s ease; transform-origin: 150px 120px; }
.glow-say { font-size: 1.6rem; font-weight: 900; color: var(--plum); min-height: 2.2em; margin-top: 8px; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 12px; }
.swatch {
  border: 0; border-radius: 18px; padding: 14px 10px; cursor: pointer; font-family: inherit;
  font-weight: 900; font-size: 1rem; color: var(--ink); background: #fff;
  box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; gap: 8px;
  transition: transform .15s ease;
}
.swatch:hover, .swatch:focus-visible { transform: scale(1.05); outline: 3px solid var(--plum-soft); }
.swatch .dot { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 18px var(--c); background: var(--c); }
.swatch small { font-weight: 700; color: var(--muted); }

/* Friends */
.friends { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.card .pic { aspect-ratio: 1; background: var(--cream-2); }
.card .pic img { width: 100%; height: 100%; object-fit: cover; }
.card .pic.firefly { display: grid; place-items: center; background: radial-gradient(circle at 50% 45%, #fff6c4 0%, #ffe27a 22%, #2f2140 70%); }
.card .pic.firefly span { font-size: 5rem; }
.card .body { padding: 18px 20px 22px; }
.card .tag { display: inline-block; background: var(--cream-2); color: var(--plum); font-weight: 800; border-radius: 999px; padding: 3px 10px; font-size: .85rem; margin-bottom: 8px; }

/* Episodes */
.episodes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.ep .pic { aspect-ratio: 16/9; position: relative; }
.ep .pic img { width: 100%; height: 100%; object-fit: cover; }
.ep .num { position: absolute; top: 10px; left: 10px; background: var(--plum); color: #fff; font-weight: 900; padding: 4px 12px; border-radius: 999px; font-size: .9rem; }
.ep.upcoming .pic { display: grid; place-items: center; background: linear-gradient(135deg, var(--c1, #7fe0cc), var(--c2, #c79bff)); color: #fff; font-weight: 900; font-size: 1.4rem; text-shadow: 0 2px 8px rgba(0,0,0,.25); text-align: center; padding: 16px; }

/* Song */
.song { background: linear-gradient(135deg, #fff1c9, #ffd9ec); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.song p { font-size: 1.25rem; font-weight: 800; color: var(--plum); margin: 0; white-space: pre-line; }

/* Parents */
.parent-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.tip { background: var(--cream); border-radius: var(--radius); padding: 22px; border: 3px solid var(--cream-2); }
.tip .icon { font-size: 2rem; }

/* Glow chart CTA */
.chart-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; background: var(--plum); color: #fff; border-radius: 28px; padding: 36px; }
.chart-cta h2, .chart-cta p { color: #fff; }
@media (max-width: 860px) { .chart-cta { grid-template-columns: 1fr; padding: 24px; } }
.mini-chart { background: var(--cream); border-radius: 20px; padding: 18px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.mini-chart div { aspect-ratio: 1; border-radius: 50%; background: var(--c); box-shadow: 0 0 14px var(--c); }

/* Follow */
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.socials a { background: #fff; padding: 12px 18px; border-radius: 999px; text-decoration: none; font-weight: 900; box-shadow: var(--shadow); }

/* Footer */
footer { background: var(--ink); color: #e8dff0; padding: 36px 0; font-size: .95rem; }
footer a { color: #fff; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }

/* Prose pages */
.prose { max-width: 760px; margin: 0 auto; padding: 48px 0; }
.prose h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.prose h2 { font-size: 1.5rem; margin-top: 28px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
