:root {
  --kids-purple: #6d28d9;
  --kids-purple-dark: #4c1d95;
  --kids-blue: #2563eb;
  --kids-sky: #38bdf8;
  --kids-yellow: #facc15;
  --kids-pink: #ec4899;
  --kids-green: #22c55e;
  --kids-bg: #f8f7ff;
  --kids-text: #172033;
  --kids-muted: #667085;
  --kids-card: rgba(255, 255, 255, 0.82);
  --kids-border: rgba(109, 40, 217, 0.16);
  --kids-shadow: 0 24px 70px rgba(76, 29, 149, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--kids-text);
  background:
    radial-gradient(circle at top left, rgba(109, 40, 217, 0.18), transparent 32%),
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.15), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, var(--kids-bg) 48%, #ffffff 100%);
  overflow-x: hidden;
}

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

.kids-bg-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.55;
  z-index: -1;
  pointer-events: none;
}

.orb-1 {
  width: 260px;
  height: 260px;
  background: rgba(109, 40, 217, 0.18);
  top: 90px;
  left: -80px;
}

.orb-2 {
  width: 260px;
  height: 260px;
  background: rgba(37, 99, 235, 0.14);
  top: 240px;
  right: -80px;
}

.orb-3 {
  width: 220px;
  height: 220px;
  background: rgba(250, 204, 21, 0.18);
  bottom: 120px;
  left: 18%;
}

/* Header */

.kids-header {
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(250, 204, 21, 0.18), transparent 28%),
    linear-gradient(135deg, #6d28d9, #2563eb);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(76, 29, 149, 0.22);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 14px;
  z-index: 20;
}

.kids-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Baloo 2", cursive;
}

.kids-logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--kids-purple), var(--kids-blue));
  color: white;
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(109, 40, 217, 0.28);
}

.kids-logo span {
  display: block;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  color: var(--kids-purple-dark);
}

.kids-logo small {
  display: block;
  font-size: 13px;
  color: var(--kids-blue);
  font-weight: 800;
  margin-top: 2px;
}

/* Logo Image */
.kids-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}



.kids-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  padding-left: 8px;
  border-left: 2px solid rgba(109, 40, 217, 0.18);
}

.kids-logo-text strong {
  font-family: "Baloo 2", cursive;
  font-size: 22px;
  color: #6d28d9;
  font-weight: 900;
}

.kids-logo-text small {
  margin-top: 3px;
  font-size: 11px;
  color: #2563eb;
  font-weight: 900;
  letter-spacing: 0.2px;
}

.kids-nav {
  display: flex;
  gap: 24px;
  font-size: 14px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.86);
}

.kids-nav a {
  color: rgba(255, 255, 255, 0.86);
  transition: 0.25s ease;
}

.kids-nav a:hover {
  color: #fde68a;
  transform: translateY(-1px);
}

.kids-header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.kids-primary-btn,
.kids-ghost-btn,
.kids-outline-btn {
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 800;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.25s ease;
}

.kids-header .kids-primary-btn {
  color: #4c1d95;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

.kids-header .kids-primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.2);
}

.kids-primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(109, 40, 217, 0.32);
}

.kids-ghost-btn {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.kids-ghost-btn:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-2px);
}

.kids-outline-btn {
  color: var(--kids-purple);
  border: 1px solid rgba(109, 40, 217, 0.22);
  background: rgba(255, 255, 255, 0.72);
}

.big {
  padding: 14px 24px;
  font-size: 15px;
}

.kids-menu-btn {
  display: none;
  border: 0;
  background: rgba(109, 40, 217, 0.1);
  color: var(--kids-purple);
  border-radius: 14px;
  padding: 10px 13px;
  font-size: 20px;
  cursor: pointer;
}

.kids-mobile-menu {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 10px auto 0;
  padding: 14px;
  border-radius: 20px;
  background: white;
  box-shadow: var(--kids-shadow);
  border: 1px solid var(--kids-border);
  position: sticky;
  top: 88px;
  z-index: 19;
}

.kids-mobile-menu a {
  display: block;
  padding: 12px;
  font-weight: 800;
  color: #475467;
  border-radius: 14px;
}

.kids-mobile-menu a:hover {
  background: #f3e8ff;
  color: var(--kids-purple);
}

.kids-mobile-menu.show {
  display: block;
}

/* Hero */

.kids-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 56px auto 28px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
}

.kids-badge {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(109, 40, 217, 0.09);
  color: var(--kids-purple);
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 18px;
}

.kids-badge span {
  background: white;
  border-radius: 999px;
  padding: 4px 8px;
  box-shadow: 0 8px 20px rgba(109, 40, 217, 0.12);
}

.kids-hero h1 {
  margin: 0;
  font-family: "Baloo 2", cursive;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.94;
  letter-spacing: -1.5px;
  color: #111827;
}

.kids-hero h1 span {
  display: inline-block;
  color: transparent;
  background: linear-gradient(135deg, var(--kids-purple), var(--kids-blue), var(--kids-pink));
  -webkit-background-clip: text;
  background-clip: text;
}

.kids-hero p {
  max-width: 640px;
  margin: 20px 0 0;
  color: var(--kids-muted);
  font-size: 18px;
  line-height: 1.7;
}

.kids-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.kids-hero-actions.center {
  justify-content: center;
}

.kids-trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.kids-trust-row div {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(109, 40, 217, 0.12);
  box-shadow: 0 14px 34px rgba(76, 29, 149, 0.08);
}

.kids-trust-row strong {
  display: block;
  color: var(--kids-purple-dark);
  font-size: 15px;
}

.kids-trust-row span {
  display: block;
  margin-top: 4px;
  color: var(--kids-muted);
  font-size: 13px;
}

/* Hero Visual */

.kids-hero-visual {
  min-height: 540px;
  position: relative;
  display: grid;
  place-items: center;
}

.kids-character-card {
  width: min(410px, 100%);
  border-radius: 36px;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.76)),
    radial-gradient(circle at top right, rgba(250, 204, 21, 0.18), transparent 38%);
  border: 1px solid rgba(109, 40, 217, 0.16);
  box-shadow: var(--kids-shadow);
  position: relative;
  overflow: hidden;
}

.kids-character-card::before {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  background: rgba(37, 99, 235, 0.12);
  border-radius: 999px;
  right: -50px;
  top: -50px;
}

.kids-character-face {
  width: 116px;
  height: 116px;
  border-radius: 34px;
  display: grid;
  place-items: center;
  font-size: 64px;
  background: linear-gradient(135deg, #fef3c7, #dbeafe);
  box-shadow: inset 0 0 0 1px rgba(109, 40, 217, 0.08);
  margin-bottom: 18px;
}

.kids-character-card h3 {
  margin: 0;
  font-family: "Baloo 2", cursive;
  font-size: 32px;
  line-height: 1;
  color: var(--kids-purple-dark);
}

.kids-character-card p {
  margin: 8px 0 0;
  color: var(--kids-muted);
  font-weight: 700;
}

.kids-progress-box {
  margin-top: 24px;
  padding: 16px;
  border-radius: 22px;
  background: #f8fafc;
  border: 1px solid rgba(109, 40, 217, 0.1);
}

.progress-top {
  display: flex;
  justify-content: space-between;
  color: #475467;
  font-size: 14px;
  font-weight: 800;
}

.progress-top b {
  color: var(--kids-purple);
}

.progress-bar {
  height: 12px;
  background: #e9d5ff;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 10px;
}

.progress-bar span {
  display: block;
  height: 100%;
  width: 72%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--kids-purple), var(--kids-blue));
}

