/* ════════════════════════════════════════════════════
   MILO & WILLOW — Main CSS
   Brand palette + shared components for parent-facing pages
   ════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Luckiest+Guy&family=Nunito:wght@400;600;700;800;900&display=swap');

:root {
  --navy:    #1B4F8A;
  --blue:    #42B8EC;
  --yellow:  #FFE020;
  --green:   #6BCB77;
  --coral:   #FF6B6B;
  --purple:  #A855F7;
  --peach:   #FFB347;
  --bg:      #EFF8FF;
  --white:   #FFFFFF;
  --text:    #1B3A5C;
  --muted:   #5C82A0;
  --radius:  20px;
  --radius-sm: 12px;
  --shadow:  0 8px 32px rgba(27,79,138,.12);
  --shadow-lg: 0 20px 60px rgba(27,79,138,.18);
  --header-h: 120px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #E8F4FD; }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 4px; }

/* ══════════════════════════════
   HEADER / NAV
   ══════════════════════════════ */
.site-header {
  position: sticky; top: 0; z-index: 200;
  height: var(--header-h);
  background: linear-gradient(135deg, var(--navy) 0%, #2563ab 100%);
  display: flex; align-items: center;
  padding: 0 32px;
  gap: 20px;
  box-shadow: 0 4px 24px rgba(27,79,138,.4);
}

.logo-link {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.site-logo-img {
  height: 162px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.25));
}
/* Legacy text fallback (kept for footer use) */
.logo-icon {
  width: 48px; height: 48px;
  background: var(--yellow);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; flex-shrink: 0;
  box-shadow: 0 3px 12px rgba(0,0,0,.2);
}
.logo-text {
  font-family: 'Luckiest Guy', cursive;
  font-size: 22px;
  color: #fff;
  letter-spacing: 1px;
  line-height: 1;
}
.logo-text span { color: var(--yellow); }

.site-nav {
  display: flex; gap: 4px; margin-left: 32px;
}
.site-nav a {
  padding: 8px 16px;
  color: rgba(255,255,255,.8);
  text-decoration: none;
  font-weight: 700;
  font-size: 20px;
  border-radius: 30px;
  transition: all .2s;
}
.site-nav a:hover,
.site-nav a.active {
  background: rgba(255,255,255,.18);
  color: #fff;
}

.header-right {
  margin-left: auto;
  display: flex; align-items: center; gap: 14px;
}

/* Mobile hamburger + slide-in drawer (shown ≤900px; see RESPONSIVE below) */
.mw-hamburger {
  display: none;
  width: 46px; height: 46px; flex-shrink: 0;
  align-items: center; justify-content: center;
  background: rgba(255,255,255,.18); border: 2px solid rgba(255,255,255,.35);
  color: #fff; border-radius: 12px; font-size: 24px; line-height: 1; cursor: pointer;
}
.mw-hamburger:hover { background: rgba(255,255,255,.3); }
.mw-drawer { position: fixed; inset: 0; z-index: 400; background: rgba(15,42,72,.55); display: none; }
.mw-drawer.open { display: block; }
.mw-drawer-panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(82vw, 320px);
  background: linear-gradient(160deg, var(--navy), #2563ab);
  box-shadow: -8px 0 32px rgba(0,0,0,.35);
  padding: 18px 16px; display: flex; flex-direction: column; gap: 4px; overflow-y: auto;
  transform: translateX(100%); transition: transform .25s ease;
}
.mw-drawer.open .mw-drawer-panel { transform: translateX(0); }
.mw-drawer-close {
  align-self: flex-end; width: 42px; height: 42px; margin-bottom: 6px;
  background: rgba(255,255,255,.15); border: none; color: #fff;
  border-radius: 10px; font-size: 20px; cursor: pointer;
}
.mw-drawer a {
  color: #fff; text-decoration: none; font-weight: 800; font-size: 18px;
  padding: 13px 14px; border-radius: 12px;
}
.mw-drawer a:hover { background: rgba(255,255,255,.16); }

