/* ==========================================================================
   РОДНЫЕ СКАЗКИ (rodnyeskazki.ru)
   HAUTE EDITORIAL & CELESTIAL DESIGN SYSTEM
   Bespoke luxury: Astral Obsidian, Gilded Hairlines, Constellations & Grain
   ========================================================================== */

:root {
  /* Celestial Palette */
  --astral-black: #050710;
  --astral-deep: #080c1b;
  --astral-surface: rgba(14, 20, 42, 0.45);
  --astral-surface-hover: rgba(22, 30, 62, 0.65);
  --astral-border: rgba(246, 199, 104, 0.14);
  --astral-border-subtle: rgba(255, 255, 255, 0.06);
  --astral-border-bright: rgba(246, 199, 104, 0.45);

  --gold-leaf: #f5c76c;
  --gold-champagne: #fae4ad;
  --gold-glow: rgba(245, 199, 108, 0.35);
  --gold-sheen: linear-gradient(135deg, #fae4ad 0%, #f5c76c 50%, #c48c34 100%);
  
  --violet-astral: #9e7aff;
  --violet-glow: rgba(158, 122, 255, 0.28);
  
  --text-pure: #ffffff;
  --text-primary: #eef2fb;
  --text-secondary: #9aa7c4;
  --text-dim: #5c6884;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Architectural Radii (Replaces repetitive blobby radii) */
  --radius-micro: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;

  /* Motion */
  --ease-cinematic: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.2);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: #080c1d;
  color: #eef2fb;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background-color: #080c1d !important;
  background-image: 
    radial-gradient(ellipse 90% 60% at 50% -5%, rgba(139, 92, 246, 0.40) 0%, transparent 70%),
    radial-gradient(circle 500px at 10% 20%, rgba(168, 85, 247, 0.32) 0%, transparent 68%),
    radial-gradient(circle 460px at 90% 30%, rgba(245, 199, 108, 0.30) 0%, transparent 65%),
    radial-gradient(circle 540px at 15% 55%, rgba(59, 130, 246, 0.28) 0%, transparent 70%),
    radial-gradient(circle 480px at 85% 72%, rgba(217, 119, 6, 0.26) 0%, transparent 65%),
    radial-gradient(ellipse 90% 45% at 50% 98%, rgba(147, 51, 234, 0.35) 0%, transparent 75%);
  background-attachment: fixed;
  color: #eef2fb;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Twinkling Golden Fairy Dust Overlay (Pure CSS, 0ms lag, vibrant gold & diamond stars) */
.stardust-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: 
    radial-gradient(1.5px 1.5px at 25px 35px, #ffffff 0%, rgba(255,255,255,0) 100%),
    radial-gradient(2px 2px at 80px 140px, #f5c76c 0%, rgba(245,199,108,0) 100%),
    radial-gradient(1px 1px at 160px 70px, #fae4ad 0%, rgba(250,228,173,0) 100%),
    radial-gradient(2.5px 2.5px at 240px 190px, #f5c76c 0%, rgba(245,199,108,0) 100%),
    radial-gradient(1px 1px at 310px 100px, #ffffff 0%, rgba(255,255,255,0) 100%),
    radial-gradient(2px 2px at 350px 270px, #9e7aff 0%, rgba(158,122,255,0) 100%),
    radial-gradient(1.5px 1.5px at 60px 320px, #fae4ad 0%, rgba(250,228,173,0) 100%),
    radial-gradient(2px 2px at 190px 380px, #f5c76c 0%, rgba(245,199,108,0) 100%),
    radial-gradient(1px 1px at 280px 440px, #ffffff 0%, rgba(255,255,255,0) 100%),
    radial-gradient(2.5px 2.5px at 130px 510px, #f5c76c 0%, rgba(245,199,108,0) 100%),
    radial-gradient(1.5px 1.5px at 330px 580px, #9e7aff 0%, rgba(158,122,255,0) 100%);
  background-repeat: repeat;
  background-size: 380px 620px;
  opacity: 0.85;
}

/* Velvet Film-Grain Paper Texture Overlay (Desktop only) */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 999;
  opacity: 0.032;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Stardust Canvas */
#stardust-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  background: transparent !important;
  background-color: transparent !important;
}

/* Ambient Cosmic Nebula Lights */
.aurora-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.28;
  pointer-events: none;
  z-index: 0;
  animation: floatNebula 22s infinite alternate ease-in-out;
}

.glow-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #5b21b6 0%, transparent 70%);
  top: -150px;
  left: 15%;
}

.glow-2 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, #d97706 0%, transparent 75%);
  top: 35%;
  right: -200px;
  animation-duration: 28s;
  animation-delay: -7s;
}

.glow-3 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, #1e3a8a 0%, transparent 70%);
  bottom: 5%;
  left: -120px;
  animation-duration: 20s;
  animation-delay: -12s;
}

@keyframes floatNebula {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.08); }
  100% { transform: translate(-40px, 60px) scale(0.96); }
}

.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}

/* Typography Utilities */
.serif-display {
  font-family: var(--font-display);
}

.gold-gradient-text {
  background: var(--gold-sheen);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   HEADER (COMPACT SLEEK)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 12px 0;
  background: rgba(5, 7, 16, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(246, 199, 104, 0.1);
}

.header-container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-emblem {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.emblem-ring {
  width: 38px;
  height: 38px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.emblem-ring::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--gold-leaf);
  box-shadow: 0 0 12px var(--gold-glow);
}

.emblem-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.brand-meta {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-pure);
  letter-spacing: 0.6px;
  line-height: 1.1;
}

.brand-desc {
  font-size: 0.62rem;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gold-leaf);
  font-weight: 500;
}

/* Mode Selector */
.mode-segmented-bar {
  display: flex;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--astral-border);
  border-radius: var(--radius-micro);
  padding: 3px;
  position: relative;
}

.segment-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  padding: 6px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s var(--ease-cinematic);
  border-radius: 2px;
}

.segment-btn:hover {
  color: var(--text-pure);
}

.segment-btn.active {
  background: linear-gradient(135deg, rgba(245, 199, 108, 0.16) 0%, rgba(158, 122, 255, 0.16) 100%);
  color: var(--gold-champagne);
  box-shadow: inset 0 0 0 1px var(--astral-border-bright);
}

.badge-tag {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 2px 5px;
  border-radius: 2px;
  background: var(--gold-leaf);
  color: #050710;
  text-transform: uppercase;
}

.header-quiz-link {
  color: var(--gold-champagne);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-micro);
  border: 1px solid rgba(246, 199, 104, 0.28);
  background: rgba(246, 199, 104, 0.06);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.header-quiz-link:hover {
  background: rgba(246, 199, 104, 0.14);
  border-color: var(--gold-leaf);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(246, 199, 104, 0.2);
}

/* Gilded Buttons */
.btn-gilded {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #f5c76c 0%, #d49533 100%);
  color: #070912;
  font-family: var(--font-sans);
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-micro);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 25px rgba(245, 199, 108, 0.3);
  transition: all 0.25s var(--ease-cinematic);
  cursor: pointer;
}

.btn-gilded:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 35px rgba(245, 199, 108, 0.45);
}

.btn-gilded-sm {
  padding: 8px 16px;
  font-size: 0.82rem;
}

.btn-gilded-lg {
  padding: 13px 26px;
  font-size: 0.98rem;
  flex-direction: column;
  gap: 2px;
}

.btn-sub-caption {
  font-size: 0.7rem;
  font-weight: 500;
  opacity: 0.85;
}

.btn-celestial-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
  border: 1px solid var(--astral-border);
  border-radius: var(--radius-micro);
  padding: 13px 22px;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-celestial-ghost:hover {
  background: rgba(246, 199, 104, 0.08);
  border-color: var(--gold-leaf);
  color: var(--text-pure);
}

/* ==========================================================================
   HERO SECTION (BALANCED TO FIT LAPTOPS & DESKTOPS ABOVE THE FOLD)
   ========================================================================== */
.hero-section {
  padding: 82px 0 24px;
  min-height: calc(100vh - 65px);
  display: flex;
  align-items: center;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 40px;
}

