/* =========================================================
   NOAH · Guardianes del Canto (aviso del inicio, bloque de portada y página de la serie)
   Paleta de la serie: tierra, crema y ámbar
   ========================================================= */
:root {
  --gdc-bg: #2a1a0d;
  --gdc-bg-2: #3a2413;
  --gdc-bg-3: #4a2f18;
  --gdc-cream: #f6eee0;
  --gdc-accent: #e0a95d;
  --gdc-muted: #cdbb9f;
  --gdc-line: rgba(246, 238, 224, .16);
  --gdc-display: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
}

/* ---------- piezas comunes ---------- */
.gdc-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #ff4d3d; box-shadow: 0 0 0 0 rgba(255, 77, 61, .7); animation: gdc-pulse 1.6s infinite; flex: 0 0 auto; }
@keyframes gdc-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 77, 61, .7); } 70% { box-shadow: 0 0 0 9px rgba(255, 77, 61, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 77, 61, 0); } }
.gdc-eyebrow { margin: 0 0 14px; color: var(--gdc-accent); font-size: 12px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; }
.gdc-tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(246, 238, 224, .1); border: 1px solid var(--gdc-line); color: var(--gdc-cream); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.gdc-tag--hot { background: rgba(255, 77, 61, .14); border-color: rgba(255, 77, 61, .45); }
.gdc-status { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 18px 0 0; color: var(--gdc-muted); font-size: 15px; }
.gdc-status strong { color: var(--gdc-cream); font-size: 17px; }
.gdc-count { display: flex; gap: 8px; margin-top: 18px; }
.gdc-count__cell { display: grid; justify-items: center; min-width: 64px; padding: 10px 8px 8px; border-radius: 12px; background: rgba(0, 0, 0, .28); border: 1px solid var(--gdc-line); }
.gdc-count__cell[hidden] { display: none; }
.gdc-count b { font: 400 clamp(30px, 3.4vw, 44px)/1 var(--gdc-display); color: var(--gdc-cream); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.gdc-count small { margin-top: 4px; color: var(--gdc-muted); font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.gdc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 26px; }
.gdc-actions--center { justify-content: center; }
.gdc-btn {
  display: inline-flex; align-items: center; gap: 9px; min-height: 48px; padding: 0 20px;
  border: 1.5px solid rgba(246, 238, 224, .4); border-radius: 999px; background: transparent; color: var(--gdc-cream);
  font: 700 13px/1 var(--font-body, Inter, system-ui, sans-serif); letter-spacing: .04em; text-decoration: none; cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.gdc-btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.gdc-btn:hover { background: var(--gdc-cream); border-color: var(--gdc-cream); color: var(--gdc-bg); }
.gdc-btn--solid { background: var(--gdc-accent); border-color: var(--gdc-accent); color: var(--gdc-bg); }
.gdc-btn--solid:hover { background: var(--gdc-cream); border-color: var(--gdc-cream); transform: translateY(-1px); }
.gdc-link { display: inline-flex; align-items: center; gap: 8px; padding: 0 6px; color: var(--gdc-cream); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; border-bottom: 1.5px solid transparent; }
.gdc-link svg { width: 16px; height: 16px; transition: transform .2s ease; }
.gdc-link:hover { color: var(--gdc-accent); }
.gdc-link:hover svg { transform: translateX(4px); }

/* Video / portada del episodio */
.gdc-player { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; overflow: hidden; border: 0; border-radius: clamp(14px, 1.6vw, 22px); background: #000; color: var(--gdc-cream); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.gdc-player img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2, .7, .3, 1), opacity .3s ease; }
.gdc-player picture { position: absolute; inset: 0; }
.gdc-player.is-video { cursor: pointer; }
.gdc-player.is-video img { opacity: .88; }
.gdc-player.is-video:hover img { transform: scale(1.03); opacity: 1; }
.gdc-player__play { position: absolute; left: 50%; top: 50%; width: clamp(64px, 7vw, 92px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: var(--gdc-accent); color: var(--gdc-bg); transform: translate(-50%, -50%); box-shadow: 0 16px 40px rgba(0, 0, 0, .45); transition: transform .3s ease; }
.gdc-player__play svg { width: 40%; height: 40%; margin-left: 6%; }
.gdc-player.is-video:hover .gdc-player__play { transform: translate(-50%, -50%) scale(1.08); }
.gdc-player__badge { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: rgba(20, 12, 6, .78); backdrop-filter: blur(6px); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.gdc-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- aviso en el inicio ---------- */
.gdc-chip {
  position: absolute; z-index: 5; top: clamp(16px, 3vw, 34px); right: var(--pad-x, 24px);
  display: inline-flex; align-items: center; gap: 12px; max-width: min(420px, calc(100% - 2 * var(--pad-x, 20px)));
  padding: 8px 16px 8px 8px; border-radius: 999px;
  background: rgba(42, 26, 13, .82); border: 1px solid rgba(224, 169, 93, .45); color: var(--gdc-cream);
  backdrop-filter: blur(10px); box-shadow: 0 14px 40px rgba(0, 0, 0, .35); text-decoration: none;
  animation: gdc-chip-in .8s .6s cubic-bezier(.22, .7, .3, 1) both;
}
.gdc-chip[hidden] { display: none; }
.gdc-chip__dot { width: 36px; height: 36px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 77, 61, .16); }
.gdc-chip__dot.is-play { background: var(--gdc-accent); color: var(--gdc-bg); }
.gdc-chip__dot svg { width: 16px; height: 16px; margin-left: 2px; }
.gdc-chip__text { display: grid; min-width: 0; line-height: 1.25; }
.gdc-chip__text b { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gdc-accent); }
.gdc-chip__text span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 600; }
.gdc-chip > svg { width: 18px; height: 18px; flex: 0 0 auto; transition: transform .2s ease; }
.gdc-chip:hover > svg { transform: translateX(4px); }
.gdc-chip:hover { border-color: var(--gdc-accent); }
@keyframes gdc-chip-in { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }

/* ---------- bloque de la portada ---------- */
.gdc-home {
  position: relative; overflow: hidden;
  padding: clamp(64px, 9vw, 120px) var(--pad-x, 24px);
  background: radial-gradient(120% 90% at 85% 0%, var(--gdc-bg-3) 0%, var(--gdc-bg) 60%), var(--gdc-bg);
  color: var(--gdc-cream);
}
.gdc-home[hidden] { display: none; }
.gdc-home::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 120px, rgba(246, 238, 224, .025) 120px 121px); pointer-events: none; }
.gdc-home__in { position: relative; max-width: var(--max, 1280px); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.gdc-logo { display: block; width: min(100%, 380px); height: auto; }
.gdc-serie { margin: 0; font: 400 clamp(34px, 4vw, 56px)/.9 var(--gdc-display); }
.gdc-title { margin: 10px 0 0; font: 400 clamp(44px, 5.6vw, 84px)/.9 var(--gdc-display); letter-spacing: .01em; text-transform: uppercase; color: var(--gdc-accent); }
.gdc-lede { margin: 22px 0 0; max-width: 46ch; color: var(--gdc-muted); font-size: 16px; line-height: 1.6; }
.gdc-home[data-state="out"] .gdc-home__in, .gdc-home[data-state="live"] .gdc-home__in { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); }
.gdc-home[data-state="out"] .gdc-title, .gdc-home[data-state="live"] .gdc-title { font-size: clamp(40px, 4.4vw, 68px); }
.gdc-title, .gdc-h { overflow-wrap: anywhere; }

