/* ── Kids Zone Styles ── */

.kids-body {
  background: #fef9f0;
}

.kids-nav {
  background: rgba(254,249,240,.92) !important;
}

/* ══════════════════════════════════
   BIG ABCmouse-STYLE HERO
   ══════════════════════════════════ */
.kids-hero {
  position: relative;
  padding: calc(var(--nav-h) + 60px) 0 60px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(170deg, #e3f0ff 0%, #e3f7f5 30%, #fef3e2 60%, #fce4ec 100%);
  min-height: 520px;
}
.kids-hero-bg-wrapper {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.kids-hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.k-shape {
  position: absolute;
  border-radius: 50%;
  opacity: .18;
}
.k-shape-1 {
  width: 400px; height: 400px;
  background: var(--coral-light);
  top: -120px; right: -80px;
  animation: float 7s ease-in-out infinite;
}
.k-shape-2 {
  width: 300px; height: 300px;
  background: var(--teal-light);
  bottom: -60px; left: -60px;
  animation: float 9s ease-in-out infinite reverse;
}
.k-shape-3 {
  width: 180px; height: 180px;
  background: var(--sunshine);
  top: 15%; left: 8%;
  animation: float 5s ease-in-out infinite .5s;
}
.k-shape-4 {
  width: 120px; height: 120px;
  background: var(--lavender);
  bottom: 25%; right: 12%;
  animation: float 6s ease-in-out infinite 1s;
}
.k-shape-5 {
  width: 90px; height: 90px;
  background: var(--mint);
  top: 35%; right: 25%;
  animation: float 8s ease-in-out infinite 2s;
}

/* Floating emoji icons in hero */
.hero-float-icons {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-float-icon {
  position: absolute;
  font-size: 32px;
  opacity: .35;
  animation: heroIconFloat 6s ease-in-out infinite;
}
.hfi-1 { top: 10%; left: 5%; animation-delay: 0s; font-size: 40px; }
.hfi-2 { top: 8%; right: 8%; animation-delay: .8s; }
.hfi-3 { bottom: 15%; left: 12%; animation-delay: 1.6s; }
.hfi-4 { top: 25%; left: 20%; animation-delay: 2.4s; font-size: 36px; }
.hfi-5 { bottom: 20%; right: 20%; animation-delay: 3.2s; }
.hfi-6 { top: 45%; left: 3%; animation-delay: 4s; }
.hfi-7 { bottom: 30%; left: 30%; animation-delay: 4.8s; font-size: 38px; }
.hfi-8 { top: 15%; right: 25%; animation-delay: 5.6s; }
@keyframes heroIconFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: .3; }
  50% { transform: translateY(-18px) rotate(10deg); opacity: .55; }
}

.kids-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.kids-hero-text {
  flex: 1;
  min-width: 320px;
  text-align: left;
}

/* Badge pill */
.hero-badge-pill {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--coral);
  background: #fff;
  padding: 8px 20px;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(255,112,67,.15);
  margin-bottom: 16px;
}

.kids-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.05;
  margin-bottom: 16px;
  position: relative;
}
.kids-subtitle {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-cta-btn {
  font-size: 17px;
  padding: 16px 32px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-emoji {
  font-size: 22px;
}

/* Hero visual (big image frame) */
.kids-hero-visual {
  flex: 0 0 auto;
  position: relative;
}
.hero-img-frame {
  position: relative;
  width: 420px;
  max-width: 90vw;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.12), 0 0 0 4px #fff;
  background: #e3f0ff;
}
.hero-main-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
}
.hero-img-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.img-sparkle {
  position: absolute;
  font-size: 24px;
  animation: sparkleFloat 3s ease-in-out infinite;
}
.is-1 { top: -8px; right: 10%; animation-delay: 0s; }
.is-2 { top: 20%; left: -10px; animation-delay: 1s; }
.is-3 { bottom: 10%; right: -8px; animation-delay: 2s; }