.hero-provenance {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  background: rgba(246, 199, 104, 0.08);
  border: 1px solid rgba(246, 199, 104, 0.24);
  border-radius: var(--radius-micro);
  margin-bottom: 12px;
}

.provenance-star {
  color: var(--gold-leaf);
  font-size: 0.78rem;
}

.provenance-text {
  font-size: 0.78rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--gold-champagne);
  font-weight: 600;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.1vw, 2.9rem);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.5px;
  color: var(--text-pure);
  margin-bottom: 12px;
}

.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-champagne);
}

.hero-subtitle {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 590px;
  margin-bottom: 16px;
  font-weight: 300;
}

/* Compact Celestial Sound Console */
.celestial-console {
  background: linear-gradient(145deg, rgba(16, 22, 48, 0.9) 0%, rgba(8, 12, 28, 0.95) 100%);
  border: 1px solid var(--astral-border);
  border-radius: var(--radius-sm);
  padding: 13px 18px;
  margin-bottom: 16px;
  max-width: 575px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.console-header-track-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.console-tab-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-micro);
  padding: 8px 13px;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: all 0.25s ease;
}

.console-tab-btn.active {
  background: linear-gradient(135deg, rgba(245, 199, 108, 0.18) 0%, rgba(158, 122, 255, 0.18) 100%);
  border-color: var(--gold-leaf);
  color: #fff;
  box-shadow: 0 3px 12px rgba(245, 199, 108, 0.2);
}

.console-body {
  display: flex;
  align-items: center;
  gap: 14px;
}

.console-vinyl {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-micro);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--astral-border);
}

.console-vinyl img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.console-play-trigger {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 16, 0.55);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-champagne);
  cursor: pointer;
  transition: background 0.2s ease;
}

.console-play-trigger svg {
  width: 22px;
  height: 22px;
}

.console-play-trigger .pause-icon {
  display: none;
}

.console-play-trigger.playing .play-icon {
  display: none;
}

.console-play-trigger.playing .pause-icon {
  display: block;
}

.console-track-details {
  flex-grow: 1;
  min-width: 0;
}

.console-track-title {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-pure);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.console-track-tag {
  font-size: 0.78rem;
  color: var(--gold-leaf);
  font-weight: 500;
  margin-bottom: 6px;
}

.console-scrubber-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.console-scrubber-fill {
  width: 0%;
  height: 100%;
  background: var(--gold-sheen);
  transition: width 0.1s linear;
}

.console-timestamps {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--text-dim);
  margin-top: 3px;
  font-variant-numeric: tabular-nums;
}

.console-spectrum {
  display: flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 18px;
  flex-shrink: 0;
}

.console-spectrum span {
  width: 2.5px;
  height: 3px;
  background: var(--gold-leaf);
  border-radius: 1px;
  transition: height 0.2s ease;
}

.console-spectrum.active span {
  animation: spectrumJump 0.9s infinite alternate ease-in-out;
}

@keyframes spectrumJump {
  0% { height: 3px; }
  100% { height: 16px; }
}

.console-curator-note {
  margin-top: 7px;
  font-size: 0.69rem;
  color: var(--gold-champagne);
  opacity: 0.85;
}

/* Hero Action CTAs */
.hero-cta-cluster {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.hero-quiz-teaser {
  margin-bottom: 12px;
}

.hero-quiz-trigger-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(246, 199, 104, 0.07);
  border: 1px dashed rgba(246, 199, 104, 0.38);
  border-radius: var(--radius-micro);
  color: var(--text-pure);
  text-decoration: none;
  font-size: 0.82rem;
  transition: all 0.25s ease;
}

.hero-quiz-trigger-link:hover {
  background: rgba(246, 199, 104, 0.15);
  border-color: var(--gold-leaf);
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(246, 199, 104, 0.2);
}

.hero-quiz-trigger-link strong {
  color: var(--gold-champagne);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.teaser-emoji {
  font-size: 1.05rem;
}

.hero-social-patronage {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.patron-portraits {
  display: flex;
}

.patron-cell {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-micro);
  background: #151b36;
  border: 1px solid var(--astral-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  margin-left: -5px;
}

.patron-cell:first-child {
  margin-left: 0;
}

.patron-text {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.patron-text strong {
  color: var(--text-pure);
}

/* 3D Book Pedestal (Scaled to fit viewport comfortably) */
.hero-visual-podium {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.book-pedestal {
  perspective: 1600px;
  width: 100%;
  max-width: 380px;
  height: 425px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.astrolabe-ring {
  position: absolute;
  width: 390px;
  height: 390px;
  border-radius: 50%;
  border: 1px dashed rgba(246, 199, 104, 0.2);
  pointer-events: none;
  animation: rotateAstrolabe 90s infinite linear;
}

@keyframes rotateAstrolabe {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.tilted-book-volume {
  position: relative;
  width: 290px;
  height: 405px;
  transform-style: preserve-3d;
  cursor: grab;
  user-select: none;
  transition: transform 0.15s ease-out;
}

.volume-glow-shield {
  position: absolute;
  inset: -10%;
  background: radial-gradient(circle, rgba(245, 199, 108, 0.28) 0%, rgba(158, 122, 255, 0.1) 50%, transparent 75%);
  filter: blur(35px);
  pointer-events: none;
  border-radius: 20px;
}

.volume-cover-art {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.85),
    0 10px 25px rgba(245, 199, 108, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  transform: translateZ(20px);
}

.volume-cover-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.volume-gilded-ribbon {
  position: absolute;
  top: 18px;
  right: -32px;
  background: var(--gold-sheen);
  color: #070912;
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 34px;
  transform: rotate(45deg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

.volume-plinth-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  max-width: 78%;
  padding: 14px 16px;
  background: linear-gradient(to top, rgba(5, 7, 16, 0.96) 0%, rgba(5, 7, 16, 0.5) 60%, transparent 100%);
  box-sizing: border-box;
}

.plinth-title {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}

.plinth-narrator {
  font-size: 0.72rem;
  color: var(--gold-leaf);
  font-weight: 500;
  margin-top: 2px;
}

.astral-badge-filament {
  position: absolute;
  background: rgba(10, 15, 34, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--gold-leaf);
  border-radius: var(--radius-micro);
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(246, 199, 104, 0.15);
  z-index: 5;
  transform: translateZ(40px);
  pointer-events: none;
}

.badge-top-edge {
  top: -16px;
  left: -42px;
}

.badge-bottom-edge {
  bottom: -24px;
  right: -30px;
}

.mode-bloggers .hero-quiz-teaser {
  display: none;
}

.badge-headline {
  font-weight: 700;
  font-size: 0.75rem;
  color: #fff;
}

.badge-subtext {
  font-size: 0.65rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   CONSTELLATION TIMELINE («КАК РОЖДАЕТСЯ СКАЗКА»)
   ========================================================================== */
.constellation-section {
  padding: 100px 0;
  position: relative;
}

.editorial-header-center {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 70px;
}

.editorial-tag {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--gold-leaf);
  font-weight: 600;
  margin-bottom: 12px;
  display: inline-block;
}

.editorial-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text-pure);
  margin-bottom: 16px;
}

.editorial-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 300;
}

.constellation-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  gap: 28px;
  margin-bottom: 60px;
}

.constellation-timeline::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--gold-leaf) 20%, 
    var(--gold-leaf) 80%, 
    transparent 100%
  );
  opacity: 0.35;
  z-index: 1;
}

.constellation-waypoint {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.waypoint-node {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-micro);
  background: var(--astral-deep);
  border: 1px solid var(--astral-border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 22px;
  transition: all 0.3s var(--ease-cinematic);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.waypoint-node::before {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--gold-leaf);
  border-radius: 50%;
  top: -3px;
  box-shadow: 0 0 8px var(--gold-leaf);
}

.node-num {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--gold-champagne);
  line-height: 1;
}

.waypoint-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 10px;
  line-height: 1.25;
}

.waypoint-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 14px;
  font-weight: 300;
}