/* ---------- página /guardianes-del-canto/ ---------- */
body.gdc-page { margin: 0; background: var(--gdc-bg); color: var(--gdc-cream); font-family: var(--font-body, Inter, system-ui, sans-serif); }
.gdc-bar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px var(--pad-x, 24px); background: rgba(20, 12, 6, .9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--gdc-line); }
.gdc-bar__logo { display: block; width: 96px; color: var(--gdc-cream); }
.gdc-bar__logo svg { display: block; width: 100%; height: auto; }
.gdc-bar nav { display: flex; align-items: center; gap: clamp(10px, 2vw, 24px); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.gdc-bar nav a { color: var(--gdc-cream); text-decoration: none; opacity: .8; }
.gdc-bar nav a:hover { opacity: 1; }
.gdc-bar nav .gdc-bar__cta { padding: 10px 16px; border-radius: 999px; background: var(--gdc-accent); color: var(--gdc-bg); opacity: 1; }
.gdc-loading { padding: 30vh var(--pad-x, 24px); text-align: center; color: var(--gdc-muted); }
.gdc-wrap { max-width: 1120px; margin: 0 auto; }
.gdc-h { margin: 0; font: 400 clamp(46px, 6.4vw, 92px)/.9 var(--gdc-display); letter-spacing: .01em; text-transform: uppercase; }
.gdc-h3 { margin: 0 0 20px; font: 400 clamp(28px, 3vw, 40px)/1 var(--gdc-display); letter-spacing: .02em; text-transform: uppercase; color: var(--gdc-accent); }
.gdc-note { margin: 14px 0 0; color: var(--gdc-muted); font-size: 14px; font-style: italic; }
.gdc-credit { margin: 10px 0 0; color: rgba(205, 187, 159, .7); font-size: 12px; }

.gdc-hero { position: relative; min-height: min(calc(100svh - 64px), 860px); display: flex; align-items: flex-end; padding: 0 var(--pad-x, 24px) clamp(40px, 7vw, 90px); overflow: hidden; }
.gdc-hero__bg { position: absolute; inset: 0; }
.gdc-hero__bg img { width: 100%; height: 100%; object-fit: cover; animation: gdc-zoom 14s ease-out both; }
.gdc-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--gdc-bg) 4%, rgba(42, 26, 13, .7) 50%, rgba(42, 26, 13, .35) 100%), linear-gradient(90deg, rgba(42, 26, 13, .75), transparent 70%); }
.gdc-hero__tag, .gdc-hero__eptitle { text-shadow: 0 2px 16px rgba(0, 0, 0, .55); }
@keyframes gdc-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.gdc-hero__in { position: relative; z-index: 1; width: 100%; }
.gdc-hero__logo { margin: 0; }
.gdc-hero__logo img { display: block; width: min(100%, 560px); height: auto; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .45)); }
.gdc-hero__tag { margin: 12px 0 0; font: 400 clamp(22px, 2.4vw, 32px)/1.1 var(--gdc-display); letter-spacing: .08em; text-transform: uppercase; color: var(--gdc-accent); }
.gdc-hero__ep { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--gdc-line); max-width: 760px; }
.gdc-hero__eptitle { margin: 12px 0 0; font: 400 clamp(26px, 2.6vw, 36px)/1 var(--gdc-display); letter-spacing: .02em; text-transform: uppercase; }

