/* ==========================================================================
   Kids Dyslexia About Page — Bright, Tactile, 3D & Accessible Styles
   ========================================================================== */

.sound-toggle-btn.muted .sound-icon-on { display: none !important; }
.sound-toggle-btn.muted .sound-icon-off { display: inline !important; }

/* 1. Playful Hero Section */
.about-hero-section {
  position: relative;
  background: linear-gradient(180deg, #fdf4ff 0%, #eff6ff 50%, var(--paper, #fffaf2) 100%);
  border-bottom: 2px dashed #cbd5e1;
  padding: 44px 20px 38px;
  overflow: hidden;
  border-radius: 0 0 32px 32px;
}

.about-shapes-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.65;
}

.floating-shape {
  position: absolute;
  font-size: 2rem;
  user-select: none;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.08));
  animation: floatOrb 6s infinite ease-in-out alternate;
}

.floating-shape.s1 { top: 12%; left: 5%; animation-delay: 0s; font-size: 2.3rem; }
.floating-shape.s2 { top: 18%; right: 7%; animation-delay: 1.2s; font-size: 2.6rem; }
.floating-shape.s3 { bottom: 15%; left: 8%; animation-delay: 2.8s; font-size: 2.1rem; }
.floating-shape.s4 { bottom: 22%; right: 9%; animation-delay: 4.2s; font-size: 2rem; }

@keyframes floatOrb {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-18px) rotate(14deg); }
}

.about-hero-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 28px;
  position: relative;
  z-index: 2;
}

.about-quest-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: #ffffff;
  color: #7c3aed;
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 99px;
  border: 2px solid #c084fc;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.15);
  margin-bottom: 16px;
}

.about-hero-title {
  font-family: var(--disp, inherit);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin-bottom: 14px;
}

.about-hero-title .rainbow-highlight {
  background: linear-gradient(135deg, #7c3aed 0%, #db2777 50%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.about-hero-lede {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: #334155;
  line-height: 1.6;
  max-width: 65ch;
  margin: 0 auto;
  font-weight: 550;
}

/* 2. 3D Hologram Mission Stage */
.about-3d-card {
  background: #ffffff;
  border: 3px solid #c4b5fd;
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 16px 36px rgba(124, 58, 237, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
  max-width: 920px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: center;
}

@media (max-width: 860px) {
  .about-3d-card {
    grid-template-columns: 1fr;
  }
}

.about-3d-canvas-wrap {
  width: 100%;
  height: 350px;
  background: radial-gradient(circle at center, #faf5ff 0%, #f3e8ff 100%);
  border-radius: 20px;
  border: 2px dashed #c084fc;
  position: relative;
  overflow: hidden;
  touch-action: none;
  cursor: grab;
}

.about-3d-canvas-wrap:active {
  cursor: grabbing;
}

.about-3d-overlay-hint {
  position: absolute;
  top: 12px;
  left: 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  padding: 5px 12px;
  border-radius: 99px;
  font-size: 0.76rem;
  font-weight: 750;
  color: #7c3aed;
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.about-3d-controls-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-3d-title-group h2 {
  font-size: 1.45rem;
  font-weight: 850;
  color: #0f172a;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.about-3d-title-group p {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.55;
}

.about-3d-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.about-theme-picker {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid #e2e8f0;
}

.about-theme-label {
  font-size: 0.8rem;
  font-weight: 750;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.theme-pill-btn {
  width: 28px;
  height: 28px;
  border-radius: 99px;
  border: 2px solid #ffffff;
  cursor: pointer;
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.18s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.theme-pill-btn:hover {
  transform: scale(1.15);
}

.theme-pill-btn.active {
  transform: scale(1.22);
  box-shadow: 0 0 0 3px #7c3aed;
}

/* 3. Dyslexia Superpower Fact Generator Card */
.fact-wonder-box {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 2.5px solid #f59e0b;
  border-radius: 24px;
  padding: 22px 24px;
  margin: 36px auto;
  max-width: 820px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.15);
  flex-wrap: wrap;
}

.fact-wonder-content {
  flex: 1;
  min-width: 260px;
}

.fact-wonder-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 0.76rem;
  font-weight: 800;
  color: #92400e;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.fact-wonder-text {
  font-size: 1.05rem;
  font-weight: 750;
  color: #78350f;
  line-height: 1.5;
  margin: 0;
}

/* 4. Story & Mission Cards Grid */
.about-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin: 32px 0 44px;
}

.about-kid-card {
  background: #ffffff;
  border: 2.5px solid var(--c-border, #e2e8f0);
  border-radius: 24px;
  padding: 26px;
  position: relative;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}

.about-kid-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
  border-color: var(--c-accent, #7c3aed);
}

.card-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.card-mascot-badge {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--c-soft, #f5f3ff);
  border: 2px solid var(--c-border, #ddd6fe);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.card-category-pill {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--c-soft, #f5f3ff);
  color: var(--c-accent, #7c3aed);
}

.about-kid-card h2 {
  font-family: var(--disp, inherit);
  font-size: 1.35rem;
  font-weight: 850;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 12px;
}

.about-kid-card p {
  font-size: 0.96rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 16px;
}

.about-kid-card ul {
  margin: 0 0 16px 20px;
  color: #334155;
  font-size: 0.94rem;
  line-height: 1.6;
}

.about-kid-card li {
  margin-bottom: 8px;
}

.card-bottom-actions {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1.5px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.card-listen-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  color: #334155;
  font-weight: 750;
  font-size: 0.82rem;
  padding: 7px 14px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.16s ease;
}

.card-listen-btn:hover {
  background: #f5f3ff;
  border-color: #7c3aed;
  color: #7c3aed;
}

/* 5. Honest Promise / Standards Banner */
.honest-promise-box {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 2.5px solid #6ee7b7;
  border-radius: 24px;
  padding: 28px 24px;
  margin: 36px 0;
  box-shadow: 0 8px 22px rgba(16, 185, 129, 0.08);
}

.honest-promise-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 20px;
}

.honest-promise-header h3 {
  font-size: 1.55rem;
  font-weight: 850;
  color: #065f46;
  margin-bottom: 6px;
}

.honest-promise-header p {
  font-size: 0.96rem;
  color: #047857;
}

.promise-checklist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.promise-mini-card {
  background: #ffffff;
  border: 2px solid #a7f3d0;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.promise-mini-icon {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.promise-mini-card strong {
  display: block;
  font-size: 0.95rem;
  color: #065f46;
  margin-bottom: 4px;
}

.promise-mini-card span {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.45;
}