.waypoint-capsule {
  align-self: flex-start;
  font-size: 0.68rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--gold-leaf);
  background: rgba(246, 199, 104, 0.08);
  border: 1px solid rgba(246, 199, 104, 0.2);
  padding: 4px 10px;
  border-radius: 2px;
  font-weight: 600;
}

.constellation-waypoint.highlighted-duet .waypoint-node {
  border-color: var(--gold-leaf);
  background: linear-gradient(135deg, rgba(35, 25, 65, 0.9) 0%, rgba(15, 12, 32, 0.9) 100%);
  box-shadow: 0 0 25px rgba(245, 199, 108, 0.3);
}

.constellation-waypoint.highlighted-duet .waypoint-capsule {
  background: var(--gold-sheen);
  color: #050710;
  border-color: var(--gold-leaf);
}

/* ==========================================================================
   GRIMOIRE DECK FAN-OUT
   ========================================================================== */
.grimoire-section {
  padding: 100px 0 130px;
  position: relative;
}

.deck-stage {
  position: relative;
  width: 100%;
  min-height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1600px;
}

.deck-cluster {
  position: relative;
  width: 320px;
  height: 480px;
  transform-style: preserve-3d;
}

.grimoire-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 320px;
  height: 480px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #0d1226;
  border: 1px solid var(--astral-border);
  box-shadow: 0 30px 65px rgba(0, 0, 0, 0.7);
  transform-origin: center bottom;
  transition: transform 0.8s var(--ease-cinematic), box-shadow 0.4s ease, border-color 0.4s ease;
  cursor: pointer;
}

.grimoire-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-sheen);
  z-index: 5;
}

.card-canvas-media {
  position: absolute;
  inset: 0;
}

.card-canvas-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.card-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 7, 16, 0.98) 15%, rgba(5, 7, 16, 0.45) 60%, transparent 100%);
}

.card-body-folio {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 26px 22px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.folio-category {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-leaf);
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.folio-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.22;
}

.folio-description {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.48;
  font-weight: 300;
}

.folio-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  color: var(--gold-champagne);
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.folio-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(245, 199, 108, 0.16) 0%, rgba(158, 122, 255, 0.20) 100%);
  border: 1px solid rgba(245, 199, 108, 0.45);
  color: #f5c76c;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  z-index: 6;
  position: relative;
}

.folio-action-btn:hover,
.folio-action-btn:active {
  background: var(--gold-sheen);
  color: #050710;
  border-color: #f5c76c;
  box-shadow: 0 0 20px rgba(245, 199, 108, 0.5);
  transform: translateY(-1px);
}

.grimoire-card[data-card-index="0"] { transform: translate3d(0, 0, 0) rotate(0deg); z-index: 4; }
.grimoire-card[data-card-index="1"] { transform: translate3d(0, 0, -20px) rotate(2deg); z-index: 3; }
.grimoire-card[data-card-index="2"] { transform: translate3d(0, 0, -40px) rotate(-2deg); z-index: 2; }
.grimoire-card[data-card-index="3"] { transform: translate3d(0, 0, -60px) rotate(4deg); z-index: 1; }

.deck-cluster.fanned .grimoire-card[data-card-index="0"] {
  transform: translate3d(-380px, 30px, 0) rotate(-14deg) scale(0.96);
  z-index: 2;
}

.deck-cluster.fanned .grimoire-card[data-card-index="1"] {
  transform: translate3d(-130px, -15px, 30px) rotate(-4deg) scale(1);
  z-index: 4;
}

.deck-cluster.fanned .grimoire-card[data-card-index="2"] {
  transform: translate3d(130px, -15px, 30px) rotate(4deg) scale(1);
  z-index: 4;
}

.deck-cluster.fanned .grimoire-card[data-card-index="3"] {
  transform: translate3d(380px, 30px, 0) rotate(14deg) scale(0.96);
  z-index: 2;
}

.grimoire-card:hover {
  border-color: var(--gold-leaf);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8), 0 0 35px var(--gold-glow);
  z-index: 10 !important;
}

/* ==========================================================================
   INTERACTIVE FAIRY TALE QUIZ SECTION (-10% PROMO)
   ========================================================================== */
.quiz-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.quiz-wrapper {
  background: linear-gradient(160deg, rgba(16, 22, 50, 0.88) 0%, rgba(9, 13, 30, 0.94) 100%);
  border: 1px solid var(--astral-border);
  border-radius: var(--radius-md);
  padding: 40px 36px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
}

.quiz-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 32px;
}

.quiz-step {
  display: none;
  animation: quizStepIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.quiz-step.active {
  display: block;
}

@keyframes quizStepIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.quiz-step-label {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold-leaf);
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
}

.quiz-options-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.quiz-opt-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-sm);
  padding: 22px 16px;
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  color: inherit;
  font-family: inherit;
  position: relative;
  overflow: hidden;
}

.quiz-opt-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(246, 199, 104, 0.12) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.quiz-opt-btn:hover {
  background: rgba(246, 199, 104, 0.07);
  border-color: rgba(246, 199, 104, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 20px rgba(246, 199, 104, 0.15);
}

.quiz-opt-btn:hover::before {
  opacity: 1;
}

.quiz-opt-btn.opt-highlight {
  border-color: rgba(246, 199, 104, 0.35);
  background: linear-gradient(145deg, rgba(246, 199, 104, 0.08) 0%, rgba(158, 122, 255, 0.08) 100%);
}

.opt-emoji {
  font-size: 2.2rem;
  line-height: 1;
  margin-bottom: 4px;
  transition: transform 0.25s ease;
}

.quiz-opt-btn:hover .opt-emoji {
  transform: scale(1.15);
}

.opt-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-pure);
}

.opt-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

/* Quiz Result Card */
.quiz-result-card {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(145deg, rgba(20, 28, 64, 0.9) 0%, rgba(10, 14, 34, 0.95) 100%);
  border: 1px solid var(--gold-leaf);
  border-radius: var(--radius-sm);
  padding: 36px 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 35px rgba(246, 199, 104, 0.2);
}

.result-badge {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold-leaf);
  font-weight: 600;
  margin-bottom: 12px;
}

.result-title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 12px;
  line-height: 1.25;
}

.result-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 24px;
}

.result-promo-box {
  background: rgba(246, 199, 104, 0.08);
  border: 1px dashed rgba(246, 199, 104, 0.5);
  border-radius: var(--radius-micro);
  padding: 14px 18px;
  margin-bottom: 24px;
  text-align: center;
}

.promo-label {
  font-size: 0.8rem;
  color: var(--gold-champagne);
  margin-bottom: 6px;
}

.promo-code-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.promo-code {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--text-pure);
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 12px;
  border-radius: 4px;
  border: 1px solid rgba(246, 199, 104, 0.3);
}

.promo-copied-hint {
  font-size: 0.74rem;
  color: var(--gold-leaf);
}

/* ==========================================================================
   SECTION: SMARTPHONE STORYBOOK SHOWCASE (NO SCROLL TRAP)
   ========================================================================== */
.phone-showcase-section {
  padding: 100px 0 120px;
  position: relative;
}

.phone-showcase-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 60px;
}

.narrative-highlights-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 32px 0 38px;
}

.narrative-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.item-icon-pip {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.narrative-item h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.narrative-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
  font-weight: 300;
}

