/* ===========================
   Lolli Learning — Brand Tokens
   =========================== */
:root {
  --purple: #9B4DCA;
  --purple-dark: #6E2E96;
  --gold: #F5A623;
  --gold-soft: #FDF0D9;
  --teal: #1FA882;
  --white: #FFFFFF;
  --cream: #FFF9F0;
  --coral: #FF5C6C;
  --ink: #2D2A26;
  --ink-soft: #6b6259;

  --font-display: "Baloo 2", "Fredoka", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, sans-serif;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-pill: 999px;
  --shadow-soft: 0 10px 30px rgba(155, 77, 202, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  margin: 0 0 0.5em;
  line-height: 1.15;
  color: var(--ink);
}

p { line-height: 1.65; margin: 0 0 1em; }

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================
   Header / Nav
   =========================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 3px solid #F0E2C8;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

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

.brand img { height: 52px; width: auto; }

.main-nav {
  display: flex;
  gap: 6px;
}

.main-nav a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  color: var(--purple-dark);
  transition: background 0.15s ease, color 0.15s ease;
}

.main-nav a:hover { background: #F3E4FA; }

.main-nav a.is-active {
  background: var(--purple);
  color: var(--white);
}

.main-nav a.nav-amazon-btn.is-active {
  background: #FF9900;
  color: #131921;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--purple);
  cursor: pointer;
  padding: 4px 8px;
}

.header-social {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 20px;
  padding-left: 20px;
  border-left: 2px solid #F0E2C8;
}

.header-social img { height: 20px; width: auto; flex-shrink: 0; }
.header-social a { display: flex; flex-shrink: 0; transition: transform 0.15s ease; }
.header-social a:hover { transform: translateY(-2px); }

.header-social .amazon-icon-link,
.footer-social-icons .amazon-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.header-social .amazon-icon-link img {
  height: 20px;
  width: auto;
  flex-shrink: 0;
}

.footer-social-icons .amazon-icon-link img {
  height: 24px;
  width: auto;
  flex-shrink: 0;
}

.header-social .amazon-icon-emoji,
.footer-social-icons .amazon-icon-emoji {
  font-size: 1.7rem;
  line-height: 1;
}

@media (max-width: 680px) {
  .header-social { display: none; }
}

.nav-amazon-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 16px;
  padding: 9px 18px;
  background: #FF9900;
  color: #131921;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 16px rgba(255, 153, 0, 0.4);
  transition: transform 0.15s ease;
  white-space: nowrap;
}

.main-nav a.nav-amazon-btn:hover { background: #FF9900; transform: translateY(-2px); }
.nav-amazon-btn .cart-icon { height: 20px; width: auto; }

/* ===========================
   Buttons
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--gold);
  color: #4A3200;
  box-shadow: 0 8px 20px rgba(245, 166, 35, 0.35);
}

.btn-primary:hover { box-shadow: 0 12px 26px rgba(245, 166, 35, 0.45); }

.btn-outline {
  background: var(--white);
  color: var(--purple-dark);
  border: 2.5px solid var(--purple);
}

.btn-watch {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(31, 168, 130, 0.35);
}

.btn-watch:hover { box-shadow: 0 12px 26px rgba(31, 168, 130, 0.45); }

.resource-card-body .btn-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.resource-card-body .btn-row .btn {
  padding: 13px 24px;
  font-size: 0.95rem;
  width: 100%;
}

/* ===========================
   Hero / sections
   =========================== */
.hero {
  background: var(--cream);
  padding: 56px 0 48px;
  position: relative;
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--purple);
  color: var(--white);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3rem);
  color: var(--ink);
}

.hero h1 .accent { color: var(--purple); }

.hero p.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 46ch;
}

.hero-scene {
  position: relative;
  justify-self: center;
  display: flex;
  align-items: flex-end;
}

.hero-scene .cubby {
  width: 190px;
}

.hero-scene .boone-lab {
  width: 150px;
  margin-left: -28px;
  filter: drop-shadow(0 10px 14px rgba(0,0,0,0.15));
}

section { padding: 56px 0; }

