/* ==========================================================================
   Harry Potter y el Legado Maldito — Landing del Audiolibro
   ========================================================================== */

:root {
  --bg-void: #05060a;
  --bg-deep: #0a0c12;
  --bg-panel: #10131c;
  --bg-panel-2: #151925;
  --ink: #e9e4d8;
  --ink-dim: #a8a396;
  --ink-faint: #6c6a68;
  --gold: #c9a24a;
  --gold-light: #e7c176;
  --gold-deep: #8a6a2c;
  --emerald: #1f5c4a;
  --emerald-light: #2f8f6c;
  --emerald-glow: rgba(58, 168, 128, 0.35);
  --wine: #6e1f2b;
  --azure: #2b5c8a;

  --font-display: 'Cinzel Decorative', 'Cinzel', serif;
  --font-heading: 'Cinzel', serif;
  --font-body: 'EB Garamond', Georgia, serif;
  --font-ui: 'Marcellus', serif;

  --container: 1180px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-void);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body { position: relative; min-height: 100vh; }

::selection { background: var(--gold-deep); color: #fff; }

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

img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 2;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-void); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--gold-deep), var(--emerald));
  border-radius: 10px;
}

/* ==========================================================================
   Ambient FX: grain, cursor glow, particles
   ========================================================================== */

.grain-overlay {
  position: fixed; inset: 0; z-index: 999; pointer-events: none;
  opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed; top: 0; left: 0; width: 480px; height: 480px;
  border-radius: 50%; pointer-events: none; z-index: 1;
  background: radial-gradient(circle, var(--emerald-glow) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: opacity .4s ease;
  opacity: 0;
  filter: blur(10px);
}
@media (hover: hover) and (pointer: fine) {
  .cursor-glow { opacity: .55; }
}

#particles {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
}

/* ==========================================================================
   Preloader
   ========================================================================== */

#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg-void);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .8s var(--ease), visibility .8s var(--ease);
}
#preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-inner { text-align: center; }
.preloader-bolt {
  width: 64px; height: 64px; margin: 0 auto 14px;
  animation: spin-glow 1.6s ease-in-out infinite;
}
.preloader-inner p {
  font-family: var(--font-ui); letter-spacing: .12em; text-transform: uppercase;
  font-size: .78rem; color: var(--gold); opacity: .8;
}
@keyframes spin-glow {
  0%, 100% { transform: scale(1) rotate(0deg); filter: drop-shadow(0 0 6px var(--gold)); }
  50% { transform: scale(1.12) rotate(8deg); filter: drop-shadow(0 0 22px var(--gold-light)); }
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  padding: 20px 0;
  transition: padding .35s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  padding: 10px 0;
  background: rgba(6, 7, 11, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(201, 162, 74, 0.18);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
}
.brand-mark { width: 34px; height: 34px; filter: drop-shadow(0 0 6px rgba(201,162,74,.5)); }
.brand-text {
  font-family: var(--font-heading); font-weight: 600; letter-spacing: .03em;
  font-size: 1rem; color: var(--ink);
  white-space: nowrap;
}
.brand-text em { font-style: normal; color: var(--gold); font-size: .82em; opacity: .85; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  font-family: var(--font-ui); font-size: .88rem; letter-spacing: .05em;
  color: var(--ink-dim); position: relative; padding: 4px 0;
  transition: color .25s ease;
}
.main-nav a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1px;
  background: var(--gold); transition: right .3s var(--ease);
}
.main-nav a:hover { color: var(--gold-light); }
.main-nav a:hover::after { right: 0; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: transparent; border: 1px solid rgba(201,162,74,.35);
  border-radius: 8px; cursor: pointer;
}
.nav-toggle span {
  display: block; height: 1.5px; width: 18px; margin: 0 auto; background: var(--gold-light);
  transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(78vw, 340px);
    background: rgba(8, 9, 14, 0.97); backdrop-filter: blur(16px);
    flex-direction: column; align-items: flex-start; justify-content: center;
    padding: 40px; gap: 26px;
    transform: translateX(100%); transition: transform .45s var(--ease);
    border-left: 1px solid rgba(201,162,74,.2);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { font-size: 1.1rem; }
}

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */

.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal:nth-child(1) { transition-delay: 0s; }
.reveal:nth-child(2) { transition-delay: .08s; }
.reveal:nth-child(3) { transition-delay: .16s; }
.reveal:nth-child(4) { transition-delay: .24s; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  justify-content: center; overflow: hidden; isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg-img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
  transform: scale(1.08);
  filter: saturate(1.05) contrast(1.05);
}
.hero-vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(5,6,10,.15) 0%, rgba(5,6,10,.55) 55%, rgba(5,6,10,.94) 100%),
    linear-gradient(to bottom, rgba(5,6,10,.65) 0%, rgba(5,6,10,.25) 30%, rgba(5,6,10,.4) 60%, var(--bg-void) 100%);
}
.hero-fog {
  position: absolute; inset: -10% -10%; opacity: .5; pointer-events: none;
  background: radial-gradient(ellipse 60% 40% at 20% 90%, rgba(47,143,108,.25), transparent 60%),
              radial-gradient(ellipse 50% 30% at 85% 95%, rgba(110,31,43,.18), transparent 60%);
  animation: fog-drift 22s ease-in-out infinite alternate;
}
@keyframes fog-drift {
  0% { transform: translateX(-2%) translateY(0); }
  100% { transform: translateX(2%) translateY(-1.5%); }
}

.lightning-flash {
  position: absolute; inset: 0; background: rgba(231, 193, 118, 0.75);
  opacity: 0; pointer-events: none; z-index: 5; mix-blend-mode: overlay;
}
.lightning-flash.flash { animation: flash-seq .6s ease-out; }
@keyframes flash-seq {
  0% { opacity: 0; }
  6% { opacity: .9; }
  12% { opacity: .1; }
  18% { opacity: .6; }
  28% { opacity: 0; }
  100% { opacity: 0; }
}

.hero-content {
  position: relative; z-index: 3; text-align: center;
  max-width: 880px; padding: 130px 24px 80px;
  display: flex; flex-direction: column; align-items: center;
}

.eyebrow {
  font-family: var(--font-ui); letter-spacing: .28em; text-transform: uppercase;
  font-size: .78rem; color: var(--gold-light); margin: 0 0 22px;
  opacity: .9;
}

.hero-logo {
  width: min(640px, 88vw); margin: 0 auto 22px;
  filter: drop-shadow(0 6px 30px rgba(0,0,0,.65)) drop-shadow(0 0 40px rgba(201,162,74,.18));
  animation: logo-float 7s ease-in-out infinite;
}
@keyframes logo-float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.hero-tagline {
  font-family: var(--font-heading); font-weight: 400; font-size: clamp(1.02rem, 2vw, 1.28rem);
  line-height: 1.65; color: var(--ink-dim); max-width: 640px; margin: 0 0 38px;
}
.br-desktop { display: inline; }

.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; margin-bottom: 60px; }

.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-ui); font-size: .92rem; letter-spacing: .04em;
  padding: 15px 30px; border-radius: 2px; cursor: pointer; overflow: hidden;
  border: 1px solid transparent; transition: transform .3s var(--ease), border-color .3s ease, background .3s ease;
}
.btn:hover { transform: translateY(-3px); }

.btn-primary {
  background: linear-gradient(135deg, var(--gold-deep), var(--gold) 45%, var(--gold-light));
  color: #191307; font-weight: 600;
  box-shadow: 0 10px 30px rgba(201,162,74,.25);
}
.btn-primary svg { position: relative; z-index: 2; }
.btn-primary .btn-glow {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.55), transparent);
  transform: translateX(-120%); transition: transform .6s ease;
}
.btn-primary:hover .btn-glow { transform: translateX(120%); }

.btn-ghost {
  border-color: rgba(233, 228, 216, .3); color: var(--ink);
  background: rgba(255,255,255,.02);
}
.btn-ghost:hover { border-color: var(--gold-light); color: var(--gold-light); background: rgba(201,162,74,.08); }

.scroll-cue {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  animation: cue-fade 2.4s ease-in-out infinite;
}
.scroll-cue span {
  width: 1px; height: 46px;
  background: linear-gradient(to bottom, var(--gold-light), transparent);
}
.scroll-cue p {
  font-family: var(--font-ui); font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-faint); margin: 0;
}
@keyframes cue-fade {
  0%, 100% { opacity: .4; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(6px); }
}

/* ==========================================================================
   Section shell
   ========================================================================== */

