/* ============================================================
   NEUROSPHERE — styles.css
   Pink & White theme with dynamic scroll animations
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --pink-primary:   #e879b0;
  --pink-deep:      #cc4d96;
  --pink-deeper:    #a83a7a;
  --pink-light:     #f9c4e4;
  --pink-pale:      #fde8f5;
  --pink-mid:       #f0a8d4;
  --white:          #ffffff;
  --text-dark:      #4a1a35;
  --text-medium:    #8b3060;
  --text-light:     #c47090;
  --shadow-pink:    rgba(232, 121, 176, 0.28);
  --shadow-deep:    rgba(180, 50, 110, 0.18);
  --gradient-bg:    linear-gradient(175deg, #fde8f5 0%, #f9c4e4 45%, #f5b2dc 100%);
  --nav-height:     72px;
  --radius-card:    20px;
  --radius-pill:    50px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  overflow-x: hidden;
}

body {
  font-family: 'Nunito', sans-serif;
  background: var(--gradient-bg);
  background-attachment: fixed;
  color: var(--text-dark);
  line-height: 1.65;
  max-width: 100%;
  overflow-x: clip;
}

img { display: block; max-width: 100%; }
a  { text-decoration: none; }
ul { list-style: none; }



/* ── Navbar ─────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1.5px solid rgba(232, 121, 176, 0.18);
  transition: box-shadow 0.3s, background 0.3s;
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 4px 24px var(--shadow-pink);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--pink-primary);
}
.logo-circle {
  width: 52px;
  height: 52px;
  overflow: visible;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(204, 77, 150, 0.18));
}
.brand-text {
  font-family: 'Pacifico', cursive;
  font-size: 1.15rem;
  color: var(--pink-primary);
  letter-spacing: 0.01em;
}

/* Nav links */
.nav-menu {
  display: flex;
  gap: 1.8rem;
  align-items: center;
}
.nav-item-dropdown {
  position: relative;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--text-medium);
  transition: color 0.2s, background 0.2s;
  position: relative;
}
.nav-link::after {
  display: none;
}
.nav-link:hover {
  color: var(--pink-primary);
  background: rgba(232, 121, 176, 0.12);
}
.nav-link.active {
  color: var(--pink-primary);
  background: rgba(232, 121, 176, 0.16);
}
.nav-link-with-submenu {
  display: inline-flex;
}
.nav-submenu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  min-width: 250px;
  padding: 0.75rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(232, 121, 176, 0.18);
  box-shadow: 0 18px 40px rgba(180, 50, 110, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  z-index: 1001;
}
.nav-item-dropdown:hover .nav-submenu,
.nav-item-dropdown:focus-within .nav-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-sublink {
  display: block;
  padding: 0.8rem 0.95rem;
  border-radius: 14px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-medium);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.nav-sublink.active,
.nav-sublink:hover {
  background: rgba(232, 121, 176, 0.12);
  color: var(--pink-primary);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--pink-primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Page enter animation ───────────────────────────────────── */
/* NOTE: transform cannot be used on body — it breaks position:fixed children */
@keyframes pageFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.page-enter {
  animation: pageFadeIn 0.45s ease both;
}

/* Slide-up entrance applied to content sections, not body */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.page-hero,
.page-content,
footer {
  animation: slideUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.page-content { animation-delay: 0.08s; }
footer        { animation-delay: 0.12s; }

/* ── Page Hero (full-viewport sphere section) ───────────────── */
.page-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding-top: var(--nav-height);
  padding-bottom: 2rem;
}

/* Sub-hero (e.g. Our Chapters on About page) */
.sub-hero {
  min-height: 80vh;
}

/* ── Page Content (below hero) ──────────────────────────────── */
.page-content {
  width: 100%;
  padding: 3.5rem 2rem 5rem;
  overflow-x: clip;
}

/* ── Shared section backgrounds ─────────────────────────────── */
.alt-bg {
  background: rgba(255, 255, 255, 0.18);
}

/* ── Sphere + Title Hero ───────────────────────────────────── */
.sphere-hero {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3.5rem 1rem 2rem;
  width: 100%;
}

.sphere-wrap {
  position: relative;
  width: 420px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-hero .sphere-wrap {
  width: min(82vw, 560px);
  height: min(82vw, 560px);
}

/* Actual PNG sphere */
.sphere-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  animation: floatSphereImage 5s ease-in-out infinite;
  filter: drop-shadow(0 18px 36px var(--shadow-pink));
  z-index: 1;
}


/* Title overlay on sphere */
.sphere-overlay-title {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 88%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 3;
  animation: floatSphereTitle 5s ease-in-out infinite;
}

.section-title-img {
  position: relative;
  display: block;
  width: 100%;
  max-width: 370px;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 3px 10px rgba(160, 40, 100, 0.3));
}