.kids-mini-badges {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.kids-mini-badges span {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(109, 40, 217, 0.08);
  color: var(--kids-purple);
  font-size: 12px;
  font-weight: 800;
}

.floating-card {
  position: absolute;
  padding: 13px 16px;
  border-radius: 18px;
  background: white;
  border: 1px solid rgba(109, 40, 217, 0.12);
  box-shadow: 0 18px 44px rgba(76, 29, 149, 0.14);
  font-weight: 900;
  color: #344054;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: floaty 4s ease-in-out infinite;
}

.floating-card span {
  font-size: 22px;
}

.card-a {
  top: 70px;
  left: 10px;
}

.card-b {
  right: 0;
  top: 190px;
  animation-delay: 0.7s;
}

.card-c {
  left: 44px;
  bottom: 90px;
  animation-delay: 1.1s;
}

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

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

/* Demo Strip */

.kids-demo-strip {
  width: min(1180px, calc(100% - 32px));
  margin: 20px auto 0;
  padding: 18px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--kids-purple), var(--kids-blue));
  color: white;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  box-shadow: 0 20px 55px rgba(37, 99, 235, 0.22);
}

.kids-demo-strip div {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.13);
  font-weight: 800;
}

.kids-demo-strip span {
  display: block;
  color: #fde68a;
  font-family: "Baloo 2", cursive;
  font-size: 24px;
  line-height: 1;
  margin-bottom: 6px;
}

/* Sections */

.kids-section {
  width: min(1180px, calc(100% - 32px));
  margin: 86px auto 0;
}

.section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 34px;
}

.section-heading span,
.section-pill {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(109, 40, 217, 0.09);
  color: var(--kids-purple);
  font-weight: 900;
  font-size: 13px;
}

.section-heading h2,
.unique-left h2,
.challenge-card h2,
.parent-card h2,
.kids-final-cta h2 {
  margin: 14px 0 0;
  font-family: "Baloo 2", cursive;
  font-size: clamp(34px, 4.5vw, 54px);
  line-height: 1;
  color: #111827;
}

.section-heading p,
.unique-left p,
.challenge-card p,
.parent-card p,
.kids-final-cta p {
  color: var(--kids-muted);
  font-size: 17px;
  line-height: 1.7;
  margin: 14px 0 0;
}

/* Learning Paths */

.kids-path-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.kids-path-card {
  padding: 26px;
  border-radius: 32px;
  background: var(--kids-card);
  border: 1px solid var(--kids-border);
  box-shadow: 0 20px 55px rgba(76, 29, 149, 0.09);
  position: relative;
  overflow: hidden;
  transition: 0.25s ease;
}

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

.kids-path-card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  right: -70px;
  top: -70px;
  opacity: 0.18;
}

.kids-path-card.school::before {
  background: var(--kids-purple);
}

.kids-path-card.skills::before {
  background: var(--kids-blue);
}

.kids-path-card.fun::before {
  background: var(--kids-yellow);
}

.path-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  font-size: 38px;
  background: #f8fafc;
  border: 1px solid rgba(109, 40, 217, 0.1);
}

.path-tag {
  margin-top: 18px;
  color: var(--kids-purple);
  font-weight: 900;
  font-size: 13px;
}

.kids-path-card h3 {
  margin: 8px 0 0;
  font-family: "Baloo 2", cursive;
  font-size: 34px;
  line-height: 1;
  color: var(--kids-purple-dark);
}

.kids-path-card p {
  color: var(--kids-muted);
  line-height: 1.65;
  margin: 12px 0 0;
}

.kids-path-card ul {
  padding: 0;
  margin: 18px 0 22px;
  list-style: none;
  display: grid;
  gap: 10px;
}

.kids-path-card li {
  color: #344054;
  font-weight: 700;
  font-size: 14px;
}

.kids-path-card li::before {
  content: "✓";
  color: var(--kids-green);
  font-weight: 900;
  margin-right: 8px;
}

.path-btn {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  padding: 13px 16px;
  border-radius: 18px;
  color: white;
  font-weight: 900;
  background: linear-gradient(135deg, var(--kids-purple), var(--kids-blue));
}

/* Unique Section */

.kids-unique {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.unique-left,
.unique-right {
  min-width: 0;
}

.unique-points {
  margin-top: 24px;
  display: grid;
  gap: 14px;
}

.unique-points div {
  padding: 18px;
  border-radius: 22px;
  background: white;
  border: 1px solid rgba(109, 40, 217, 0.1);
  box-shadow: 0 14px 34px rgba(76, 29, 149, 0.07);
}

.unique-points b {
  display: block;
  color: var(--kids-purple-dark);
  font-size: 16px;
  margin-bottom: 6px;
}

.unique-points span {
  color: var(--kids-muted);
  line-height: 1.5;
}

.lesson-preview-card {
  padding: 24px;
  border-radius: 34px;
  background: linear-gradient(180deg, white, #f8f7ff);
  border: 1px solid rgba(109, 40, 217, 0.14);
  box-shadow: var(--kids-shadow);
}

.preview-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--kids-muted);
  font-size: 13px;
  font-weight: 800;
}

.preview-top b {
  color: var(--kids-purple);
}

.lesson-preview-card h3 {
  font-family: "Baloo 2", cursive;
  font-size: 34px;
  line-height: 1;
  margin: 18px 0;
  color: var(--kids-purple-dark);
}

.preview-video-box {
  min-height: 230px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 20% 20%, rgba(250, 204, 21, 0.28), transparent 28%),
    linear-gradient(135deg, var(--kids-purple), var(--kids-blue));
  color: white;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
}

.play-btn {
  width: 74px;
  height: 74px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: white;
  color: var(--kids-purple);
  font-size: 28px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
}

.preview-video-box p {
  margin: 12px 0 0;
  font-family: "Baloo 2", cursive;
  font-size: 24px;
  font-weight: 800;
}

.preview-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.preview-list span {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(109, 40, 217, 0.08);
  color: var(--kids-purple);
  font-size: 13px;
  font-weight: 900;
}

/* Classes */

.class-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.class-card {
  padding: 22px;
  border-radius: 28px;
  background: white;
  border: 1px solid rgba(109, 40, 217, 0.12);
  box-shadow: 0 18px 45px rgba(76, 29, 149, 0.08);
  transition: 0.25s ease;
}

.class-card:hover {
  transform: translateY(-5px);
}

.class-card.featured {
  background: linear-gradient(135deg, var(--kids-purple), var(--kids-blue));
  color: white;
}

.class-card span {
  width: 56px;
  height: 56px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: rgba(109, 40, 217, 0.1);
  color: var(--kids-purple);
  font-family: "Baloo 2", cursive;
  font-size: 24px;
  font-weight: 900;
}

.class-card.featured span {
  background: rgba(255, 255, 255, 0.16);
  color: white;
}

.class-card h3 {
  margin: 18px 0 8px;
  font-family: "Baloo 2", cursive;
  font-size: 26px;
  line-height: 1;
}

.class-card p {
  margin: 0;
  color: var(--kids-muted);
  line-height: 1.55;
  font-size: 14px;
}

.class-card.featured p {
  color: rgba(255, 255, 255, 0.82);
}

/* Skills */

.skill-chip-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.skill-chip-grid div {
  padding: 16px 20px;
  border-radius: 999px;
  background: white;
  border: 1px solid rgba(109, 40, 217, 0.12);
  box-shadow: 0 14px 34px rgba(76, 29, 149, 0.07);
  font-weight: 900;
  color: #344054;
}

/* Challenges */

.challenge-card,
.parent-card {
  padding: 34px;
  border-radius: 36px;
  background:
    radial-gradient(circle at top right, rgba(250, 204, 21, 0.16), transparent 32%),
    linear-gradient(135deg, rgba(109, 40, 217, 0.08), rgba(37, 99, 235, 0.08));
  border: 1px solid rgba(109, 40, 217, 0.14);
  box-shadow: var(--kids-shadow);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
}