.section { position: relative; padding: 130px 0; overflow: hidden; isolation: isolate; }
.section-bg { position: absolute; inset: 0; z-index: -2; }
.section-bg img {
  width: 100%; height: 100%; object-fit: cover; opacity: .55;
  transform: scale(1.1);
}
.section-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--bg-void) 0%, rgba(8,10,15,.88) 8%, rgba(10,12,18,.93) 50%, var(--bg-void) 100%);
}
.section-overlay.dark {
  background: linear-gradient(180deg, var(--bg-void) 0%, rgba(5,6,9,.95) 10%, rgba(5,6,9,.97) 50%, var(--bg-void) 100%);
}

.kicker {
  font-family: var(--font-ui); letter-spacing: .26em; text-transform: uppercase;
  font-size: .74rem; color: var(--emerald-light); margin: 0 0 14px; text-align: center;
}
.section-title {
  font-family: var(--font-heading); font-weight: 600; text-align: center;
  font-size: clamp(1.9rem, 4vw, 3rem); margin: 0 0 18px; color: var(--ink);
  letter-spacing: .01em;
}
.section-title::after {
  content: ''; display: block; width: 70px; height: 2px; margin: 20px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.section-lead {
  text-align: center; max-width: 620px; margin: 0 auto 60px; color: var(--ink-dim);
  font-size: 1.08rem; line-height: 1.7;
}

/* ==========================================================================
   Synopsis
   ========================================================================== */

.synopsis-grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: start;
  margin-top: 20px;
}
.synopsis-text p {
  font-size: 1.12rem; line-height: 1.85; color: var(--ink-dim); margin: 0 0 22px;
}
.synopsis-text strong { color: var(--gold-light); font-weight: 600; }
.drop-cap::first-letter {
  font-family: var(--font-display); font-size: 3.6rem; float: left; line-height: .8;
  padding: 8px 12px 0 0; color: var(--gold); font-weight: 700;
}
.synopsis-tags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.synopsis-tags span {
  font-family: var(--font-ui); font-size: .78rem; letter-spacing: .04em;
  padding: 9px 16px; border: 1px solid rgba(201,162,74,.3); border-radius: 30px;
  color: var(--gold-light); background: rgba(201,162,74,.05);
}

.synopsis-card {
  position: relative; padding: 38px 32px; border-radius: 4px;
  background: linear-gradient(160deg, rgba(21,25,37,.9), rgba(13,15,22,.92));
  border: 1px solid rgba(201,162,74,.22);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
}
.card-glow {
  position: absolute; top: -40%; right: -30%; width: 60%; height: 80%;
  background: radial-gradient(circle, var(--emerald-glow), transparent 70%);
  pointer-events: none; filter: blur(10px);
}
.synopsis-card h3 {
  font-family: var(--font-heading); font-size: 1.6rem; margin: 0 0 4px; color: var(--gold-light);
}
.card-sub { font-style: italic; color: var(--ink-faint); margin: 0 0 24px; font-size: .98rem; }
.scene-list { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.scene-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink-dim); font-size: 1rem; line-height: 1.5; }
.scene-list span { font-size: 1.05rem; }
.card-footnote {
  font-family: var(--font-ui); font-size: .78rem; letter-spacing: .03em; color: var(--emerald-light);
  padding-top: 18px; border-top: 1px dashed rgba(201,162,74,.25);
}

@media (max-width: 900px) {
  .synopsis-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Opening video
   ========================================================================== */

.opening-section { padding-top: 110px; }
.video-frame {
  position: relative; max-width: 900px; margin: 0 auto; padding: 4px;
  border-radius: 8px;
}
.video-frame-glow {
  position: absolute; inset: -2px; border-radius: 10px; z-index: -1;
  background: conic-gradient(from 0deg, var(--gold), var(--emerald-light), var(--wine), var(--gold));
  filter: blur(18px); opacity: .55;
  animation: spin-slow 10s linear infinite;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }
.video-frame-inner {
  position: relative; border-radius: 6px; overflow: hidden;
  aspect-ratio: 16 / 9; background: #000;
  border: 1px solid rgba(201,162,74,.35);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.85);
}
.video-frame-inner iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}

.video-thumb {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.02);
}
.video-thumb-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,6,10,.15) 0%, rgba(5,6,10,.55) 100%);
  transition: background .4s ease;
}
.video-frame-inner:hover .video-thumb-overlay { background: linear-gradient(180deg, rgba(5,6,10,.05) 0%, rgba(5,6,10,.4) 100%); }