/* CSS 3D text fallback — hidden by default, shown via JS onerror */
.title-css-fallback {
  display: none;
  font-family: 'Pacifico', cursive;
  color: white;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.1;
  text-shadow:
    1px 1px 0 #e879b0, 2px 2px 0 #e070a8,
    3px 3px 0 #d868a0, 4px 4px 0 #d060a0,
    5px 5px 0 #c85898, 6px 6px 0 #c05090,
    7px 7px 0 #b84888, 8px 8px 0 #b04080,
    9px 9px 0 #a83878, 10px 10px 18px rgba(160, 40, 110, 0.45);
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.35);
  paint-order: stroke fill;
}

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

@keyframes floatSphereTitle {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50%       { transform: translate(-50%, -50%) translateY(-14px); }
}


.hero-tagline {
  text-align: center;
  padding: 0 1rem 4rem;
}
.hero-tagline p {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-medium);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

/* ── Section Body ──────────────────────────────────────────── */
.section-body {
  width: 100%;
  padding: 2.5rem 2rem 5rem;
  flex: 1;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
}
.section-intro {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  max-width: 680px;
  margin: 0 auto 3rem;
  line-height: 1.75;
  text-shadow:
    0 1px 4px rgba(60, 5, 35, 0.85),
    0 2px 14px rgba(60, 5, 35, 0.55),
    0 4px 30px rgba(60, 5, 35, 0.35);
}

/* ── Card Grids ───────────────────────────────────────────── */
.cards-grid {
  display: grid;
  gap: 1.75rem;
  margin-bottom: 3rem;
}
.three-col { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.two-col   { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.four-col  { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* ── About Cards ──────────────────────────────────────────── */
.card {
  background: rgba(255, 255, 255, 0.82);
  border-radius: var(--radius-card);
  padding: 2.25rem 2rem;
  text-align: center;
  box-shadow: 0 8px 32px var(--shadow-pink);
  border: 1.5px solid rgba(232, 121, 176, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 50px var(--shadow-pink);
}
.card-emoji { font-size: 2.6rem; margin-bottom: 1rem; }
.card h3 {
  font-family: 'Pacifico', cursive;
  font-size: 1.25rem;
  color: var(--pink-deep);
  margin-bottom: 0.75rem;
}
.card p { color: var(--text-medium); font-size: 0.92rem; line-height: 1.75; }

/* Team */
.team-section { margin-top: 1rem; }
.sub-heading {
  font-family: 'Pacifico', cursive;
  font-size: 1.8rem;
  color: var(--pink-primary);
  text-align: center;
  margin-bottom: 2rem;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}
.team-card {
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-card);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 6px 24px var(--shadow-pink);
  transition: transform 0.3s;
}
.team-card:hover { transform: translateY(-5px); }
.team-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink-light), var(--pink-primary));
  margin: 0 auto 1rem;
  box-shadow: 0 4px 12px var(--shadow-pink);
}
.team-card h4 { font-size: 0.95rem; font-weight: 800; color: var(--text-dark); margin-bottom: 0.25rem; }
.team-card p  { font-size: 0.82rem; color: var(--text-light); }

/* ── Research Cards ───────────────────────────────────────── */
.research-card {
  background: rgba(255, 255, 255, 0.84);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 6px 24px var(--shadow-pink);
  border: 1.5px solid rgba(232, 121, 176, 0.18);
  transition: transform 0.3s, box-shadow 0.3s;
}
.research-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 40px var(--shadow-pink);
}
.tag {
  display: inline-block;
  padding: 0.22rem 0.8rem;
  background: linear-gradient(135deg, var(--pink-primary), var(--pink-deep));
  color: white;
  border-radius: 30px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}
.research-card h3 { font-size: 1.1rem; font-weight: 800; color: var(--text-dark); margin-bottom: 0.5rem; }
.research-card p  { color: var(--text-medium); font-size: 0.88rem; line-height: 1.65; }