.dr-sam-hero-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: absolute;
  bottom: -20px;
  left: -30px;
}
.dr-sam-hero-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  background: linear-gradient(135deg, #e0f2f1, #b2dfdb);
  border: 4px solid #fff;
  box-shadow: 0 8px 32px rgba(38,166,154,.2);
}
.dr-sam-hero-label {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--teal-dark);
  background: #fff;
  padding: 4px 14px;
  border-radius: 50px;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}

/* ══════════════════════════════════
   FUN CLICKABLE CHARACTER STRIP
   ══════════════════════════════════ */
.kids-fun-gallery {
  padding: 16px 0 32px;
  background: #fff;
  border-bottom: 1px solid var(--line-light);
}
.fun-characters-strip {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}
.fun-char-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 20px;
  border: 2px solid var(--line-light);
  border-radius: 20px;
  background: #fff;
  cursor: pointer;
  transition: all .3s cubic-bezier(.22,1,.36,1);
  min-width: 100px;
}
.fun-char-btn:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  border-color: var(--teal);
  background: var(--teal-bg);
}
.fun-char-emoji {
  font-size: 36px;
  transition: transform .3s cubic-bezier(.22,1,.36,1);
}
.fun-char-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
}

/* Feature Cards */
.kids-features {
  padding: 48px 0 24px;
}
.feature-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}
.feature-cards.three-cols {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1000px;
}
.feature-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  border: 2px solid var(--line-light);
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s, border-color .3s;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.brushing-card:hover { border-color: var(--teal); }
.story-card:hover { border-color: var(--coral); }
.video-card:hover { border-color: #7c4dff; }
.tooth-card:hover { border-color: var(--sunshine); }
.fairy-card:hover { border-color: #e91e63; }

.feature-card-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.brushing-card .feature-card-icon {
  background: var(--teal-bg);
  color: var(--teal);
}
.story-card .feature-card-icon {
  background: #fff3e0;
  color: var(--coral);
}
.video-card .feature-card-icon {
  background: #ede7f6;
  color: #7c4dff;
}
.tooth-card .feature-card-icon {
  background: #fff8e1;
  color: #f9a825;
}
.fairy-card .feature-card-icon {
  background: #fce4ec;
  color: #e91e63;
}
.feature-card h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 24px;
}

/* ══════════════════════════════════
   LEARN TO BRUSH PROMO BANNER
   ══════════════════════════════════ */
.kids-learn-brush-promo {
  padding: 24px 0 0;
}
.learn-brush-banner {
  background: linear-gradient(135deg, #e3f0ff 0%, #fce4ec 50%, #fff3e0 100%);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  display: flex;
  align-items: center;
  gap: 40px;
  overflow: hidden;
  position: relative;
  border: 2px solid rgba(124,77,255,.1);
}
.lbb-content {
  flex: 1;
  min-width: 280px;
}
.lbb-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #7c4dff, #e91e63);
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.lbb-content h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 12px;
}
.lbb-content p {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 500px;
}

.lbb-visual {
  flex: 0 0 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lbb-tooth-dance {
  position: relative;
  width: 180px;
  height: 160px;
}
.lbb-char {
  position: absolute;
  font-size: 48px;
  animation: lbbDance 3s ease-in-out infinite;
}
.lbb-char-1 { top: 10px; left: 50%; transform: translateX(-50%); animation-delay: 0s; font-size: 56px; }
.lbb-char-2 { bottom: 10px; left: 15%; animation-delay: .4s; }
.lbb-char-3 { bottom: 10px; right: 15%; animation-delay: .8s; }
.lbb-char-4 { top: 30%; left: 5%; animation-delay: 1.2s; font-size: 36px; }
.lbb-char-5 { top: 30%; right: 5%; animation-delay: 1.6s; font-size: 28px; }
@keyframes lbbDance {
  0%, 100% { transform: translateY(0) rotate(0); }
  25% { transform: translateY(-10px) rotate(-5deg); }
  75% { transform: translateY(-8px) rotate(5deg); }
}

/* More Fun Section */
.kids-more-fun {
  padding: 24px 0 64px;
}
.more-fun-heading {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 800;
  color: var(--ink);
  text-align: center;
  margin-bottom: 32px;
}

/* ── Shared Section Styles ── */
.brushing-section, .story-section, .video-section, .losttooth-section, .hotline-section, .learnbrush-section {
  padding: 0 0 80px;
  min-height: calc(100vh - var(--nav-h));
}
.brushing-section .back-btn,
.story-section .back-btn,
.video-section .back-btn,
.losttooth-section .back-btn,
.hotline-section .back-btn,
.learnbrush-section .back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--teal-dark);
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 0;
  margin-bottom: 24px;
}

