/* ============================================================
   Little Story World — Design System
   www.littlestoryworld.com
   Palette: Pink #FF6B9D · Purple #6C63FF · Sky #4ECDC4 · Yellow #F9CA24
   Font: Nunito + Quicksand
   ============================================================ */

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

/* ─── CSS VARIABLES ──────────────────────────────────────── */
:root {
  --pink:       #FF6B9D;
  --pink-dark:  #e0507f;
  --pink-light: #FFE8F2;
  --purple:     #6C63FF;
  --purple-dark:#4f48cc;
  --purple-light:#EEEDFF;
  --sky:        #4ECDC4;
  --sky-dark:   #35b5ac;
  --orange:     #FF9F43;
  --yellow:     #F9CA24;
  --green:      #26de81;
  --red:        #FD7272;

  --bg:         #FFF8FC;
  --bg-alt:     #F3F0FF;
  --white:      #FFFFFF;
  --text:       #2D2B55;
  --text-light: #6B6995;
  --text-muted: #A09EC4;
  --border:     #E8E3FF;

  --radius-sm:  8px;
  --radius:     16px;
  --radius-lg:  24px;
  --radius-xl:  40px;

  --shadow-sm:  0 2px 8px rgba(108, 99, 255, 0.08);
  --shadow:     0 8px 24px rgba(108, 99, 255, 0.12);
  --shadow-lg:  0 16px 48px rgba(108, 99, 255, 0.18);
  --shadow-card:0 4px 20px rgba(108, 99, 255, 0.10);

  --transition: 0.25s ease;
  --font:       'Nunito', sans-serif;
  --font-alt:   'Quicksand', sans-serif;

  --nav-h:      72px;
}

/* ─── RESET & BASE ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); border: none; background: none; }

/* ─── TYPOGRAPHY ─────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
h4 { font-size: 1.05rem; font-weight: 700; }

p { color: var(--text-light); line-height: 1.75; }

/* ─── NAVIGATION ─────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 2px solid var(--border);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 2rem;
  gap: 2rem;
  transition: box-shadow var(--transition);
}

.navbar.scrolled { box-shadow: var(--shadow); }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font);
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--purple);
  flex-shrink: 0;
}

.nav-logo img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--pink-light);
  object-fit: cover;
}

.nav-logo span em {
  font-style: normal;
  color: var(--pink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
}

.nav-links a {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-light);
  transition: all var(--transition);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--purple-light);
  color: var(--purple);
}

.nav-cta {
  margin-left: auto;
  flex-shrink: 0;
}

.nav-cta a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--pink);
  color: var(--white) !important;
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-xl);
  font-weight: 800;
  font-size: 0.88rem;
  transition: all var(--transition);
  white-space: nowrap;
}

.nav-cta a:hover {
  background: var(--pink-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 107, 157, 0.4);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--purple);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ─── HERO ──────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #FFF0F7 0%, #F3F0FF 50%, #E8F8F7 100%);
}

.hero-bg-blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  animation: blobFloat 8s ease-in-out infinite;
}

.hero-blob-1 {
  width: 400px; height: 400px;
  background: var(--pink);
  top: -80px; right: -80px;
  animation-delay: 0s;
}

.hero-blob-2 {
  width: 300px; height: 300px;
  background: var(--purple);
  bottom: 20%; left: -60px;
  animation-delay: -3s;
}

.hero-blob-3 {
  width: 250px; height: 250px;
  background: var(--sky);
  bottom: -40px; right: 25%;
  animation-delay: -5s;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(15px, -20px) scale(1.05); }
  66%       { transform: translate(-10px, 10px) scale(0.97); }
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--pink-light);
  color: var(--pink-dark);
  border: 1.5px solid rgba(255,107,157,0.3);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-xl);
  font-weight: 800;
  font-size: 0.82rem;
  margin-bottom: 1.25rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-badge span { font-size: 1rem; }

.hero-title {
  margin-bottom: 1.25rem;
}

.hero-title .highlight {
  color: var(--purple);
  position: relative;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  border-radius: 2px;
}

.hero-desc {
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.hero-tag {
  background: var(--white);
  border: 1.5px solid var(--border);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-xl);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero-image-area {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
}

.hero-image-ring {
  position: relative;
  width: 340px;
  height: 340px;
  overflow: visible;
}

.hero-image-ring::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--purple), var(--sky));
  animation: ringRotate 8s linear infinite;
  padding: 4px;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

@keyframes ringRotate {
  to { transform: rotate(360deg); }
}

.hero-avatar {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid var(--white);
  box-shadow: var(--shadow-lg);
  animation: heroFloat 6s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-16px); }
}

.hero-floating-badges {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0; left: 0;
  pointer-events: none;
  overflow: visible;
  z-index: 5;
}

.float-badge {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: 0.6rem 1rem;
  box-shadow: var(--shadow-lg);
  font-weight: 800;
  font-size: 0.78rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  animation: badgeFloat 4s ease-in-out infinite;
  z-index: 10;
}

.float-badge span { font-size: 1.1rem; }

.float-badge-1 { top: 8%; right: -8%; animation-delay: 0s; }
.float-badge-2 { bottom: 15%; left: -10%; animation-delay: -2s; }
.float-badge-3 { bottom: 35%; right: -12%; animation-delay: -4s; }

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0px) rotate(-1deg); }
  50%       { transform: translateY(-8px) rotate(1deg); }
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 2px solid var(--border);
}

.hero-stat-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--purple);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 700;
}

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-xl);
  font-family: var(--font);
  font-weight: 800;
  font-size: 0.95rem;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--purple));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(108,99,255,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(108,99,255,0.4);
}

.btn-secondary {
  background: var(--white);
  color: var(--purple);
  border: 2px solid var(--purple);
}

.btn-secondary:hover {
  background: var(--purple-light);
  transform: translateY(-2px);
}

.btn-pink {
  background: var(--pink);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(255,107,157,0.3);
}

.btn-pink:hover {
  background: var(--pink-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,107,157,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--purple);
  border: 2px solid var(--border);
}

.btn-outline:hover {
  background: var(--purple-light);
  border-color: var(--purple);
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
}

.btn-yt {
  background: #FF0000;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(255,0,0,0.25);
}

.btn-yt:hover {
  background: #cc0000;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,0,0,0.35);
}

/* ─── SECTION LAYOUT ─────────────────────────────────────── */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--purple-light);
  color: var(--purple);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-xl);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  margin-bottom: 0.75rem;
}