.challenge-grid,
.parent-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.challenge-grid div,
.parent-points div {
  padding: 18px;
  border-radius: 22px;
  background: white;
  border: 1px solid rgba(109, 40, 217, 0.1);
  box-shadow: 0 12px 30px rgba(76, 29, 149, 0.07);
}

.challenge-grid b {
  display: block;
  color: var(--kids-purple-dark);
  margin-bottom: 5px;
}

.challenge-grid span {
  color: var(--kids-muted);
  font-size: 14px;
}

.parent-points div {
  font-weight: 900;
  color: #344054;
}

/* Final CTA */

.kids-final-cta {
  width: min(980px, calc(100% - 32px));
  margin: 90px auto 0;
  text-align: center;
  padding: 46px 28px;
  border-radius: 40px;
  color: white;
  background:
    radial-gradient(circle at top left, rgba(250, 204, 21, 0.22), transparent 34%),
    linear-gradient(135deg, var(--kids-purple), var(--kids-blue));
  box-shadow: 0 24px 70px rgba(37, 99, 235, 0.24);
}

.kids-final-cta h2,
.kids-final-cta p {
  color: white;
}

.kids-final-cta p {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.88;
}

.kids-final-cta .kids-outline-btn {
  color: white;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
}

.kids-footer {
  text-align: center;
  color: var(--kids-muted);
  padding: 36px 16px;
  font-weight: 700;
}

/* Responsive */

@media (max-width: 980px) {
  .kids-nav,
  .kids-header-actions {
    display: none;
  }

  .kids-menu-btn {
    display: inline-flex;
  }

  .kids-hero,
  .kids-unique,
  .challenge-card,
  .parent-card {
    grid-template-columns: 1fr;
  }

  .kids-hero {
    margin-top: 36px;
  }

  .kids-hero-visual {
    min-height: 460px;
  }

  .kids-demo-strip,
  .kids-path-grid,
  .class-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .kids-trust-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .kids-header {
    width: calc(100% - 20px);
    border-radius: 20px;
    top: 10px;
  }

  .kids-logo span {
    font-size: 21px;
  }

  .kids-logo-icon {
    width: 40px;
    height: 40px;
  }

  .kids-hero,
  .kids-section,
  .kids-demo-strip,
  .kids-final-cta {
    width: calc(100% - 24px);
  }

  .kids-hero h1 {
    font-size: 44px;
  }

  .kids-hero p {
    font-size: 16px;
  }

  .kids-hero-actions {
    flex-direction: column;
  }

  .kids-primary-btn,
  .kids-outline-btn,
  .kids-ghost-btn {
    width: 100%;
  }

  .kids-demo-strip,
  .kids-path-grid,
  .class-grid,
  .challenge-grid,
  .parent-points {
    grid-template-columns: 1fr;
  }

  .kids-hero-visual {
    min-height: 430px;
  }

  .floating-card {
    position: static;
    margin-top: 12px;
    animation: none;
  }

  .kids-hero-visual {
    display: block;
  }

  .kids-character-card {
    margin: 0 auto 14px;
  }

  .kids-section {
    margin-top: 62px;
  }

  .challenge-card,
  .parent-card {
    padding: 24px;
    border-radius: 30px;
  }
}

@media (max-width: 640px) {
  .kids-logo-img {
    width: 112px;
    max-height: 40px;
  }

  .kids-logo-text strong {
    font-size: 18px;
  }

  .kids-logo-text small {
    display: none;
  }
}

/* ================================
   Extra Attractive Vaibhly Kids UI
================================ */

.kids-float-shape {
  position: fixed;
  z-index: -1;
  font-size: 34px;
  opacity: 0.5;
  animation: kidsFloatShape 6s ease-in-out infinite;
  pointer-events: none;
  filter: drop-shadow(0 10px 20px rgba(76, 29, 149, 0.15));
}

.shape-star {
  top: 120px;
  left: 5%;
}

.shape-rocket {
  top: 190px;
  right: 7%;
  animation-delay: 0.8s;
}

.shape-book {
  bottom: 160px;
  left: 7%;
  animation-delay: 1.4s;
}

.shape-pencil {
  bottom: 240px;
  right: 10%;
  animation-delay: 2s;
}

.shape-bulb {
  top: 54%;
  left: 48%;
  animation-delay: 2.6s;
}

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

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

/* Improved Hero */
.kids-hero {
  position: relative;
}

.kids-hero::before {
  content: "";
  position: absolute;
  inset: -20px;
  background:
    radial-gradient(circle at 12% 12%, rgba(250, 204, 21, 0.16), transparent 24%),
    radial-gradient(circle at 88% 20%, rgba(236, 72, 153, 0.13), transparent 24%),
    radial-gradient(circle at 50% 100%, rgba(37, 99, 235, 0.11), transparent 30%);
  z-index: -1;
  border-radius: 40px;
}

.kids-hero h1 {
  text-shadow: 0 12px 35px rgba(76, 29, 149, 0.08);
}

.kids-main-world-card {
  width: min(430px, 100%);
  padding: 24px;
  border-radius: 38px;
  background:
    radial-gradient(circle at top left, rgba(250, 204, 21, 0.24), transparent 32%),
    radial-gradient(circle at bottom right, rgba(37, 99, 235, 0.18), transparent 34%),
    rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(109, 40, 217, 0.16);
  box-shadow: 0 30px 80px rgba(76, 29, 149, 0.18);
  position: relative;
  overflow: hidden;
}

.kids-main-world-card::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  border-radius: 999px;
  right: -80px;
  top: -80px;
  background: rgba(236, 72, 153, 0.12);
}

.world-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.world-top span {
  font-size: 13px;
  color: #667085;
  font-weight: 900;
}

.world-top b {
  padding: 6px 10px;
  border-radius: 999px;
  background: #dcfce7;
  color: #16a34a;
  font-size: 11px;
  font-weight: 900;
}

.kids-mascot-scene {
  position: relative;
  height: 230px;
  margin-top: 18px;
  border-radius: 30px;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.92), transparent 38%),
    linear-gradient(135deg, #f3e8ff, #dbeafe);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.kids-mascot-scene::before {
  content: "";
  position: absolute;
  width: 150%;
  height: 80px;
  bottom: -35px;
  background: rgba(109, 40, 217, 0.08);
  border-radius: 50%;
}

.mascot-glow {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.32);
  filter: blur(18px);
  animation: pulseGlow 3s ease-in-out infinite;
}

.kids-mascot {
  position: relative;
  z-index: 2;
  width: 118px;
  height: 118px;
  border-radius: 38px;
  display: grid;
  place-items: center;
  font-size: 70px;
  background: white;
  box-shadow: 0 20px 50px rgba(76, 29, 149, 0.16);
  animation: mascotBounce 3s ease-in-out infinite;
}

.mascot-icons span {
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: white;
  display: grid;
  place-items: center;
  font-size: 25px;
  box-shadow: 0 14px 34px rgba(76, 29, 149, 0.14);
}

.mascot-icons span:nth-child(1) {
  left: 45px;
  top: 48px;
}

.mascot-icons span:nth-child(2) {
  right: 48px;
  top: 48px;
}

.mascot-icons span:nth-child(3) {
  left: 64px;
  bottom: 42px;
}

.mascot-icons span:nth-child(4) {
  right: 66px;
  bottom: 42px;
}

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

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

@keyframes pulseGlow {
  0%, 100% {
    transform: scale(1);
    opacity: 0.65;
  }

  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}

.kids-main-world-card h3 {
  position: relative;
  z-index: 1;
  margin: 18px 0 0;
  font-family: "Baloo 2", cursive;
  font-size: 34px;
  line-height: 1;
  color: #4c1d95;
}

.kids-main-world-card p {
  position: relative;
  z-index: 1;
  margin: 8px 0 0;
  color: #667085;
  font-weight: 800;
}

.mission-progress {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  padding: 15px;
  border-radius: 22px;
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(109, 40, 217, 0.1);
}