.section-alt { background: #FCF2E0; }

.section-lavender { background: #F1E4FA; }

.video-banner-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.video-banner-left {
  flex: 1 1 420px;
  max-width: 420px;
}

.video-banner-thumb {
  display: block;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin: 0 0 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.video-banner-left .section-intro {
  text-align: left;
  margin: 0;
  max-width: none;
}

.more-coming {
  margin-top: 48px;
  text-align: center;
}

.more-coming h3 {
  color: var(--ink);
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.more-coming p {
  color: var(--ink);
  font-weight: 600;
  font-size: 1.05rem;
  margin: 0 auto 14px;
  max-width: 60ch;
}

.more-coming-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 0;
  margin: 0 auto 14px;
  max-width: 640px;
}

.more-coming-list li {
  background: rgba(255,255,255,0.6);
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
}

.more-coming-cta {
  font-style: italic;
  font-size: 1rem;
  color: var(--ink) !important;
  font-weight: 600 !important;
}

.video-banner-embed {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.kit-embed-scale {
  width: 100%;
  max-width: 340px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.kit-embed {
  width: 340px;
  flex-shrink: 0;
  transform-origin: top center;
}

@media (max-width: 860px) {
  .video-banner-row { flex-direction: column; }
  .video-banner-left { text-align: center; max-width: 420px; }
  .video-banner-left .section-intro { text-align: center; }
}

.section-title {
  text-align: center;
  color: var(--purple-dark);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 12px;
}

.section-intro {
  text-align: center;
  max-width: 60ch;
  margin: 0 auto 40px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* What's here cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.info-card {
  background: var(--white);
  border: 2px solid #F0E2C8;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.info-card .icon {
  font-size: 2.4rem;
  display: block;
  margin-bottom: 12px;
}

.info-card .icon-img {
  height: 46px;
  width: auto;
  margin: 0 auto 14px;
}

.info-card h3 {
  font-size: 1.15rem;
  color: var(--purple-dark);
  margin-bottom: 8px;
}

.info-card p { color: var(--ink-soft); margin: 0; font-size: 0.98rem; }

.cta-center { text-align: center; margin-top: 44px; }

/* ===========================
   About / bio band
   =========================== */
.bio-band {
  background: var(--purple);
  color: var(--white);
  padding: 60px 0;
}

.bio-band .wrap {
  display: flex;
  align-items: stretch;
  gap: 40px;
}

.bio-copy { flex: 1 1 auto; }

.bio-band h2 { color: var(--white); }
.bio-band p { color: #EDE4FF; }

.badge-row {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.badge {
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  text-align: center;
  flex: 1;
  min-width: 130px;
}

.badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
}

.badge span { font-size: 0.85rem; color: #EDE4FF; }

.bio-portrait { flex: 0 0 auto; display: flex; }
.bio-portrait img {
  height: 380px;
  width: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid rgba(255,255,255,0.25);
}

/* ===========================
   Links page
   =========================== */
.links-page {
  background: linear-gradient(180deg, var(--purple) 0%, var(--purple-dark) 100%);
  min-height: calc(100vh - 84px);
  padding: 48px 0 64px;
}

.links-page .wrap { max-width: 560px; }

.links-header {
  text-align: center;
  color: var(--white);
  margin-bottom: 36px;
}

.links-header img.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 18px;
  border: 5px solid rgba(255,255,255,0.35);
}

.links-header h1 { color: var(--white); font-size: 1.9rem; margin-bottom: 6px; }
.links-header p { color: #EDE4FF; margin: 0; }

.link-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.link-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 2.5px solid var(--purple);
  border-radius: 16px;
  padding: 17px 26px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--purple-dark);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  transition: transform 0.15s ease;
}

.link-btn:hover { transform: translateY(-3px) scale(1.01); }

.link-btn .emoji { font-size: 1.4rem; }

.link-btn-icon { height: 28px; width: auto; flex-shrink: 0; }

.link-btn-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left;
}

.link-btn-text strong { font-weight: 700; }

.link-btn-text small {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  opacity: 0.75;
  white-space: normal;
  line-height: 1.3;
}

.link-btn.accent { background: var(--gold); color: #4A3200; border-color: var(--gold); }
.link-btn.coral { background: var(--coral); color: var(--white); border-color: var(--coral); }
.link-btn.teal { background: var(--teal); color: var(--white); border-color: var(--teal); }

.link-btn.coral .link-btn-text small,
.link-btn.teal .link-btn-text small { color: rgba(255,255,255,0.85); }

.link-btn.disabled {
  background: rgba(255,255,255,0.5);
  border: 2.5px dashed rgba(255,255,255,0.5);
  color: rgba(255,255,255,0.8);
  box-shadow: none;
}

.link-btn.disabled:hover { transform: none; }

.links-footer {
  text-align: center;
  margin-top: 40px;
  color: #EDE4FF;
  font-size: 0.9rem;
}

/* ===========================
   Amazon Storefront page
   =========================== */
.shop-hero {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}

.shop-hero .cart-icon-lg {
  height: 64px;
  width: auto;
  display: block;
  margin: 0 auto 12px;
}

.shop-hero h1 {
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  color: var(--purple-dark);
  margin-bottom: 10px;
}

.shop-hero p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.shop-disclosure {
  background: #FFF4E0;
  border: 2px solid #FF9900;
  border-radius: var(--radius-md);
  padding: 14px 20px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #131921;
  text-align: center;
  max-width: 560px;
  margin: 20px auto 0;
}

.shop-search {
  max-width: 480px;
  margin: 0 auto 40px;
}

.shop-search input {
  width: 100%;
  padding: 14px 22px;
  border: 2.5px solid var(--purple);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
}

.shop-search input:focus { outline: none; border-color: var(--purple-dark); }

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 20px;
}

.shop-item {
  background: var(--white);
  border: 2px solid #F0E2C8;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.shop-theme-card {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.shop-theme-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(155, 77, 202, 0.22);
}

.shop-theme-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  background: #F3E4FA;
}

.shop-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.shop-grid .shop-theme-card img {
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: #F3E4FA;
}

.shop-item-body { padding: 16px 18px; flex-grow: 1; display: flex; flex-direction: column; gap: 6px; }
.shop-item-tag {
  align-self: flex-start;
  background: #FFF4E0;
  color: #7A4A00;
  border: 1.5px solid #FF9900;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
}

.shop-item-body h3 { font-size: 1rem; color: var(--purple-dark); margin: 0; }
.shop-item-body p { font-size: 0.88rem; color: var(--ink-soft); margin: 0; flex-grow: 1; }

.shop-empty {
  text-align: center;
  color: var(--ink-soft);
  font-weight: 600;
  padding: 40px 20px;
  grid-column: 1 / -1;
}

.btn-amazon-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #FF9900;
  color: #131921;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 18px 40px;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 24px rgba(255, 153, 0, 0.4);
  transition: transform 0.15s ease;
}

.btn-amazon-cta:hover { transform: translateY(-2px); }
.btn-amazon-cta .cart-icon { height: 24px; width: auto; }

.shop-cta-wrap { text-align: center; margin-bottom: 40px; }

@media (max-width: 860px) {
  .shop-grid { grid-template-columns: 1fr; }
}

/* ===========================
   Music page
   =========================== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.video-tile h3 {
  text-align: center;
  margin-top: 14px;
  color: var(--purple-dark);
  font-size: 1.05rem;
}

.video-embed-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: #1a1a1a;
}

.video-embed-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-embed-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book-cover-link {
  display: block;
  cursor: pointer;
}

.book-cover-link img {
  transition: transform 0.2s ease;
}

.book-cover-link:hover img {
  transform: scale(1.04);
}

.book-cover-link .play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.1);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.book-cover-link:hover .play-overlay { opacity: 1; }

.play-overlay .play-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(224, 33, 33, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.4rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.book-cover-link .youtube-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.65);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}

.youtube-badge .play-icon-sm {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #E02121;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  flex-shrink: 0;
}

@media (max-width: 860px) {
  .video-grid { grid-template-columns: 1fr; }
}

.lyrics-link {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 8px 14px;
  background: var(--white);
  border: 2px solid #F0E2C8;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.lyrics-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(155, 77, 202, 0.22);
}

.lyrics-link img {
  width: 44px;
  height: auto;
  border-radius: 6px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.lyrics-link span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--purple-dark);
}

.purchase-banner {
  background: var(--gold-soft);
  border: 2.5px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-align: center;
  margin-top: 48px;
}

.purchase-banner h2 {
  color: #7A4A00;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  margin-bottom: 8px;
}

.purchase-banner p {
  color: #8A5A0A;
  font-weight: 600;
  max-width: 52ch;
  margin: 0 auto;
}

/* ===========================
   Resources page
   =========================== */
.coming-soon-banner {
  border-radius: var(--radius-lg);
  margin-bottom: 56px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.coming-soon-banner img {
  width: 100%;
  display: block;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.resource-card {
  background: var(--white);
  border: 2px solid #F0E2C8;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.resource-card-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.resource-card-body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.resource-card .tag {
  align-self: flex-start;
  background: #F3E4FA;
  color: var(--purple-dark);
  font-family: var(--font-display);
  font-size: 0.78rem;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
}

.resource-card h3 { color: var(--purple-dark); font-size: 1.15rem; }
.resource-card p { color: var(--ink-soft); flex-grow: 1; }

/* ===========================
   Footer
   =========================== */
.site-footer {
  background: #3D1F52;
  color: #E4D2F0;
  padding: 40px 0 28px;
  text-align: center;
  position: relative;
}

.site-footer .wrap { position: relative; }

.footer-brand {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.footer-brand img { height: 52px; width: auto; }

.site-footer p { margin: 4px 0; font-size: 0.9rem; }

@media (max-width: 860px) {
  .footer-brand {
    position: static;
    transform: none;
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
}

.footer-social-icons {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin: 4px 0 18px;
}

.footer-social-icons img { height: 24px; width: auto; flex-shrink: 0; }
.footer-social-icons a { display: flex; flex-shrink: 0; transition: transform 0.15s ease; }
.footer-social-icons a:hover { transform: translateY(-2px); }

/* ===========================
   Responsive
   =========================== */
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero-portrait { order: -1; }
  .hero p.lede { margin-left: auto; margin-right: auto; }
  .card-grid { grid-template-columns: 1fr; }
  .bio-band .wrap { flex-direction: column; align-items: center; text-align: center; }
  .bio-portrait img { height: auto; width: 260px; }
  .badge-row { justify-content: center; }
  .resource-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .main-nav.is-open {
    display: flex;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 12px 24px 20px;
    box-shadow: 0 12px 20px rgba(0,0,0,0.08);
  }
}