.section-title .accent { color: var(--pink); }

.section-desc {
  font-size: 1rem;
  max-width: 550px;
  margin: 0 auto;
}

/* ─── VIDEO CARDS ────────────────────────────────────────── */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.video-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  border: 1.5px solid var(--border);
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--purple);
}

.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--purple-light);
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.video-card:hover .video-thumb img {
  transform: scale(1.06);
}

.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0);
  transition: background var(--transition);
}

.video-card:hover .video-play-btn {
  background: rgba(0,0,0,0.25);
}

.video-play-icon {
  width: 52px;
  height: 52px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: var(--shadow);
  transform: scale(0);
  transition: transform var(--transition);
}

.video-card:hover .video-play-icon {
  transform: scale(1);
}

.video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.7);
  color: var(--white);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
}

.video-badge-playlist {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--white);
}

.video-info {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.video-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.6rem;
}

.topic-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.15rem 0.55rem;
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 700;
  background: var(--purple-light);
  color: var(--purple);
}

.video-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: auto;
  padding-bottom: 0.75rem;
}

.video-actions {
  display: flex;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1.5px solid var(--border);
  margin-top: auto;
}

.video-actions a {
  flex: 1;
  text-align: center;
  padding: 0.45rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  transition: all var(--transition);
}

.btn-watch {
  background: var(--purple-light);
  color: var(--purple);
}

.btn-watch:hover {
  background: var(--purple);
  color: var(--white);
}

.btn-yt-sm {
  background: #fff0f0;
  color: #FF0000;
}

.btn-yt-sm:hover {
  background: #FF0000;
  color: var(--white);
}

/* ─── PLAYLIST CARDS ─────────────────────────────────────── */
.playlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.playlist-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1.5px solid var(--border);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.playlist-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.playlist-thumb {
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
}

.playlist-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.playlist-card:hover .playlist-thumb img {
  transform: scale(1.06);
}

.playlist-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.5) 100%);
}

.playlist-emoji-big {
  font-size: 3.5rem;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
  transform: scale(0.9);
  transition: transform var(--transition);
}

.playlist-card:hover .playlist-emoji-big {
  transform: scale(1.1);
}

.playlist-count-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.65);
  color: var(--white);
  padding: 0.25rem 0.65rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
}