/* ══════════════════════════════════
   FIRST VISIT VIDEO SECTION
   ══════════════════════════════════ */
.video-dr-sam-msg {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: 700px;
  margin: 0 auto 40px;
}
.video-dr-sam-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  background: linear-gradient(135deg, #e0f2f1, #b2dfdb);
  flex-shrink: 0;
  border: 3px solid var(--teal-light);
}
.video-dr-sam-bubble {
  background: #fff;
  border-radius: 20px 20px 20px 4px;
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line-light);
}
.video-dr-sam-bubble strong {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--teal-dark);
  display: block;
  margin-bottom: 4px;
}
.video-dr-sam-bubble p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0;
}

.video-wrapper {
  max-width: 740px;
  margin: 0 auto 48px;
}
.video-player {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--line-light);
}
.video-placeholder {
  position: relative;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #7c4dff 0%, #e91e63 50%, #ff9800 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
}
.video-placeholder-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.vid-shape {
  position: absolute;
  border-radius: 50%;
  opacity: .15;
  background: #fff;
}
.vid-shape-1 { width: 200px; height: 200px; top: -60px; right: -40px; animation: float 6s ease-in-out infinite; }
.vid-shape-2 { width: 120px; height: 120px; bottom: -30px; left: -30px; animation: float 8s ease-in-out infinite reverse; }
.vid-shape-3 { width: 80px; height: 80px; top: 40%; left: 20%; animation: float 5s ease-in-out infinite 1s; }

.video-play-btn {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: transform .3s, background .3s;
  z-index: 1;
}
.video-play-btn svg { margin-left: 6px; }
.video-placeholder:hover .video-play-btn {
  transform: scale(1.1);
  background: rgba(255,255,255,.35);
}
.video-placeholder-text {
  text-align: center;
  z-index: 1;
}
.video-placeholder-text h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.video-placeholder-text p {
  font-size: 15px;
  color: rgba(255,255,255,.85);
}

/* Steps Timeline */
.video-steps {
  max-width: 600px;
  margin: 0 auto;
}
.video-steps h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  color: var(--ink);
  text-align: center;
  margin-bottom: 36px;
}
.steps-timeline {
  position: relative;
  padding-left: 48px;
}
.steps-timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--teal), var(--coral), var(--sunshine));
  border-radius: 3px;
}
.step-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 32px;
  position: relative;
}
.step-item:last-child { margin-bottom: 0; }
.step-number {
  position: absolute;
  left: -48px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(38,166,154,.3);
  z-index: 1;
}
.step-item:nth-child(2) .step-number { background: #7c4dff; box-shadow: 0 4px 12px rgba(124,77,255,.3); }
.step-item:nth-child(3) .step-number { background: var(--coral); box-shadow: 0 4px 12px rgba(255,112,67,.3); }
.step-item:nth-child(4) .step-number { background: #e91e63; box-shadow: 0 4px 12px rgba(233,30,99,.3); }
.step-item:nth-child(5) .step-number { background: var(--sunshine); color: var(--ink); box-shadow: 0 4px 12px rgba(255,183,77,.3); }
.step-content {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line-light);
  flex: 1;
}
.step-content h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.step-content p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0;
}

/* ══════════════════════════════════
   LEARN TO BRUSH SECTION
   ══════════════════════════════════ */