.narrative-actions-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* Smartphone Mockup Podium */
.showcase-device-podium {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.device-ambient-glow {
  position: absolute;
  width: 380px;
  height: 580px;
  background: radial-gradient(circle, rgba(245, 199, 108, 0.25) 0%, rgba(158, 122, 255, 0.12) 50%, transparent 75%);
  filter: blur(50px);
  pointer-events: none;
}

.smartphone-chassis {
  width: 320px;
  height: 580px;
  border-radius: 42px;
  border: 3.5px solid rgba(246, 199, 104, 0.4);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 35px rgba(245, 199, 108, 0.2);
  background: #000;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-status-strip {
  height: 38px;
  background: #080b18;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 10;
}

.phone-camera-island {
  width: 80px;
  height: 14px;
  background: #000;
  border-radius: 0 0 10px 10px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.phone-expand-badge {
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--gold-champagne);
  text-decoration: none;
  background: rgba(246, 199, 104, 0.15);
  border: 1px solid rgba(246, 199, 104, 0.3);
  padding: 3px 8px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.phone-expand-badge:hover {
  background: var(--gold-leaf);
  color: #050710;
}

.phone-screen-portal {
  flex-grow: 1;
  width: 100%;
  background: #0b0816;
  position: relative;
  overflow: hidden;
}

.phone-inner-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.book-preview-standby {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding: 24px 18px;
  overflow: hidden;
  background: #080b18;
}

.standby-cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.70);
  transition: transform 0.4s ease;
}

.book-preview-standby:hover .standby-cover-img {
  transform: scale(1.04);
}

.standby-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: linear-gradient(to top, rgba(5, 7, 16, 0.98) 0%, rgba(5, 7, 16, 0.85) 75%, transparent 100%);
  padding: 20px 10px 14px;
  border-radius: 12px;
}

.standby-glow-badge {
  font-size: 0.72rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--gold-champagne);
  padding: 4px 12px;
  background: rgba(246, 199, 104, 0.15);
  border: 1px solid rgba(246, 199, 104, 0.35);
  border-radius: 20px;
}

.standby-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #fff;
  margin: 0;
}

.standby-desc {
  font-size: 0.80rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
  max-width: 240px;
  line-height: 1.4;
}

.btn-standby-play {
  width: 100%;
  padding: 10px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.phone-home-indicator {
  width: 110px;
  height: 4px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 2px;
  margin: 6px auto;
}

.device-caption-tip {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--gold-champagne);
  opacity: 0.85;
  text-align: center;
}

/* ==========================================================================
   PRIVACY CHARTER & BLOGGER & FAQ (CLEAN EDITORIAL)
   ========================================================================== */
.sanctuary-privacy-section {
  padding: 40px 0 100px;
}

.privacy-charter-box {
  padding: 44px;
  display: flex;
  align-items: center;
  gap: 40px;
  border: 1px solid var(--astral-border);
  border-radius: var(--radius-sm);
  background: linear-gradient(145deg, rgba(16, 22, 48, 0.5) 0%, rgba(6, 9, 20, 0.85) 100%);
}

.charter-sigil {
  font-size: 3.2rem;
  flex-shrink: 0;
}

.charter-text {
  flex-grow: 1;
}

.charter-title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.charter-paragraph {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.65;
  font-weight: 300;
}

.charter-stamps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

.stamp-item {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--astral-border);
  padding: 7px 14px;
  border-radius: var(--radius-micro);
  color: var(--gold-champagne);
  white-space: nowrap;
}

/* Blogger Section */
.blogger-lead-section {
  padding: 60px 0 100px;
}

.blogger-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 60px;
}

.blogger-metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 36px 0 40px;
}

.metric-cell {
  padding: 22px 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--astral-border);
  border-radius: var(--radius-micro);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.metric-figure {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold-leaf);
  line-height: 1;
}

.metric-caption {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

.screenplay-card {
  padding: 32px;
  border: 1px solid var(--astral-border-bright);
  border-radius: var(--radius-sm);
  background: linear-gradient(145deg, rgba(22, 28, 58, 0.7) 0%, rgba(9, 13, 30, 0.9) 100%);
}

.screenplay-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.screenplay-badge {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--gold-leaf);
  text-transform: uppercase;
}

.screenplay-acts {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.act-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.act-timestamp {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gold-champagne);
  min-width: 48px;
  padding-top: 2px;
}

.act-script {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  font-weight: 300;
}

.act-script strong {
  color: #fff;
  font-weight: 600;
}

.partnership-tiers-section {
  padding: 80px 0 100px;
}

.tiers-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.tier-pillar {
  padding: 36px 28px;
  border: 1px solid var(--astral-border);
  border-radius: var(--radius-sm);
  background: rgba(14, 20, 42, 0.45);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.3s ease;
}

.tier-pillar:hover {
  transform: translateY(-4px);
  border-color: var(--gold-leaf);
}

.tier-pillar.gilded-highlight {
  border-color: var(--gold-leaf);
  box-shadow: 0 20px 50px rgba(245, 199, 108, 0.15);
  background: linear-gradient(145deg, rgba(28, 36, 74, 0.6) 0%, rgba(12, 16, 38, 0.8) 100%);
}

.tier-sigil {
  font-size: 1.8rem;
  color: var(--gold-leaf);
}

.tier-heading {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: #fff;
}

.tier-body {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex-grow: 1;
  font-weight: 300;
}

.tier-scope {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--gold-champagne);
  background: rgba(246, 199, 104, 0.08);
  border: 1px solid rgba(246, 199, 104, 0.2);
  padding: 5px 12px;
  border-radius: var(--radius-micro);
}

.founder-monologue-box {
  padding: 44px;
  display: flex;
  align-items: center;
  gap: 40px;
  border: 1px solid var(--astral-border);
  border-radius: var(--radius-sm);
  background: linear-gradient(145deg, rgba(22, 28, 58, 0.5) 0%, rgba(8, 11, 24, 0.85) 100%);
}

.founder-emblem img {
  width: 96px;
  height: 96px;
  border-radius: var(--radius-micro);
  border: 2px solid var(--gold-leaf);
  box-shadow: 0 0 30px var(--gold-glow);
  object-fit: cover;
}

.founder-statement {
  flex-grow: 1;
}

.founder-statement h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 12px;
}

.founder-quote {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 10px;
}

.founder-sign-off {
  font-size: 0.82rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold-leaf);
  font-weight: 600;
}

/* FAQ */
.editorial-faq-section {
  padding: 100px 0;
}

.faq-ledger {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-ledger-item {
  border: 1px solid var(--astral-border-subtle);
  border-radius: var(--radius-micro);
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.3s ease;
  overflow: hidden;
}

.faq-ledger-item:hover {
  border-color: var(--astral-border);
}

.faq-ledger-item.open {
  border-color: var(--gold-leaf);
  background: rgba(246, 199, 104, 0.04);
}

.faq-ledger-query {
  width: 100%;
  background: transparent;
  border: none;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 500;
  color: #fff;
  cursor: pointer;
  gap: 16px;
}

.faq-ledger-crosshair {
  font-size: 1.4rem;
  color: var(--gold-leaf);
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-ledger-item.open .faq-ledger-crosshair {
  transform: rotate(45deg);
}

.faq-ledger-reply {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-cinematic);
}

.faq-ledger-item.open .faq-ledger-reply {
  max-height: 480px;
}

.faq-ledger-reply p {
  padding: 0 24px 10px;
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.65;
  font-weight: 300;
}

.faq-ledger-reply p:last-child {
  padding-bottom: 24px;
}

/* Sanctuary Banner */
.sanctuary-cta-section {
  padding: 60px 0 130px;
}

.sanctuary-banner {
  padding: 80px 48px;
  text-align: center;
  background: radial-gradient(circle at top, rgba(32, 44, 92, 0.5) 0%, rgba(8, 11, 24, 0.9) 100%);
  border: 1px solid var(--astral-border);
  border-radius: var(--radius-sm);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.8), 0 0 60px rgba(245, 199, 108, 0.12);
}

.sanctuary-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 600;
  color: #fff;
  max-width: 820px;
  margin: 0 auto 18px;
  line-height: 1.15;
}

.sanctuary-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.6;
  font-weight: 300;
}

.sanctuary-footnote {
  margin-top: 24px;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  color: var(--text-dim);
}

/* Family photo highlight in Waypoint 3 - styled node & capsule without box artifact */
.constellation-waypoint.highlighted-family-photo .waypoint-node {
  border-color: rgba(158, 122, 255, 0.7);
  background: linear-gradient(135deg, rgba(30, 22, 58, 0.9) 0%, rgba(15, 12, 30, 0.9) 100%);
  box-shadow: 0 0 20px rgba(158, 122, 255, 0.25);
}