.video-play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 86px; height: 86px; border-radius: 50%; z-index: 4; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--gold-deep), var(--gold) 45%, var(--gold-light));
  color: #191307; border: none;
  box-shadow: 0 14px 40px -8px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.08);
  transition: transform .35s var(--ease), box-shadow .35s ease;
}
.video-play-btn svg { position: relative; z-index: 2; margin-left: 4px; }
.video-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 18px 50px -6px rgba(201,162,74,.5), 0 0 0 1px rgba(255,255,255,.12);
}
.video-play-ring {
  position: absolute; inset: -14px; border-radius: 50%;
  border: 1px solid rgba(231,193,118,.55);
  animation: ring-pulse 2.4s ease-out infinite;
}
@keyframes ring-pulse {
  0% { transform: scale(.85); opacity: .9; }
  100% { transform: scale(1.35); opacity: 0; }
}

.video-frame-corner {
  position: absolute; width: 26px; height: 26px; border-color: var(--gold-light); z-index: 3;
  opacity: .85; pointer-events: none;
}
.video-frame-corner.tl { top: -6px; left: -6px; border-top: 2px solid; border-left: 2px solid; }
.video-frame-corner.tr { top: -6px; right: -6px; border-top: 2px solid; border-right: 2px solid; }
.video-frame-corner.bl { bottom: -6px; left: -6px; border-bottom: 2px solid; border-left: 2px solid; }
.video-frame-corner.br { bottom: -6px; right: -6px; border-bottom: 2px solid; border-right: 2px solid; }

/* ==========================================================================
   Characters
   ========================================================================== */

.char-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 40px;
}
.char-card {
  position: relative; border-radius: 6px; overflow: hidden; cursor: default;
  background: linear-gradient(180deg, rgba(21,25,37,.55), rgba(9,10,15,.85));
  border: 1px solid rgba(255,255,255,.06);
  padding-top: 18px;
  transition: transform .5s var(--ease), border-color .4s ease, box-shadow .4s ease;
  opacity: 0; transform: translateY(30px);
}
.char-card.in-view { opacity: 1; transform: translateY(0); }
.char-card:hover {
  transform: translateY(-10px);
  border-color: var(--house-color, var(--gold));
  box-shadow: 0 26px 50px -20px rgba(0,0,0,.7), 0 0 34px -8px var(--house-color, var(--gold));
}
.char-card .char-glow {
  position: absolute; top: -20%; left: 50%; width: 140%; height: 65%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, color-mix(in srgb, var(--house-color, var(--gold)) 45%, transparent), transparent 70%);
  opacity: .5; pointer-events: none;
}
.char-card figure {
  margin: 0; height: 230px; display: flex; align-items: flex-end; justify-content: center;
  position: relative; z-index: 1;
}
.char-card img {
  height: 100%; width: auto; object-fit: contain; object-position: bottom;
  filter: drop-shadow(0 14px 18px rgba(0,0,0,.55));
  transition: transform .5s var(--ease);
}
.char-card:hover img { transform: scale(1.045) translateY(-3px); }
.char-info { position: relative; z-index: 1; padding: 16px 18px 22px; text-align: center; }
.char-house-tag {
  display: inline-block; font-family: var(--font-ui); font-size: .64rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--house-color, var(--gold));
  border: 1px solid var(--house-color, var(--gold)); border-radius: 20px;
  padding: 3px 12px; margin-bottom: 10px; opacity: .9;
}
.char-info h3 {
  font-family: var(--font-heading); font-size: 1.06rem; margin: 0 0 4px; color: var(--ink);
}
.char-info p { margin: 0; font-size: .85rem; color: var(--ink-faint); line-height: 1.5; }

@media (max-width: 980px) { .char-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .char-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } .char-card figure { height: 190px; } }

/* ==========================================================================
   Voices
   ========================================================================== */

.voice-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px;
}
.voice-card {
  position: relative; padding: 26px 24px; border-radius: 4px;
  background: rgba(16,19,28,.72);
  border: 1px solid rgba(201,162,74,.16);
  transition: border-color .35s ease, transform .35s var(--ease), background .35s ease;
  opacity: 0; transform: translateY(24px);
}
.voice-card.in-view { opacity: 1; transform: translateY(0); }
.voice-card:hover {
  border-color: rgba(201,162,74,.5); transform: translateY(-6px);
  background: rgba(21,25,37,.85);
}
.voice-card .voice-role {
  font-family: var(--font-ui); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-light); margin: 0 0 8px;
}
.voice-card h3 { font-family: var(--font-heading); font-size: 1.18rem; margin: 0 0 10px; color: var(--ink); }
.voice-card p { margin: 0; font-size: .92rem; line-height: 1.6; color: var(--ink-faint); }