.learnbrush-hero {
  text-align: center;
  position: relative;
  margin-bottom: 48px;
  padding: 20px 0;
}
.lb-hero-chars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.lb-float {
  position: absolute;
  font-size: 32px;
  animation: lbFloat 4s ease-in-out infinite;
}
.lb-f1 { top: 0; left: 10%; animation-delay: 0s; font-size: 40px; }
.lb-f2 { top: 10%; right: 12%; animation-delay: .6s; }
.lb-f3 { bottom: 0; left: 20%; animation-delay: 1.2s; }
.lb-f4 { top: 30%; left: 3%; animation-delay: 1.8s; font-size: 24px; }
.lb-f5 { bottom: 10%; right: 8%; animation-delay: 2.4s; }
@keyframes lbFloat {
  0%, 100% { transform: translateY(0) rotate(0); opacity: .4; }
  50% { transform: translateY(-14px) rotate(8deg); opacity: .7; }
}
.learnbrush-hero h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.learnbrush-hero p {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* Video Categories */
.lb-category {
  margin-bottom: 56px;
}
.lb-cat-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.lb-cat-emoji {
  font-size: 40px;
  flex-shrink: 0;
}
.lb-cat-header h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 2px;
}
.lb-cat-header p {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0;
}

/* Video Grid */
.lb-video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.lb-video-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 2px solid var(--line-light);
  cursor: pointer;
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s, border-color .3s;
}
.lb-video-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal);
}
.lb-video-thumb {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.lb-thumb-bg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-thumb-icon {
  font-size: 64px;
  opacity: .7;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.15));
}
.lb-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.15);
  opacity: 0;
  transition: opacity .3s;
  z-index: 1;
}
.lb-video-card:hover .lb-play-overlay {
  opacity: 1;
}
.lb-play-overlay svg {
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.3));
}
.lb-video-info {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.lb-video-info h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}
.lb-video-tag {
  font-size: 12px;
  font-weight: 600;
  background: var(--teal-bg);
  color: var(--teal-dark);
  padding: 4px 12px;
  border-radius: 50px;
  white-space: nowrap;
}

/* Video Modal */
.lb-video-player-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(4px);
}
.lb-modal-content {
  position: relative;
  width: 90vw;
  max-width: 900px;
  z-index: 1;
}
.lb-modal-close {
  position: absolute;
  top: -48px;
  right: 0;
  background: rgba(255,255,255,.15);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: background .2s;
}
.lb-modal-close:hover { background: rgba(255,255,255,.3); }
.lb-modal-video-wrap {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.lb-modal-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Dentist Promo (large ABCmouse-like card) */
.lb-dentist-promo {
  margin-top: 16px;
}
.lb-dentist-inner {
  background: linear-gradient(135deg, #e3f0ff 0%, #e0f7fa 50%, #fff3e0 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: stretch;
  border: 2px solid rgba(38,166,154,.15);
  min-height: 360px;
}
.lb-dentist-img-area {
  flex: 0 0 45%;
  position: relative;
  overflow: hidden;
}
.lb-dentist-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lb-dentist-content {
  flex: 1;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.lb-dentist-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--teal-dark);
  background: #fff;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
  align-self: flex-start;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.lb-dentist-content h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 12px;
}
.lb-dentist-content p {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 24px;
}
.lb-dentist-tips {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lb-tip-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--ink);
}
.lb-tip-item span:first-child {
  font-size: 22px;
  flex-shrink: 0;
}

/* ══════════════════════════════════
   FIRST LOST TOOTH CEREMONY
   ══════════════════════════════════ */
.losttooth-hero {
  text-align: center;
  position: relative;
  margin-bottom: 40px;
}
.losttooth-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.sparkle {
  position: absolute;
  font-size: 24px;
  opacity: .6;
  animation: sparkleFloat 3s ease-in-out infinite;
}
.s1 { top: 10%; left: 15%; animation-delay: 0s; }
.s2 { top: 5%; right: 20%; animation-delay: .5s; }
.s3 { bottom: 20%; left: 25%; animation-delay: 1s; }
.s4 { bottom: 10%; right: 15%; animation-delay: 1.5s; }
.s5 { top: 40%; left: 5%; animation-delay: 2s; }
@keyframes sparkleFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: .4; }
  50% { transform: translateY(-12px) scale(1.2); opacity: .8; }
}