/* Language selector */
.lang-picker {
  position: relative;
  display: flex; align-items: center; gap: 6px;
}
.lang-picker button {
  background: rgba(255,255,255,.18);
  border: 2px solid rgba(255,255,255,.35);
  border-radius: 20px;
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 13px;
  padding: 6px 14px;
  cursor: pointer;
  display: flex; align-items: center; gap: 6px;
  transition: all .2s;
}
.lang-picker button:hover { background: rgba(255,255,255,.28); }
.lang-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  min-width: 160px;
  overflow: hidden;
  display: none;
  z-index: 300;
}
.lang-dropdown.open { display: block; }
.lang-dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  transition: background .15s;
}
.lang-dropdown a:hover { background: var(--bg); }
.lang-dropdown a.active { color: var(--navy); background: #EDF6FF; }

.header-login {
  background: var(--yellow);
  border: none;
  border-radius: 30px;
  padding: 9px 22px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: var(--navy);
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
}
.header-login:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(255,224,32,.4); }

/* ══════════════════════════════
   HERO
   ══════════════════════════════ */
.hero {
  position: relative;
  background: linear-gradient(150deg, #1B4F8A 0%, #2169b8 40%, #42B8EC 100%);
  min-height: 85vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  padding: 60px 32px;
  text-align: center;
}

.hero-bg-notes {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
  z-index: 2;
}
.note {
  position: absolute;
  font-size: 28px;
  opacity: .15;
  animation: float-note linear infinite;
}
@keyframes mwEpPulse { 0%,100%{ box-shadow:0 0 0 0 rgba(255,224,32,0); } 25%,65%{ box-shadow:0 0 0 5px rgba(255,224,32,.95); } }
.mw-ep-highlight { animation: mwEpPulse 1.3s ease-in-out 2; border-radius:16px; scroll-margin-top:90px; }

@keyframes float-note {
  0%   { transform: translateY(0) rotate(0deg); opacity: .12; }
  50%  { opacity: .22; }
  100% { transform: translateY(-110vh) rotate(360deg); opacity: 0; }
}

.hero-characters {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: auto;
  pointer-events: none;
  z-index: 1;
}

.hero-content { position: relative; z-index: 3; max-width: 760px; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.18);
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: 30px;
  padding: 6px 18px;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .8px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h1 {
  font-family: 'Luckiest Guy', cursive;
  font-size: clamp(52px, 8vw, 96px);
  color: #fff;
  line-height: 1;
  letter-spacing: 2px;
  margin-bottom: 8px;
  text-shadow: 0 4px 20px rgba(0,0,0,.2);
}
.hero h1 .yellow { color: var(--yellow); }

.hero-tagline {
  font-size: clamp(16px, 2.5vw, 20px);
  color: rgba(255,255,255,.9);
  font-weight: 600;
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto 32px;
}

.hero-quote {
  display: inline-block;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255,255,255,.3);
  border-radius: var(--radius);
  padding: 18px 28px;
  font-family: 'Luckiest Guy', cursive;
  font-size: clamp(14px, 2vw, 18px);
  color: var(--yellow);
  letter-spacing: .5px;
  margin-bottom: 40px;
}

.hero-cta-pair {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}

.btn-hero-kids {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--yellow);
  color: var(--navy);
  font-family: 'Luckiest Guy', cursive;
  font-size: 20px;
  letter-spacing: 1px;
  padding: 16px 36px;
  border-radius: 50px;
  text-decoration: none;
  border: none; cursor: pointer;
  transition: all .25s;
  box-shadow: 0 8px 24px rgba(255,224,32,.3);
}
.btn-hero-kids:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 16px 40px rgba(255,224,32,.5); }

.btn-hero-parents {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent;
  color: #fff;
  font-family: 'Luckiest Guy', cursive;
  font-size: 20px;
  letter-spacing: 1px;
  padding: 16px 36px;
  border-radius: 50px;
  text-decoration: none;
  border: 2.5px solid rgba(255,255,255,.6); cursor: pointer;
  transition: all .25s;
}
.btn-hero-parents:hover {
  background: rgba(255,255,255,.18);
  border-color: #fff;
  transform: translateY(-4px);
}

/* ══════════════════════════════
   SECTION COMMON
   ══════════════════════════════ */
section { padding: 80px 32px; }

.section-label {
  display: inline-block;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 30px;
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Luckiest Guy', cursive;
  font-size: clamp(28px, 4vw, 44px);
  color: var(--navy);
  letter-spacing: 1px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.6;
  max-width: 560px;
}

/* ══════════════════════════════
   FREE CONTENT / SUBSCRIBE SECTION
   ══════════════════════════════ */