.mission-progress-top {
  display: flex;
  justify-content: space-between;
  color: #475467;
  font-size: 13px;
  font-weight: 900;
}

.mission-progress-top b {
  color: #6d28d9;
}

.mission-bar {
  height: 12px;
  margin-top: 10px;
  border-radius: 999px;
  background: #e9d5ff;
  overflow: hidden;
}

.mission-bar span {
  display: block;
  height: 100%;
  width: 72%;
  border-radius: 999px;
  background: linear-gradient(90deg, #6d28d9, #2563eb, #ec4899);
  animation: progressShine 2.8s ease-in-out infinite;
}

@keyframes progressShine {
  0%, 100% {
    filter: brightness(1);
  }

  50% {
    filter: brightness(1.25);
  }
}

.mission-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.mission-actions span {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(109, 40, 217, 0.08);
  color: #6d28d9;
  font-size: 12px;
  font-weight: 900;
}

/* Featured Course */
.featured-course-section {
  margin-top: 70px;
}

.featured-course-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
  padding: 34px;
  border-radius: 38px;
  background:
    radial-gradient(circle at top left, rgba(250, 204, 21, 0.18), transparent 32%),
    radial-gradient(circle at bottom right, rgba(236, 72, 153, 0.13), transparent 30%),
    linear-gradient(135deg, rgba(109, 40, 217, 0.09), rgba(37, 99, 235, 0.09));
  border: 1px solid rgba(109, 40, 217, 0.14);
  box-shadow: 0 26px 70px rgba(76, 29, 149, 0.12);
  overflow: hidden;
  position: relative;
}

.featured-course-card::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  right: -90px;
  top: -90px;
}

.featured-course-left,
.featured-course-right {
  position: relative;
  z-index: 1;
}

.course-badge {
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  color: #6d28d9;
  background: white;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(76, 29, 149, 0.1);
}

.featured-course-left h2 {
  margin: 18px 0 0;
  font-family: "Baloo 2", cursive;
  font-size: clamp(34px, 4.5vw, 54px);
  line-height: 1;
  color: #111827;
}

.featured-course-left h3 {
  margin: 8px 0 0;
  font-family: "Baloo 2", cursive;
  font-size: 30px;
  line-height: 1;
  color: #6d28d9;
}

.featured-course-left p {
  margin: 16px 0 0;
  color: #667085;
  line-height: 1.7;
  font-size: 16px;
  max-width: 620px;
}

.course-feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
}

.course-feature-list span {
  padding: 10px 13px;
  border-radius: 999px;
  background: white;
  color: #4c1d95;
  font-weight: 900;
  font-size: 13px;
  box-shadow: 0 10px 24px rgba(76, 29, 149, 0.08);
}

.course-preview-window {
  border-radius: 32px;
  padding: 16px;
  background: white;
  box-shadow: 0 24px 70px rgba(76, 29, 149, 0.16);
  border: 1px solid rgba(109, 40, 217, 0.12);
}

.preview-window-top {
  display: flex;
  gap: 7px;
  margin-bottom: 12px;
}

.preview-window-top span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #e9d5ff;
}

.preview-window-top span:nth-child(2) {
  background: #bfdbfe;
}

.preview-window-top span:nth-child(3) {
  background: #fde68a;
}

.preview-map-scene {
  height: 280px;
  border-radius: 26px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(109, 40, 217, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(109, 40, 217, 0.08) 1px, transparent 1px),
    linear-gradient(135deg, #f3e8ff, #dbeafe);
  background-size: 34px 34px, 34px 34px, auto;
}

.map-character {
  position: absolute;
  left: 34px;
  bottom: 32px;
  width: 76px;
  height: 76px;
  border-radius: 26px;
  display: grid;
  place-items: center;
  font-size: 46px;
  background: white;
  box-shadow: 0 18px 42px rgba(76, 29, 149, 0.16);
  z-index: 3;
}

.map-board {
  position: absolute;
  right: 34px;
  top: 42px;
  width: 120px;
  height: 96px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  font-size: 56px;
  background: white;
  box-shadow: 0 18px 42px rgba(76, 29, 149, 0.14);
  z-index: 2;
}

.map-pin {
  position: absolute;
  font-size: 34px;
  z-index: 3;
  animation: pinBounce 2.5s ease-in-out infinite;
}

.pin-one {
  left: 150px;
  top: 70px;
}

.pin-two {
  right: 118px;
  bottom: 78px;
  animation-delay: 0.8s;
}

.map-line {
  position: absolute;
  left: 168px;
  top: 112px;
  width: 160px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #6d28d9, #ec4899);
  transform: rotate(35deg);
  transform-origin: left center;
  box-shadow: 0 0 18px rgba(236, 72, 153, 0.35);
}

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

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

.preview-caption {
  margin-top: 14px;
  padding: 14px;
  border-radius: 20px;
  background: #f8fafc;
  color: #4c1d95;
  font-weight: 900;
  text-align: center;
}

/* Make existing cards more playful */
.kids-path-card,
.class-card,
.lesson-preview-card,
.challenge-card,
.parent-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.kids-path-card:hover,
.class-card:hover,
.lesson-preview-card:hover,
.challenge-card:hover,
.parent-card:hover {
  transform: translateY(-6px) scale(1.01);
}

/* Responsive for new sections */
@media (max-width: 980px) {
  .featured-course-card {
    grid-template-columns: 1fr;
  }

  .shape-bulb {
    display: none;
  }
}

@media (max-width: 640px) {
  .kids-float-shape {
    opacity: 0.22;
    font-size: 26px;
  }

  .kids-main-world-card {
    padding: 18px;
    border-radius: 30px;
  }

  .kids-mascot-scene {
    height: 210px;
  }

  .kids-main-world-card h3 {
    font-size: 28px;
  }

  .featured-course-card {
    padding: 22px;
    border-radius: 30px;
  }

  .featured-course-left h3 {
    font-size: 24px;
  }

  .preview-map-scene {
    height: 230px;
  }

  .map-line {
    width: 110px;
  }

  .map-board {
    right: 20px;
    width: 96px;
    height: 82px;
    font-size: 44px;
  }

  .pin-one {
    left: 116px;
  }

  .pin-two {
    right: 82px;
  }
}

/* ================================
   FIX: Vaibhly Kids Header Logo
================================ */

.kids-header .kids-logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-shrink: 0 !important;
  max-width: 260px !important;
  overflow: hidden !important;
}

.kids-header .kids-logo-img {
  width: 118px !important;
  height: 38px !important;
  max-width: 118px !important;
  max-height: 38px !important;
  object-fit: contain !important;
  display: block !important;
  flex-shrink: 0 !important;
  background: rgba(255, 255, 255, 0.92);
  padding: 4px 7px;
  border-radius: 12px;
}

.kids-header .kids-logo-text {
  display: flex !important;
  flex-direction: column !important;
  line-height: 1 !important;
  padding-left: 8px !important;
  border-left: 2px solid rgba(255, 255, 255, 0.24) !important;
  white-space: nowrap !important;
}

.kids-header .kids-logo-text strong {
  font-family: "Baloo 2", cursive !important;
  font-size: 20px !important;
  color: #ffffff !important;
  font-weight: 900 !important;
}

.kids-header .kids-logo-text small {
  margin-top: 3px !important;
  font-size: 10px !important;
  color: #fde68a !important;
  font-weight: 900 !important;
  letter-spacing: 0.2px !important;
}

@media (max-width: 640px) {
  .kids-header .kids-logo {
    max-width: 190px !important;
  }

  .kids-header .kids-logo-img {
    width: 96px !important;
    height: 32px !important;
    max-width: 96px !important;
    max-height: 32px !important;
  }

  .kids-header .kids-logo-text strong {
    font-size: 16px !important;
  }

  .kids-header .kids-logo-text small {
    display: none !important;
  }
}