.losttooth-badge {
  margin: 0 auto 16px;
}
.tooth-emoji-big {
  font-size: 72px;
  animation: toothBounce 2s ease-in-out infinite;
}
@keyframes toothBounce {
  0%, 100% { transform: translateY(0) rotate(0); }
  25% { transform: translateY(-12px) rotate(-5deg); }
  75% { transform: translateY(-8px) rotate(5deg); }
}
.losttooth-hero h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 12px;
}
.losttooth-hero p {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Ceremony Perks */
.ceremony-perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto 48px;
}
.perk-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line-light);
  transition: transform .3s;
}
.perk-card:hover { transform: translateY(-6px); }
.perk-icon {
  font-size: 48px;
  margin-bottom: 16px;
}
.perk-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.perk-card p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* Lost Tooth Form */
.losttooth-form-wrapper {
  max-width: 640px;
  margin: 0 auto 48px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line-light);
}
.losttooth-form-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--teal-bg);
}
.lt-form-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  background: linear-gradient(135deg, #e0f2f1, #b2dfdb);
  border: 3px solid var(--teal-light);
  flex-shrink: 0;
}
.losttooth-form-header h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}
.losttooth-form-header p {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
}
.form-help-text {
  display: block;
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 4px;
}

/* ══════════════════════════════════
   CERTIFICATE
   ══════════════════════════════════ */
.tooth-certificate-wrapper {
  max-width: 740px;
  margin: 0 auto 48px;
  position: relative;
}
.certificate-announce {
  text-align: center;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}
.certificate-announce h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}
.certificate-announce p {
  font-size: 17px;
  color: var(--ink-soft);
}

.tooth-certificate {
  max-width: 700px;
  margin: 0 auto;
}
.cert-border {
  border: 4px solid var(--teal);
  border-radius: 24px;
  padding: 8px;
  background: linear-gradient(135deg, #e0f7fa, #fff3e0, #fce4ec);
}
.cert-inner {
  background: #fff;
  border-radius: 18px;
  padding: 48px 40px;
  text-align: center;
}
.cert-stars, .cert-bottom-stars {
  font-size: 28px;
  margin-bottom: 8px;
}
.cert-bottom-stars {
  margin-top: 16px;
  margin-bottom: 0;
}
.cert-badge {
  font-size: 72px;
  margin-bottom: 8px;
}
.cert-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.5vw, 30px);
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 4px;
}
.cert-subtitle {
  font-size: 16px;
  color: var(--ink-soft);
  margin: 0 0 8px;
}
.cert-name {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--teal);
  margin: 8px 0;
  border-bottom: 3px solid var(--teal);
  display: inline-block;
  padding-bottom: 4px;
}
.cert-detail {
  font-size: 16px;
  color: var(--ink-soft);
  margin: 0 0 20px;
}
.cert-story-box {
  background: var(--cream);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 0 auto 24px;
  max-width: 500px;
  text-align: left;
}
.cert-story-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  margin: 0 0 4px;
}
.cert-story-text {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
}
.cert-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  margin-top: 24px;
}
.cert-seal-img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 3px solid var(--teal-light);
}
.cert-signed-by {
  font-size: 11px;
  color: var(--ink-muted);
  margin: 0;
}
.cert-doctor {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
}
.cert-org {
  font-size: 12px;
  color: var(--ink-soft);
  margin: 0;
}
.cert-date-label {
  font-size: 11px;
  color: var(--ink-muted);
  margin: 0;
}
.cert-date-value {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}
.cert-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* ══════════════════════════════════
   WALL OF FAME
   ══════════════════════════════════ */
.wall-of-fame {
  max-width: 900px;
  margin: 0 auto;
}
.wof-header {
  text-align: center;
  margin-bottom: 32px;
}
.wof-trophy {
  font-size: 48px;
  display: block;
  margin-bottom: 8px;
}
.wof-header h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}
.wall-subtitle {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.wof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.wof-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--line-light);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.wof-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sunshine);
}
.wof-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}
.wof-info {
  flex: 1;
  min-width: 0;
}
.wof-info strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.wof-info span {
  font-size: 13px;
  color: var(--ink-soft);
  font-style: italic;
  line-height: 1.5;
  display: block;
}
.wof-video-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  font-style: normal;
  background: #ede7f6;
  color: #7c4dff;
  padding: 2px 10px;
  border-radius: 50px;
  margin-top: 6px;
}
.wof-badge-icon {
  font-size: 24px;
  flex-shrink: 0;
}

