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

    :root {
      --yellow: #FFD700;
      --orange: #FF8C00;
      --red: #FF4455;
      --pink: #FF70B8;
      --purple: #A855F7;
      --blue: #38BDF8;
      --teal: #2DD4BF;
      --green: #4ADE80;
      --lime: #BEF264;
      --bg: #FFFBEF;
      --dark: #1A0A3C;
      --card-bg: #FFFFFF;
      --shadow: rgba(168, 85, 247, 0.2);
      --radius: 20px;
    }

    /* ===== CUSTOM RAINBOW CURSORS ===== */
    html {
      scroll-behavior: smooth;
      cursor: url('images/rainbow-cursor.png') 0 0, auto;
    }

    a,
    button,
    [role="button"],
    .pointer,
    select,
    input[type="submit"],
    input[type="button"],
    .draw-color,
    .draw-size-btn,
    .draw-action-btn,
    .sq-option,
    .fc-btn,
    .flashcard-scene,
    .piano-key,
    .cs-item,
    .cs-bucket,
    .mem-card,
    .abc-bubble,
    #star-counter,
    .hamburger {
      cursor: url('images/rainbow-pointer.png') 16 0, pointer !important;
    }

    body {
      font-family: 'Nunito', sans-serif;
      background: var(--bg);
      color: var(--dark);
      overflow-x: hidden;
      cursor: url('images/rainbow-cursor.png') 0 0, auto;
    }

    /* ===== FLOATING SHAPES (background decoration) ===== */
    .floating-shapes {
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 0;
      overflow: hidden;
    }

    .shape {
      position: absolute;
      border-radius: 50%;
      opacity: 0.07;
      animation: floatBall linear infinite;
    }

    .shape:nth-child(1) {
      width: 120px;
      height: 120px;
      background: var(--purple);
      top: 10%;
      left: 5%;
      animation-duration: 18s;
      animation-delay: 0s;
    }

    .shape:nth-child(2) {
      width: 80px;
      height: 80px;
      background: var(--yellow);
      top: 30%;
      right: 8%;
      animation-duration: 14s;
      animation-delay: 2s;
    }

    .shape:nth-child(3) {
      width: 160px;
      height: 160px;
      background: var(--blue);
      top: 60%;
      left: 2%;
      animation-duration: 22s;
      animation-delay: 4s;
    }

    .shape:nth-child(4) {
      width: 60px;
      height: 60px;
      background: var(--pink);
      top: 80%;
      right: 5%;
      animation-duration: 16s;
      animation-delay: 1s;
    }

    .shape:nth-child(5) {
      width: 100px;
      height: 100px;
      background: var(--green);
      top: 50%;
      left: 50%;
      animation-duration: 20s;
      animation-delay: 3s;
    }

    .shape:nth-child(6) {
      width: 50px;
      height: 50px;
      background: var(--red);
      top: 15%;
      right: 25%;
      animation-duration: 12s;
      animation-delay: 5s;
    }

    @keyframes floatBall {
      0% {
        transform: translateY(0px) rotate(0deg);
      }

      50% {
        transform: translateY(-40px) rotate(180deg);
      }

      100% {
        transform: translateY(0px) rotate(360deg);
      }
    }

    /* ===== NAVBAR ===== */
    nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1000;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 14px 40px;
      background: rgba(255, 251, 239, 0.95);
      backdrop-filter: blur(20px);
      border-bottom: 2px solid rgba(168, 85, 247, 0.15);
      box-shadow: 0 4px 20px rgba(168, 85, 247, 0.08);
      transition: all 0.3s ease;
    }

    .nav-logo {
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
    }

    .nav-logo-icon {
      width: 48px;
      height: 48px;
      flex-shrink: 0;
      animation: pulse 2s ease-in-out infinite;
      filter: drop-shadow(0 4px 10px rgba(168, 85, 247, 0.4));
    }

    @keyframes pulse {

      0%,
      100% {
        transform: scale(1);
      }

      50% {
        transform: scale(1.08);
      }
    }

    .nav-logo-text {
      font-family: 'Fredoka One', cursive;
      font-size: 1.6rem;
      background: linear-gradient(135deg, var(--purple), var(--blue), var(--pink));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .nav-links {
      display: flex;
      gap: 32px;
      list-style: none;
    }

    .nav-links a {
      text-decoration: none;
      font-weight: 700;
      font-size: 0.95rem;
      color: var(--dark);
      transition: color 0.2s;
      position: relative;
    }

    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 0;
      height: 3px;
      border-radius: 99px;
      background: linear-gradient(90deg, var(--purple), var(--pink));
      transition: width 0.3s ease;
    }

    .nav-links a:hover::after {
      width: 100%;
    }

    .nav-links a:hover {
      color: var(--purple);
    }

    .nav-cta {
      background: linear-gradient(135deg, var(--red), var(--pink));
      color: #fff !important;
      padding: 10px 24px;
      border-radius: 50px;
      font-weight: 800 !important;
      box-shadow: 0 4px 18px rgba(255, 68, 85, 0.35);
      transition: transform 0.2s, box-shadow 0.2s !important;
    }

    .nav-cta::after {
      display: none !important;
    }

    .nav-cta:hover {
      transform: translateY(-2px) scale(1.04);
      box-shadow: 0 8px 28px rgba(255, 68, 85, 0.45) !important;
    }

    .site-topbar {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1001;
      display: flex;
      justify-content: center;
      padding: 0 24px;
      min-height: 44px;
      background: rgba(255, 255, 255, 0.94);
      backdrop-filter: blur(18px);
      border-bottom: 1px solid rgba(168, 85, 247, 0.12);
      box-shadow: 0 3px 18px rgba(168, 85, 247, 0.08);
    }

    .topbar-inner {
      width: min(1200px, 100%);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      flex-wrap: wrap;
    }

    .topbar-note {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-size: 0.95rem;
      font-weight: 800;
      color: var(--dark);
    }

    .topbar-link {
      display: inline-flex;
      align-items: center;
      padding: 8px 14px;
      border-radius: 999px;
      font-size: 0.88rem;
      font-weight: 800;
      color: var(--purple);
      text-decoration: none;
      background: rgba(168, 85, 247, 0.1);
      transition: transform 0.2s ease, background 0.2s ease;
    }

    .topbar-link:hover {
      transform: translateY(-1px);
      background: rgba(168, 85, 247, 0.18);
    }

    /* ===== HERO ===== */
    .hero {
      position: relative;
      min-height: 100vh;
      display: flex;
      align-items: center;
      overflow: hidden;
      padding-top: 140px;
    }

    .hero-bg {
      position: absolute;
      inset: 0;
      background: linear-gradient(160deg,
          #FFF9E6 0%,
          #EEF4FF 30%,
          #F3E8FF 60%,
          #FFF0FB 100%);
      z-index: 1;
    }

    /* hero-rainbow removed */

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

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 140, 0, 0.15));
      border: 2px solid rgba(255, 165, 0, 0.3);
      border-radius: 50px;
      padding: 8px 18px;
      font-size: 0.85rem;
      font-weight: 800;
      color: var(--orange);
      margin-bottom: 22px;
      animation: fadeSlideDown 0.7s ease both;
    }

    .hero-badge .dot {
      width: 8px;
      height: 8px;
      background: var(--orange);
      border-radius: 50%;
      animation: blink 1.2s ease-in-out infinite;
    }

    @keyframes blink {

      0%,
      100% {
        opacity: 1;
      }

      50% {
        opacity: 0.3;
      }
    }

    .hero-title {
      font-family: 'Fredoka One', cursive;
      font-size: clamp(3rem, 5vw, 5rem);
      line-height: 1.05;
      margin-bottom: 20px;
      animation: fadeSlideDown 0.8s 0.1s ease both;
    }

    .hero-title span.color-1 {
      color: var(--red);
    }

    .hero-title span.color-2 {
      color: var(--purple);
    }

    .hero-title span.color-3 {
      color: var(--blue);
    }

    .hero-title span.color-4 {
      color: var(--green);
    }

    .hero-tagline {
      font-size: 1.2rem;
      font-weight: 700;
      color: var(--purple);
      margin-bottom: 16px;
      animation: fadeSlideDown 0.85s 0.2s ease both;
    }

    .hero-desc {
      font-size: 1.05rem;
      line-height: 1.7;
      color: #555;
      margin-bottom: 36px;
      animation: fadeSlideDown 0.9s 0.3s ease both;
    }

    .hero-features {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 36px;
      animation: fadeSlideDown 0.95s 0.4s ease both;
    }

    .hero-feature-tag {
      background: white;
      border: 2px solid;
      border-radius: 50px;
      padding: 6px 16px;
      font-size: 0.88rem;
      font-weight: 800;
      display: flex;
      align-items: center;
      gap: 6px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
      transition: transform 0.2s;
    }

    .hero-feature-tag:hover {
      transform: scale(1.05) rotate(-2deg);
    }

    .tag-1 {
      border-color: var(--yellow);
      color: var(--orange);
    }

    .tag-2 {
      border-color: var(--pink);
      color: var(--pink);
    }

    .tag-3 {
      border-color: var(--blue);
      color: var(--blue);
    }

    .tag-4 {
      border-color: var(--green);
      color: var(--green);
    }

    .tag-5 {
      border-color: var(--purple);
      color: var(--purple);
    }

    .hero-buttons {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
      animation: fadeSlideDown 1s 0.5s ease both;
    }

    .btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: linear-gradient(135deg, var(--red) 0%, #FF1744 50%, var(--pink) 100%);
      color: white;
      text-decoration: none;
      padding: 16px 36px;
      border-radius: 50px;
      font-weight: 900;
      font-size: 1.05rem;
      box-shadow: 0 8px 30px rgba(255, 68, 85, 0.4);
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
    }

    .btn-primary:hover {
      transform: translateY(-4px) scale(1.03);
      box-shadow: 0 14px 40px rgba(255, 68, 85, 0.5);
    }

    .btn-secondary {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: white;
      color: var(--purple);
      text-decoration: none;
      padding: 16px 32px;
      border-radius: 50px;
      font-weight: 900;
      font-size: 1.05rem;
      border: 3px solid rgba(168, 85, 247, 0.3);
      box-shadow: 0 4px 20px rgba(168, 85, 247, 0.15);
      transition: all 0.3s ease;
    }

    .btn-secondary:hover {
      border-color: var(--purple);
      background: rgba(168, 85, 247, 0.06);
      transform: translateY(-4px);
      box-shadow: 0 10px 30px rgba(168, 85, 247, 0.25);
    }

    .hero-visual {
      position: relative;
      animation: fadeSlideRight 1s 0.3s ease both;
    }

    .hero-img-wrapper {
      position: relative;
      border-radius: 30px;
      overflow: hidden;
      box-shadow: 0 30px 80px rgba(168, 85, 247, 0.25), 0 0 0 6px rgba(255, 255, 255, 0.8);
    }

    .hero-img-wrapper img {
      width: 100%;
      height: auto;
      display: block;
    }

    .hero-img-badge {
      position: absolute;
      background: white;
      border-radius: 16px;
      padding: 10px 16px;
      box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
      font-weight: 800;
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 0.9rem;
      animation: floatBadge 3s ease-in-out infinite;
    }

    @keyframes floatBadge {

      0%,
      100% {
        transform: translateY(0);
      }

      50% {
        transform: translateY(-8px);
      }
    }

    .badge-subs {
      top: 20px;
      right: -20px;
      color: var(--red);
    }

    .badge-vids {
      bottom: 20px;
      left: -20px;
      color: var(--blue);
    }

    .badge-daily {
      top: 50%;
      right: -30px;
      color: var(--green);
      animation-delay: 1s;
    }

    .badge-icon {
      font-size: 1.4rem;
    }

    @keyframes fadeSlideDown {
      from {
        opacity: 0;
        transform: translateY(-30px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes fadeSlideRight {
      from {
        opacity: 0;
        transform: translateX(40px);
      }

      to {
        opacity: 1;
        transform: translateX(0);
      }
    }

    /* ===== STATS BAR ===== */
    .stats-bar {
      position: relative;
      z-index: 2;
      background: linear-gradient(135deg, var(--purple), var(--blue));
      padding: 28px 40px;
    }

    .stats-inner {
      max-width: 1000px;
      margin: 0 auto;
      display: flex;
      justify-content: space-around;
      align-items: center;
      flex-wrap: wrap;
      gap: 24px;
    }

    .stat-item {
      text-align: center;
      color: white;
    }

    .stat-num {
      font-family: 'Fredoka One', cursive;
      font-size: 2.4rem;
      display: block;
    }

    .stat-label {
      font-size: 0.88rem;
      font-weight: 700;
      opacity: 0.85;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .stat-divider {
      width: 2px;
      height: 50px;
      background: rgba(255, 255, 255, 0.25);
      border-radius: 99px;
    }

    /* ===== SECTION SHARED ===== */
    section {
      position: relative;
      z-index: 2;
    }

    .section-header {
      text-align: center;
      margin-bottom: 56px;
    }

    .section-eyebrow {
      display: inline-block;
      font-size: 0.85rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 2px;
      color: var(--purple);
      background: rgba(168, 85, 247, 0.1);
      padding: 6px 18px;
      border-radius: 50px;
      margin-bottom: 16px;
    }

    .section-title {
      font-family: 'Fredoka One', cursive;
      font-size: clamp(2rem, 3.5vw, 3rem);
      line-height: 1.15;
    }

    .section-title em {
      font-style: normal;
      background: linear-gradient(135deg, var(--purple), var(--pink));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .section-subtitle {
      font-size: 1.05rem;
      color: #666;
      max-width: 560px;
      margin: 14px auto 0;
      line-height: 1.65;
    }

    /* ===== ABOUT ===== */
    #about {
      padding: 100px 40px;
      background: linear-gradient(180deg, var(--bg) 0%, #F3E8FF 100%);
    }

    .about-grid {
      max-width: 1100px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 28px;
    }

    .about-card {
      background: white;
      border-radius: var(--radius);
      padding: 36px 30px;
      text-align: center;
      box-shadow: 0 8px 32px var(--shadow);
      border: 2px solid transparent;
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
    }

    .about-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 5px;
      border-radius: 99px 99px 0 0;
    }

    .about-card:nth-child(1)::before {
      background: linear-gradient(90deg, var(--yellow), var(--orange));
    }

    .about-card:nth-child(2)::before {
      background: linear-gradient(90deg, var(--pink), var(--red));
    }

    .about-card:nth-child(3)::before {
      background: linear-gradient(90deg, var(--blue), var(--teal));
    }

    .about-card:nth-child(4)::before {
      background: linear-gradient(90deg, var(--purple), var(--pink));
    }

    .about-card:nth-child(5)::before {
      background: linear-gradient(90deg, var(--green), var(--lime));
    }

    .about-card:hover {
      transform: translateY(-8px);
      border-color: rgba(168, 85, 247, 0.2);
      box-shadow: 0 20px 50px rgba(168, 85, 247, 0.18);
    }

    .about-icon {
      font-size: 3rem;
      margin-bottom: 18px;
      display: inline-block;
      animation: wiggle 3s ease-in-out infinite;
    }

    @keyframes wiggle {

      0%,
      100% {
        transform: rotate(-5deg) scale(1);
      }

      50% {
        transform: rotate(5deg) scale(1.1);
      }
    }

    .about-card:nth-child(even) .about-icon {
      animation-delay: 1s;
    }

    .about-card h3 {
      font-family: 'Fredoka One', cursive;
      font-size: 1.4rem;
      margin-bottom: 10px;
      color: var(--dark);
    }

    .about-card p {
      font-size: 0.95rem;
      color: #666;
      line-height: 1.6;
    }

    /* ===== PLAYLISTS ===== */
    #playlists {
      padding: 100px 40px;
      background: white;
    }

    .playlists-grid {
      max-width: 1150px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 28px;
    }

    .playlist-card {
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
      transition: all 0.35s ease;
      background: var(--card-bg);
      border: 2px solid rgba(0, 0, 0, 0.04);
      text-decoration: none;
      color: inherit;
      display: block;
    }

    .playlist-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 24px 60px rgba(168, 85, 247, 0.22);
      border-color: rgba(168, 85, 247, 0.2);
    }

    .playlist-thumb {
      position: relative;
      padding-top: 56.25%;
      overflow: hidden;
    }

    .playlist-thumb-bg {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 5rem;
      transition: transform 0.4s ease;
    }

    .playlist-card:hover .playlist-thumb-bg {
      transform: scale(1.1);
    }

    .playlist-count {
      position: absolute;
      bottom: 10px;
      right: 10px;
      background: rgba(0, 0, 0, 0.65);
      color: white;
      padding: 4px 10px;
      border-radius: 8px;
      font-size: 0.8rem;
      font-weight: 800;
    }

    .playlist-info {
      padding: 18px 20px 22px;
    }

    .playlist-info h3 {
      font-family: 'Fredoka One', cursive;
      font-size: 1.15rem;
      margin-bottom: 6px;
      color: var(--dark);
      line-height: 1.3;
    }

    .playlist-info p {
      font-size: 0.85rem;
      color: #888;
      font-weight: 600;
    }

    .playlist-tag {
      display: inline-block;
      margin-top: 10px;
      font-size: 0.75rem;
      font-weight: 800;
      padding: 4px 12px;
      border-radius: 50px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .pg-1 {
      background: linear-gradient(135deg, #FFF9C4, #FFEB3B);
    }

    .pg-2 {
      background: linear-gradient(135deg, #FCE4EC, #F48FB1);
    }

    .pg-3 {
      background: linear-gradient(135deg, #E3F2FD, #90CAF9);
    }

    .pg-4 {
      background: linear-gradient(135deg, #E8F5E9, #A5D6A7);
    }

    .pg-5 {
      background: linear-gradient(135deg, #F3E5F5, #CE93D8);
    }

    .pg-6 {
      background: linear-gradient(135deg, #FBE9E7, #FFAB91);
    }

    .pg-7 {
      background: linear-gradient(135deg, #E1F5FE, #81D4FA);
    }

    .pg-8 {
      background: linear-gradient(135deg, #F9FBE7, #DCE775);
    }

    .pg-9 {
      background: linear-gradient(135deg, #FFF3E0, #FFCC80);
    }

    .pt-music {
      background: rgba(255, 235, 59, 0.2);
      color: #B8860B;
    }

    .pt-gaming {
      background: rgba(56, 189, 248, 0.2);
      color: #0066CC;
    }

    .pt-stories {
      background: rgba(168, 85, 247, 0.15);
      color: #7B00CC;
    }

    .pt-learning {
      background: rgba(74, 222, 128, 0.2);
      color: #156B35;
    }

    /* ===== FEATURED VIDEOS ===== */
    #videos {
      padding: 100px 40px;
      background: linear-gradient(180deg, #F3E8FF 0%, var(--bg) 100%);
    }

    .videos-grid {
      max-width: 1150px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 28px;
    }

    .video-card {
      background: white;
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
      transition: all 0.35s ease;
      text-decoration: none;
      color: inherit;
      display: block;
      border: 2px solid rgba(0, 0, 0, 0.04);
    }

    .video-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 24px 60px rgba(168, 85, 247, 0.2);
      border-color: rgba(168, 85, 247, 0.2);
    }

    .video-thumb {
      position: relative;
      padding-top: 56.25%;
      overflow: hidden;
    }

    .video-thumb-bg {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 4rem;
      transition: transform 0.4s ease;
    }

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

    .video-card:hover .video-thumb-bg {
      transform: scale(1.08);
    }

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

    .play-overlay {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(0, 0, 0, 0.15);
      opacity: 0;
      transition: opacity 0.3s;
    }

    .video-card:hover .play-overlay {
      opacity: 1;
    }

    .play-btn {
      width: 54px;
      height: 54px;
      background: rgba(255, 255, 255, 0.92);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.6rem;
      color: var(--red);
      transform: scale(0.8);
      transition: transform 0.3s;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }

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

    .video-duration {
      position: absolute;
      bottom: 8px;
      right: 8px;
      background: rgba(0, 0, 0, 0.75);
      color: white;
      padding: 3px 8px;
      border-radius: 6px;
      font-size: 0.75rem;
      font-weight: 800;
    }

    .video-info {
      padding: 16px 18px 20px;
    }

    .video-info h3 {
      font-weight: 800;
      font-size: 0.95rem;
      line-height: 1.4;
      margin-bottom: 8px;
      color: var(--dark);
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      line-clamp: 2;
      box-orient: vertical;
    }

    .video-meta {
      display: flex;
      gap: 12px;
      font-size: 0.8rem;
      color: #888;
      font-weight: 700;
    }

    .views-badge {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      background: rgba(168, 85, 247, 0.08);
      color: var(--purple);
      padding: 2px 8px;
      border-radius: 50px;
      font-size: 0.75rem;
      font-weight: 800;
      margin-top: 8px;
    }

    .vg-1 {
      background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
    }

    .vg-2 {
      background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    }

    .vg-3 {
      background: linear-gradient(135deg, #141E30, #243B55);
    }

    .vg-4 {
      background: linear-gradient(135deg, #1C1C1C, #373737);
    }

    .vg-5 {
      background: linear-gradient(135deg, #134E5E, #71B280);
    }

    .vg-6 {
      background: linear-gradient(135deg, #FF9A9E, #FAD0C4);
    }

    .vg-7 {
      background: linear-gradient(135deg, #4CAF50, #81C784);
    }

    .vg-8 {
      background: linear-gradient(135deg, #FFDEE9, #B5FFFC);
    }

    .vg-9 {
      background: linear-gradient(135deg, #FF6B6B, #FFE66D);
    }

    .vg-10 {
      background: linear-gradient(135deg, #2980B9, #6DD5FA);
    }

    /* ===== SUBSCRIBE SECTION ===== */
    #subscribe {
      padding: 100px 40px;
      background: white;
    }

    .subscribe-inner {
      max-width: 900px;
      margin: 0 auto;
      background: linear-gradient(135deg, var(--purple) 0%, #7C3AED 40%, var(--blue) 100%);
      border-radius: 32px;
      padding: 70px 60px;
      text-align: center;
      position: relative;
      overflow: hidden;
      box-shadow: 0 30px 80px rgba(168, 85, 247, 0.4);
    }

    .subscribe-inner::before {
      content: '';
      position: absolute;
      width: 400px;
      height: 400px;
      background: rgba(255, 255, 255, 0.06);
      border-radius: 50%;
      top: -100px;
      right: -100px;
    }

    .subscribe-inner::after {
      content: '';
      position: absolute;
      width: 250px;
      height: 250px;
      background: rgba(255, 255, 255, 0.06);
      border-radius: 50%;
      bottom: -60px;
      left: -60px;
    }

    .subscribe-emoji {
      font-size: 4rem;
      display: block;
      margin-bottom: 20px;
      animation: bounce 1.5s ease-in-out infinite;
    }

    @keyframes bounce {

      0%,
      100% {
        transform: translateY(0);
      }

      50% {
        transform: translateY(-14px);
      }
    }

    .subscribe-inner h2 {
      font-family: 'Fredoka One', cursive;
      font-size: clamp(2rem, 4vw, 3rem);
      color: white;
      margin-bottom: 18px;
      position: relative;
      z-index: 1;
    }

    .subscribe-inner p {
      color: rgba(255, 255, 255, 0.85);
      font-size: 1.1rem;
      line-height: 1.65;
      max-width: 560px;
      margin: 0 auto 36px;
      position: relative;
      z-index: 1;
    }

    .subscribe-buttons {
      display: flex;
      gap: 18px;
      justify-content: center;
      flex-wrap: wrap;
      position: relative;
      z-index: 1;
    }

    .btn-subscribe {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      background: var(--red);
      color: white;
      text-decoration: none;
      padding: 18px 42px;
      border-radius: 50px;
      font-weight: 900;
      font-size: 1.15rem;
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
      transition: all 0.3s ease;
    }

    .btn-subscribe:hover {
      background: #cc0000;
      transform: translateY(-4px) scale(1.04);
      box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    }

    .btn-watch {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      background: rgba(255, 255, 255, 0.15);
      color: white;
      text-decoration: none;
      padding: 18px 36px;
      border-radius: 50px;
      font-weight: 900;
      font-size: 1.05rem;
      border: 2px solid rgba(255, 255, 255, 0.4);
      backdrop-filter: blur(10px);
      transition: all 0.3s ease;
    }

    .btn-watch:hover {
      background: rgba(255, 255, 255, 0.25);
      border-color: rgba(255, 255, 255, 0.7);
      transform: translateY(-4px);
    }

    .confetti {
      position: absolute;
      font-size: 1.5rem;
      animation: confettiFloat linear infinite;
      opacity: 0.7;
    }

    .confetti:nth-child(1) {
      top: 15%;
      left: 5%;
      animation-duration: 4s;
      animation-delay: 0s;
    }

    .confetti:nth-child(2) {
      top: 25%;
      right: 8%;
      animation-duration: 5s;
      animation-delay: 1s;
    }

    .confetti:nth-child(3) {
      bottom: 20%;
      left: 10%;
      animation-duration: 4.5s;
      animation-delay: 0.5s;
    }

    .confetti:nth-child(4) {
      bottom: 15%;
      right: 12%;
      animation-duration: 6s;
      animation-delay: 2s;
    }

    .confetti:nth-child(5) {
      top: 50%;
      left: 8%;
      animation-duration: 3.5s;
      animation-delay: 1.5s;
    }

    @keyframes confettiFloat {

      0%,
      100% {
        transform: translateY(0) rotate(0deg);
      }

      50% {
        transform: translateY(-20px) rotate(15deg);
      }
    }

    /* ===== FOOTER ===== */
    footer {
      background: var(--dark);
      color: rgba(255, 255, 255, 0.7);
      padding: 50px 40px 30px;
      text-align: center;
      position: relative;
      z-index: 2;
    }

    .footer-logo {
      font-family: 'Fredoka One', cursive;
      font-size: 2.2rem;
      background: linear-gradient(135deg, var(--yellow), var(--orange), var(--pink));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 12px;
    }

    .footer-tagline {
      font-size: 0.95rem;
      margin-bottom: 28px;
    }

    .footer-links {
      display: flex;
      gap: 28px;
      justify-content: center;
      flex-wrap: wrap;
      margin-bottom: 36px;
    }

    .footer-links a {
      color: rgba(255, 255, 255, 0.6);
      text-decoration: none;
      font-weight: 700;
      font-size: 0.9rem;
      transition: color 0.2s;
    }

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

    .footer-divider {
      width: 100%;
      height: 1px;
      background: rgba(255, 255, 255, 0.08);
      margin-bottom: 24px;
    }

    .footer-copy {
      font-size: 0.8rem;
      opacity: 0.5;
    }

    .footer-emoji-row {
      font-size: 1.5rem;
      letter-spacing: 4px;
      margin-bottom: 20px;
    }

    /* ===== DIGITAL GAMES ===== */
    #games {
      padding: 100px 40px;
      background: linear-gradient(180deg, #E8F5E9 0%, white 100%);
    }

    .games-grid {
      max-width: 1100px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
      gap: 28px;
    }

    .game-card {
      background: white;
      border-radius: 24px;
      overflow: hidden;
      box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
      transition: all 0.3s ease;
      border: 2px solid rgba(0, 0, 0, 0.04);
      cursor: pointer;
    }

    .game-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 24px 60px rgba(74, 222, 128, 0.22);
      border-color: rgba(74, 222, 128, 0.3);
    }

    .game-thumb {
      padding-top: 56.25%;
      position: relative;
      overflow: hidden;
    }

    .game-thumb-inner {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 8px;
      transition: transform 0.3s;
    }

    .game-card:hover .game-thumb-inner {
      transform: scale(1.08);
    }

    .game-big-emoji {
      font-size: 4.5rem;
      line-height: 1;
    }

    .game-label-mini {
      font-family: 'Fredoka One', cursive;
      font-size: 1rem;
      color: rgba(255, 255, 255, 0.9);
      text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }

    .game-info {
      padding: 18px 20px 22px;
    }

    .game-info h3 {
      font-family: 'Fredoka One', cursive;
      font-size: 1.2rem;
      margin-bottom: 6px;
      color: var(--dark);
    }

    .game-info p {
      font-size: 0.85rem;
      color: #777;
      line-height: 1.5;
      margin-bottom: 14px;
    }

    .btn-play {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 10px 22px;
      border-radius: 50px;
      font-weight: 800;
      font-size: 0.9rem;
      border: none;
      cursor: pointer;
      transition: all 0.25s ease;
      text-decoration: none;
    }

    .btn-play:hover {
      transform: scale(1.05);
    }

    .bp-green {
      background: linear-gradient(135deg, #4ADE80, #22C55E);
      color: white;
    }

    .bp-blue {
      background: linear-gradient(135deg, #38BDF8, #0EA5E9);
      color: white;
    }

    .bp-orange {
      background: linear-gradient(135deg, #FB923C, #F97316);
      color: white;
    }

    .bp-purple {
      background: linear-gradient(135deg, #C084FC, #A855F7);
      color: white;
    }

    .gg-1 {
      background: linear-gradient(135deg, #134E5E, #4ADE80);
    }

    .gg-2 {
      background: linear-gradient(135deg, #1a1a5e, #38BDF8);
    }

    .gg-3 {
      background: linear-gradient(135deg, #7B2FF7, #F27121);
    }

    .gg-4 {
      background: linear-gradient(135deg, #1A0A3C, #A855F7);
    }

    /* ===== GAME MODAL ===== */
    .game-modal-overlay {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 9999;
      background: rgba(10, 5, 30, 0.85);
      backdrop-filter: blur(12px);
      align-items: center;
      justify-content: center;
    }

    .game-modal-overlay.active {
      display: flex;
    }

    .game-modal {
      background: white;
      border-radius: 28px;
      overflow: hidden;
      width: min(96vw, 820px);
      max-height: 90vh;
      display: flex;
      flex-direction: column;
      box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
      animation: modalPop 0.35s cubic-bezier(.34, 1.56, .64, 1) both;
    }

    @keyframes modalPop {
      from {
        opacity: 0;
        transform: scale(0.85);
      }

      to {
        opacity: 1;
        transform: scale(1);
      }
    }

    .game-modal-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 18px 24px;
      background: linear-gradient(135deg, var(--purple), var(--blue));
      color: white;
    }

    .game-modal-title {
      font-family: 'Fredoka One', cursive;
      font-size: 1.4rem;
    }

    .game-modal-close {
      background: rgba(255, 255, 255, 0.2);
      border: none;
      color: white;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      font-size: 1.2rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.2s;
    }

    .game-modal-close:hover {
      background: rgba(255, 255, 255, 0.35);
    }

    .game-modal-body {
      flex: 1;
      overflow-y: auto;
      padding: 28px 24px;
    }

    /* ===== PRINTABLE GAMES ===== */
    #printables {
      padding: 100px 40px;
      background: linear-gradient(180deg, #FFF9E6 0%, #EEF4FF 100%);
    }

    .printables-grid {
      max-width: 1100px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
      gap: 28px;
    }

    .print-card {
      background: white;
      border-radius: 24px;
      overflow: hidden;
      box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
      transition: all 0.3s ease;
      border: 2px solid rgba(0, 0, 0, 0.04);
    }

    .print-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 20px 50px rgba(255, 215, 0, 0.2);
      border-color: rgba(255, 215, 0, 0.4);
    }

    .print-thumb {
      padding-top: 70%;
      position: relative;
      overflow: hidden;
    }

    .print-thumb-inner {
      position: absolute;
      inset: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 6px;
      transition: transform 0.3s;
    }

    .print-card:hover .print-thumb-inner {
      transform: scale(1.05);
    }

    .print-big-emoji {
      font-size: 4rem;
      filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
    }

    .print-sub-emojis {
      font-size: 1.6rem;
      letter-spacing: 4px;
      opacity: 0.8;
    }

    .pg-print-1 {
      background: linear-gradient(135deg, #FFF9C4, #FFD54F);
    }

    .pg-print-2 {
      background: linear-gradient(135deg, #FCE4EC, #E91E63);
    }

    .pg-print-3 {
      background: linear-gradient(135deg, #E3F2FD, #42A5F5);
    }

    .pg-print-4 {
      background: linear-gradient(135deg, #E8F5E9, #66BB6A);
    }

    .pg-print-5 {
      background: linear-gradient(135deg, #F3E5F5, #AB47BC);
    }

    .print-info {
      padding: 18px 20px 22px;
    }

    .print-info h3 {
      font-family: 'Fredoka One', cursive;
      font-size: 1.1rem;
      margin-bottom: 6px;
      color: var(--dark);
    }

    .print-info p {
      font-size: 0.83rem;
      color: #777;
      line-height: 1.5;
      margin-bottom: 14px;
    }

    .btn-download {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 10px 22px;
      border-radius: 50px;
      font-weight: 800;
      font-size: 0.88rem;
      border: none;
      cursor: pointer;
      transition: all 0.25s ease;
      background: linear-gradient(135deg, var(--yellow), var(--orange));
      color: var(--dark);
      box-shadow: 0 4px 16px rgba(255, 165, 0, 0.3);
    }

    .btn-download:hover {
      transform: scale(1.05);
      box-shadow: 0 8px 24px rgba(255, 165, 0, 0.45);
    }

    .print-age {
      display: inline-block;
      font-size: 0.72rem;
      font-weight: 800;
      padding: 3px 10px;
      border-radius: 50px;
      background: rgba(168, 85, 247, 0.1);
      color: var(--purple);
      margin-bottom: 10px;
    }

    /* ===== SCROLL ANIMATIONS ===== */
    .reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: all 0.7s ease;
    }

    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* ===== RESPONSIVE ===== */
    @media (max-width: 768px) {
      nav {
        padding: 12px 20px;
      }

      .nav-links {
        display: none;
      }

      .hero-content {
        grid-template-columns: 1fr;
        padding: 40px 20px;
        gap: 40px;
      }

      .hero-visual {
        order: -1;
      }

      .badge-subs,
      .badge-vids,
      .badge-daily {
        display: none;
      }

      #about,
      #playlists,
      #videos,
      #games,
      #printables,
      #subscribe {
        padding: 70px 20px;
      }

      .subscribe-inner {
        padding: 50px 28px;
      }

      .stats-bar {
        padding: 24px 20px;
      }

      .stat-divider {
        display: none;
      }
    }

    /* ===== AVATAR SELECTOR OVERLAY ===== */
    #avatar-overlay {
      position: fixed;
      inset: 0;
      z-index: 99999;
      background: linear-gradient(135deg, #1A0A3C 0%, #38BDF8 50%, #A855F7 100%);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      animation: fadeIn 0.5s ease;
    }

    @keyframes fadeIn {
      from {
        opacity: 0;
      }

      to {
        opacity: 1;
      }
    }

    #avatar-overlay h1 {
      font-family: 'Fredoka One', cursive;
      font-size: clamp(1.8rem, 4vw, 3rem);
      color: white;
      margin-bottom: 10px;
      text-align: center;
      text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }

    #avatar-overlay p {
      color: rgba(255, 255, 255, 0.85);
      font-size: 1.1rem;
      margin-bottom: 36px;
      text-align: center;
    }

    .av-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      justify-content: center;
      max-width: 700px;
      padding: 0 20px;
    }

    .av-card {
      background: rgba(255, 255, 255, 0.15);
      backdrop-filter: blur(10px);
      border: 3px solid rgba(255, 255, 255, 0.3);
      border-radius: 24px;
      padding: 24px 20px;
      text-align: center;
      cursor: pointer;
      transition: all 0.3s ease;
      min-width: 130px;
    }

    .av-card:hover {
      background: rgba(255, 255, 255, 0.28);
      transform: translateY(-8px) scale(1.05);
      border-color: #FFD700;
      box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
    }

    .av-emoji {
      font-size: 4rem;
      display: block;
      margin-bottom: 10px;
      filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    }

    .av-name {
      font-family: 'Fredoka One', cursive;
      color: white;
      font-size: 1.05rem;
    }

    /* ===== AVATAR GUIDE BADGE ===== */
    #avatar-guide {
      position: fixed;
      bottom: 90px;
      left: 20px;
      z-index: 2000;
      background: white;
      border-radius: 50%;
      width: 58px;
      height: 58px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2rem;
      box-shadow: 0 6px 24px rgba(168, 85, 247, 0.35);
      cursor: pointer;
      animation: starFloat 2.5s ease-in-out infinite;
      border: 3px solid var(--purple);
    }

    #avatar-guide-bubble {
      position: fixed;
      bottom: 156px;
      left: 16px;
      z-index: 2000;
      background: white;
      border-radius: 16px;
      padding: 10px 14px;
      box-shadow: 0 8px 24px rgba(168, 85, 247, 0.2);
      max-width: 200px;
      font-size: 0.85rem;
      font-weight: 700;
      color: var(--dark);
      border: 2px solid rgba(168, 85, 247, 0.2);
      display: none;
    }

    #avatar-guide-bubble::after {
      content: '';
      position: absolute;
      bottom: -10px;
      left: 20px;
      border: 10px solid transparent;
      border-top-color: white;
      border-bottom: none;
    }

    /* ===== SOUNDBOARD SECTION ===== */
    #soundboard {
      padding: 100px 40px;
      background: linear-gradient(180deg, #FFF9E6 0%, #E8F5E9 100%);
    }

    .sb-tabs {
      display: flex;
      gap: 12px;
      justify-content: center;
      margin-bottom: 36px;
      flex-wrap: wrap;
    }

    .sb-tab {
      padding: 10px 26px;
      border-radius: 50px;
      border: 3px solid transparent;
      font-family: 'Fredoka One', cursive;
      font-size: 1rem;
      cursor: pointer;
      transition: all 0.2s;
      background: white;
      color: var(--dark);
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
    }

    .sb-tab.active {
      background: linear-gradient(135deg, var(--orange), var(--yellow));
      color: var(--dark);
      border-color: var(--orange);
    }

    .sb-grid {
      max-width: 900px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
      gap: 20px;
    }

    .sb-item {
      background: white;
      border-radius: 20px;
      padding: 24px 16px;
      text-align: center;
      box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
      border: 3px solid #F3E8FF;
      transition: all 0.25s ease;
      cursor: pointer;
      position: relative;
      overflow: hidden;
    }

    .sb-item:hover {
      transform: translateY(-6px) scale(1.03);
      box-shadow: 0 16px 40px rgba(168, 85, 247, 0.2);
      border-color: var(--purple);
    }

    .sb-item:active {
      transform: scale(0.95);
    }

    .sb-item-emoji {
      font-size: 3.5rem;
      display: block;
      margin-bottom: 10px;
      filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.15));
    }

    .sb-item-name {
      font-family: 'Fredoka One', cursive;
      font-size: 1rem;
      color: var(--dark);
    }

    .sb-wave {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 4px;
      background: linear-gradient(90deg, var(--purple), var(--blue), var(--pink));
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.3s ease;
    }

    .sb-item.playing .sb-wave {
      transform: scaleX(1);
    }

    .sb-item.playing {
      border-color: var(--purple);
      background: linear-gradient(135deg, #F9F0FF, #EEF4FF);
    }

    /* ===== FRIENDS ZONE SECTION ===== */
    #fanzone {
      padding: 100px 40px;
      background: linear-gradient(180deg, #F3E8FF 0%, #EEF4FF 60%, #FFF9E6 100%);
    }

    .fz-spotlight {
      max-width: 900px;
      margin: 0 auto 56px;
      background: linear-gradient(135deg, #FFD700 0%, #FF8C00 50%, #FF4455 100%);
      border-radius: 28px;
      padding: 36px 40px;
      display: flex;
      align-items: center;
      gap: 32px;
      flex-wrap: wrap;
      box-shadow: 0 20px 60px rgba(255, 165, 0, 0.3);
    }

    .fz-spotlight-badge {
      background: white;
      border-radius: 50%;
      width: 90px;
      height: 90px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 3.5rem;
      flex-shrink: 0;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
      animation: bounce 2s ease-in-out infinite;
    }

    .fz-spotlight-text h3 {
      font-family: 'Fredoka One', cursive;
      font-size: 1.6rem;
      color: white;
      text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
      margin-bottom: 8px;
    }

    .fz-spotlight-text p {
      color: rgba(255, 255, 255, 0.9);
      font-size: 1rem;
      line-height: 1.6;
    }

    .fz-wall {
      max-width: 1000px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 24px;
    }

    .fz-card {
      background: white;
      border-radius: 20px;
      padding: 24px;
      box-shadow: 0 6px 24px rgba(168, 85, 247, 0.1);
      border: 2px solid rgba(168, 85, 247, 0.1);
      transition: all 0.3s ease;
    }

    .fz-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 16px 40px rgba(168, 85, 247, 0.2);
      border-color: rgba(168, 85, 247, 0.3);
    }

    .fz-card-header {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 14px;
    }

    .fz-avatar {
      width: 46px;
      height: 46px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.8rem;
      flex-shrink: 0;
    }

    .fz-username {
      font-family: 'Fredoka One', cursive;
      font-size: 1rem;
      color: var(--dark);
    }

    .fz-date {
      font-size: 0.75rem;
      color: #999;
      font-weight: 700;
    }

    .fz-msg {
      font-size: 0.92rem;
      color: #555;
      line-height: 1.65;
      margin-bottom: 14px;
    }

    .fz-art-box {
      border-radius: 14px;
      padding: 24px;
      text-align: center;
      font-size: 3.5rem;
      margin-bottom: 10px;
      background: linear-gradient(135deg, #FFF9E6, #F3E8FF);
    }

    .fz-likes {
      display: flex;
      align-items: center;
      gap: 6px;
      color: var(--pink);
      font-weight: 800;
      font-size: 0.9rem;
    }

    .fz-submit-box {
      max-width: 700px;
      margin: 48px auto 0;
      background: white;
      border-radius: 24px;
      padding: 36px;
      box-shadow: 0 10px 40px rgba(168, 85, 247, 0.12);
      border: 2px solid rgba(168, 85, 247, 0.1);
    }

    .fz-submit-box h3 {
      font-family: 'Fredoka One', cursive;
      font-size: 1.5rem;
      color: var(--dark);
      margin-bottom: 6px;
    }

    .fz-submit-box p {
      color: #888;
      font-size: 0.9rem;
      margin-bottom: 20px;
    }

    .fz-form {
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .fz-input {
      padding: 14px 18px;
      border-radius: 14px;
      border: 2px solid #F3E8FF;
      font-family: 'Nunito', sans-serif;
      font-size: 0.95rem;
      color: var(--dark);
      outline: none;
      transition: border 0.2s;
    }

    .fz-input:focus {
      border-color: var(--purple);
    }

    .fz-textarea {
      resize: vertical;
      min-height: 90px;
    }

    .fz-emoji-pick {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }

    .fz-ep-btn {
      width: 44px;
      height: 44px;
      border-radius: 12px;
      border: 2px solid #F3E8FF;
      background: white;
      font-size: 1.4rem;
      cursor: pointer;
      transition: all 0.2s;
    }

    .fz-ep-btn:hover {
      border-color: var(--purple);
      transform: scale(1.12);
    }

    .fz-ep-btn.selected {
      border-color: var(--purple);
      background: rgba(168, 85, 247, 0.1);
    }

    .btn-fz-submit {
      padding: 14px 32px;
      border: none;
      border-radius: 50px;
      background: linear-gradient(135deg, var(--purple), var(--blue));
      color: white;
      font-family: 'Fredoka One', cursive;
      font-size: 1.1rem;
      cursor: pointer;
      transition: all 0.25s ease;
      box-shadow: 0 6px 24px rgba(168, 85, 247, 0.35);
    }

    .btn-fz-submit:hover {
      transform: translateY(-3px) scale(1.03);
      box-shadow: 0 10px 32px rgba(168, 85, 247, 0.45);
    }

    /* ===== IMPROVED DOWNLOAD BUTTON ===== */
    .btn-download-big {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 14px 28px;
      border-radius: 50px;
      font-weight: 900;
      font-size: 1rem;
      border: none;
      cursor: pointer;
      transition: all 0.25s ease;
      background: linear-gradient(135deg, #22C55E, #16A34A);
      color: white;
      box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
      width: 100%;
      justify-content: center;
      margin-top: 10px;
      letter-spacing: 0.3px;
    }

    .btn-download-big:hover {
      transform: scale(1.04) translateY(-2px);
      box-shadow: 0 10px 30px rgba(34, 197, 94, 0.5);
    }

    /* ===== RAINBOW PROGRESS BAR ===== */
    #rainbow-bar {
      position: fixed;
      top: 0;
      left: 0;
      height: 5px;
      width: 0%;
      background: linear-gradient(90deg, #FF4455, #FF8C00, #FFD700, #4ADE80, #38BDF8, #A855F7, #FF70B8);
      z-index: 9999;
      border-radius: 0 4px 4px 0;
      transition: width 0.08s linear;
    }

    /* ===== CURSOR SPARKLE TRAIL ===== */
    .sparkle {
      position: fixed;
      pointer-events: none;
      z-index: 9998;
      font-size: 1rem;
      animation: sparkleFade 0.7s ease forwards;
      will-change: transform, opacity;
    }

    @keyframes sparkleFade {
      0% {
        opacity: 1;
        transform: scale(1) translateY(0);
      }

      100% {
        opacity: 0;
        transform: scale(0.3) translateY(-28px);
      }
    }

    /* ===== STAR COUNTER WIDGET ===== */
    #star-counter {
      position: fixed;
      bottom: 24px;
      right: 24px;
      z-index: 2000;
      background: linear-gradient(135deg, #FFD700, #FF8C00);
      border-radius: 50px;
      padding: 12px 22px;
      display: flex;
      align-items: center;
      gap: 8px;
      box-shadow: 0 8px 28px rgba(255, 165, 0, 0.4);
      font-family: 'Fredoka One', cursive;
      font-size: 1.1rem;
      color: white;
      cursor: pointer;
      transition: box-shadow 0.2s;
      animation: starFloat 3s ease-in-out infinite;
    }

    #star-counter:hover {
      box-shadow: 0 14px 40px rgba(255, 165, 0, 0.55);
    }

    @keyframes starFloat {

      0%,
      100% {
        transform: translateY(0);
      }

      50% {
        transform: translateY(-6px);
      }
    }

    #star-counter-num {
      font-size: 1.3rem;
      font-weight: 900;
    }

    /* ===== ACHIEVEMENT TOAST ===== */
    #achievement-toast {
      position: fixed;
      top: 84px;
      right: -380px;
      z-index: 3000;
      background: white;
      border-radius: 20px;
      padding: 16px 22px;
      box-shadow: 0 16px 48px rgba(168, 85, 247, 0.25);
      display: flex;
      align-items: center;
      gap: 14px;
      border: 3px solid rgba(168, 85, 247, 0.2);
      transition: right 0.5s cubic-bezier(.34, 1.56, .64, 1);
      max-width: 310px;
    }

    #achievement-toast.show {
      right: 24px;
    }

    .toast-icon {
      font-size: 2.4rem;
    }

    .toast-text h4 {
      font-family: 'Fredoka One', cursive;
      color: var(--purple);
      font-size: 1rem;
      margin-bottom: 2px;
    }

    .toast-text p {
      font-size: 0.82rem;
      color: #888;
      font-weight: 600;
    }

    /* ===== MOBILE HAMBURGER ===== */
    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      padding: 8px;
      background: none;
      border: none;
    }

    .hamburger span {
      display: block;
      width: 26px;
      height: 3px;
      background: var(--purple);
      border-radius: 99px;
      transition: all 0.3s ease;
    }

    .hamburger.open span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 6px);
    }

    .hamburger.open span:nth-child(2) {
      opacity: 0;
    }

    .hamburger.open span:nth-child(3) {
      transform: rotate(-45deg) translate(5px, -6px);
    }

    .mobile-menu {
      display: none;
      position: fixed;
      top: 76px;
      left: 0;
      right: 0;
      z-index: 999;
      background: rgba(255, 251, 239, 0.97);
      backdrop-filter: blur(20px);
      padding: 20px 30px;
      border-bottom: 2px solid rgba(168, 85, 247, 0.15);
      flex-direction: column;
      gap: 4px;
      box-shadow: 0 16px 40px rgba(168, 85, 247, 0.12);
      animation: slideDown 0.25s ease;
    }

    .mobile-menu.open {
      display: flex;
    }

    @keyframes slideDown {
      from {
        opacity: 0;
        transform: translateY(-10px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .mobile-menu a {
      text-decoration: none;
      font-weight: 800;
      font-size: 1.05rem;
      color: var(--dark);
      padding: 12px 16px;
      border-radius: 14px;
      transition: all 0.2s;
    }

    .mobile-menu a:hover {
      background: rgba(168, 85, 247, 0.08);
      color: var(--purple);
    }

    .mobile-menu .mob-cta {
      background: linear-gradient(135deg, var(--red), var(--pink)) !important;
      color: white !important;
      text-align: center;
      margin-top: 8px;
    }

    /* ===== ABC FLASHCARDS SECTION ===== */
    #flashcards {
      padding: 100px 40px;
      background: linear-gradient(180deg, white 0%, #EEF4FF 100%);
    }

    .flashcards-controls {
      display: flex;
      justify-content: center;
      gap: 14px;
      margin-bottom: 36px;
      flex-wrap: wrap;
    }

    .fc-btn {
      padding: 12px 28px;
      border-radius: 50px;
      border: none;
      font-family: 'Fredoka One', cursive;
      font-size: 1rem;
      cursor: pointer;
      transition: all 0.2s;
      font-weight: 700;
    }

    .fc-btn-prev {
      background: linear-gradient(135deg, #E3F2FD, #90CAF9);
      color: #0066CC;
    }

    .fc-btn-next {
      background: linear-gradient(135deg, #F3E5F5, #CE93D8);
      color: #7B00CC;
    }

    .fc-btn-shuffle {
      background: linear-gradient(135deg, #E8F5E9, #A5D6A7);
      color: #156B35;
    }

    .fc-btn:hover {
      transform: scale(1.07);
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    }

    .flashcard-scene {
      max-width: 380px;
      margin: 0 auto;
      height: 270px;
      perspective: 1000px;
      cursor: pointer;
    }

    .flashcard {
      width: 100%;
      height: 100%;
      position: relative;
      transform-style: preserve-3d;
      transition: transform 0.6s cubic-bezier(.4, 0, .2, 1);
    }

    .flashcard.flipped {
      transform: rotateY(180deg);
    }

    .fc-front,
    .fc-back {
      position: absolute;
      inset: 0;
      border-radius: 28px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      backface-visibility: hidden;
      box-shadow: 0 16px 48px rgba(168, 85, 247, 0.18);
    }

    .fc-front {
      background: linear-gradient(135deg, var(--purple), var(--blue));
      color: white;
    }

    .fc-back {
      background: white;
      border: 4px solid #F3E8FF;
      transform: rotateY(180deg);
      color: var(--dark);
    }

    .fc-letter {
      font-family: 'Fredoka One', cursive;
      font-size: 7rem;
      line-height: 1;
    }

    .fc-hint {
      font-size: 0.9rem;
      font-weight: 800;
      opacity: 0.75;
      margin-top: 8px;
    }

    .fc-back-emoji {
      font-size: 4.5rem;
    }

    .fc-back-word {
      font-family: 'Fredoka One', cursive;
      font-size: 1.8rem;
      color: var(--purple);
      margin-top: 10px;
    }

    .fc-back-label {
      font-size: 0.82rem;
      color: #888;
      font-weight: 700;
      margin-top: 4px;
    }

    .fc-progress {
      text-align: center;
      margin-top: 20px;
      font-family: 'Fredoka One', cursive;
      color: var(--purple);
      font-size: 1.1rem;
    }

    .fc-dots {
      display: flex;
      justify-content: center;
      gap: 5px;
      margin-top: 14px;
      flex-wrap: wrap;
      max-width: 380px;
      margin-inline: auto;
    }

    .fc-dot {
      width: 9px;
      height: 9px;
      border-radius: 50%;
      background: rgba(168, 85, 247, 0.2);
      transition: all 0.3s;
    }

    .fc-dot.active {
      background: var(--purple);
      transform: scale(1.4);
    }

    .fc-dot.visited {
      background: rgba(168, 85, 247, 0.5);
    }

    /* ===== COLORS & SHAPES QUIZ ===== */
    #learn-shapes {
      padding: 100px 40px;
      background: white;
    }

    .shapes-tabs {
      display: flex;
      gap: 12px;
      justify-content: center;
      margin-bottom: 36px;
      flex-wrap: wrap;
    }

    .shape-tab {
      padding: 10px 28px;
      border-radius: 50px;
      border: 3px solid transparent;
      font-family: 'Fredoka One', cursive;
      font-size: 1rem;
      cursor: pointer;
      transition: all 0.2s;
      background: white;
      color: var(--dark);
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
    }

    .shape-tab.active {
      background: linear-gradient(135deg, var(--purple), var(--blue));
      color: white;
    }

    .shapes-quiz-area {
      max-width: 600px;
      margin: 0 auto;
      text-align: center;
    }

    .sq-visual {
      font-size: 7rem;
      margin-bottom: 20px;
      animation: bounce 1.8s ease-in-out infinite;
      display: block;
    }

    .sq-question {
      font-family: 'Fredoka One', cursive;
      font-size: 1.5rem;
      color: var(--dark);
      margin-bottom: 24px;
    }

    .sq-options {
      display: flex;
      gap: 14px;
      justify-content: center;
      flex-wrap: wrap;
      margin-bottom: 20px;
    }

    .sq-option {
      padding: 14px 28px;
      border-radius: 50px;
      border: 3px solid #F3E8FF;
      font-family: 'Fredoka One', cursive;
      font-size: 1.1rem;
      cursor: pointer;
      background: white;
      transition: all 0.2s;
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    }

    .sq-option:hover {
      transform: scale(1.06);
      border-color: var(--purple);
    }

    .sq-option.correct {
      background: #4ADE80;
      border-color: #4ADE80;
      color: white;
      transform: scale(1.1);
    }

    .sq-option.wrong {
      background: #FF4455;
      border-color: #FF4455;
      color: white;
      animation: shake 0.4s ease;
    }

    .sq-score {
      font-family: 'Fredoka One', cursive;
      font-size: 1.1rem;
      color: var(--purple);
      margin-bottom: 16px;
    }

    /* ===== BADGE WALL ===== */
    #badge-wall {
      padding: 100px 40px;
      background: linear-gradient(180deg, #FFF9E6 0%, #F3E8FF 100%);
    }

    .badges-grid {
      max-width: 900px;
      margin: 0 auto;
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      justify-content: center;
    }

    .badge-item {
      background: white;
      border-radius: 20px;
      padding: 20px 22px;
      text-align: center;
      box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
      border: 3px solid #F3E8FF;
      transition: all 0.3s ease;
      min-width: 110px;
      opacity: 0.32;
      filter: grayscale(0.85);
    }

    .badge-item.earned {
      opacity: 1;
      filter: none;
      border-color: var(--yellow);
      box-shadow: 0 10px 30px rgba(255, 215, 0, 0.25);
    }

    .badge-item.earned:hover {
      transform: translateY(-6px) rotate(-2deg);
    }

    .badge-emoji {
      font-size: 2.6rem;
      display: block;
      margin-bottom: 8px;
    }

    .badge-name {
      font-family: 'Fredoka One', cursive;
      font-size: 0.85rem;
      color: var(--dark);
    }

    .badge-earned-lbl {
      font-size: 0.7rem;
      color: #22C55E;
      font-weight: 800;
      margin-top: 4px;
      display: block;
    }

    /* ===== DRAWING GAME SHARED STYLES ===== */
    .draw-color {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      cursor: pointer;
      border: 4px solid transparent;
      transition: all 0.2s;
      flex-shrink: 0;
    }

    .draw-color.active {
      border-color: #1A0A3C;
      transform: scale(1.18);
    }

    .draw-size-btn {
      padding: 6px 14px;
      border-radius: 50px;
      border: 2px solid #F3E8FF;
      background: white;
      cursor: pointer;
      font-family: 'Fredoka One', cursive;
      font-size: 0.82rem;
      transition: all 0.2s;
    }

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

    .draw-action-btn {
      padding: 9px 20px;
      border-radius: 50px;
      border: none;
      cursor: pointer;
      font-family: 'Fredoka One', cursive;
      font-size: 0.9rem;
      transition: all 0.2s;
    }

    .draw-action-btn:hover {
      transform: scale(1.05);
    }

    /* ===== RESPONSIVE ADDITIONS ===== */
    @media (max-width: 768px) {
      .hamburger {
        display: flex;
      }

      #star-counter {
        bottom: 16px;
        right: 16px;
        padding: 10px 16px;
        font-size: 0.95rem;
      }

      #flashcards,
      #learn-shapes,
      #badge-wall {
        padding: 60px 20px;
      }

      .flashcard-scene {
        height: 230px;
      }

      .fc-letter {
        font-size: 5rem;
      }

      .sq-visual {
        font-size: 5rem;
      }

      .sq-option {
        padding: 10px 18px;
        font-size: 0.95rem;
      }

      .badges-grid {
        gap: 12px;
      }

      .badge-item {
        min-width: 90px;
        padding: 14px 16px;
      }
    }

    /* ===== DARK / SLEEPY MODE ===== */
    body.dark-mode {
      --bg: #13112a;
      --dark: #f0e6ff;
      --card-bg: #1e1a3a;
      --shadow: rgba(168, 85, 247, 0.35);
      background: #13112a;
      color: #f0e6ff;
    }

    body.dark-mode nav {
      background: rgba(19, 17, 42, 0.92);
      border-bottom-color: rgba(168, 85, 247, 0.3);
    }

    body.dark-mode .game-card,
    body.dark-mode .print-card,
    body.dark-mode .fz-card,
    body.dark-mode .story-card,
    body.dark-mode .rhyme-card,
    body.dark-mode .parent-card,
    body.dark-mode .teddy-card {
      background: #1e1a3a;
      border-color: rgba(168, 85, 247, 0.25);
      color: #f0e6ff;
    }

    body.dark-mode .game-info h3,
    body.dark-mode .game-info p,
    body.dark-mode .print-info h3,
    body.dark-mode .print-info p,
    body.dark-mode .rhyme-card h3,
    body.dark-mode .rhyme-card p,
    body.dark-mode .parent-card h3,
    body.dark-mode .parent-card p,
    body.dark-mode .story-page-text {
      color: #d0c8ff;
    }

    body.dark-mode .fz-input {
      background: #1e1a3a;
      color: #f0e6ff;
      border-color: rgba(168, 85, 247, 0.3);
    }

    body.dark-mode #flashcards,
    body.dark-mode #learn-shapes,
    body.dark-mode #badge-wall,
    body.dark-mode #soundboard,
    body.dark-mode #fanzone,
    body.dark-mode #stories,
    body.dark-mode #rhymes,
    body.dark-mode #whizzy-teddy,
    body.dark-mode #parents {
      background: #1a1730;
    }

    body.dark-mode footer {
      background: #0e0c1f;
    }

    body.dark-mode .section-eyebrow {
      color: var(--pink);
    }

    /* Night mode toggle button */
    .night-toggle {
      background: none;
      border: 2px solid rgba(168, 85, 247, 0.3);
      border-radius: 50px;
      padding: 7px 14px;
      font-size: 1.1rem;
      cursor: pointer;
      transition: all 0.25s;
      margin-left: 8px;
      font-family: 'Nunito', sans-serif;
      font-weight: 700;
      color: var(--dark);
    }

    .night-toggle:hover {
      background: rgba(168, 85, 247, 0.12);
      transform: scale(1.1);
    }

    body.dark-mode .night-toggle {
      color: #f0e6ff;
      border-color: rgba(168, 85, 247, 0.5);
    }

    /* ===== PROGRESS TRACKER ===== */
    #progress-tracker {
      position: fixed;
      bottom: 80px;
      right: 20px;
      background: linear-gradient(135deg, #fff, #f9f0ff);
      border: 2px solid rgba(168, 85, 247, 0.2);
      border-radius: 20px;
      padding: 12px 18px;
      font-family: 'Fredoka One', cursive;
      font-size: 0.9rem;
      color: var(--dark);
      z-index: 900;
      box-shadow: 0 8px 32px rgba(168, 85, 247, 0.15);
      display: flex;
      flex-direction: column;
      gap: 4px;
      min-width: 145px;
      transition: all 0.3s;
    }

    #progress-tracker .pt-row {
      display: flex;
      align-items: center;
      gap: 6px;
    }

    body.dark-mode #progress-tracker {
      background: linear-gradient(135deg, #1e1a3a, #2a1a42);
      color: #f0e6ff;
    }

    /* ===== STORIES SECTION ===== */
    #stories {
      padding: 100px 40px;
      background: linear-gradient(180deg, #FFF9E6 0%, #EEF4FF 100%);
    }

    .stories-container {
      max-width: 760px;
      margin: 0 auto;
      position: relative;
    }

    .story-book {
      background: white;
      border-radius: 28px;
      box-shadow: 0 20px 60px rgba(168, 85, 247, 0.12);
      border: 3px solid rgba(168, 85, 247, 0.15);
      overflow: hidden;
    }

    .story-selector {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      justify-content: center;
      margin-bottom: 32px;
    }

    .story-btn {
      padding: 10px 22px;
      border: 2px solid rgba(168, 85, 247, 0.2);
      border-radius: 50px;
      background: white;
      font-family: 'Fredoka One', cursive;
      font-size: 1rem;
      cursor: pointer;
      transition: all 0.25s;
      color: var(--dark);
    }

    .story-btn.active,
    .story-btn:hover {
      background: linear-gradient(135deg, var(--purple), var(--blue));
      color: white;
      border-color: transparent;
      box-shadow: 0 6px 20px rgba(168, 85, 247, 0.3);
      transform: translateY(-2px);
    }

    .story-page {
      display: none;
      padding: 48px 40px;
      text-align: center;
      animation: fadeInUp 0.4s ease;
    }

    .story-page.active {
      display: block;
    }

    .story-page-emoji {
      font-size: 6rem;
      margin-bottom: 20px;
      filter: drop-shadow(0 6px 16px rgba(168, 85, 247, 0.2));
    }

    .story-page-title {
      font-family: 'Fredoka One', cursive;
      font-size: 1.8rem;
      color: var(--purple);
      margin-bottom: 12px;
    }

    .story-page-text {
      font-size: 1.05rem;
      color: #555;
      line-height: 1.8;
      margin-bottom: 28px;
    }

    .story-nav {
      display: flex;
      gap: 12px;
      justify-content: center;
      align-items: center;
      padding: 0 40px 32px;
    }

    .story-nav-btn {
      padding: 10px 24px;
      border: none;
      border-radius: 50px;
      font-family: 'Fredoka One', cursive;
      font-size: 1rem;
      cursor: pointer;
      transition: all 0.25s;
    }

    .story-prev {
      background: #F3E8FF;
      color: var(--purple);
    }

    .story-next {
      background: linear-gradient(135deg, var(--purple), var(--blue));
      color: white;
      box-shadow: 0 6px 20px rgba(168, 85, 247, 0.3);
    }

    .story-page-num {
      font-family: 'Fredoka One', cursive;
      font-size: 1rem;
      color: #aaa;
    }

    .story-nav-btn:hover {
      transform: scale(1.07);
    }

    /* ===== RHYMES SECTION ===== */
    #rhymes {
      padding: 100px 40px;
      background: linear-gradient(180deg, #FFF5FA 0%, #F3E8FF 100%);
    }

    .rhymes-grid {
      max-width: 1000px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 24px;
    }

    .rhyme-card {
      background: white;
      border-radius: 22px;
      overflow: hidden;
      box-shadow: 0 8px 28px rgba(168, 85, 247, 0.1);
      border: 2px solid rgba(168, 85, 247, 0.1);
      transition: all 0.3s ease;
    }

    .rhyme-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 18px 48px rgba(168, 85, 247, 0.2);
    }

    .rhyme-thumb {
      height: 130px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 4rem;
    }

    .rhyme-body {
      padding: 20px;
    }

    .rhyme-body h3 {
      font-family: 'Fredoka One', cursive;
      font-size: 1.2rem;
      color: var(--dark);
      margin-bottom: 6px;
    }

    .rhyme-body p {
      font-size: 0.85rem;
      color: #888;
      line-height: 1.6;
      margin-bottom: 14px;
    }

    .rhyme-lyrics {
      background: #FFF9E6;
      border-radius: 12px;
      padding: 12px 14px;
      font-size: 0.85rem;
      color: #555;
      line-height: 1.7;
      margin-bottom: 14px;
      max-height: 80px;
      overflow: hidden;
      transition: max-height 0.4s;
    }

    .rhyme-lyrics.open {
      max-height: 400px;
    }

    .rhyme-actions {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }

    .rhyme-play-btn {
      padding: 8px 18px;
      border: none;
      border-radius: 50px;
      background: linear-gradient(135deg, var(--pink), var(--purple));
      color: white;
      font-family: 'Fredoka One', cursive;
      font-size: 0.9rem;
      cursor: pointer;
      transition: all 0.2s;
    }

    .rhyme-play-btn:hover {
      transform: scale(1.07);
      box-shadow: 0 4px 14px rgba(168, 85, 247, 0.3);
    }

    .rhyme-lyrics-btn {
      padding: 8px 16px;
      border: 2px solid rgba(168, 85, 247, 0.2);
      border-radius: 50px;
      background: white;
      font-family: 'Fredoka One', cursive;
      font-size: 0.9rem;
      cursor: pointer;
      color: var(--purple);
      transition: all 0.2s;
    }

    .rhyme-lyrics-btn:hover {
      background: rgba(168, 85, 247, 0.08);
    }

    /* ===== WHIZZY TEDDY SECTION ===== */
    #whizzy-teddy {
      padding: 100px 40px;
      background: linear-gradient(180deg, #EEF4FF 0%, #FFF9E6 100%);
    }

    .teddy-container {
      max-width: 960px;
      margin: 0 auto;
    }

    .teddy-hero {
      display: flex;
      align-items: center;
      gap: 48px;
      background: white;
      border-radius: 32px;
      padding: 48px;
      box-shadow: 0 20px 60px rgba(168, 85, 247, 0.12);
      border: 3px solid rgba(168, 85, 247, 0.1);
      flex-wrap: wrap;
      margin-bottom: 40px;
    }

    .teddy-emoji-big {
      font-size: 9rem;
      filter: drop-shadow(0 8px 24px rgba(168, 85, 247, 0.25));
      animation: bounce 2s ease-in-out infinite;
    }

    .teddy-intro h2 {
      font-family: 'Fredoka One', cursive;
      font-size: 2.4rem;
      color: var(--purple);
      margin-bottom: 12px;
    }

    .teddy-intro p {
      font-size: 1.05rem;
      color: #555;
      line-height: 1.8;
      margin-bottom: 16px;
    }

    .teddy-badge {
      display: inline-block;
      background: linear-gradient(135deg, var(--yellow), var(--orange));
      color: white;
      border-radius: 50px;
      padding: 6px 18px;
      font-family: 'Fredoka One', cursive;
      font-size: 0.9rem;
      margin-right: 8px;
      margin-bottom: 8px;
    }

    .teddy-facts {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 20px;
    }

    .teddy-card {
      background: white;
      border-radius: 20px;
      padding: 28px 24px;
      text-align: center;
      box-shadow: 0 6px 24px rgba(168, 85, 247, 0.09);
      border: 2px solid rgba(168, 85, 247, 0.1);
      transition: all 0.3s;
    }

    .teddy-card:hover {
      transform: translateY(-6px) rotate(-1deg);
      box-shadow: 0 16px 40px rgba(168, 85, 247, 0.18);
    }

    .teddy-card-emoji {
      font-size: 3rem;
      margin-bottom: 10px;
      display: block;
    }

    .teddy-card h4 {
      font-family: 'Fredoka One', cursive;
      font-size: 1.05rem;
      color: var(--purple);
      margin-bottom: 6px;
    }

    .teddy-card p {
      font-size: 0.85rem;
      color: #777;
      line-height: 1.6;
    }

    /* ===== PARENT CORNER SECTION ===== */
    #parents {
      padding: 100px 40px;
      background: linear-gradient(180deg, #F0FFF4 0%, #EEF4FF 100%);
    }

    .parents-grid {
      max-width: 1000px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
      gap: 24px;
    }

    .parent-card {
      background: white;
      border-radius: 22px;
      padding: 30px 26px;
      box-shadow: 0 8px 28px rgba(56, 189, 248, 0.1);
      border: 2px solid rgba(56, 189, 248, 0.15);
      transition: all 0.3s;
    }

    .parent-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 18px 48px rgba(56, 189, 248, 0.2);
    }

    .parent-card-icon {
      font-size: 2.5rem;
      margin-bottom: 14px;
      display: block;
    }

    .parent-card h3 {
      font-family: 'Fredoka One', cursive;
      font-size: 1.2rem;
      color: var(--dark);
      margin-bottom: 8px;
    }

    .parent-card p {
      font-size: 0.88rem;
      color: #666;
      line-height: 1.7;
    }

    .parent-contact-box {
      max-width: 600px;
      margin: 40px auto 0;
      background: linear-gradient(135deg, #38BDF8, #A855F7);
      border-radius: 28px;
      padding: 40px;
      text-align: center;
      color: white;
      box-shadow: 0 20px 60px rgba(56, 189, 248, 0.3);
    }

    .parent-contact-box h3 {
      font-family: 'Fredoka One', cursive;
      font-size: 1.8rem;
      margin-bottom: 12px;
    }

    .parent-contact-box p {
      margin-bottom: 24px;
      opacity: 0.9;
      font-size: 1rem;
    }

    .parent-contact-links {
      display: flex;
      gap: 12px;
      justify-content: center;
      flex-wrap: wrap;
    }

    .parent-link-btn {
      padding: 12px 26px;
      border-radius: 50px;
      background: white;
      color: var(--purple);
      font-family: 'Fredoka One', cursive;
      font-size: 1rem;
      text-decoration: none;
      transition: all 0.25s;
      display: inline-block;
    }

    .parent-link-btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    }

    /* ===== EXTRA RESPONSIVE ===== */
    @media (max-width: 768px) {

      #stories,
      #rhymes,
      #whizzy-teddy,
      #parents {
        padding: 60px 20px;
      }

      .teddy-hero {
        padding: 28px 20px;
        gap: 24px;
      }

      .teddy-emoji-big {
        font-size: 6rem;
      }

      .teddy-intro h2 {
        font-size: 1.7rem;
      }

      .story-page {
        padding: 28px 20px;
      }

      .story-nav {
        padding: 0 20px 24px;
      }

      #progress-tracker {
        right: 10px;
        bottom: 75px;
      }

      .rhyme-thumb {
        height: 100px;
        font-size: 3rem;
      }
    }