.subscribe-section {
  background: #fff;
  position: relative;
  overflow: hidden;
}
.subscribe-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(66,184,236,.06) 0%, transparent 70%),
              radial-gradient(ellipse at 20% 80%, rgba(255,224,32,.08) 0%, transparent 60%);
}

.subscribe-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}

.free-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}

.feature-chip {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  transition: all .2s;
  cursor: default;
}
.feature-chip:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.feature-chip .chip-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.feature-chip .chip-text { font-weight: 700; font-size: 13px; color: var(--text); }

.chip-icon.blue   { background: #DBEAFE; }
.chip-icon.yellow { background: #FFFDE7; }
.chip-icon.green  { background: #DCFCE7; }
.chip-icon.coral  { background: #FFE4E6; }
.chip-icon.purple { background: #F3E8FF; }

/* Subscribe form card */
.subscribe-card {
  background: linear-gradient(145deg, var(--navy) 0%, #2169b8 100%);
  border-radius: 28px;
  padding: 44px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.subscribe-card::after {
  content: '🎵';
  position: absolute; bottom: -10px; right: 16px;
  font-size: 100px; opacity: .07;
  transform: rotate(-15deg);
}

.subscribe-card h3 {
  font-family: 'Luckiest Guy', cursive;
  font-size: 28px;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.subscribe-card p {
  color: rgba(255,255,255,.75);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 28px;
  line-height: 1.5;
}

.form-group {
  display: flex; flex-direction: column; gap: 12px;
}
.form-group input {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid rgba(255,255,255,.25);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.12);
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 600;
  outline: none;
  transition: border-color .2s;
}
.form-group input::placeholder { color: rgba(255,255,255,.5); }
.form-group input:focus { border-color: var(--yellow); }

.btn-subscribe {
  width: 100%;
  padding: 16px;
  background: var(--yellow);
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'Luckiest Guy', cursive;
  font-size: 18px;
  color: var(--navy);
  letter-spacing: 1px;
  cursor: pointer;
  transition: all .2s;
  margin-top: 4px;
}
.btn-subscribe:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,224,32,.4); }
.btn-subscribe:active { transform: translateY(0); }

.form-agree {
  font-size: 11px;
  color: rgba(255,255,255,.55);
  text-align: center;
  font-weight: 600;
  margin-top: 10px;
}

/* ══════════════════════════════
   SPLIT CTA SECTION
   ══════════════════════════════ */
.split-cta {
  background: linear-gradient(135deg, var(--navy) 0%, #1a5fb4 100%);
  padding: 80px 32px;
  text-align: center;
}
.split-cta h2 {
  font-family: 'Luckiest Guy', cursive;
  font-size: clamp(28px, 4vw, 48px);
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.split-cta p {
  color: rgba(255,255,255,.75);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 48px;
}

.split-cards {
  display: flex; gap: 24px; justify-content: center;
  max-width: 900px; margin: 0 auto;
  flex-wrap: wrap;
}

.split-card {
  flex: 1; min-width: 280px; max-width: 400px;
  border-radius: 28px;
  padding: 44px 36px;
  text-align: center;
  text-decoration: none;
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
.split-card::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 28px;
  opacity: 0;
  transition: opacity .3s;
  background: rgba(255,255,255,.08);
}
.split-card:hover::after { opacity: 1; }
.split-card:hover { transform: translateY(-8px); }

.split-card.kids {
  background: linear-gradient(145deg, var(--yellow) 0%, var(--peach) 100%);
  box-shadow: 0 12px 40px rgba(255,224,32,.3);
}
.split-card.parents {
  background: linear-gradient(145deg, var(--green) 0%, #3cbf6e 100%);
  box-shadow: 0 12px 40px rgba(107,203,119,.3);
}

.split-card-icon {
  font-size: 64px;
  margin-bottom: 16px;
  display: block;
  animation: bounce-icon 2s ease-in-out infinite;
}
@keyframes bounce-icon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.split-card .kids & .split-card-icon { animation-delay: 0s; }
.split-card .parents & .split-card-icon { animation-delay: .5s; }

.split-card h3 {
  font-family: 'Luckiest Guy', cursive;
  font-size: 32px;
  color: var(--navy);
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.split-card p {
  font-size: 14px;
  font-weight: 600;
  color: rgba(27,79,138,.75);
  margin-bottom: 28px;
  line-height: 1.5;
}
.split-card-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 30px;
  transition: gap .2s;
}
.split-card:hover .split-card-arrow { gap: 14px; }

/* ══════════════════════════════
   EPISODE CARDS
   ══════════════════════════════ */
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 32px auto 0;
}

.ep-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all .25s;
  text-decoration: none;
  display: flex; flex-direction: column;
}
.ep-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.ep-card-thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  display: flex; align-items: center; justify-content: center;
  font-size: 48px;
  position: relative;
}
.ep-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 800;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 20px;
}
.ep-card-body { padding: 16px; flex: 1; }
.ep-card-title { font-weight: 800; font-size: 15px; color: var(--text); margin-bottom: 4px; }
.ep-card-sub { font-size: 12px; color: var(--muted); font-weight: 600; }

/* ══════════════════════════════
   PAGE HERO (sub pages)
   ══════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #2169b8 100%);
  padding: 60px 32px;
  text-align: center;
}
.page-hero h1 {
  font-family: 'Luckiest Guy', cursive;
  font-size: clamp(36px, 5vw, 60px);
  color: #fff;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}
.page-hero p {
  font-size: 17px;
  color: rgba(255,255,255,.8);
  font-weight: 600;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ══════════════════════════════
   CONTENT WRAPPER
   ══════════════════════════════ */
.content-wrap {
  max-width: 1100px;
  margin: 0 auto;
}

/* ══════════════════════════════
   DOWNLOADS GRID
   ══════════════════════════════ */
.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.dl-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 16px;
  text-decoration: none;
  transition: all .25s;
  border: 2px solid transparent;
}
.dl-card:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.dl-card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; flex-shrink: 0;
}
.dl-card-body { flex: 1; }
.dl-card-title { font-weight: 800; font-size: 15px; color: var(--text); margin-bottom: 2px; }
.dl-card-meta { font-size: 12px; color: var(--muted); font-weight: 600; }
.dl-card-arrow {
  color: var(--blue);
  font-size: 20px;
  transition: transform .2s;
}
.dl-card:hover .dl-card-arrow { transform: translateX(4px); }

/* ══════════════════════════════
   SHOP CARDS
   ══════════════════════════════ */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.shop-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all .25s;
  display: flex; flex-direction: column;
}
.shop-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.shop-card-img {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--bg), #ddf0ff);
  display: flex; align-items: center; justify-content: center;
  font-size: 72px;
}
.shop-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.shop-card-title { font-weight: 800; font-size: 16px; color: var(--text); margin-bottom: 4px; }
.shop-card-desc { font-size: 13px; color: var(--muted); font-weight: 600; flex: 1; margin-bottom: 14px; line-height: 1.5; }
.shop-card-footer { display: flex; align-items: center; justify-content: space-between; }
.shop-price { font-family: 'Luckiest Guy', cursive; font-size: 20px; color: var(--navy); }
.btn-shop {
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 8px 18px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  transition: all .2s;
}
.btn-shop:hover { background: var(--blue); transform: scale(1.05); }