/* ══════════════════════════════════
   TOOTH FAIRY HOTLINE
   ══════════════════════════════════ */
.hotline-hero {
  text-align: center;
  position: relative;
  margin-bottom: 40px;
  padding: 20px 0;
}
.hotline-fairy-glow {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.glow-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(233,30,99,.12);
}
.glow-ring-1 { width: 200px; height: 200px; animation: glowPulse 3s ease-in-out infinite; }
.glow-ring-2 { width: 280px; height: 280px; animation: glowPulse 3s ease-in-out infinite .5s; }
.glow-ring-3 { width: 360px; height: 360px; animation: glowPulse 3s ease-in-out infinite 1s; }
@keyframes glowPulse {
  0%, 100% { transform: scale(.9); opacity: .3; }
  50% { transform: scale(1.05); opacity: .7; }
}

.hotline-fairy-icon {
  font-size: 80px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  animation: fairyFloat 4s ease-in-out infinite;
}
@keyframes fairyFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hotline-hero h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}
.hotline-hero p {
  font-size: 18px;
  color: var(--ink-soft);
  position: relative;
  z-index: 1;
}

/* Phone Card */
.hotline-phone-card {
  max-width: 520px;
  margin: 0 auto 48px;
}
.phone-sparkle-border {
  background: linear-gradient(135deg, #e91e63, #7c4dff, #ff9800, #e91e63);
  background-size: 300% 300%;
  animation: borderShimmer 4s ease infinite;
  border-radius: calc(var(--radius-lg) + 4px);
  padding: 4px;
}
@keyframes borderShimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.phone-display {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
}
.phone-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e91e63, #7c4dff);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  animation: phonePulse 2s ease-in-out infinite;
}
@keyframes phonePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(233,30,99,.3); }
  50% { box-shadow: 0 0 0 16px rgba(233,30,99,0); }
}
.phone-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.phone-number-big {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
  text-decoration: none;
  transition: color .2s;
}
.phone-number-big:hover { color: #e91e63; }
.phone-sublabel {
  display: block;
  font-size: 14px;
  color: var(--ink-soft);
}

/* Hotline How It Works */
.hotline-how-it-works {
  max-width: 800px;
  margin: 0 auto 48px;
}
.hotline-how-it-works h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  color: var(--ink);
  text-align: center;
  margin-bottom: 32px;
}
.hotline-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.hotline-step {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line-light);
  transition: transform .3s;
}
.hotline-step:hover { transform: translateY(-6px); }
.hs-icon {
  font-size: 40px;
  margin-bottom: 16px;
}
.hotline-step h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.hotline-step p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* Hotline Dr. Sam Note */
.hotline-dr-sam-note {
  max-width: 700px;
  margin: 0 auto 48px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--teal-bg);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  border: 1px solid var(--teal-light);
}
.hotline-dr-sam-img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  background: linear-gradient(135deg, #e0f2f1, #b2dfdb);
  flex-shrink: 0;
  border: 3px solid #fff;
}
.hotline-note-content h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 6px;
}
.hotline-note-content p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0;
}

/* Hotline CTA */
.hotline-cta {
  max-width: 600px;
  margin: 0 auto;
}
.hotline-cta-inner {
  text-align: center;
  padding: 48px 32px;
  background: linear-gradient(135deg, #fce4ec, #ede7f6);
  border-radius: var(--radius-lg);
  border: 2px solid rgba(233,30,99,.1);
}
.hotline-cta-inner h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}
.hotline-cta-inner p {
  font-size: 16px;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

/* ══════════════════════════════════
   DR. SAM FLOATING CHAT
   ══════════════════════════════════ */

/* ══════════════════════════════════
   EXISTING SECTIONS (Auth, Brushing, Story)
   ══════════════════════════════════ */

/* Auth Card */
.auth-card {
  max-width: 440px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line-light);
  text-align: center;
}
.auth-card h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
}
.auth-card > p {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 28px;
}
.auth-toggle {
  display: flex;
  gap: 4px;
  background: var(--line-light);
  border-radius: 50px;
  padding: 4px;
  margin-bottom: 28px;
}
.auth-tab {
  flex: 1;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 50px;
  border: none;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all .2s;
}
.auth-tab.active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.auth-form { text-align: left; }
.auth-hint {
  text-align: center;
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 16px;
}