.constellation-waypoint.highlighted-family-photo .waypoint-capsule {
  border-color: rgba(158, 122, 255, 0.5);
  color: #c9b4ff;
  background: rgba(158, 122, 255, 0.1);
}

/* ==========================================================================
   FLOATING GIFT BADGE & EXIT-INTENT MODAL
   ========================================================================== */
.floating-gift-tab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 990;
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(22, 29, 64, 0.95) 0%, rgba(12, 16, 38, 0.98) 100%);
  border: 1px solid rgba(246, 199, 104, 0.45);
  border-radius: 50px;
  padding: 10px 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(246, 199, 104, 0.25);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(10px);
}

.floating-gift-tab:hover {
  transform: translateY(-3px) scale(1.03);
  border-color: var(--gold-leaf);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.7), 0 0 30px rgba(246, 199, 104, 0.4);
}

.gift-icon {
  font-size: 1.3rem;
  line-height: 1;
  animation: giftWiggle 3s infinite ease-in-out;
}

@keyframes giftWiggle {
  0%, 80%, 100% { transform: rotate(0deg); }
  85% { transform: rotate(-10deg) scale(1.15); }
  90% { transform: rotate(10deg) scale(1.15); }
  95% { transform: rotate(-5deg); }
}

.gift-text {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-pure);
  white-space: nowrap;
}

/* Modal Dialog */
.gift-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 5, 15, 0.82);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.gift-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.gift-modal-card {
  background: linear-gradient(160deg, rgba(18, 24, 54, 0.96) 0%, rgba(9, 13, 30, 0.98) 100%);
  border: 1px solid var(--gold-leaf);
  border-radius: var(--radius-md);
  padding: 36px 32px 30px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85), 0 0 45px rgba(246, 199, 104, 0.25);
  transform: translateY(16px) scale(0.96);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.gift-modal-backdrop.open .gift-modal-card {
  transform: translateY(0) scale(1);
}

.gift-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.2s ease;
}

.gift-modal-close:hover {
  color: var(--text-pure);
}

.gift-modal-sparkle {
  color: var(--gold-leaf);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.gift-modal-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 10px;
}

.gift-modal-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 20px;
}

.gift-promo-pill {
  background: rgba(246, 199, 104, 0.08);
  border: 1px dashed rgba(246, 199, 104, 0.5);
  border-radius: var(--radius-micro);
  padding: 10px 16px;
  margin-bottom: 24px;
  display: inline-block;
}

.promo-key {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--text-pure);
}

.gift-modal-action .btn-gilded {
  width: 100%;
}

.modal-quiz-alt {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.modal-quiz-alt span {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.modal-quiz-link {
  color: var(--gold-leaf);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.modal-quiz-link:hover {
  color: var(--gold-sheen);
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 70px 0 40px;
  background: #04050b;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: 70px;
}

.footer-brand-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-emblem {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-emblem img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--gold-leaf);
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
}

.footer-mission {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 300;
}

.footer-copyright {
  font-size: 0.76rem;
  color: var(--text-dim);
  margin-top: auto;
}

.footer-nav-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.nav-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-champagne);
  margin-bottom: 6px;
}

.nav-column a {
  font-size: 0.86rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 300;
}

.nav-column a:hover {
  color: var(--gold-leaf);
}