.playlist-info {
  padding: 1.1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.playlist-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.playlist-desc {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
  margin-bottom: 0.9rem;
}

.playlist-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--white);
  transition: all var(--transition);
}

.playlist-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

/* ─── TOPIC CHIPS / FILTER BAR ───────────────────────────── */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-xl);
  font-weight: 700;
  font-size: 0.85rem;
  background: var(--white);
  color: var(--text-light);
  border: 1.5px solid var(--border);
  transition: all var(--transition);
  cursor: pointer;
}

.filter-btn:hover {
  border-color: var(--purple);
  color: var(--purple);
  background: var(--purple-light);
}

.filter-btn.active {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
}

/* ─── ABOUT SECTION ──────────────────────────────────────── */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: center;
}

.about-image-area {
  position: relative;
}

.about-avatar {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 5px solid var(--white);
  box-shadow: var(--shadow-lg);
  display: block;
}

.about-decoration {
  position: absolute;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  border-radius: var(--radius);
  z-index: -1;
  bottom: -15px;
  right: -15px;
  opacity: 0.25;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.about-feature {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  transition: all var(--transition);
}

.about-feature:hover {
  border-color: var(--purple);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.about-feature-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.about-feature-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.1rem;
}

.about-feature-desc {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ─── NEWSLETTER / CTA BANNER ────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='30'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-banner h2, .cta-banner p { color: var(--white); position: relative; }
.cta-banner h2 { margin-bottom: 0.75rem; }
.cta-banner p { opacity: 0.9; margin-bottom: 1.5rem; font-size: 1rem; }

.cta-banner-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.btn-white {
  background: var(--white);
  color: var(--purple);
  font-weight: 800;
}

.btn-white:hover {
  background: #f0edff;
  transform: translateY(-2px);
}

.btn-transparent {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}

.btn-transparent:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}

/* ─── FOOTER ──────────────────────────────────────────────── */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.85);
  padding: 4rem 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin: 1rem 0;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--white);
}

.footer-logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2);
}

.footer-yt-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #FF0000;
  color: var(--white);
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-xl);
  font-weight: 800;
  font-size: 0.82rem;
  transition: all var(--transition);
}

.footer-yt-btn:hover {
  background: #cc0000;
  transform: translateY(-2px);
}

.footer-col-title {
  font-size: 0.82rem;
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover { color: var(--pink); }

.footer-bottom {
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-bottom a {
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}

.footer-bottom a:hover { color: var(--pink); }

/* ─── VIDEO DETAIL PAGE ───────────────────────────────────── */
.video-detail-hero {
  background: linear-gradient(135deg, #1a1733 0%, #2d2b55 100%);
  padding: calc(var(--nav-h) + 2rem) 0 3rem;
}

.video-player-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  aspect-ratio: 16/9;
  max-width: 860px;
  margin: 0 auto;
  background: #000;
}

.video-player-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.video-meta-bar {
  max-width: 860px;
  margin: 1.5rem auto 0;
}

.video-page-title {
  color: var(--white);
  font-size: clamp(1.3rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
}

.video-page-playlists {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.video-playlist-badge {
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-xl);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* ─── PLAYLIST DETAIL PAGE ────────────────────────────────── */
.playlist-hero {
  padding: calc(var(--nav-h) + 2rem) 0 3rem;
  position: relative;
  overflow: hidden;
}

.playlist-hero-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: center;
}

.playlist-hero-thumb {
  width: 260px;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  flex-shrink: 0;
}

.playlist-hero-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─── CONTACT PAGE ────────────────────────────────────────── */
.contact-hero {
  background: linear-gradient(135deg, var(--purple-light), var(--pink-light));
  padding: calc(var(--nav-h) + 3rem) 0 4rem;
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  margin-top: -2rem;
  position: relative;
  z-index: 2;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  border: 1.5px solid var(--border);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--purple);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--purple-light);
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

.form-success {
  display: none;
  background: #e8fdf3;
  border: 1.5px solid #26de81;
  color: #0c7a49;
  padding: 1rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 0.75rem;
}

/* ─── TOPICS GRID ────────────────────────────────────────── */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.25rem;
}

.topic-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.25rem;
  text-align: center;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  display: block;
}

.topic-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.topic-emoji {
  font-size: 2.5rem;
  margin-bottom: 0.6rem;
}