/* Avatar Picker */
.avatar-picker {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.avatar-option {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid var(--line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s;
  font-size: 24px;
}
.avatar-option:hover { border-color: var(--teal-light); transform: scale(1.1); }
.avatar-option.selected {
  border-color: var(--teal);
  background: var(--teal-bg);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(38,166,154,.2);
}

.access-code-display {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 8px;
  color: var(--teal);
  background: var(--teal-bg);
  padding: 16px 32px;
  border-radius: var(--radius);
  margin: 16px 0;
  display: inline-block;
}

.auth-success h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

/* Brushing App */
.brushing-profile {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
  padding: 20px 24px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.profile-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--teal-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}
.brushing-profile h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 2px;
}
.streak-display {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--sunshine);
}
.streak-display svg { color: var(--sunshine); }

/* Timer */
.timer-container {
  text-align: center;
  margin-bottom: 48px;
}
.timer-ring {
  width: 260px;
  height: 260px;
  margin: 0 auto 32px;
  position: relative;
}
.timer-svg {
  width: 100%;
  height: 100%;
}
.timer-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.timer-time {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
}
.timer-label {
  font-size: 14px;
  color: var(--ink-soft);
  margin-top: 4px;
}

.start-brush-btn {
  font-size: 20px;
  padding: 18px 48px;
}

/* Brushing zone indicator */
.brushing-zone {
  margin: 20px auto;
  max-width: 300px;
}
.tooth-map {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.tooth-section {
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--line-light);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-muted);
  text-align: center;
  transition: all .3s;
}
.tooth-section.active {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 4px 16px rgba(38,166,154,.3);
  transform: scale(1.05);
}

/* Sticker Reward */
.sticker-reward {
  text-align: center;
  padding: 48px 20px;
}
.sticker-animation {
  margin-bottom: 24px;
}
.sticker-new {
  font-size: 72px;
  animation: stickerPop .6s cubic-bezier(.22,1,.36,1);
}
@keyframes stickerPop {
  0% { transform: scale(0) rotate(-20deg); opacity: 0; }
  60% { transform: scale(1.3) rotate(10deg); }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}
.sticker-reward h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}
.sticker-reward p {
  font-size: 16px;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

/* Sticker Collection */
.sticker-collection {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line-light);
}
.sticker-collection h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
}
.sticker-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.sticker-item {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  border: 2px solid var(--line-light);
  transition: transform .2s;
}
.sticker-item:hover { transform: scale(1.15); }
.sticker-empty {
  text-align: center;
  color: var(--ink-muted);
  font-size: 14px;
  padding: 20px;
}
.sticker-tip {
  text-align: center;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--coral);
}

/* Social Story Section */
.story-intro {
  text-align: center;
  margin-bottom: 40px;
}
.story-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 12px;
}
.story-intro p {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.story-form-wrapper {
  max-width: 640px;
  margin: 0 auto;
}
.story-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line-light);
}
.story-form-section {
  margin-bottom: 32px;
}
.story-form-section h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--teal-bg);
}

/* Story Display */
.story-display {
  max-width: 640px;
  margin: 0 auto;
}
.story-book {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line-light);
  min-height: 300px;
}
.scene-illustration {
  background: linear-gradient(135deg, var(--teal-bg), #fff3e0);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 24px;
  text-align: center;
  font-size: 14px;
  color: var(--ink-soft);
  font-style: italic;
  border: 2px dashed var(--line);
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scene-text {
  font-size: 20px;
  line-height: 1.8;
  color: var(--ink);
  font-family: var(--font-body);
}
.story-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
}
.story-page-num {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-soft);
}