.hidden-block {
  display: none !important;
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLETS & SMARTPHONES: <= 1024px, <= 768px, <= 480px)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-cta-cluster {
    justify-content: center;
  }

  .phone-showcase-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }

  .narrative-item {
    text-align: left;
  }

  .narrative-actions-row {
    justify-content: center;
  }

  .constellation-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .constellation-timeline::before {
    display: none;
  }

  .blogger-grid {
    grid-template-columns: 1fr;
  }

  .deck-cluster.fanned .grimoire-card[data-card-index="0"] {
    transform: translate3d(-240px, 30px, 0) rotate(-10deg) scale(0.9);
  }

  .deck-cluster.fanned .grimoire-card[data-card-index="1"] {
    transform: translate3d(-80px, -10px, 20px) rotate(-3deg) scale(0.95);
  }

  .deck-cluster.fanned .grimoire-card[data-card-index="2"] {
    transform: translate3d(80px, -10px, 20px) rotate(3deg) scale(0.95);
  }

  .deck-cluster.fanned .grimoire-card[data-card-index="3"] {
    transform: translate3d(240px, 30px, 0) rotate(10deg) scale(0.9);
  }

  .quiz-options-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Prevent heavy canvas or SVG noise on mobile */
  body::before {
    display: none !important;
  }

  #stardust-canvas {
    display: none !important;
  }

  /* Vibrant, rich ambient halos on mobile (pure radial-gradient, 0% blur overhead) */
  .aurora-glow {
    filter: none !important;
    opacity: 0.60 !important;
    animation: none !important;
  }

  .glow-1 {
    width: 320px !important;
    height: 320px !important;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.45) 0%, transparent 70%) !important;
    top: -50px !important;
    left: -40px !important;
  }

  .glow-2 {
    width: 340px !important;
    height: 340px !important;
    background: radial-gradient(circle, rgba(245, 199, 108, 0.40) 0%, transparent 70%) !important;
    top: 30% !important;
    right: -70px !important;
  }

  .glow-3 {
    display: block !important;
    width: 320px !important;
    height: 320px !important;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.38) 0%, transparent 70%) !important;
    bottom: 5% !important;
    left: -50px !important;
  }

  .stardust-overlay {
    opacity: 0.90 !important;
  }

  /* 1. Header Navigation */
  .site-header {
    padding: 10px 0;
  }

  .header-container {
    padding: 0 16px;
  }

  .brand-title {
    font-size: 1.20rem;
  }

  .brand-desc {
    display: none; /* Hide subtitle to preserve clean single row */
  }

  .header-cta {
    display: none;
  }

  .mode-segmented-bar {
    padding: 2px;
  }

  .segment-btn {
    padding: 6px 12px;
    font-size: 0.78rem;
  }

  /* 2. Hero Section */
  .hero-section {
    padding-top: 85px;
    padding-bottom: 32px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-provenance {
    padding: 5px 12px;
    max-width: 100%;
  }

  .provenance-text {
    font-size: 0.74rem;
    letter-spacing: 0.6px;
  }

  .hero-title {
    font-size: clamp(1.85rem, 6vw, 2.5rem);
    line-height: 1.22;
    margin-bottom: 8px;
  }

  .hero-title em {
    color: var(--gold-champagne);
    background: var(--gold-sheen);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: normal;
  }

  .hero-subtitle {
    font-size: 0.92rem;
    line-height: 1.48;
    margin-bottom: 14px;
    max-width: 440px;
    color: var(--text-secondary);
  }

  /* 3. Hero Celestial Sound Console (Luminous Glowing Gold-Violet Halo) */
  .celestial-console {
    width: 100%;
    max-width: 480px;
    padding: 14px 16px;
    margin: 0 auto 18px;
    box-sizing: border-box;
    background: linear-gradient(150deg, rgba(22, 28, 64, 0.95) 0%, rgba(12, 16, 42, 0.98) 100%);
    border: 1px solid rgba(246, 199, 104, 0.40);
    border-radius: var(--radius-sm);
    box-shadow: 
      0 16px 40px rgba(0, 0, 0, 0.7),
      0 0 30px rgba(245, 199, 108, 0.20),
      0 0 60px rgba(139, 92, 246, 0.22);
  }

  .console-tab-btn {
    padding: 8px 12px;
    font-size: 0.82rem;
  }

  .console-body {
    gap: 14px;
  }

  .console-vinyl {
    width: 56px;
    height: 56px;
    box-shadow: 0 0 16px rgba(245, 199, 108, 0.35);
  }

  .console-track-title {
    font-size: 1.05rem;
  }

  .console-track-tag {
    font-size: 0.76rem;
    color: var(--gold-champagne);
  }

  .console-curator-note {
    font-size: 0.74rem;
    line-height: 1.45;
  }

  /* 4. Hero Action CTAs */
  .hero-cta-cluster {
    width: 100%;
    max-width: 440px;
    margin: 0 auto 12px;
    flex-direction: column;
    gap: 10px;
  }

  .hero-cta-cluster .btn-gilded-lg {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
    box-sizing: border-box;
  }

  .hero-cta-cluster .btn-celestial-ghost {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    box-sizing: border-box;
  }

  .hero-quiz-teaser {
    width: 100%;
    max-width: 440px;
    margin: 0 auto 14px;
  }

  .hero-quiz-trigger-link {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    justify-content: center;
    font-size: 0.78rem;
    line-height: 1.45;
    padding: 8px 12px;
  }

  .hero-social-patronage {
    justify-content: center;
    width: 100%;
  }

  /* 5. 3D Book Pedestal & Overflow Protection */
  .hero-visual-podium {
    width: 100%;
    overflow: hidden;
  }

  .book-pedestal {
    max-width: 100%;
    height: 380px;
  }

  .astrolabe-ring {
    width: 290px;
    height: 290px;
    border-color: rgba(246, 199, 104, 0.45) !important;
    box-shadow: 0 0 40px rgba(246, 199, 104, 0.25), inset 0 0 30px rgba(158, 122, 255, 0.20) !important;
  }

  .tilted-book-volume {
    width: 260px;
    height: 360px;
  }

  .volume-glow-shield {
    background: radial-gradient(circle, rgba(245, 199, 108, 0.45) 0%, rgba(158, 122, 255, 0.30) 45%, transparent 70%) !important;
  }

  .astral-badge-filament {
    display: none;
  }

  /* ==========================================================================
     HARMONIZED MOBILE VERTICAL SPACING (CLEAN RHYTHM, NO GIANT GAPS)
     ========================================================================== */
  .editorial-header-center {
    margin: 0 auto 22px !important;
    max-width: 100% !important;
  }

  .editorial-tag {
    font-size: 0.68rem !important;
    letter-spacing: 1.8px !important;
    margin-bottom: 8px !important;
  }

  .editorial-title {
    font-size: clamp(1.45rem, 5.5vw, 1.85rem) !important;
    line-height: 1.25 !important;
    margin-bottom: 8px !important;
  }

  .editorial-subtitle {
    font-size: 0.88rem !important;
    line-height: 1.48 !important;
  }

  /* 6. Constellation Timeline ("Звёздная нить" - Connected Vertical Celestial Thread) */
  .constellation-section {
    padding: 34px 0 26px !important;
  }

  .constellation-timeline {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    position: relative !important;
    padding-left: 48px !important;
    margin-bottom: 24px !important;
  }

  /* The actual glowing vertical "Звёздная нить" */
  .constellation-timeline::before {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    top: 24px !important;
    bottom: 24px !important;
    left: 17px !important;
    width: 2px !important;
    background: linear-gradient(180deg, 
      #f5c76c 0%, 
      #c084fc 35%, 
      #60a5fa 70%, 
      rgba(245, 199, 108, 0.3) 100%
    ) !important;
    box-shadow: 0 0 10px rgba(245, 199, 108, 0.8), 0 0 20px rgba(192, 132, 252, 0.5) !important;
    z-index: 1 !important;
  }

  .constellation-waypoint {
    position: relative !important;
    padding: 16px 16px !important;
    background: linear-gradient(150deg, rgba(22, 28, 64, 0.90) 0%, rgba(10, 14, 38, 0.95) 100%) !important;
    border: 1px solid rgba(245, 199, 108, 0.28) !important;
    border-radius: 14px !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
    text-align: left !important;
    z-index: 2 !important;
  }

  /* Celestial Orbit Node on the thread */
  .waypoint-node {
    position: absolute !important;
    left: -48px !important;
    top: 14px !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: radial-gradient(circle, #251c50 0%, #0d122b 100%) !important;
    border: 2px solid #f5c76c !important;
    box-shadow: 0 0 16px rgba(245, 199, 108, 0.65), inset 0 0 8px rgba(245, 199, 108, 0.3) !important;
    z-index: 3 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 0 !important;
  }

  /* Connector bridge from star node to card */
  .waypoint-node::after {
    content: '' !important;
    position: absolute !important;
    right: -12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 12px !important;
    height: 2px !important;
    background: linear-gradient(90deg, #f5c76c, rgba(245, 199, 108, 0.3)) !important;
  }

  .node-num {
    font-size: 0.80rem !important;
    font-weight: 700 !important;
    color: #f5c76c !important;
    letter-spacing: -0.5px !important;
  }

  .waypoint-title {
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    color: #fff !important;
    margin-bottom: 6px !important;
  }

  .waypoint-desc {
    font-size: 0.85rem !important;
    line-height: 1.48 !important;
    color: var(--text-secondary) !important;
    margin-bottom: 10px !important;
    font-weight: 300 !important;
  }

  .waypoint-capsule {
    display: inline-block !important;
    padding: 4px 10px !important;
    font-size: 0.72rem !important;
    border-radius: 999px !important;
  }

  /* Special Highlight Nodes */
  .constellation-waypoint.highlighted-duet .waypoint-node {
    border-color: #ffd166 !important;
    box-shadow: 0 0 18px rgba(255, 209, 102, 0.8) !important;
  }

  .constellation-waypoint.highlighted-family-photo .waypoint-node {
    border-color: #c084fc !important;
    background: radial-gradient(circle, #2e1a5e 0%, #100d28 100%) !important;
    box-shadow: 0 0 18px rgba(192, 132, 252, 0.7) !important;
  }

  .constellation-waypoint.highlighted-family-photo .node-num {
    color: #e9d5ff !important;
  }

  .constellation-section .btn-gilded-lg,
  .constellation-section .btn-celestial-ghost {
    width: 100% !important;
    max-width: 360px !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  /* 7. Grimoire Deck Stage (Native Mobile Touch Carousel) */
  .grimoire-section {
    padding: 26px 0 18px !important;
  }

  .deck-stage {
    min-height: auto !important;
    padding: 8px 0 14px !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    scroll-padding: 0 16px !important;
    justify-content: flex-start !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  .deck-stage::-webkit-scrollbar {
    display: none !important;
  }

  .deck-cluster {
    width: auto !important;
    display: flex !important;
    gap: 14px !important;
    padding: 0 16px !important;
    transform-style: flat !important;
  }

  .grimoire-card,
  .deck-cluster.fanned .grimoire-card[data-card-index="0"],
  .deck-cluster.fanned .grimoire-card[data-card-index="1"],
  .deck-cluster.fanned .grimoire-card[data-card-index="2"],
  .deck-cluster.fanned .grimoire-card[data-card-index="3"] {
    position: relative !important;
    width: 275px !important;
    height: 440px !important;
    transform: none !important;
    flex-shrink: 0 !important;
    scroll-snap-align: center !important;
    background: linear-gradient(160deg, rgba(24, 30, 72, 0.92) 0%, rgba(12, 16, 44, 0.98) 100%) !important;
    border: 1px solid rgba(246, 199, 104, 0.35) !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65), 0 0 25px rgba(158, 122, 255, 0.20) !important;
    border-radius: var(--radius-sm) !important;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
  }

  /* Interactive Active and Selected State on Mobile */
  .grimoire-card.active-card,
  .grimoire-card:active {
    border-color: #f5c76c !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 35px rgba(245, 199, 108, 0.45), 0 0 15px rgba(158, 122, 255, 0.3) !important;
    transform: translateY(-3px) scale(0.99) !important;
  }

  .card-body-folio {
    padding: 20px 16px !important;
    gap: 6px !important;
  }

  .folio-title {
    font-size: 1.25rem !important;
  }

  .folio-description {
    font-size: 0.82rem !important;
    line-height: 1.42 !important;
  }

  .folio-footer {
    padding-top: 6px !important;
    margin-top: 4px !important;
    font-size: 0.72rem !important;
  }

  .folio-action-btn {
    padding: 8px 14px !important;
    font-size: 0.78rem !important;
    margin-top: 10px !important;
  }

  /* 8. Phone Showcase (Tightened Spacing, No Huge Gap!) */
  .phone-showcase-section {
    padding: 22px 0 36px !important;
  }

  .phone-showcase-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    text-align: center !important;
  }

  .narrative-highlights-list {
    margin: 18px 0 22px !important;
    gap: 14px !important;
  }

  .narrative-item {
    text-align: left !important;
    gap: 12px !important;
  }

  .narrative-item h4 {
    font-size: 0.95rem !important;
    margin-bottom: 4px !important;
  }

  .narrative-item p {
    font-size: 0.84rem !important;
    line-height: 1.45 !important;
  }

  .narrative-actions-row {
    justify-content: center !important;
    flex-direction: column !important;
    gap: 10px !important;
  }

  .narrative-actions-row a {
    width: 100% !important;
    max-width: 360px !important;
    margin: 0 auto !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .showcase-device-podium {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .device-ambient-glow {
    width: 290px !important;
    height: 450px !important;
  }

  .smartphone-chassis {
    width: 290px !important;
    height: 520px !important;
    border-radius: 36px !important;
  }

  /* 9. Interactive Quiz */
  .quiz-section {
    padding: 24px 0 20px !important;
  }

  .quiz-wrapper {
    padding: 20px 14px !important;
  }

  .quiz-header {
    margin-bottom: 16px !important;
  }

  .quiz-options-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .quiz-opt-btn {
    padding: 12px 14px !important;
    min-height: 52px !important;
  }

  .quiz-result-card .btn-gilded {
    width: 100% !important;
    text-align: center !important;
  }

  /* 10. Privacy & 152-FZ Sanctuary Charter */
  .sanctuary-privacy-section {
    padding: 24px 0 24px !important;
  }

  .privacy-charter-box,
  .founder-monologue-box {
    flex-direction: column !important;
    text-align: center !important;
    padding: 20px 16px !important;
    gap: 14px !important;
    border-radius: 14px !important;
  }

  .charter-sigil {
    font-size: 2.2rem !important;
  }

  .charter-title {
    font-size: 1.18rem !important;
    line-height: 1.3 !important;
    margin-bottom: 6px !important;
  }

  .charter-paragraph {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
  }

  .charter-stamps {
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin-top: 10px !important;
  }

  .stamp-item {
    font-size: 0.72rem !important;
    padding: 4px 10px !important;
  }

  /* 11. FAQ Section */
  .editorial-faq-section {
    padding: 24px 0 28px !important;
  }

  .faq-ledger {
    gap: 8px !important;
  }

  .faq-ledger-query {
    padding: 15px 16px !important;
    font-size: 0.94rem !important;
    line-height: 1.35 !important;
  }

  .faq-ledger-reply p {
    padding: 0 16px 12px !important;
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
  }

  /* 12. Final Sanctuary Banner (Compact, Elegant Card - Not an Enormous Clumsy Void) */
  .sanctuary-cta-section {
    padding: 28px 0 50px !important;
  }

  .sanctuary-banner {
    padding: 26px 18px !important;
    border-radius: 18px !important;
    background: linear-gradient(150deg, rgba(24, 30, 72, 0.95) 0%, rgba(10, 14, 38, 0.98) 100%) !important;
    border: 1px solid rgba(245, 199, 108, 0.35) !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7), 0 0 28px rgba(245, 199, 108, 0.18) !important;
    text-align: center !important;
  }

  .sanctuary-title {
    font-size: clamp(1.35rem, 5vw, 1.7rem) !important;
    line-height: 1.25 !important;
    margin: 0 auto 10px !important;
    max-width: 100% !important;
  }

  .sanctuary-subtitle {
    font-size: 0.88rem !important;
    line-height: 1.48 !important;
    margin: 0 auto 18px !important;
    max-width: 100% !important;
  }

  .sanctuary-banner .btn-gilded-lg {
    width: 100% !important;
    max-width: 360px !important;
    margin: 0 auto !important;
    padding: 13px 18px !important;
    box-sizing: border-box !important;
    justify-content: center !important;
    font-size: 0.95rem !important;
  }

  .sanctuary-footnote {
    margin-top: 14px !important;
    font-size: 0.72rem !important;
    line-height: 1.4 !important;
  }

  /* 13. Bloggers Grid */
  .blogger-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .blogger-metric-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* 14. Tiers & Footer */
  .tiers-row {
    grid-template-columns: 1fr;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-nav-groups {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .floating-gift-tab {
    bottom: 16px;
    right: 16px;
    padding: 8px 14px;
  }
}

/* ==========================================================================
   ULTRA-COMPACT PHONES (iPhone SE, small Android: <= 480px)
   ========================================================================== */
@media (max-width: 480px) {
  .header-container {
    padding: 0 12px;
  }

  .brand-title {
    font-size: 1.10rem;
  }

  .emblem-ring {
    width: 32px;
    height: 32px;
  }

  .emblem-img {
    width: 28px;
    height: 28px;
  }

  .segment-btn {
    padding: 4px 8px;
    font-size: 0.70rem;
  }

  .segment-btn .badge-tag {
    display: none;
  }

  .hero-title {
    font-size: 1.75rem;
    letter-spacing: -0.3px;
  }

  .hero-provenance {
    padding: 4px 8px;
  }

  .provenance-text {
    font-size: 0.68rem;
    letter-spacing: 0.3px;
  }

  .hero-subtitle {
    font-size: 0.90rem;
  }

  .celestial-console {
    padding: 10px 12px;
  }

  .console-header-track-switch {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .console-tab-btn {
    padding: 6px 10px;
    font-size: 0.76rem;
    justify-content: flex-start;
  }

  .console-spectrum {
    display: none;
  }

  .tilted-book-volume {
    width: 240px;
    height: 335px;
  }

  .astrolabe-ring {
    width: 260px;
    height: 260px;
  }

  .volume-plinth-caption {
    padding: 10px 12px;
  }

  .plinth-title {
    font-size: 0.96rem;
  }

  .grimoire-card {
    width: 260px !important;
    height: 440px !important;
  }

  .constellation-timeline {
    padding-left: 44px !important;
  }

  .constellation-timeline::before {
    left: 15px !important;
  }

  .waypoint-node {
    left: -44px !important;
    width: 32px !important;
    height: 32px !important;
  }

  .waypoint-node::after {
    right: -10px !important;
    width: 10px !important;
  }

  .sanctuary-banner {
    padding: 22px 14px !important;
  }

  .sanctuary-title {
    font-size: 1.28rem !important;
  }

  .smartphone-chassis {
    width: 270px;
    height: 480px;
  }

  .footer-nav-groups {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}


/* ==========================================================================
   LEGAL PAGES (PRIVACY POLICY & TERMS OF SERVICE)
   Haute Editorial Royal Folio Design: Warm Luminous Paper with Night Mode Switch
   ========================================================================== */
.legal-page-body {
  background-color: var(--astral-black);
  color: var(--text-primary);
  min-height: 100vh;
  position: relative;
}

.legal-section-wrap {
  padding: 110px 0 90px;
  position: relative;
  z-index: 10;
}

.legal-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.legal-breadcrumbs a {
  color: var(--gold-leaf);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.legal-breadcrumbs a:hover {
  color: var(--gold-champagne);
  text-decoration: underline;
}

.legal-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

/* Reader Mode Toggle (Warm Paper vs Night Sapphire) */
.reader-theme-toggle {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(246, 199, 104, 0.2);
  border-radius: 30px;
  padding: 3px;
  gap: 4px;
}

.theme-toggle-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.80rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
}

.theme-toggle-btn.active {
  background: linear-gradient(135deg, #f5c76c 0%, #d49533 100%);
  color: #070912;
  box-shadow: 0 2px 10px rgba(245, 199, 108, 0.35);
}

.theme-toggle-btn:not(.active):hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* The Legal Card: Default = Warm Royal Ivory Folio (Eliminates gloominess) */
.legal-card {
  background: #fdfbf7;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 16px;
  padding: 56px 54px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6), 0 0 60px rgba(245, 199, 108, 0.12);
  color: #242c3d;
  position: relative;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.legal-header {
  border-bottom: 1px solid #ebd9b5;
  padding-bottom: 32px;
  margin-bottom: 36px;
  transition: border-color 0.3s ease;
}

.legal-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f5eedc;
  border: 1px solid #d8b877;
  border-radius: var(--radius-micro);
  padding: 6px 15px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #7d5210;
  font-weight: 700;
  margin-bottom: 18px;
}

.legal-title {
  font-family: var(--font-display);
  font-size: clamp(2.0rem, 3.8vw, 2.75rem);
  font-weight: 700;
  color: #0e1526;
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -0.2px;
  transition: color 0.3s ease;
}

.legal-subtitle {
  font-size: 1.10rem;
  color: #72521a;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-style: italic;
  transition: color 0.3s ease;
}

.legal-meta-date {
  font-size: 0.84rem;
  color: #6a7488;
  transition: color 0.3s ease;
}

.legal-alert-box {
  background: #fff9ee;
  border: 1px solid #e8c67c;
  border-left: 5px solid #d49533;
  border-radius: 8px;
  padding: 20px 24px;
  margin: 24px 0 32px;
  font-size: 0.94rem;
  color: #423010;
  line-height: 1.65;
  box-shadow: 0 4px 16px rgba(212, 149, 51, 0.08);
  transition: all 0.3s ease;
}

.legal-toc-box {
  background: #f4eee2;
  border: 1px solid #dfd2be;
  border-radius: 10px;
  padding: 24px 28px;
  margin-bottom: 40px;
  transition: all 0.3s ease;
}

.legal-toc-title {
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #734c10;
  font-weight: 700;
  margin-bottom: 14px;
}

.legal-toc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px 20px;
}

.legal-toc-link {
  color: #242c3d;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 6px;
  border-radius: 6px;
}

.legal-toc-link span {
  color: #b87c14;
  font-weight: 700;
}

.legal-toc-link:hover {
  color: #b87c14;
  background: rgba(184, 124, 20, 0.08);
  transform: translateX(4px);
}

.legal-article {
  margin-bottom: 38px;
}

.legal-article-title {
  font-family: var(--font-display);
  font-size: 1.40rem;
  font-weight: 700;
  color: #0d1425;
  border-left: 4px solid #d49533;
  padding-left: 14px;
  margin-bottom: 18px;
  transition: color 0.3s ease;
}

.legal-text {
  font-size: 0.98rem;
  color: #273044;
  line-height: 1.78;
  font-weight: 400;
  margin-bottom: 14px;
  transition: color 0.3s ease;
}

.legal-text strong {
  color: #080d19;
  font-weight: 700;
  transition: color 0.3s ease;
}

.legal-list-styled {
  list-style: none;
  padding-left: 0;
  margin: 14px 0 20px;
}

.legal-list-styled li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 0.96rem;
  color: #293247;
  line-height: 1.7;
  transition: color 0.3s ease;
}

.legal-list-styled li::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 0;
  color: #b87c14;
  font-size: 0.85rem;
}

.legal-list-styled li strong {
  color: #080d19;
  font-weight: 700;
}

.legal-back-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 50px;
  padding-top: 28px;
  border-top: 1px solid #ebd9b5;
  flex-wrap: wrap;
  gap: 16px;
  transition: border-color 0.3s ease;
}

.btn-ghost-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eee8d8;
  border: 1px solid #ccbc9e;
  color: #202738;
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 0.90rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-ghost-nav:hover {
  background: #e3d9c1;
  color: #080d19;
  transform: translateY(-2px);
}

.btn-legal-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #f5c76c 0%, #d49533 100%);
  color: #080c18 !important;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(212, 149, 51, 0.3);
  transition: all 0.25s ease;
}

.btn-legal-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 149, 51, 0.45);
}

/* Header bar navigation button inside fixed header */
.legal-header-nav .header-cta {
  display: flex !important;
  align-items: center;
  gap: 12px;
}

.btn-header-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 0.82rem;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-micro);
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-header-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: var(--gold-leaf);
}