/* ===============================
   FIXED KIDS NAVBAR
================================ */

.kids-header {
  width: min(1320px, calc(100% - 36px));
  margin: 22px auto 0;
  padding: 14px 18px;
  border-radius: 28px;
  background: linear-gradient(135deg, #6d28d9, #2563eb);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 22px 55px rgba(37, 99, 235, 0.18);
  display: flex;
  align-items: center;
  gap: 24px;
  position: sticky;
  top: 14px;
  z-index: 100;
}

.kids-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 270px;
  text-decoration: none;
  color: #fff;
}

.kids-logo-img {
  width: 125px;
  height: 52px;
  object-fit: contain;
  display: block;

  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.kids-logo-divider {
  width: 1px;
  height: 38px;
  background: rgba(255,255,255,0.35);
}

.kids-logo-text {
  display: grid;
  line-height: 1.05;
}

.kids-logo-text strong {
  color: #fff;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -0.4px;
}

.kids-logo-text small {
  color: #facc15;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.2px;
}

.kids-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  flex: 1;
}

.kids-nav a {
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  font-size: 16px;
  font-weight: 900;
  white-space: nowrap;
  transition: 0.2s ease;
}

.kids-nav a:hover {
  color: #facc15;
  transform: translateY(-1px);
}

.kids-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.kids-nav-pill {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 16px;
  font-weight: 900;
  white-space: nowrap;
  transition: 0.2s ease;
}

.kids-nav-pill.ghost {
  color: #fff;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
}

.kids-nav-pill.primary {
  color: #4c1d95;
  background: #fff;
  border: 1px solid rgba(255,255,255,0.8);
}

.kids-nav-pill:hover {
  transform: translateY(-2px);
}

.kids-menu-btn {
  display: none;
  border: 0;
  background: rgba(255,255,255,0.14);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  font-size: 24px;
  cursor: pointer;
}

/* Tablet */
@media (max-width: 1180px) {
  .kids-header {
    gap: 16px;
  }

  .kids-logo {
  min-width: 250px;
}

  .kids-nav {
    gap: 18px;
  }

  .kids-nav-pill {
    padding: 0 17px;
    font-size: 15px;
  }
}