/* ── Chapter Cards ────────────────────────────────────────── */
.chapter-card {
  background: rgba(255, 255, 255, 0.82);
  border-radius: 16px;
  padding: 1.75rem;
  text-align: center;
  box-shadow: 0 6px 24px var(--shadow-pink);
  transition: transform 0.3s;
}
.chapter-card:hover { transform: translateY(-5px); }
.chapter-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.chapter-card h3 { font-size: 1.05rem; font-weight: 800; color: var(--pink-deep); margin-bottom: 0.25rem; }
.chapter-card p  { font-size: 0.85rem; color: var(--text-medium); }

.chapter-map-section {
  margin-bottom: 2.5rem;
}
.chapter-map-card {
  background: rgba(255, 255, 255, 0.82);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  box-shadow: 0 8px 30px var(--shadow-pink);
  border: 1.5px solid rgba(232, 121, 176, 0.15);
}
.chapter-map-header {
  text-align: center;
  margin-bottom: 1.25rem;
}
.chapter-map-header h3 {
  font-family: 'Pacifico', cursive;
  font-size: 1.7rem;
  color: var(--pink-deep);
  margin-bottom: 0.45rem;
}
.chapter-map-header p {
  color: var(--text-medium);
  font-size: 0.95rem;
}
.chapter-map {
  min-height: 420px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(232, 121, 176, 0.12);
}
.chapter-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

/* ── Opportunity Prose ────────────────────────────────────── */
.opp-prose {
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-card);
  padding: 2.25rem 2.75rem;
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
  border: 1.5px solid rgba(232, 121, 176, 0.15);
  box-shadow: 0 6px 24px var(--shadow-pink);
}
.opp-prose h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--pink-deep);
  margin-top: 1.5rem;
  margin-bottom: 0.3rem;
  letter-spacing: 0.02em;
}
.opp-prose h4:first-child { margin-top: 0; }
.opp-prose p {
  color: var(--text-medium);
  font-size: 0.95rem;
  line-height: 1.85;
}
@media (max-width: 600px) {
  .opp-prose { padding: 1.5rem 1.25rem; }
}

/* Flipbook embed */
.flipbook-embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 8px 32px var(--shadow-pink);
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
}
.flipbook-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--pink-primary), var(--pink-deeper));
  border-radius: var(--radius-card);
  padding: 3rem 2rem;
  text-align: center;
  color: white;
  box-shadow: 0 12px 40px var(--shadow-deep);
  margin-top: 1rem;
}
.cta-banner h3 {
  font-family: 'Pacifico', cursive;
  font-size: 2rem;
  margin-bottom: 0.6rem;
}
.cta-banner p { font-size: 1rem; opacity: 0.9; margin-bottom: 1.75rem; }