/* ==========================================================================
   OPTIONAL NIGHT SAPPHIRE THEME (when data-theme="night" on .legal-card)
   ========================================================================== */
.legal-card[data-theme="night"] {
  background: linear-gradient(165deg, rgba(14, 21, 46, 0.95) 0%, rgba(9, 13, 30, 0.98) 100%);
  border: 1px solid rgba(246, 199, 104, 0.3);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.8), 0 0 50px rgba(246, 199, 104, 0.1);
  color: #e2e8f5;
}

.legal-card[data-theme="night"] .legal-header {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.legal-card[data-theme="night"] .legal-badge-pill {
  background: rgba(246, 199, 104, 0.12);
  border-color: rgba(246, 199, 104, 0.35);
  color: var(--gold-leaf);
}

.legal-card[data-theme="night"] .legal-title {
  color: #ffffff;
}

.legal-card[data-theme="night"] .legal-subtitle {
  color: var(--gold-champagne);
}

.legal-card[data-theme="night"] .legal-meta-date {
  color: var(--text-dim);
}

.legal-card[data-theme="night"] .legal-alert-box {
  background: rgba(246, 199, 104, 0.08);
  border: 1px solid rgba(246, 199, 104, 0.3);
  border-left: 5px solid var(--gold-leaf);
  color: var(--gold-champagne);
  box-shadow: none;
}

.legal-card[data-theme="night"] .legal-toc-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-card[data-theme="night"] .legal-toc-title {
  color: var(--gold-leaf);
}

.legal-card[data-theme="night"] .legal-toc-link {
  color: var(--text-secondary);
}

.legal-card[data-theme="night"] .legal-toc-link:hover {
  color: var(--gold-champagne);
  background: rgba(255, 255, 255, 0.05);
}

.legal-card[data-theme="night"] .legal-article-title {
  color: #ffffff;
  border-left-color: var(--gold-leaf);
}

.legal-card[data-theme="night"] .legal-text {
  color: #cbd5e1;
}

.legal-card[data-theme="night"] .legal-text strong {
  color: #ffffff;
}

.legal-card[data-theme="night"] .legal-list-styled li {
  color: #cbd5e1;
}

.legal-card[data-theme="night"] .legal-list-styled li strong {
  color: #ffffff;
}

.legal-card[data-theme="night"] .legal-list-styled li::before {
  color: var(--gold-leaf);
}

.legal-card[data-theme="night"] .legal-back-nav {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.legal-card[data-theme="night"] .btn-ghost-nav {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
}

.legal-card[data-theme="night"] .btn-ghost-nav:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS (< 768px and < 480px)
   ========================================================================== */
@media (max-width: 768px) {
  .legal-section-wrap {
    padding: 95px 16px 60px;
  }

  .legal-card {
    padding: 36px 24px;
    border-radius: 14px;
  }

  .legal-title {
    font-size: 1.85rem;
  }

  .legal-subtitle {
    font-size: 1.0rem;
  }

  .legal-toc-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .legal-toc-box {
    padding: 18px 20px;
  }

  .legal-alert-box {
    padding: 16px 18px;
    font-size: 0.90rem;
  }

  .legal-back-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .legal-back-nav a {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .legal-header-nav .header-cta {
    gap: 8px;
  }

  .legal-header-nav .btn-header-ghost {
    padding: 6px 10px;
    font-size: 0.78rem;
  }

  .legal-header-nav .btn-gilded-sm {
    padding: 6px 12px;
    font-size: 0.78rem;
  }
}

@media (max-width: 480px) {
  .legal-section-wrap {
    padding: 85px 12px 50px;
  }

  .legal-card {
    padding: 26px 16px;
    border-radius: 12px;
  }

  .legal-title {
    font-size: 1.65rem;
  }

  .legal-article-title {
    font-size: 1.25rem;
  }

  .legal-text {
    font-size: 0.94rem;
    line-height: 1.7;
  }

  .legal-header-nav .brand-desc {
    display: none;
  }

  .legal-header-nav .brand-title {
    font-size: 1.15rem;
  }

  .legal-top-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer-nav-groups {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