/* Mobile */
@media (max-width: 980px) {
  .kids-header {
    width: min(100% - 24px, 760px);
    justify-content: space-between;
  }

  .kids-nav,
  .kids-header-actions {
    display: none;
  }

  .kids-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .kids-logo {
    min-width: auto;
  }

  .kids-logo-img {
  width: 112px;
  height: 46px;
}

  .kids-logo-text strong {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .kids-header {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 22px;
  }

  .kids-logo {
    gap: 10px;
  }

  .kids-logo-img {
  width: 100px;
  height: 42px;
}

  .kids-logo-divider {
    height: 32px;
  }

  .kids-logo-text strong {
    font-size: 20px;
  }

  .kids-logo-text small {
    font-size: 10px;
  }
}

/* ===============================
   FINAL FIX: Bigger Navbar Logo
================================ */

.kids-header .kids-logo {
  min-width: 300px !important;
  max-width: 340px !important;
  gap: 16px !important;
  overflow: visible !important;
}

.kids-header .kids-logo-img {
  width: 165px !important;
  height: 58px !important;
  max-width: 165px !important;
  max-height: 58px !important;
  object-fit: contain !important;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.kids-header .kids-logo-divider {
  height: 46px !important;
}

.kids-header .kids-logo-text strong {
  font-size: 25px !important;
}

.kids-header .kids-logo-text small {
  font-size: 11px !important;
}

/* reduce nav spacing so bigger logo fits */
.kids-header {
  gap: 18px !important;
}

.kids-nav {
  gap: 22px !important;
}

.kids-nav-pill {
  padding: 0 18px !important;
}

/* Tablet */
@media (max-width: 1180px) {
  .kids-header .kids-logo {
    min-width: 270px !important;
    max-width: 300px !important;
  }

  .kids-header .kids-logo-img {
    width: 145px !important;
    height: 52px !important;
    max-width: 145px !important;
    max-height: 52px !important;
  }

  .kids-nav {
    gap: 16px !important;
  }

  .kids-nav-pill {
    padding: 0 15px !important;
    font-size: 15px !important;
  }
}

/* Mobile */
@media (max-width: 980px) {
  .kids-header .kids-logo {
    min-width: auto !important;
    max-width: none !important;
  }

  .kids-header .kids-logo-img {
    width: 135px !important;
    height: 48px !important;
    max-width: 135px !important;
    max-height: 48px !important;
  }
}

@media (max-width: 480px) {
  .kids-header .kids-logo-img {
    width: 118px !important;
    height: 42px !important;
    max-width: 118px !important;
    max-height: 42px !important;
  }

  .kids-header .kids-logo-text strong {
    font-size: 20px !important;
  }

  .kids-header .kids-logo-text small {
    display: none !important;
  }
}

/* ===============================
   FIX: Hero Buttons
================================ */

.kids-hero-actions {
  align-items: center !important;
}

.kids-hero-main-btn {
  color: #ffffff !important;
  background: linear-gradient(135deg, #6d28d9, #2563eb) !important;
  border: 1px solid rgba(255,255,255,0.25) !important;
  box-shadow: 0 18px 38px rgba(109, 40, 217, 0.28) !important;
  min-width: 230px !important;
  min-height: 58px !important;
}

.kids-hero-main-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 22px 48px rgba(109, 40, 217, 0.36) !important;
}

.kids-hero-actions .kids-outline-btn {
  min-width: 270px !important;
  min-height: 58px !important;
}

@media (max-width: 640px) {
  .kids-hero-main-btn,
  .kids-hero-actions .kids-outline-btn {
    width: 100% !important;
    min-width: 100% !important;
  }
}

/* ===============================
   FINAL OVERRIDE: Navbar Logo Size
================================ */

.kids-header .kids-logo {
  min-width: 330px !important;
  max-width: 370px !important;
  overflow: visible !important;
}

.kids-header .kids-logo-img {
  width: 210px !important;
  height: 70px !important;
  max-width: 210px !important;
  max-height: 70px !important;
  object-fit: contain !important;
  transform: scale(1.25) !important;
  transform-origin: left center !important;

  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.kids-header .kids-logo-divider {
  margin-left: 18px !important;
  height: 48px !important;
}

.kids-header .kids-logo-text strong {
  font-size: 26px !important;
}

.kids-header .kids-logo-text small {
  font-size: 11px !important;
}

.kids-header {
  min-height: 92px !important;
}

/* reduce nav to fit bigger logo */
.kids-nav {
  gap: 20px !important;
}

.kids-nav a {
  font-size: 15px !important;
}

.kids-nav-pill {
  min-height: 46px !important;
  padding: 0 17px !important;
  font-size: 15px !important;
}

@media (max-width: 1180px) {
  .kids-header .kids-logo {
    min-width: 300px !important;
    max-width: 330px !important;
  }

  .kids-header .kids-logo-img {
    width: 185px !important;
    height: 62px !important;
    max-width: 185px !important;
    max-height: 62px !important;
    transform: scale(1.18) !important;
  }

  .kids-nav {
    gap: 14px !important;
  }

  .kids-nav-pill {
    padding: 0 13px !important;
  }
}

@media (max-width: 980px) {
  .kids-header {
    min-height: 78px !important;
  }

  .kids-header .kids-logo {
    min-width: auto !important;
    max-width: none !important;
  }

  .kids-header .kids-logo-img {
    width: 155px !important;
    height: 54px !important;
    max-width: 155px !important;
    max-height: 54px !important;
    transform: scale(1.15) !important;
  }

  .kids-header .kids-logo-divider {
    margin-left: 10px !important;
  }
}

@media (max-width: 480px) {
  .kids-header .kids-logo-img {
    width: 135px !important;
    height: 48px !important;
    max-width: 135px !important;
    max-height: 48px !important;
    transform: scale(1.1) !important;
  }

  .kids-header .kids-logo-text strong {
    font-size: 20px !important;
  }

  .kids-header .kids-logo-text small {
    display: none !important;
  }
}

/* ===============================
   FIX: Featured Course Button
================================ */

.kids-feature-course-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  min-width: 230px !important;
  min-height: 56px !important;
  padding: 0 28px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #6d28d9, #2563eb) !important;
  color: #ffffff !important;
  font-size: 17px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  box-shadow: 0 18px 38px rgba(109, 40, 217, 0.28) !important;
  border: 1px solid rgba(255,255,255,0.25) !important;
  margin-top: 18px !important;
}

.kids-feature-course-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 22px 48px rgba(109, 40, 217, 0.36) !important;
}

@media (max-width: 640px) {
  .kids-feature-course-btn {
    width: 100% !important;
    min-width: 100% !important;
  }
}

/* ===============================
   FIX: Section Font Sizes + Overflow
================================ */

.kids-section {
  overflow: hidden !important;
}

.kids-section-head {
  max-width: 980px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
  padding-left: 18px !important;
  padding-right: 18px !important;
}

.kids-section-head h2,
.kids-section h2 {
  font-size: clamp(34px, 5vw, 68px) !important;
  line-height: 1.05 !important;
  letter-spacing: -1.6px !important;
  max-width: 980px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

.kids-section-head p,
.kids-section p {
  font-size: clamp(18px, 2vw, 25px) !important;
  line-height: 1.65 !important;
  max-width: 900px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* cards text */
.class-card h3,
.skill-card h3,
.challenge-card h3,
.parent-card h3,
.path-card h3 {
  font-size: clamp(26px, 3vw, 38px) !important;
  line-height: 1.15 !important;
}

.class-card p,
.skill-card p,
.challenge-card p,
.parent-card p,
.path-card p {
  font-size: clamp(17px, 1.8vw, 22px) !important;
  line-height: 1.55 !important;
}

/* section labels */
.kids-section-tag,
.section-pill,
.kids-pill {
  font-size: 17px !important;
  padding: 10px 22px !important;
  border-radius: 999px !important;
  font-weight: 900 !important;
}

/* mobile fix */
@media (max-width: 768px) {
  .kids-section {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .kids-section-head h2,
  .kids-section h2 {
    font-size: clamp(34px, 10vw, 48px) !important;
    line-height: 1.08 !important;
    letter-spacing: -1px !important;
  }

  .kids-section-head p,
  .kids-section p {
    font-size: 18px !important;
    line-height: 1.6 !important;
  }

  .class-card h3,
  .skill-card h3,
  .challenge-card h3,
  .parent-card h3,
  .path-card h3 {
    font-size: 27px !important;
  }

  .class-card p,
  .skill-card p,
  .challenge-card p,
  .parent-card p,
  .path-card p {
    font-size: 17px !important;
  }
}

@media (max-width: 480px) {
  .kids-section-head h2,
  .kids-section h2 {
    font-size: 36px !important;
  }

  .kids-section-head p,
  .kids-section p {
    font-size: 17px !important;
  }
}

/* ===============================
   FIX: Prevent Left Cutoff
================================ */

.kids-page,
.kids-main,
.kids-section,
.kids-container,
.kids-section-head,
.classes-section,
.skills-section,
.challenges-section,
.parents-section {
  max-width: 100% !important;
  overflow-x: hidden !important;
}

.kids-section-head h2,
.kids-section h2 {
  transform: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

/* =====================================================
   KIDS ANIMATED CHARACTERS + FLOATING WORLD
===================================================== */

/* floating background icons */
.kids-floating-world {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.float-item {
  position: absolute;
  font-size: 34px;
  opacity: 0.42;
  filter: drop-shadow(0 12px 20px rgba(76, 29, 149, 0.18));
  animation: floatAround 8s ease-in-out infinite;
}

.float-item.star {
  top: 18%;
  left: 5%;
  animation-delay: 0s;
}

.float-item.book {
  top: 68%;
  left: 7%;
  animation-delay: 1s;
}

.float-item.rocket {
  top: 28%;
  right: 8%;
  animation-delay: 2s;
}

.float-item.pencil {
  top: 58%;
  right: 10%;
  animation-delay: 3s;
}

.float-item.bulb {
  top: 46%;
  left: 48%;
  animation-delay: 1.6s;
}

.float-item.trophy {
  bottom: 12%;
  right: 24%;
  animation-delay: 2.6s;
}

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

/* keep content above floating icons */
.kids-header,
.kids-hero,
.kids-section,
.kids-footer {
  position: relative;
  z-index: 2;
}

/* hero action wrapper */
.kids-hero-action-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 28px;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* cartoon guide */
.kids-guide-character {
  position: relative;
  width: 130px;
  height: 160px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: guideBounce 2.6s ease-in-out infinite;
}

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

.guide-bubble {
  position: absolute;
  top: -18px;
  left: 16px;
  min-width: 118px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #ffffff;
  color: #6d28d9;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 16px 35px rgba(76, 29, 149, 0.18);
  animation: bubblePulse 1.8s ease-in-out infinite;
}

.guide-bubble::after {
  content: "";
  position: absolute;
  left: 22px;
  bottom: -7px;
  width: 14px;
  height: 14px;
  background: #ffffff;
  transform: rotate(45deg);
}

@keyframes bubblePulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
}

/* section guide teacher */
.kids-section-guide {
  width: min(900px, calc(100% - 36px));
  margin: 26px auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.mini-teacher {
  position: relative;
  width: 86px;
  height: 104px;
  animation: teacherFloat 2.8s ease-in-out infinite;
}

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

.teacher-face {
  position: absolute;
  top: 0;
  left: 18px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #f8c98b;
  box-shadow: inset 0 -6px 0 rgba(0,0,0,0.06);
}

.teacher-face::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 6px;
  width: 38px;
  height: 16px;
  border-radius: 20px 20px 8px 8px;
  background: #3f2a1d;
}

.teacher-eye {
  position: absolute;
  top: 25px;
  width: 6px;
  height: 6px;
  background: #111827;
  border-radius: 50%;
}

.teacher-eye.left {
  left: 15px;
}

.teacher-eye.right {
  right: 15px;
}

.teacher-smile {
  position: absolute;
  left: 17px;
  top: 36px;
  width: 16px;
  height: 8px;
  border-bottom: 3px solid #111827;
  border-radius: 0 0 18px 18px;
}

.teacher-body {
  position: absolute;
  top: 48px;
  left: 20px;
  width: 46px;
  height: 52px;
  border-radius: 18px 18px 14px 14px;
  background: linear-gradient(135deg, #6d28d9, #2563eb);
}

.teacher-pointer {
  position: absolute;
  top: 56px;
  right: 0;
  width: 42px;
  height: 10px;
  border-radius: 999px;
  background: #f8c98b;
  transform: rotate(-25deg);
  transform-origin: left center;
  animation: teacherPoint 1.7s ease-in-out infinite;
}

@keyframes teacherPoint {
  0%, 100% {
    transform: rotate(-25deg);
  }
  50% {
    transform: rotate(-12deg);
  }
}

.teacher-speech {
  position: relative;
  padding: 16px 22px;
  border-radius: 24px;
  background: #ffffff;
  color: #4c1d95;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 18px 40px rgba(76, 29, 149, 0.14);
}

.teacher-speech::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 28px;
  width: 18px;
  height: 18px;
  background: #ffffff;
  transform: rotate(45deg);
}

/* reduce motion support */
@media (prefers-reduced-motion: reduce) {
  .float-item,
  .kids-guide-character,
  .guide-bubble,
  .boy-arm-right.pointing,
  .mini-teacher,
  .teacher-pointer {
    animation: none !important;
  }
}

/* mobile */
@media (max-width: 760px) {
  .kids-hero-action-wrap {
    width: 100%;
    justify-content: center;
  }

  .kids-guide-character {
    width: 110px;
    height: 145px;
    order: -1;
  }

  .guide-bubble {
    left: -4px;
    top: -10px;
    font-size: 13px;
  }

  .kids-section-guide {
    flex-direction: column;
    gap: 8px;
  }

  .teacher-speech {
    font-size: 16px;
    text-align: center;
  }

  .teacher-speech::before {
    display: none;
  }

  .float-item {
    font-size: 26px;
    opacity: 0.32;
  }
}

.mini-video-preview {
  position: relative;
  width: 100%;
  height: 170px;
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(180deg, #bfdbfe, #eef2ff);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.6);
}

.video-sun {
  position: absolute;
  top: 22px;
  right: 32px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #facc15;
  box-shadow: 0 0 30px rgba(250, 204, 21, 0.6);
  animation: sunPulse 2s ease-in-out infinite;
}

@keyframes sunPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.12);
  }
}

.video-cloud {
  position: absolute;
  width: 74px;
  height: 28px;
  border-radius: 999px;
  background: #fff;
  opacity: 0.85;
}

.video-cloud::before,
.video-cloud::after {
  content: "";
  position: absolute;
  background: #fff;
  border-radius: 50%;
}

.video-cloud::before {
  width: 30px;
  height: 30px;
  left: 12px;
  top: -14px;
}

.video-cloud::after {
  width: 38px;
  height: 38px;
  right: 10px;
  top: -20px;
}

.video-cloud.c1 {
  top: 42px;
  left: -90px;
  animation: cloudMove 8s linear infinite;
}

.video-cloud.c2 {
  top: 74px;
  left: -120px;
  animation: cloudMove 10s linear infinite;
  animation-delay: 2s;
}

@keyframes cloudMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(620px);
  }
}

.video-ground {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48px;
  background: linear-gradient(135deg, #86efac, #22c55e);
}

.video-kid {
  position: absolute;
  bottom: 36px;
  left: 42px;
  font-size: 48px;
  animation: kidWalk 2s ease-in-out infinite;
}

@keyframes kidWalk {
  0%, 100% {
    transform: translateY(0) rotate(-3deg);
  }
  50% {
    transform: translateY(-7px) rotate(3deg);
  }
}

.video-map {
  position: absolute;
  bottom: 42px;
  right: 60px;
  font-size: 48px;
  animation: mapBounce 1.8s ease-in-out infinite;
}

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

/* =====================================================
   PREMIUM 3D MASCOT CHARACTER
===================================================== */

.kids-mascot-wrap {
  position: relative;
  width: 170px;
  height: 190px;
  flex: 0 0 170px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: mascotFloat 3s ease-in-out infinite;
}

.kids-boy-mascot {
  width: 165px;
  height: 165px;
  object-fit: contain;
  filter: drop-shadow(0 22px 28px rgba(76, 29, 149, 0.24));
  transform-origin: center bottom;
  animation: mascotWave 2.4s ease-in-out infinite;
}

.kids-mascot-wrap::after {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 5px;
  height: 18px;
  border-radius: 50%;
  background: rgba(76, 29, 149, 0.18);
  filter: blur(8px);
  animation: mascotShadow 3s ease-in-out infinite;
}

.mascot-bubble {
  position: absolute;
  top: -2px;
  left: 70px;
  z-index: 3;
  min-width: 125px;
  padding: 10px 15px;
  border-radius: 999px;
  background: #ffffff;
  color: #6d28d9;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 16px 35px rgba(76, 29, 149, 0.18);
  animation: bubblePulse 1.8s ease-in-out infinite;
  white-space: nowrap;
}

.mascot-bubble::after {
  content: "";
  position: absolute;
  left: 22px;
  bottom: -7px;
  width: 14px;
  height: 14px;
  background: #ffffff;
  transform: rotate(45deg);
}

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

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

@keyframes mascotWave {
  0%, 100% {
    transform: rotate(-2deg) scale(1);
  }

  50% {
    transform: rotate(3deg) scale(1.04);
  }
}

@keyframes mascotShadow {
  0%, 100% {
    transform: scale(1);
    opacity: 0.55;
  }

  50% {
    transform: scale(0.82);
    opacity: 0.35;
  }
}

@media (max-width: 760px) {
  .kids-mascot-wrap {
    width: 150px;
    height: 165px;
    flex-basis: 150px;
  }

  .kids-boy-mascot {
    width: 145px;
    height: 145px;
  }

  .mascot-bubble {
    left: 52px;
    top: -4px;
    font-size: 13px;
  }
}

.kids-teacher-mascot {
  width: 120px;
  height: 120px;
  object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(76, 29, 149, 0.18));
  animation: mascotFloat 3s ease-in-out infinite;
}


/* =====================================================
   HERO MASCOT SCENE - BOY BESIDE BUTTONS
===================================================== */

.kids-hero-action-wrap {
  display: none !important;
}

.kids-hero-action-scene {
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(300px, 560px) 260px;
  align-items: center;
  gap: 34px;
  margin-top: 34px;
  width: min(860px, 100%);
  z-index: 5;
}

.kids-hero-action-scene .kids-hero-actions {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 18px !important;
  width: 100% !important;
}

.kids-hero-action-scene .kids-primary-btn,
.kids-hero-action-scene .kids-outline-btn {
  width: 100% !important;
  min-height: 70px !important;
  border-radius: 999px !important;
  font-size: 22px !important;
  font-weight: 950 !important;
  letter-spacing: -0.3px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
}

.kids-hero-action-scene .kids-hero-main-btn {
  background: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%) !important;
  color: #ffffff !important;
  box-shadow:
    0 20px 45px rgba(37, 99, 235, 0.28),
    inset 0 0 0 2px rgba(255,255,255,0.22) !important;
  border: 1px solid rgba(255,255,255,0.3) !important;
}