/* Tier cards */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.tier-card {
  border-radius: 24px;
  padding: 36px 28px;
  text-align: center;
  position: relative;
}
.tier-card.free   { background: #fff; border: 2.5px solid #E2E8F0; }
.tier-card.silver { background: linear-gradient(145deg, #F0F4FF, #E8EEFF); border: 2.5px solid #A0AEFF; }
.tier-card.gold   { background: linear-gradient(145deg, #FFFCE5, #FFF3CC); border: 2.5px solid var(--yellow); }
.tier-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: 4px 16px; border-radius: 20px;
  font-weight: 800; font-size: 11px; letter-spacing: 1px; text-transform: uppercase;
}
.tier-card.free   .tier-badge { background: #E2E8F0; color: var(--muted); }
.tier-card.silver .tier-badge { background: #A0AEFF; color: #fff; }
.tier-card.gold   .tier-badge { background: var(--yellow); color: var(--navy); }
.tier-card h3 {
  font-family: 'Luckiest Guy', cursive;
  font-size: 28px;
  color: var(--navy);
  margin: 12px 0 8px;
  letter-spacing: .5px;
}
.tier-price {
  font-size: 36px; font-weight: 900; color: var(--text); margin-bottom: 4px;
}
.tier-price span { font-size: 15px; color: var(--muted); font-weight: 600; }
.tier-features { list-style: none; margin: 20px 0 28px; text-align: left; }
.tier-features li {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 14px; color: var(--text);
  padding: 6px 0; border-bottom: 1px solid rgba(0,0,0,.05);
}
.tier-features li::before { content: '✓'; color: var(--green); font-weight: 900; }
.btn-tier {
  width: 100%; padding: 14px;
  border-radius: 20px; border: none;
  font-family: 'Nunito', sans-serif;
  font-weight: 800; font-size: 15px;
  cursor: pointer; transition: all .2s;
}
.tier-card.free   .btn-tier { background: var(--bg); color: var(--navy); }
.tier-card.silver .btn-tier { background: #6C7DFF; color: #fff; }
.tier-card.gold   .btn-tier { background: var(--yellow); color: var(--navy); }
.btn-tier:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.12); }

/* ══════════════════════════════
   NEWS CARDS
   ══════════════════════════════ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.news-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all .25s;
  text-decoration: none;
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.news-card-header {
  height: 180px;
  display: flex; align-items: center; justify-content: center;
  font-size: 64px;
}
.news-card-body { padding: 20px 24px 24px; }
.news-date { font-size: 11px; color: var(--muted); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; }
.news-title { font-weight: 900; font-size: 18px; color: var(--text); margin-bottom: 8px; line-height: 1.35; }
.news-excerpt { font-size: 14px; color: var(--muted); font-weight: 600; line-height: 1.6; }

/* ══════════════════════════════
   PROFILE
   ══════════════════════════════ */
.profile-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  max-width: 1100px;
  margin: 48px auto;
  padding: 0 32px;
  align-items: start;
}
.profile-sidebar {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.profile-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
  margin: 0 auto 16px;
  box-shadow: 0 4px 16px rgba(27,79,138,.3);
}
.profile-name { font-weight: 900; font-size: 18px; text-align: center; color: var(--text); }
.profile-email { font-size: 13px; color: var(--muted); font-weight: 600; text-align: center; margin-bottom: 20px; }
.profile-tier {
  display: inline-block;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 800;
  font-size: 12px;
  padding: 4px 14px;
  border-radius: 20px;
  margin: 0 auto 24px;
  display: block; width: fit-content; text-align: center;
}
.profile-nav { list-style: none; }
.profile-nav li a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 12px;
  border-radius: var(--radius-sm);
  color: var(--text); text-decoration: none;
  font-weight: 700; font-size: 14px;
  transition: all .15s;
}
.profile-nav li a:hover,
.profile-nav li a.active { background: var(--bg); color: var(--navy); }

.profile-main {
  display: flex; flex-direction: column; gap: 24px;
}
.profile-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.profile-card h3 { font-weight: 900; font-size: 18px; color: var(--text); margin-bottom: 20px; }
.profile-form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px;
}
.profile-form-group { display: flex; flex-direction: column; gap: 6px; }
.profile-form-group label { font-weight: 800; font-size: 12px; letter-spacing: .5px; color: var(--muted); }
.profile-form-group input {
  padding: 12px 16px;
  border: 2px solid #E2E8F0;
  border-radius: var(--radius-sm);
  font-family: 'Nunito', sans-serif;
  font-size: 14px; font-weight: 600;
  color: var(--text);
  outline: none;
  transition: border-color .2s;
}
.profile-form-group input:focus { border-color: var(--blue); }
.btn-save {
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px 28px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800; font-size: 14px;
  cursor: pointer;
  transition: all .2s;
}
.btn-save:hover { background: var(--blue); transform: translateY(-2px); }

/* ══════════════════════════════
   ABOUT
   ══════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.about-visual {
  aspect-ratio: 1;
  background: linear-gradient(145deg, #EFF8FF, #DBEAFE);
  border-radius: 28px;
  display: flex; align-items: center; justify-content: center;
  font-size: 100px;
  box-shadow: var(--shadow-lg);
}
.about-text h2 { margin-bottom: 16px; }
.about-text p {
  font-size: 16px; color: var(--muted); font-weight: 600;
  line-height: 1.8; margin-bottom: 16px;
}
.mission-box {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: var(--radius);
  padding: 28px;
  margin-top: 28px;
}
.mission-box p {
  font-family: 'Luckiest Guy', cursive;
  font-size: 18px;
  color: var(--yellow);
  letter-spacing: .5px;
  margin: 0;
}

/* ══════════════════════════════
   FOOTER
   ══════════════════════════════ */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.75);
  padding: 60px 32px 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto 48px;
}
.footer-brand p {
  font-size: 14px; font-weight: 600; line-height: 1.7; margin-top: 14px;
  max-width: 280px;
}
.footer-col h4 {
  color: #fff; font-weight: 900; font-size: 13px;
  letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 10px;
  transition: color .15s;
}
.footer-col a:hover { color: var(--yellow); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 28px;
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 13px; font-weight: 600; }