/* ── Benefit Cards ────────────────────────────────────────── */
.benefit-card {
  background: rgba(255, 255, 255, 0.82);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 6px 24px var(--shadow-pink);
  border-top: 4px solid var(--pink-primary);
  transition: transform 0.3s, box-shadow 0.3s;
}
.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 40px var(--shadow-pink);
}
.benefit-num {
  font-family: 'Pacifico', cursive;
  font-size: 2.8rem;
  color: var(--pink-light);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.benefit-card h3 { font-size: 1.1rem; font-weight: 800; color: var(--pink-deep); margin-bottom: 0.5rem; }
.benefit-card p  { color: var(--text-medium); font-size: 0.9rem; line-height: 1.65; }
.join-cta { text-align: center; margin-top: 2.5rem; }
.join-paths {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.join-path-card {
  background: rgba(255, 255, 255, 0.84);
  border-radius: var(--radius-card);
  padding: 2rem;
  box-shadow: 0 8px 30px var(--shadow-pink);
  border: 1.5px solid rgba(232, 121, 176, 0.15);
}
.join-path-card h3 {
  font-size: 1.2rem;
  color: var(--pink-deep);
  margin-bottom: 0.55rem;
}
.join-path-card p {
  color: var(--text-medium);
  font-size: 0.94rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

/* ── Booklets ─────────────────────────────────────────────── */
.booklets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.booklet-card {
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 8px 28px var(--shadow-pink);
  transition: transform 0.3s, box-shadow 0.3s;
}
.booklet-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 50px var(--shadow-pink);
}
.booklet-cover {
  height: 200px;
  background: linear-gradient(135deg, var(--cover-color, var(--pink-primary)), #a03080);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.booklet-spine {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 18px;
  background: rgba(0, 0, 0, 0.18);
}
.booklet-front-content {
  text-align: center;
  color: white;
  padding: 1rem 1.5rem;
}
.booklet-issue {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  opacity: 0.8;
  margin-bottom: 0.5rem;
}
.booklet-front-content h4 {
  font-family: 'Pacifico', cursive;
  font-size: 1.15rem;
  line-height: 1.3;
}
.booklet-details { padding: 1.5rem; }
.booklet-details h3 { font-size: 1.05rem; font-weight: 800; color: var(--text-dark); margin-bottom: 0.4rem; }
.booklet-details p  { color: var(--text-medium); font-size: 0.88rem; margin-bottom: 1rem; line-height: 1.6; }

/* ── Podcast ──────────────────────────────────────────────── */
.podcast-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.episode {
  background: rgba(255, 255, 255, 0.84);
  border-radius: 16px;
  padding: 1.75rem 2rem;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  box-shadow: 0 6px 24px var(--shadow-pink);
  border-left: 5px solid var(--pink-primary);
  transition: transform 0.3s, box-shadow 0.3s;
}
.episode:hover {
  transform: translateX(6px);
  box-shadow: 0 12px 36px var(--shadow-pink);
}
.ep-num {
  font-family: 'Pacifico', cursive;
  font-size: 1.6rem;
  color: var(--pink-primary);
  min-width: 70px;
  line-height: 1.15;
  text-align: center;
  flex-shrink: 0;
}
.ep-content h3 { font-size: 1.1rem; font-weight: 800; color: var(--text-dark); margin-bottom: 0.4rem; }
.ep-content p  { color: var(--text-medium); font-size: 0.9rem; line-height: 1.65; margin-bottom: 0.75rem; }
.ep-meta { display: flex; align-items: center; gap: 1rem; }
.ep-tag {
  display: inline-block;
  padding: 0.22rem 0.75rem;
  background: var(--pink-pale);
  border-radius: 30px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--pink-deep);
}
.listen-btn {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--pink-primary);
  letter-spacing: 0.04em;
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.2s;
}
.listen-btn:hover { border-color: var(--pink-primary); }

/* ── Donate ───────────────────────────────────────────────── */
.donate-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  align-items: stretch;
}
.tier-card {
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-card);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 6px 28px var(--shadow-pink);
  border: 2px solid transparent;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.tier-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 50px var(--shadow-pink);
  border-color: var(--pink-light);
}
.tier-card.featured {
  transform: translateY(-8px);
  box-shadow: 0 20px 56px var(--shadow-pink);
  border-color: var(--pink-primary);
}
.featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--pink-primary), var(--pink-deep));
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.3rem 1rem;
  border-radius: 30px;
  white-space: nowrap;
}
.tier-label {
  font-family: 'Pacifico', cursive;
  font-size: 1.4rem;
  color: var(--pink-primary);
  margin-bottom: 0.5rem;
}
.tier-price {
  font-family: 'Pacifico', cursive;
  font-size: 3.2rem;
  color: var(--pink-deep);
  margin-bottom: 1.5rem;
  line-height: 1;
}
.tier-perks {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
  width: 100%;
}
.tier-perks li {
  padding: 0.4rem 0;
  color: var(--text-medium);
  font-size: 0.88rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.tier-perks li::before {
  content: '✓';
  color: var(--pink-primary);
  font-weight: 900;
  flex-shrink: 0;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  padding: 0.85rem 2.5rem;
  background: linear-gradient(135deg, var(--pink-primary), var(--pink-deep));
  color: white;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 18px var(--shadow-pink);
  transition: transform 0.22s, box-shadow 0.22s;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px var(--shadow-pink);
}
.btn-large { padding: 1rem 3.5rem; font-size: 1.05rem; }

.btn-secondary {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  border: 2px solid var(--pink-primary);
  color: var(--pink-primary);
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.85rem;
  transition: background 0.22s, color 0.22s;
}
.btn-secondary:hover {
  background: var(--pink-primary);
  color: white;
}

/* ── Footer / Contact ─────────────────────────────────────── */
footer {
  background: linear-gradient(135deg, #f07cc0, var(--pink-deep) 60%, var(--pink-deeper));
  padding-bottom: 2rem;
}

.footer-sphere-wrap {
  display: flex;
  justify-content: center;
  padding: 3rem 1rem 2rem;
}
.footer-title-wrap {
  display: flex;
  justify-content: center;
}

.footer-title-wrap .sphere-overlay-title {
  position: static;
  transform: none;
  width: auto;
  animation: none;
}

.footer-title-img {
  max-width: 340px;
}

.footer-body {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 2rem 2rem;
}

.contact-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-card);
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  max-width: 100%;
}