.kids-hero-action-scene .kids-outline-btn {
  background: rgba(255,255,255,0.88) !important;
  color: #6d28d9 !important;
  border: 1px solid rgba(109, 40, 217, 0.14) !important;
  box-shadow: 0 16px 36px rgba(76, 29, 149, 0.12) !important;
}

.kids-hero-action-scene .kids-primary-btn:hover,
.kids-hero-action-scene .kids-outline-btn:hover {
  transform: translateY(-3px) !important;
}

/* mascot position */
.kids-hero-action-scene .kids-mascot-wrap {
  position: relative !important;
  width: 250px !important;
  height: 290px !important;
  flex: none !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  overflow: visible !important;
  animation: mascotFloat 3s ease-in-out infinite;
}

/* make boy bigger */
.kids-hero-action-scene .kids-boy-mascot {
  width: 245px !important;
  height: 270px !important;
  object-fit: contain !important;
  object-position: center bottom !important;
  filter: drop-shadow(0 26px 34px rgba(76, 29, 149, 0.24)) !important;
  transform-origin: center bottom !important;
  animation: mascotPointing 2.6s ease-in-out infinite !important;
}

/* speech bubble */
.kids-hero-action-scene .mascot-bubble {
  position: absolute !important;
  top: -20px !important;
  left: -10px !important;
  z-index: 10 !important;
  min-width: 132px !important;
  padding: 9px 14px !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: #6d28d9 !important;
  font-size: 14px !important;
  font-weight: 950 !important;
  box-shadow: 0 14px 30px rgba(76, 29, 149, 0.16) !important;
  white-space: nowrap !important;
  animation: bubblePulse 1.8s ease-in-out infinite !important;
}

.kids-hero-action-scene .mascot-bubble::after {
  content: "" !important;
  position: absolute !important;
  right: 24px !important;
  bottom: -6px !important;
  width: 12px !important;
  height: 12px !important;
  background: #ffffff !important;
  transform: rotate(45deg) !important;
}