/* ══════════════════════════════
   RESPONSIVE
   ══════════════════════════════ */
@media (max-width: 900px) {
  .subscribe-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .profile-layout { grid-template-columns: 1fr; }
  .site-nav { display: none; }
  .mw-hamburger { display: flex; }
  .header-right .header-login { display: none; }   /* lives in the drawer on mobile */
}
@media (max-width: 600px) {
  section { padding: 60px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .subscribe-card { padding: 28px 20px; }
  .free-features { grid-template-columns: 1fr; }
  .profile-form-row { grid-template-columns: 1fr; }
}

/* ══════════════════════════════
   RELEASE GATING — locked "Coming <date>" cards
   Shown for episodes/karaoke not yet released; keeps the season shape visible.
   ══════════════════════════════ */
.mw-locked { cursor: default !important; }
.mw-locked .ep-thumb > span,
.mw-locked .kara-emoji, .mw-locked .kara-ep-emoji { filter: grayscale(1) brightness(.95); opacity: .5; }
.mw-lock-veil {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(15,42,72,.30); z-index: 2;
}
.mw-lock-veil .mw-lock-ic { font-size: 34px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.4)); }
.mw-coming {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 900; font-size: 13px; color: var(--muted);
  background: var(--bg); border-radius: 999px; padding: 8px 14px; margin-top: 4px;
  align-self: flex-start;
}
.mw-coming::before { content: '🔒'; font-size: 13px; }