.topic-name {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.topic-count {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ─── BREADCRUMB ─────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.5rem;
}

.breadcrumb a { color: rgba(255,255,255,0.75); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { opacity: 0.5; }

/* ─── PAGINATION ─────────────────────────────────────────── */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.page-btn {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.88rem;
  background: var(--white);
  color: var(--text-light);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
}

.page-btn:hover,
.page-btn.active {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
}

/* ─── SKELETON LOADING ───────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, #f0edff 25%, #e8e3ff 50%, #f0edff 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ─── LEGAL PAGES ────────────────────────────────────────── */
.legal-hero {
  background: linear-gradient(135deg, var(--purple-light), var(--pink-light));
  padding: calc(var(--nav-h) + 3rem) 0 3rem;
  text-align: center;
}

.legal-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.legal-content h2 {
  font-size: 1.3rem;
  color: var(--purple);
  margin: 2rem 0 0.75rem;
  padding-top: 2rem;
  border-top: 1.5px solid var(--border);
}

.legal-content h2:first-of-type { border-top: none; padding-top: 0; }
.legal-content p { margin-bottom: 1rem; }
.legal-content ul { padding-left: 1.5rem; list-style: disc; }
.legal-content ul li { margin-bottom: 0.4rem; font-size: 0.9rem; }
.legal-content a { color: var(--purple); text-decoration: underline; }

/* ─── ABOUT PAGE ─────────────────────────────────────────── */
.about-hero {
  background: linear-gradient(135deg, #F3F0FF 0%, #FFF0F7 100%);
  padding: calc(var(--nav-h) + 3rem) 0 4rem;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.mission-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1.5px solid var(--border);
  transition: all var(--transition);
}

.mission-card:hover {
  border-color: var(--purple);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.mission-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.mission-title { font-size: 1rem; font-weight: 800; margin-bottom: 0.4rem; }
.mission-desc { font-size: 0.84rem; color: var(--text-light); }

/* ─── ANIMATIONS ─────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-in { animation: fadeInUp 0.6s ease both; }
.fade-in-delay-1 { animation-delay: 0.1s; }
.fade-in-delay-2 { animation-delay: 0.2s; }
.fade-in-delay-3 { animation-delay: 0.3s; }

/* Intersection Observer reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── UTILITY ────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.gap-1 { gap: 0.5rem; }

.show-more-wrap {
  text-align: center;
  margin-top: 2.5rem;
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-container { gap: 2.5rem; }
  .hero-image-ring { width: 280px; height: 280px; }
  .hero-avatar { width: 280px; height: 280px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .about-inner { grid-template-columns: 1fr; }
  .about-image-area { display: none; }
}

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--white);
    padding: 1.5rem 2rem;
    border-bottom: 2px solid var(--border);
    gap: 0.25rem;
    z-index: 999;
  }

  .nav-links.open + .nav-cta {
    display: flex;
    justify-content: center;
    padding: 0 2rem 1.5rem;
    position: fixed;
    top: calc(var(--nav-h) + 14rem);
    left: 0; right: 0;
    background: var(--white);
    z-index: 999;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
    padding: 2.5rem 1.5rem;
  }

  .hero-image-area { order: -1; }
  .hero-image-ring { width: 220px; height: 220px; }
  .hero-avatar { width: 220px; height: 220px; }
  .hero-desc { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .float-badge { display: none; }

  .footer-top { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }

  .contact-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 2rem 1.5rem; }
  .playlist-hero-inner { grid-template-columns: 1fr; }
  .playlist-hero-thumb { width: 100%; }
  .mission-grid { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .video-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .playlist-grid { grid-template-columns: 1fr; }
  .topics-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 3rem 0; }
  .container { padding: 0 1rem; }
  .hero-stats { flex-direction: column; gap: 1rem; }
}

/* ─── FAQ Section ────────────────────────────────────────────── */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  background: var(--white);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.faq-item[open] { box-shadow: 0 4px 20px rgba(124,77,255,0.1); border-color: var(--purple); }
.faq-question {
  padding: 1.1rem 1.25rem;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after { content: '+'; font-size: 1.4rem; color: var(--purple); font-weight: 400; transition: transform 0.2s; }
.faq-item[open] .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  padding: 0 1.25rem 1.1rem;
  color: var(--text-light);
  line-height: 1.8;
}
.faq-answer a { color: var(--purple); font-weight: 700; }