/* Story Generation Loading */
.story-generating {
  text-align: center;
  padding: 80px 20px;
}
.book-bounce {
  animation: bookBounce 1.5s ease-in-out infinite;
  margin-bottom: 24px;
}
@keyframes bookBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}
.story-generating h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}
.story-generating p {
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.gen-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
}
.gen-dots span {
  width: 12px;
  height: 12px;
  background: var(--teal);
  border-radius: 50%;
  animation: dotPulse 1.2s ease-in-out infinite;
}
.gen-dots span:nth-child(2) { animation-delay: .2s; }
.gen-dots span:nth-child(3) { animation-delay: .4s; }
@keyframes dotPulse {
  0%, 100% { transform: scale(.6); opacity: .3; }
  50% { transform: scale(1); opacity: 1; }
}

/* ── Confetti ── */
.success-confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.confetti-piece {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  top: -20px;
  animation: confettiFall 3s ease-in forwards;
}
@keyframes confettiFall {
  0% { transform: translateY(0) rotate(0) scale(1); opacity: 1; }
  100% { transform: translateY(500px) rotate(720deg) scale(.3); opacity: 0; }
}

/* Fairy Tip Inline */
.fairy-tip-inline {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: linear-gradient(135deg, #fce4ec, #ede7f6);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 32px;
  border: 1px solid rgba(233,30,99,.1);
}
.fairy-inline-icon {
  font-size: 36px;
  flex-shrink: 0;
}
.fairy-inline-content h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: #e91e63;
  margin-bottom: 4px;
}
.fairy-inline-content p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0;
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .feature-cards.three-cols { grid-template-columns: 1fr 1fr; }
  .ceremony-perks { grid-template-columns: 1fr 1fr; }
  .hotline-steps { grid-template-columns: 1fr 1fr; }
  .lb-video-grid { grid-template-columns: 1fr 1fr; }
  .wof-grid { grid-template-columns: 1fr 1fr; }
  .lb-dentist-inner { flex-direction: column; }
  .lb-dentist-img-area { flex: none; height: 250px; }
  .learn-brush-banner { flex-direction: column; text-align: center; }
  .lbb-visual { flex: none; }
}

@media (max-width: 640px) {
  .feature-cards { grid-template-columns: 1fr; gap: 20px; }
  .feature-cards.three-cols { grid-template-columns: 1fr; }
  .auth-card { padding: 32px 24px; }
  .story-form { padding: 28px 20px; }
  .story-book { padding: 32px 24px; }
  .timer-ring { width: 220px; height: 220px; }
  .timer-time { font-size: 40px; }
  .ceremony-perks { grid-template-columns: 1fr; }
  .hotline-steps { grid-template-columns: 1fr; }
  .lb-video-grid { grid-template-columns: 1fr; }
  .wof-grid { grid-template-columns: 1fr; }
  .losttooth-form-wrapper { padding: 28px 20px; }
  .hotline-dr-sam-note { flex-direction: column; align-items: center; text-align: center; }
  .video-dr-sam-msg { flex-direction: column; align-items: center; text-align: center; }
  .kids-hero-inner { flex-direction: column; text-align: center; }
  .kids-hero-text { text-align: center; }
  .hero-cta-group { justify-content: center; }
  .hero-img-frame { width: 100%; max-width: 360px; }
  .dr-sam-hero-badge { left: auto; right: -10px; }
  .cert-inner { padding: 32px 20px; }
  .cert-footer { flex-direction: column; gap: 16px; }
  .lb-dentist-content { padding: 32px 24px; }
  .fun-char-btn { min-width: 80px; padding: 10px 14px; }
  .fun-char-emoji { font-size: 28px; }
  .learn-brush-banner { padding: 32px 24px; }
}

/* Print styles for certificate */
@media print {
  .kids-nav, .back-btn, .cert-actions, .losttooth-hero, .ceremony-perks,
  .losttooth-form-wrapper, .wall-of-fame, .certificate-announce,
  .footer, .dr-sam-float, .tooth-fairy-tip, .success-confetti { display: none !important; }
  .tooth-certificate-wrapper { margin: 0; }
  .tooth-certificate { box-shadow: none; }
}