@media (max-width: 900px) { .voice-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .voice-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Episodes / Próximamente
   ========================================================================== */

.episodes { padding: 110px 0 150px; }
.episodes-panel {
  position: relative; text-align: center; max-width: 780px; margin: 0 auto;
  padding: 70px 40px; border-radius: 8px;
  background: linear-gradient(160deg, rgba(21,25,37,.75), rgba(9,10,15,.9));
  border: 1px solid rgba(201,162,74,.25);
  overflow: hidden;
}
.episodes-panel .kicker,
.episodes-panel .section-title { position: relative; z-index: 2; }
.episodes-copy {
  position: relative; z-index: 2;
  font-size: 1.08rem; line-height: 1.8; color: var(--ink-dim); max-width: 560px; margin: 0 auto 36px;
}
.episodes-copy strong { color: var(--gold-light); }

.episodes-ghosts { position: absolute; inset: 0; z-index: 1; opacity: .5; }
.episodes-ghosts span {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,74,.18), transparent 70%);
  animation: ghost-float 9s ease-in-out infinite;
}
.episodes-ghosts span:nth-child(1) { width: 140px; height: 140px; top: -30px; left: 5%; animation-delay: 0s; }
.episodes-ghosts span:nth-child(2) { width: 90px; height: 90px; bottom: -20px; left: 20%; animation-delay: 1.2s; background: radial-gradient(circle, rgba(47,143,108,.2), transparent 70%); }
.episodes-ghosts span:nth-child(3) { width: 180px; height: 180px; top: 10%; right: -60px; animation-delay: .6s; }
.episodes-ghosts span:nth-child(4) { width: 70px; height: 70px; bottom: 10%; right: 15%; animation-delay: 2s; background: radial-gradient(circle, rgba(110,31,43,.22), transparent 70%); }
.episodes-ghosts span:nth-child(5) { width: 110px; height: 110px; top: 40%; left: -40px; animation-delay: 1.6s; }
.episodes-ghosts span:nth-child(6) { width: 60px; height: 60px; top: 20%; left: 45%; animation-delay: 2.4s; background: radial-gradient(circle, rgba(47,143,108,.18), transparent 70%); }
@keyframes ghost-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-18px) scale(1.06); }
}

.episodes-cta { position: relative; z-index: 2; display: flex; justify-content: center; }
.spotify-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-ui); font-size: .84rem; letter-spacing: .03em;
  padding: 13px 24px; border-radius: 30px;
  border: 1px solid rgba(47,143,108,.45); color: #7fe0b8;
  background: rgba(47,143,108,.08);
}
.spotify-badge svg { flex-shrink: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  position: relative; padding: 90px 0 30px; background: var(--bg-void);
  border-top: 1px solid rgba(201,162,74,.15); overflow: hidden;
}
.footer-bg {
  position: absolute; inset: 0; opacity: .5;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(31,92,74,.14), transparent 70%);
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 50px;
  padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer-mark { width: 40px; height: 40px; margin-bottom: 16px; }
.footer-title { font-family: var(--font-heading); font-size: 1.2rem; margin: 0 0 8px; color: var(--gold-light); }
.footer-sub { color: var(--ink-faint); font-size: .92rem; max-width: 280px; line-height: 1.6; margin: 0; }
.footer-col h4 {
  font-family: var(--font-ui); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-dim); margin: 0 0 18px;
}
.footer-col a, .footer-note {
  display: block; color: var(--ink-faint); font-size: .92rem; margin-bottom: 12px;
  transition: color .25s ease;
}
.footer-col a:hover { color: var(--gold-light); }
.footer-note a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; transition: color .25s ease; }
.footer-note a:hover { color: var(--gold); }

.footer-legal { padding-top: 30px; }
.footer-legal p {
  font-size: .78rem; line-height: 1.7; color: var(--ink-faint); opacity: .7;
  max-width: 900px; margin: 0 0 10px;
}
.footer-legal a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 2px; opacity: 1; }
.footer-legal a:hover { color: var(--gold); }

@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
}

/* ==========================================================================
   Misc responsive
   ========================================================================== */

@media (max-width: 560px) {
  .hero-content { padding-top: 110px; }
  .section { padding: 90px 0; }
  .br-desktop { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