/* small animated arrow from boy to first button */
.kids-hero-action-scene::after {
  position: absolute;
  left: 470px;
  top: 92px;
  font-size: 38px;
  z-index: 8;
  animation: leftPoint 1.2s ease-in-out infinite;
  filter: drop-shadow(0 10px 16px rgba(76, 29, 149, 0.18));
}

@keyframes leftPoint {
  0%, 100% {
    transform: translateX(0) rotate(-8deg);
  }

  50% {
    transform: translateX(-10px) rotate(-2deg);
  }
}

@keyframes mascotPointing {
  0%, 100% {
    transform: scaleX(-1) translateY(0) rotate(-1deg) scale(1);
  }

  50% {
    transform: scaleX(-1) translateY(-6px) rotate(1.5deg) scale(1.02);
  }
}

/* mobile */
@media (max-width: 900px) {
  .kids-hero-action-scene {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    gap: 18px !important;
  }

  .kids-hero-action-scene .kids-mascot-wrap {
    order: -1 !important;
    margin: 0 auto -8px !important;
    width: 210px !important;
    height: 235px !important;
  }

  .kids-hero-action-scene .kids-boy-mascot {
    width: 205px !important;
    height: 225px !important;
  }

  .kids-hero-action-scene .mascot-bubble {
    top: 0 !important;
    left: 38px !important;
    font-size: 15px !important;
    min-width: 140px !important;
  }

  .kids-hero-action-scene::after {
  content: "👇" !important;
  left: 50% !important;
  top: 215px !important;
  transform: translateX(-50%) !important;
}

  .kids-hero-action-scene .kids-primary-btn,
  .kids-hero-action-scene .kids-outline-btn {
    min-height: 62px !important;
    font-size: 19px !important;
  }
}

@media (max-width: 520px) {
  .kids-hero-action-scene .kids-mascot-wrap {
    width: 180px !important;
    height: 205px !important;
  }

  .kids-hero-action-scene .kids-boy-mascot {
    width: 178px !important;
    height: 198px !important;
  }

  .kids-hero-action-scene .kids-primary-btn,
  .kids-hero-action-scene .kids-outline-btn {
    font-size: 17px !important;
    min-height: 58px !important;
  }

  .kids-hero-action-scene::after {
    top: 188px !important;
    font-size: 28px !important;
  }
}

/* ===============================
   PREMIUM PATH ICONS
================================ */

.path-icon {
  width: 86px !important;
  height: 86px !important;
  border-radius: 28px !important;
  display: grid !important;
  place-items: center !important;
  font-size: 42px !important;
  position: relative !important;
  overflow: hidden !important;
  border: 1px solid rgba(109, 40, 217, 0.12) !important;
  box-shadow:
    0 18px 40px rgba(76, 29, 149, 0.12),
    inset 0 0 0 1px rgba(255,255,255,0.65) !important;
}

.path-icon span {
  position: relative !important;
  z-index: 2 !important;
  filter: drop-shadow(0 8px 10px rgba(76, 29, 149, 0.16)) !important;
}

.path-icon::before {
  content: "" !important;
  position: absolute !important;
  width: 90px !important;
  height: 90px !important;
  border-radius: 999px !important;
  right: -32px !important;
  top: -32px !important;
  opacity: 0.55 !important;
}

.path-icon-school {
  background: linear-gradient(135deg, #eef2ff, #ffffff) !important;
}

.path-icon-school::before {
  background: #93c5fd !important;
}

.path-icon-skills {
  background: linear-gradient(135deg, #ecfdf5, #ffffff) !important;
}

.path-icon-skills::before {
  background: #86efac !important;
}

.path-icon-fun {
  background: linear-gradient(135deg, #fff7ed, #ffffff) !important;
}

.path-icon-fun::before {
  background: #fdba74 !important;
}

.kids-path-card:hover .path-icon {
  transform: translateY(-4px) scale(1.04) !important;
}

/* =====================================================
   MOBILE ONLY: MAKE HERO BOY POINT DOWN
   Desktop mascot remains unchanged
===================================================== */

@media (max-width: 760px) {
  .kids-hero-action-scene .kids-boy-mascot {
    transform-origin: center bottom !important;
    animation: mobileBoyPointDown 2.6s ease-in-out infinite !important;
  }

  @keyframes mobileBoyPointDown {
    0%, 100% {
      transform: rotate(7deg) translateY(0) scale(1);
    }

    50% {
      transform: rotate(13deg) translateY(6px) scale(1.02);
    }
  }

  .kids-hero-action-scene .mascot-bubble {
    top: -18px !important;
  }

  .kids-hero-action-scene::after {
    content: "👇" !important;
    display: block !important;
    left: auto !important;
    right: 54px !important;
    top: 18px !important;
    font-size: 28px !important;
    z-index: 20 !important;
    animation: mobileDownHand 1.2s ease-in-out infinite !important;
  }

  @keyframes mobileDownHand {
    0%, 100% {
      transform: translateY(0) rotate(-5deg);
    }

    50% {
      transform: translateY(8px) rotate(2deg);
    }
  }
}

/* =====================================================
   DESKTOP ONLY: CLEAN MISSION PREVIEW FLOATING ITEMS
===================================================== */

@media (min-width: 761px) {
  .kids-mission-card,
  .mission-card,
  .kids-preview-card {
    overflow: hidden !important;
  }

  .mission-preview,
  .kids-mission-preview,
  .mission-visual,
  .kids-mission-visual {
    position: relative !important;
    overflow: hidden !important;
    isolation: isolate !important;
  }

  /* background preview area */
  .mission-preview-bg,
  .kids-mission-preview-bg,
  .mission-scene-bg {
    position: relative !important;
    z-index: 1 !important;
  }

  /* all floating chips/cards inside preview */
  .mission-preview .floating-card,
  .kids-mission-preview .floating-card,
  .mission-floating-card,
  .mission-chip-card,
  .kids-floating-card {
    position: absolute !important;
    z-index: 4 !important;
    transform: scale(0.78) !important;
    transform-origin: center !important;
    white-space: nowrap !important;
  }

  /* big center face/avatar */
  .mission-preview .mission-avatar,
  .kids-mission-preview .mission-avatar,
  .mission-avatar,
  .kids-preview-avatar {
    z-index: 6 !important;
    transform: scale(0.86) !important;
  }

  /* first floating label: Cartoon-style Lessons */
  .mission-preview .floating-card:nth-of-type(1),
  .kids-mission-preview .floating-card:nth-of-type(1),
  .mission-floating-card:nth-of-type(1),
  .kids-floating-card:nth-of-type(1) {
    top: 28px !important;
    left: 22px !important;
    right: auto !important;
    bottom: auto !important;
  }

  /* second floating label: Badges & Streaks */
  .mission-preview .floating-card:nth-of-type(2),
  .kids-mission-preview .floating-card:nth-of-type(2),
  .mission-floating-card:nth-of-type(2),
  .kids-floating-card:nth-of-type(2) {
    top: 112px !important;
    right: 18px !important;
    left: auto !important;
    bottom: auto !important;
  }

  /* third floating icon/card */
  .mission-preview .floating-card:nth-of-type(3),
  .kids-mission-preview .floating-card:nth-of-type(3),
  .mission-floating-card:nth-of-type(3),
  .kids-floating-card:nth-of-type(3) {
    bottom: 28px !important;
    left: 72px !important;
    right: auto !important;
    top: auto !important;
  }

  /* small icon pills should stay behind text labels */
  .mission-preview .mini-icon,
  .kids-mission-preview .mini-icon,
  .mission-mini-icon,
  .kids-mini-icon {
    z-index: 3 !important;
    transform: scale(0.82) !important;
  }

  /* prevent hidden label behind chapter preview */
  .mission-preview * {
    max-width: 92% !important;
  }
}