.contact-email-row {
  display: flex;
  gap: 1.75rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}
.email-icon-box {
  color: var(--pink-primary);
  flex-shrink: 0;
  margin-top: 0.2rem;
}
.email-entries p {
  font-size: 0.86rem;
  color: var(--text-dark);
  line-height: 1.5;
  margin-bottom: 0.2rem;
}
.email-link {
  margin-bottom: 0.85rem !important;
}
.email-entries a {
  color: var(--pink-primary);
  font-weight: 700;
  transition: opacity 0.2s;
}
.email-entries a:hover { opacity: 0.75; }

.social-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  border-top: 1.5px solid var(--pink-light);
  padding-top: 1.75rem;
}
.social-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-dark);
  font-size: 0.8rem;
  font-weight: 700;
  transition: transform 0.22s;
  text-align: center;
}
.social-btn:hover { transform: translateY(-4px); }
.social-icon-box {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.22s;
}
.social-btn:hover .social-icon-box { box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); }
.linkedin-bg  { background: #0077B5; }
.instagram-bg { background: linear-gradient(135deg, #f9a825 0%, #e91e8c 50%, #9c27b0 100%); }
.tiktok-bg    { background: #010101; }
.youtube-bg   { background: #FF0000; }

.footer-bottom {
  text-align: center;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 1.5rem 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 1rem;
}

/* ── Scroll Animations ────────────────────────────────────── */
.reveal-item {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays */
.reveal-item:nth-child(1)  { transition-delay: 0.05s; }
.reveal-item:nth-child(2)  { transition-delay: 0.14s; }
.reveal-item:nth-child(3)  { transition-delay: 0.23s; }
.reveal-item:nth-child(4)  { transition-delay: 0.32s; }
.reveal-item:nth-child(5)  { transition-delay: 0.41s; }
.reveal-item:nth-child(6)  { transition-delay: 0.50s; }
.reveal-item:nth-child(7)  { transition-delay: 0.59s; }
.reveal-item:nth-child(8)  { transition-delay: 0.68s; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 820px) {
  .nav-inner {
    padding: 0 1.25rem;
  }
  .nav-menu {
    position: absolute;
    top: var(--nav-height);
    right: 0.9rem;
    left: auto;
    width: min(50vw, 340px);
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1.1rem;
    gap: 1.1rem;
    box-shadow: 0 10px 28px var(--shadow-pink);
    border: 1.5px solid var(--pink-light);
    border-radius: 0 0 0 22px;
    display: none;
    z-index: 999;
  }
  .nav-menu.open   { display: flex; }
  .hamburger       { display: flex; }
  .brand-text      {
    display: inline-block;
    font-size: 1rem;
  }
  .nav-link {
    display: block;
    width: 100%;
    text-align: center;
  }
  .nav-item-dropdown { width: 100%; }
  .nav-link-with-submenu {
    justify-content: center;
    text-align: center;
  }
  .nav-submenu {
    display: none;
  }
  .nav-sublink {
    padding: 0.5rem 0.95rem 0;
    text-align: center;
  }

  .page-hero .sphere-wrap { width: 360px; height: 360px; }
  .section-title-img { max-width: 320px; }
  .chapter-map { min-height: 360px; }
  .chapter-map iframe { min-height: 360px; }
  .page-content { padding: 3rem 1.25rem 4rem; }
  .contact-card { padding: 2rem 1.35rem; }

  .contact-email-row { flex-direction: column; gap: 1rem; }
  .social-row        { gap: 1.25rem; }

  .episode { flex-direction: column; gap: 0.75rem; }
  .ep-num  { font-size: 1.3rem; min-width: unset; text-align: left; }
}

@media (max-width: 480px) {
  .nav-menu {
    width: 50vw;
    min-width: 190px;
    right: 0.75rem;
    padding: 1.1rem 0.95rem;
  }
  .brand-text {
    font-size: 0.92rem;
  }
  .page-hero .sphere-wrap { width: 300px; height: 300px; }
  .section-title-img { max-width: 250px; }
  .title-css-fallback { font-size: 1.8rem; }

  .section-body { padding: 2rem 1.25rem 3.5rem; }
  .chapter-map {
    min-height: 320px;
  }
  .chapter-map iframe { min-height: 320px; }
  .btn-primary,
  .btn-secondary,
  .btn-large {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }
  .social-btn { min-width: 88px; }

  .donate-tiers    { grid-template-columns: 1fr; }
  .tier-card.featured { transform: none; }
}