.gdc-intro { padding: clamp(64px, 8vw, 110px) var(--pad-x, 24px); background: var(--gdc-bg-2); }
.gdc-big { margin: 0; max-width: 32ch; font: 400 clamp(26px, 3vw, 42px)/1.15 var(--gdc-display); letter-spacing: .01em; }
.gdc-credits { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 0; padding: 0; list-style: none; }
.gdc-credits li { padding: 8px 14px; border: 1px solid rgba(224, 169, 93, .45); border-radius: 999px; color: var(--gdc-cream); font-size: 13px; }
.gdc-eps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 44px; }
.gdc-epcard { display: grid; gap: 4px; padding: 20px 22px; border-radius: 16px; background: rgba(0, 0, 0, .22); border: 1px solid var(--gdc-line); color: var(--gdc-cream); text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
.gdc-epcard:hover { border-color: var(--gdc-accent); transform: translateY(-2px); }
.gdc-epcard__n { font: 400 15px/1 var(--gdc-display); color: var(--gdc-accent); letter-spacing: .14em; }
.gdc-epcard__t { font: 400 clamp(28px, 2.6vw, 38px)/1 var(--gdc-display); text-transform: uppercase; }
.gdc-epcard__s { color: var(--gdc-muted); font-size: 13px; }
.gdc-epcard.is-soon { opacity: .7; }

.gdc-ep { padding: clamp(64px, 8vw, 110px) var(--pad-x, 24px); border-top: 1px solid var(--gdc-line); }
.gdc-ep__head { margin-bottom: 28px; }
.gdc-ep__bar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 24px; }
.gdc-ep__bar .gdc-count, .gdc-ep__bar .gdc-actions { margin-top: 22px; }
.gdc-ep__about { margin-top: 44px; }
.gdc-ep__about p { margin: 0 0 1em; max-width: 64ch; font-size: 17px; line-height: 1.7; }
.gdc-ep__about p:first-child { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.55; color: var(--gdc-cream); }
.gdc-block { margin-top: clamp(48px, 6vw, 80px); }
.gdc-guests { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0 26px; margin: 0; padding: 0; list-style: none; }
.gdc-guests li { display: grid; gap: 3px; padding: 14px 0; border-bottom: 1px solid var(--gdc-line); }
.gdc-guests strong { font: 400 24px/1 var(--gdc-display); letter-spacing: .02em; text-transform: uppercase; }
.gdc-guests span { color: var(--gdc-muted); font-size: 14px; line-height: 1.4; }
.gdc-band { margin: 22px 0 0; color: var(--gdc-cream); font-size: 15px; }
.gdc-band b { display: inline-block; margin-right: 10px; color: var(--gdc-accent); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.gdc-hosts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(26px, 4vw, 60px); align-items: center; }
.gdc-hosts > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 18px; }
.gdc-host + .gdc-host { margin-top: 20px; }
.gdc-host strong { font: 400 28px/1 var(--gdc-display); letter-spacing: .02em; text-transform: uppercase; }
.gdc-host p { margin: 6px 0 0; color: var(--gdc-muted); font-size: 15px; line-height: 1.6; }
.gdc-staff { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 0; }
.gdc-staff > div { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--gdc-line); }
.gdc-staff dt { color: var(--gdc-muted); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1.5; }
.gdc-staff dd { margin: 0; font-size: 15px; line-height: 1.5; }
.gdc-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(140px, 15vw, 220px); gap: 10px; }
.gdc-gallery a { display: block; overflow: hidden; border-radius: 10px; background: rgba(0, 0, 0, .2); }
.gdc-gallery a:nth-child(6n + 1) { grid-column: span 2; grid-row: span 2; }
.gdc-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .3, 1); }
.gdc-gallery a:hover img { transform: scale(1.05); }
.gdc-clips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.gdc-clips a { position: relative; display: block; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 14px; background: #000; color: var(--gdc-cream); text-decoration: none; }
.gdc-clips img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: transform .6s ease, opacity .3s ease; }
.gdc-clips a:hover img { transform: scale(1.04); opacity: 1; }
.gdc-clips span { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 8px; padding: 30px 14px 14px; background: linear-gradient(0deg, rgba(0, 0, 0, .8), transparent); font-size: 14px; font-weight: 700; }
.gdc-clips svg { width: 18px; height: 18px; }
.gdc-ep--soon { background: var(--gdc-bg-2); }
.gdc-ep--soon .gdc-lede { font-size: 18px; max-width: 54ch; }
.gdc-partners { padding: clamp(56px, 7vw, 90px) var(--pad-x, 24px); border-top: 1px solid var(--gdc-line); }
.gdc-partners__group + .gdc-partners__group { margin-top: 34px; }
.gdc-partners__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 34px; }
.gdc-partners__logos img { height: 54px; width: auto; max-width: 160px; object-fit: contain; opacity: .85; transition: opacity .2s ease; }
.gdc-partners__logos img:hover { opacity: 1; }
.gdc-final { padding: clamp(64px, 8vw, 110px) var(--pad-x, 24px); background: var(--gdc-bg-3); text-align: center; }
.gdc-footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 26px var(--pad-x, 24px); color: var(--gdc-muted); font-size: 13px; }
.gdc-footer a { color: var(--gdc-cream); font-weight: 700; text-decoration: none; }

/* ---------- celular ---------- */
@media (max-width: 900px) {
  .gdc-home__in, .gdc-home[data-state] .gdc-home__in { grid-template-columns: 1fr; }
  .gdc-hosts { grid-template-columns: 1fr; }
  .gdc-staff { grid-template-columns: 1fr; }
  .gdc-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; }
  .gdc-gallery a:nth-child(6n + 1) { grid-column: span 2; grid-row: span 1; }
  .gdc-clips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .gdc-chip { top: 14px; right: auto; left: 50%; transform: translateX(-50%); animation: none; width: max-content; max-width: calc(100% - 28px); }
  .gdc-chip__text span { max-width: 52vw; }
  .gdc-count__cell { min-width: 0; flex: 1; }
  .gdc-actions .gdc-btn { flex: 1 1 100%; justify-content: center; }
  .gdc-actions .gdc-link { margin: 6px auto 0; }
  .gdc-staff > div { grid-template-columns: 1fr; gap: 4px; }
  .gdc-bar nav a:not(.gdc-bar__cta) { display: none; }
  .gdc-hero { min-height: 78svh; }
}
@media (prefers-reduced-motion: reduce) {
  .gdc-dot, .gdc-chip, .gdc-hero__bg img { animation: none; }
}