/* Parent Guide (static) locked cards */
.ep-card.ep-locked { opacity: .72; }
.ep-card.ep-locked .ep-locked-body {
  display: flex; align-items: center; gap: 10px; margin-top: 14px;
  font-weight: 900; font-size: 14px; color: var(--muted);
}
.ep-card.ep-locked .ep-lock-icon { font-size: 20px; }

/* ══════════════════════════════
   SHOP — product photos + SOLD OUT bar
   ══════════════════════════════ */
.shop-card-img { position: relative; overflow: hidden; }
.shop-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shop-card.sold-out .shop-card-img::before {
  content: ''; position: absolute; inset: 0; background: rgba(20,40,70,.30); z-index: 1;
}
.shop-card.sold-out .sold-out-bar {
  position: absolute; z-index: 2; top: 50%; left: -10%; width: 120%;
  transform: translateY(-50%) rotate(-8deg);
  background: var(--coral); color: #fff;
  font-family: 'Luckiest Guy', cursive; letter-spacing: 2px; text-transform: uppercase;
  text-align: center; padding: 10px 0; font-size: 22px;
  box-shadow: 0 6px 18px rgba(0,0,0,.28);
}
.shop-card.sold-out:hover { transform: none; box-shadow: var(--shadow); }
.btn-shop[disabled] { background: #B8C4D2; color: #fff; cursor: not-allowed; }
.btn-shop[disabled]:hover { background: #B8C4D2; transform: none; }

/* Shop — COMING SOON product bar (blue, distinct from the coral SOLD OUT) */
.shop-card.coming-soon .shop-card-img::before {
  content: ''; position: absolute; inset: 0; background: rgba(20,40,70,.22); z-index: 1;
}
.shop-card.coming-soon .coming-soon-bar {
  position: absolute; z-index: 2; top: 50%; left: -10%; width: 120%;
  transform: translateY(-50%) rotate(-8deg);
  background: var(--blue); color: #fff;
  font-family: 'Luckiest Guy', cursive; letter-spacing: 2px; text-transform: uppercase;
  text-align: center; padding: 10px 0; font-size: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,.28);
}
.shop-card.coming-soon:hover { transform: none; box-shadow: var(--shadow); }

/* Upgrade Plans — single-tier (Free only) layout while paid tiers are paused */
.tier-grid.single { grid-template-columns: minmax(280px, 360px); justify-content: center; }

/* Accounts are not live yet: signup/login UI stays hidden until the
   subscriber + downloads work is finished. Remove this class from the
   markup to bring those sections back. */
.accounts-disabled { display: none !important; }
