/* ==========================================================================
   Pull Party · tema neón holográfico
   ========================================================================== */

:root {
  --bg: #04060d;
  --bg-2: #070b17;
  --card: #0a1222;
  --card-2: #0e1830;
  --line: rgba(120, 200, 255, 0.12);
  --line-2: rgba(120, 200, 255, 0.28);
  --text: #eaf5ff;
  --muted: #9fb2cf;
  --dim: #6c80a1;
  --ink: #04060d;
  --accent: #27e6ff;
  --accent-2: #ff2bb5;
  --violet: #8f6bff;
  --gold: #ffd23f;
  --mint: #3dffb5;
  --red: #ff4d6d;
  --neon: linear-gradient(100deg, #27e6ff, #7d7bff 50%, #ff2bb5);
  --c-pokemon: #ffd23f;
  --c-deportes: #3dffb5;
  --c-entretenimiento: #ff5fd2;
  --c-tcg: #a98bff;
  --font-d: "Chakra Petch", "Arial Narrow", system-ui, sans-serif;
  --font-b: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 12px;
  --r-lg: 18px;
  --nav: 68px;
  --wrap: 1200px;
}

/* Color e ilustración de cada sección: los heredan tarjetas, etiquetas, portadas
   y fondos. Las ilustraciones (--art-*) las pone el servidor en <body>. */
.tag--pokemon,
.cover--pokemon,
[data-cat="pokemon"] {
  --c: var(--c-pokemon);
  --art: var(--art-pokemon);
}
.tag--deportes,
.cover--deportes,
[data-cat="deportes"] {
  --c: var(--c-deportes);
  --art: var(--art-deportes);
}
.tag--entretenimiento,
.cover--entretenimiento,
[data-cat="entretenimiento"] {
  --c: var(--c-entretenimiento);
  --art: var(--art-entretenimiento);
}
.tag--tcg,
.cover--tcg,
[data-cat="tcg"] {
  --c: var(--c-tcg);
  --art: var(--art-tcg);
}

/* Transición entre páginas: la carta del deck se transforma en la de su sección. */
@view-transition {
  navigation: auto;
}
::view-transition-group(*) {
  animation-duration: 0.55s;
  animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.6 var(--font-b);
  -webkit-font-smoothing: antialiased;
}

/* Luces de neón y cuadrícula de fondo */
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
body::before {
  background:
    radial-gradient(50% 42% at 8% 0%, rgba(39, 230, 255, 0.15), transparent 70%),
    radial-gradient(45% 45% at 100% 12%, rgba(255, 43, 181, 0.13), transparent 70%),
    radial-gradient(50% 40% at 50% 112%, rgba(143, 107, 255, 0.16), transparent 70%);
}
body::after {
  background-image:
    linear-gradient(rgba(120, 200, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 200, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000, transparent 80%);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-d);
  font-weight: 700;
  line-height: 1.05;
  text-wrap: balance;
}
h1,
h2 {
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
h2 {
  font-size: clamp(1.9rem, 4.4vw, 3.1rem);
}
p,
ul,
ol,
dl,
figure {
  margin: 0;
}
a {
  color: inherit;
}
img,
video {
  display: block;
  max-width: 100%;
}
button,
input,
select,
textarea {
  font: inherit;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}

.wrap {
  width: min(var(--wrap), 100% - 2.5rem);
  margin-inline: auto;
}
.wrap--narrow {
  --wrap: 780px;
}
.i {
  width: 1.2em;
  height: 1.2em;
  flex: none;
}
.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
}
.skip:focus {
  top: 1rem;
}
.neon-text,
.logo__word em {
  background: var(--neon);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
  animation: flow 6s linear infinite alternate;
}
@keyframes flow {
  to {
    background-position: 100% 0;
  }
}

.dot {
  display: inline-block;
  flex: none;
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  background: currentColor;
}
.dot--live {
  background: var(--red);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 77, 109, 0.7);
  }
  100% {
    box-shadow: 0 0 0 0.6em rgba(255, 77, 109, 0);
  }
}

/* ---------- Botones: placa con esquinas cortadas y resplandor ---------- */

.btn {
  --cut: 10px;
  --fill: linear-gradient(120deg, #27e6ff, #5aa5ff);
  --halo: rgba(39, 230, 255, 0.55);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.9em 1.5em;
  border: 0;
  background: none;
  color: var(--ink);
  font: 700 0.92rem/1 var(--font-d);
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  filter: drop-shadow(0 0 12px var(--halo));
  transition: transform 0.15s, filter 0.15s;
}
.btn::before,
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
.btn::before {
  background: var(--fill);
}
.btn::after {
  display: none;
}
.btn:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 0 20px var(--halo)) brightness(1.08);
}
.btn:active {
  transform: translateY(1px);
}
.btn--sm {
  --cut: 8px;
  padding: 0.72em 1.1em;
  font-size: 0.8rem;
}
.btn--lg {
  --cut: 12px;
  padding: 1.05em 1.8em;
  font-size: 0.98rem;
}
.btn--block {
  width: 100%;
}
.btn--ghost {
  --fill: var(--line-2);
  --halo: transparent;
  color: var(--text);
}
.btn--ghost::after {
  display: block;
  inset: 1.5px;
  background: #0a1222;
}
.btn--ghost:hover {
  --fill: var(--accent);
  --halo: rgba(39, 230, 255, 0.35);
}
.btn--live {
  --fill: linear-gradient(120deg, #ff2bb5, #ff6a8b);
  --halo: rgba(255, 43, 181, 0.55);
}
.btn--live .dot--live {
  background: var(--ink);
}
.btn--dark {
  --fill: var(--ink);
  --halo: transparent;
  color: #fff;
}
.btn--light {
  --fill: rgba(255, 255, 255, 0.9);
  --halo: transparent;
}
.btn[aria-disabled="true"],
.btn:disabled {
  opacity: 0.4;
  pointer-events: none;
  filter: none;
}
.linkbtn,
.backlink {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.4rem 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: 600 0.8rem/1 var(--font-d);
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}
.linkbtn:hover,
.backlink:hover {
  color: var(--accent);
}

/* ---------- Encabezado ---------- */

.topbar {
  padding: 0.4rem 1rem;
  background: var(--neon);
  color: var(--ink);
  font: 700 0.74rem/1.4 var(--font-d);
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(4, 6, 13, 0.72);
  backdrop-filter: blur(14px);
}
.nav__in {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: var(--nav);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #fff;
  font: 700 1.3rem/1 var(--font-d);
  letter-spacing: 0.06em;
  text-decoration: none;
  white-space: nowrap;
}
.logo__mark {
  width: 36px;
  height: 36px;
  flex: none;
  filter: drop-shadow(0 0 8px rgba(39, 230, 255, 0.6));
  transition: transform 0.25s;
}
.logo:hover .logo__mark {
  transform: rotate(-8deg) scale(1.08);
}
.nav__links {
  display: flex;
  gap: 1.7rem;
  margin-left: auto;
}
.nav__links a {
  color: var(--muted);
  font: 600 0.82rem/1 var(--font-d);
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.15s;
}
.nav__links a:hover {
  color: var(--accent);
}
.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.cartbtn,
.nav__toggle {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.cartbtn:hover,
.nav__toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.cartbtn__n {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 6px;
  background: var(--accent);
  color: var(--ink);
  font: 700 0.72rem/20px var(--font-d);
  text-align: center;
  box-shadow: 0 0 12px rgba(39, 230, 255, 0.7);
}
.nav__toggle,
.nav__links .nav__live {
  display: none;
}

/* ---------- Portada: el deck ---------- */

.deck__stage {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 3rem;
  overflow: hidden;
}
.deck__tint {
  position: absolute;
  inset: 0;
  background: radial-gradient(55% 60% at 74% 50%, var(--c, var(--accent)), transparent 70%);
  opacity: 0;
  pointer-events: none;
}
/* Fondo de cada sección: su ilustración desenfocada, visible al entrar a la carta */
.deck__backs {
  display: none;
}
.live .deck__backs {
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
}
.deck__back {
  position: absolute;
  inset: -50px;
  background:
    linear-gradient(90deg, rgba(4, 6, 13, 0.9), rgba(4, 6, 13, 0.5) 60%, rgba(4, 6, 13, 0.75)),
    var(--art) center 28% / cover no-repeat;
  filter: blur(22px) saturate(1.15);
  opacity: 0;
  will-change: opacity;
}
.deck__fx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.deck__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}
.deck__text {
  display: grid;
  gap: 2.5rem;
  min-width: 0;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  background: rgba(39, 230, 255, 0.06);
  color: var(--accent);
  font: 600 0.72rem/1 var(--font-d);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.deck__copy h1 {
  margin: 1.2rem 0 1.2rem;
  font-size: clamp(2rem, min(5.6vw, 10.5vh), 5.4rem);
  line-height: 0.96;
}
.deck__copy h1 .neon-text {
  display: inline-block;
  filter: drop-shadow(0 0 22px rgba(255, 43, 181, 0.45));
}
.lead {
  max-width: 34rem;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.nextlive {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  max-width: 36rem;
  margin-top: 2rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--accent);
  border-radius: 4px 12px 12px 4px;
  background: rgba(10, 18, 34, 0.7);
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: border-color 0.2s, box-shadow 0.2s;
}
a.nextlive:hover {
  border-color: var(--accent);
  box-shadow: 0 0 24px -8px var(--accent);
}
.nextlive__label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font: 600 0.7rem/1 var(--font-d);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.nextlive__title {
  margin-top: 0.3rem;
  font: 600 1.08rem/1.2 var(--font-d);
}
.nextlive__when {
  color: var(--muted);
  font-size: 0.86rem;
}
.countdown {
  display: flex;
  gap: 0.35rem;
}
.countdown div {
  min-width: 3rem;
  padding: 0.45rem 0.3rem;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  background: rgba(4, 6, 13, 0.7);
  text-align: center;
}
.countdown b {
  display: block;
  color: var(--accent);
  font: 700 1.3rem/1 var(--font-d);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 12px rgba(39, 230, 255, 0.6);
}
.countdown span {
  color: var(--dim);
  font: 600 0.58rem/1 var(--font-d);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Secciones del deck */
.chapter__num {
  color: var(--c);
  font: 600 0.78rem/1 var(--font-d);
  letter-spacing: 0.3em;
}
.chapter h2 {
  margin: 0.7rem 0 0.8rem;
  font-size: clamp(1.9rem, min(4.2vw, 10vh), 3.6rem);
  overflow-wrap: anywhere;
  text-shadow: 0 0 34px color-mix(in srgb, var(--c) 65%, transparent);
}
.chapter__blurb,
.chapter__soon {
  max-width: 31rem;
  margin-bottom: 1.3rem;
  color: var(--muted);
  font-size: 1.06rem;
}
.chapter__soon {
  padding: 0.9rem 1rem;
  border: 1px dashed var(--line-2);
  border-radius: 8px;
  font-size: 0.95rem;
}
.chapter__breaks {
  display: grid;
  gap: 0.5rem;
  max-width: 33rem;
  margin-bottom: 1.4rem;
  padding: 0;
  list-style: none;
}
.chapter__breaks a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--c);
  border-radius: 4px 10px 10px 4px;
  background: rgba(10, 18, 34, 0.72);
  text-decoration: none;
  backdrop-filter: blur(6px);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.chapter__breaks a:hover {
  border-color: var(--c);
  box-shadow: 0 0 22px -8px var(--c);
  transform: translateX(4px);
}
.chapter__breaks b {
  display: block;
  font: 600 1rem/1.25 var(--font-d);
}
.chapter__breaks small {
  color: var(--muted);
  font-size: 0.82rem;
}
.chapter__breaks em {
  color: var(--c);
  font: 700 1.08rem/1 var(--font-d);
  font-style: normal;
  white-space: nowrap;
}
.chapter__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1.4rem;
}

/* Escena: caja del deck, plataforma y cartas */
.deck__scene {
  --cw: clamp(120px, 20vw, 180px);
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.6rem 1rem;
}
.deck__base,
.deck__index,
.deck__hint {
  display: none;
}

.dcard {
  position: relative;
  display: block;
  width: var(--cw);
  aspect-ratio: 5 / 7;
  color: var(--text);
  text-decoration: none;
  container-type: inline-size;
}
.dcard__in {
  position: absolute;
  inset: 0;
  display: block;
  border-radius: 5.5cqw;
  background: linear-gradient(155deg, var(--c), #fff 46%, var(--accent-2));
  box-shadow:
    0 0 9cqw -2cqw var(--c),
    0 14cqw 16cqw -10cqw #000;
  overflow: hidden;
}
.dcard__art {
  position: absolute;
  inset: 1.5cqw;
  border-radius: 4.2cqw;
  background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--c) 38%, transparent), #070d1c 70%);
  overflow: hidden;
}
.dcard__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dcard__shine {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.6) 48%, transparent 62%),
    var(--neon);
  background-size: 260% 260%, 300% 300%;
  background-position: var(--mx, 50%) 50%, var(--mx, 50%) 50%;
  mix-blend-mode: color-dodge;
  opacity: 0.26;
  pointer-events: none;
}
.dcard__plate {
  position: absolute;
  bottom: -4.5cqw;
  left: 50%;
  padding: 2.6cqw 4.5cqw 2.3cqw;
  border: 1px solid var(--c);
  border-radius: 1.6cqw;
  background: var(--ink);
  color: var(--c);
  font: 700 6.4cqw/1 var(--font-d);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 0 5cqw -1cqw var(--c);
  transform: translateX(-50%);
}
.dcard--static {
  --cw: min(250px, 62vw);
  transform: rotate(5deg);
}

/* Con JavaScript y movimiento: escena fija que se anima con el scroll */
.live .deck {
  margin-top: calc(var(--nav) * -1);
}
.live .deck__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  padding: var(--nav) 0 0;
}
.live .deck__grid {
  height: 100%;
  padding-bottom: 4.6rem;
}
.live .deck__text {
  gap: 0;
  align-items: center;
}
.live .deck__text > * {
  grid-area: 1 / 1;
  will-change: transform, opacity;
}
.live .chapter {
  opacity: 0;
}
.live .deck__scene {
  --sh: calc(100vh - var(--nav));
  --sh: calc(100svh - var(--nav));
  --cw: min(calc(var(--sh) * 0.52), 78%);
  display: block;
  height: 100%;
  perspective: 1400px;
}
.live .deck__scene .dcard {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: calc(var(--cw) * -0.7) 0 0 calc(var(--cw) * -0.5);
  transform: scale(0.36);
  will-change: transform, opacity;
}
.live .deck__base {
  position: absolute;
  inset: 0;
  display: block;
  will-change: transform, opacity;
}
/* Tapete de juego bajo la caja, con las cuatro ilustraciones */
.deck__mat {
  position: absolute;
  top: 87%;
  left: 50%;
  width: 108%;
  aspect-ratio: 1.7 / 1;
  border-radius: 20px;
  background-image:
    linear-gradient(rgba(4, 6, 13, 0.35), rgba(4, 6, 13, 0.35)),
    var(--art-pokemon), var(--art-deportes), var(--art-entretenimiento), var(--art-tcg);
  background-repeat: no-repeat;
  background-position: 0 0, 0 0, 33.333% 0, 66.667% 0, 100% 0;
  background-size: 100% 100%, 25% 100%, 25% 100%, 25% 100%, 25% 100%;
  mask-image: radial-gradient(closest-side, #000 55%, transparent);
  transform: translate(-50%, -50%) rotateX(76deg);
}
.deck__beam {
  position: absolute;
  top: 8%;
  left: 50%;
  width: 52%;
  height: 62%;
  background: linear-gradient(180deg, transparent, rgba(39, 230, 255, 0.2));
  clip-path: polygon(0 0, 100% 0, 66% 100%, 34% 100%);
  transform: translateX(-50%);
}
.deck__rings {
  position: absolute;
  top: 86%;
  left: 50%;
  width: 72%;
  aspect-ratio: 1;
  border: 2px solid rgba(39, 230, 255, 0.85);
  border-radius: 50%;
  box-shadow:
    0 0 36px rgba(39, 230, 255, 0.7),
    inset 0 0 60px rgba(39, 230, 255, 0.3);
  transform: translate(-50%, -50%) rotateX(76deg);
  animation: ring 4s ease-in-out infinite;
}
.deck__rings::before,
.deck__rings::after {
  content: "";
  position: absolute;
  inset: 15%;
  border: 1px solid rgba(255, 43, 181, 0.8);
  border-radius: 50%;
  box-shadow: 0 0 22px rgba(255, 43, 181, 0.6);
}
.deck__rings::after {
  inset: 33%;
  border-color: rgba(39, 230, 255, 0.6);
  box-shadow: 0 0 18px rgba(39, 230, 255, 0.5);
}
@keyframes ring {
  50% {
    box-shadow:
      0 0 56px rgba(39, 230, 255, 0.95),
      inset 0 0 70px rgba(39, 230, 255, 0.45);
  }
}
.deck__box {
  position: absolute;
  top: 68%;
  left: 50%;
  display: grid;
  place-items: center;
  width: min(34%, 220px);
  aspect-ratio: 1.55 / 1;
  border: 1.5px solid var(--accent);
  border-radius: 10px;
  background: linear-gradient(180deg, #13203d, #050914);
  color: var(--accent);
  font: 700 clamp(0.7rem, 1.2vw, 0.95rem) / 1 var(--font-d);
  letter-spacing: 0.24em;
  text-shadow: 0 0 12px var(--accent);
  text-transform: uppercase;
  box-shadow:
    0 0 34px rgba(39, 230, 255, 0.4),
    inset 0 2px 0 rgba(255, 255, 255, 0.14);
  transform: translateX(-50%);
}
.deck__box::before {
  content: "";
  position: absolute;
  top: -7px;
  right: 6%;
  left: 6%;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 18px 4px var(--accent);
  filter: blur(4px);
}
.live .deck__index {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  display: flex;
  gap: 0.2rem;
  padding: 0.3rem;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: rgba(4, 6, 13, 0.75);
  backdrop-filter: blur(8px);
  transform: translateX(-50%);
}
.deck__index button {
  display: flex;
  gap: 0.5em;
  padding: 0.55rem 0.85rem;
  border: 0;
  border-radius: 6px;
  background: none;
  color: var(--muted);
  font: 600 0.7rem/1 var(--font-d);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
}
.deck__index button b {
  color: var(--dim);
}
.deck__index button:hover {
  color: var(--text);
}
.deck__index button.is-on {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 0 16px rgba(39, 230, 255, 0.6);
}
.deck__index button.is-on b {
  color: var(--ink);
}
.live .deck__hint {
  position: absolute;
  bottom: 5.6rem;
  left: 50%;
  display: block;
  color: var(--accent);
  font: 600 0.7rem/1 var(--font-d);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translateX(-50%);
  animation: bob 1.8s ease-in-out infinite;
}
.deck__hint::after {
  content: "↓";
  margin-left: 0.6em;
}
@keyframes bob {
  50% {
    translate: 0 6px;
  }
}

/* ---------- Cinta ---------- */

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line-2);
  background: rgba(39, 230, 255, 0.05);
}
.marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  padding: 0.85rem 0;
  font: 600 0.95rem/1 var(--font-d);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  animation: marquee 40s linear infinite;
}
.marquee__track > * {
  margin-right: 1.6rem;
}
.marquee i {
  color: var(--accent-2);
  font-style: normal;
  text-shadow: 0 0 10px var(--accent-2);
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Secciones ---------- */

.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}
.section--tight {
  padding-top: 0;
}
.section--flush {
  padding-top: 2rem;
}
.section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.2rem;
}
.section__head--center {
  justify-content: center;
  text-align: center;
}
.kicker {
  display: inline-block;
  margin-bottom: 0.7rem;
  color: var(--accent-2);
  font: 600 0.74rem/1 var(--font-d);
  letter-spacing: 0.26em;
  text-transform: uppercase;
}
.more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent);
  font: 600 0.82rem/1 var(--font-d);
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
.more .i {
  transition: transform 0.15s;
}
.more:hover .i {
  transform: translateX(4px);
}

.pagehead {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 1rem;
}
.pagehead--plain {
  padding-bottom: 1.6rem;
}
.pagehead h1 {
  margin-bottom: 0.8rem;
  font-size: clamp(2.3rem, 6vw, 4.2rem);
}
.pagehead[data-cat] {
  position: relative;
  isolation: isolate;
  padding-bottom: 2.5rem;
  overflow: hidden;
}
.pagehead[data-cat]::before {
  content: "";
  position: absolute;
  inset: -50px;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 6, 13, 0.9), rgba(4, 6, 13, 0.5) 60%, rgba(4, 6, 13, 0.75)),
    var(--art) center 28% / cover no-repeat;
  filter: blur(22px) saturate(1.15);
  mask-image: linear-gradient(180deg, #000 55%, transparent 92%);
}
.pagehead[data-cat] h1 {
  text-shadow: 0 0 34px color-mix(in srgb, var(--c) 65%, transparent);
}
.pagehead[data-cat] .kicker {
  color: var(--c);
}
.pagehead__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3rem;
  align-items: center;
}
.pagehead__card {
  padding: 0 2rem 1.5rem;
}
.backlink {
  display: flex;
  width: max-content;
  margin-bottom: 1.4rem;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.6rem;
}
.chip {
  padding: 0.55rem 1rem;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  color: var(--muted);
  font: 600 0.78rem/1 var(--font-d);
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}
.chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.chip.is-on {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 0 16px rgba(39, 230, 255, 0.5);
}

.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  padding: 3.5rem 1.5rem;
  border: 1px dashed var(--line-2);
  border-radius: var(--r-lg);
  background: rgba(10, 18, 34, 0.5);
  text-align: center;
}
.empty h1,
.empty h3 {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  text-transform: uppercase;
}
.empty p {
  max-width: 30rem;
  margin-bottom: 0.6rem;
  color: var(--muted);
}
.empty .hero__cta {
  justify-content: center;
  margin-top: 0;
}
.empty--page {
  margin: 4rem 0;
}

/* ---------- Tarjetas de break ---------- */

.bgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.4rem;
}
.bcard {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: rgba(10, 18, 34, 0.8);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.bcard:hover {
  transform: translateY(-5px);
  border-color: var(--c);
  box-shadow: 0 0 34px -10px var(--c);
}
.bcard__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--card-2);
  text-decoration: none;
  overflow: hidden;
}
.cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cover--gen {
  display: flex;
  align-items: flex-end;
  padding: 0.9rem 1.1rem;
  background:
    linear-gradient(180deg, rgba(4, 6, 13, 0.1) 30%, rgba(4, 6, 13, 0.94)),
    var(--art) center 24% / cover no-repeat,
    #060b18;
  color: var(--text);
  font: 600 0.78rem/1.3 var(--font-d);
  letter-spacing: 0.1em;
  text-shadow: 0 1px 8px #000;
  text-transform: uppercase;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.bcard:hover .cover--gen {
  transform: scale(1.06);
}

.tag {
  display: inline-block;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--c, var(--accent));
  border-radius: 4px;
  background: rgba(4, 6, 13, 0.82);
  color: var(--c, var(--accent));
  font: 700 0.66rem/1 var(--font-d);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.bcard__media .tag {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
}
.livebadge {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--red);
  border-radius: 4px;
  background: rgba(4, 6, 13, 0.85);
  color: #fff;
  font: 700 0.66rem/1 var(--font-d);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.bcard__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.15rem 1.2rem 1.25rem;
}
.bcard__when {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 600;
}
.bcard h3 {
  font-size: 1.3rem;
  line-height: 1.15;
}
.bcard h3 a {
  text-decoration: none;
}
.bcard h3 a:hover {
  color: var(--c);
}
.bcard__format {
  color: var(--muted);
  font-size: 0.9rem;
}
.meter {
  height: 6px;
  margin-top: auto;
  border-radius: 99px;
  background: rgba(120, 200, 255, 0.12);
}
.meter span {
  display: block;
  width: var(--p);
  height: 100%;
  border-radius: inherit;
  background: var(--neon);
  box-shadow: 0 0 12px rgba(39, 230, 255, 0.7);
}
.bcard__stock {
  color: var(--muted);
  font-size: 0.85rem;
}
.bcard__stock b {
  color: var(--text);
}
.bcard__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.5rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}
.price {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.price small {
  color: var(--dim);
  font: 600 0.62rem/1 var(--font-d);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.price b {
  font: 700 1.5rem/1.2 var(--font-d);
}

/* ---------- Tienda ---------- */

.bgrid--shop {
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}
.chips--brand {
  align-items: center;
  margin-top: 0.7rem;
}
.chips__label {
  margin-right: 0.3rem;
  color: var(--dim);
  font: 600 0.7rem/1 var(--font-d);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.shop__brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 2.6rem 0 1.2rem;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}
.shop__brand:first-child {
  margin-top: 0;
}
.shop__brand::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line-2), transparent);
}
.shop__brand span {
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--accent);
  border-radius: 4px;
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}
.bcard--product .bcard__media {
  aspect-ratio: 4 / 5;
}
.bcard--product .bcard__foot {
  margin-top: auto;
}
.ppage {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: start;
}
.ppage__gallery {
  position: sticky;
  top: 88px;
}
.ppage__thumbs {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.8rem;
}
.ppage__thumbs button {
  display: grid;
  gap: 0.3rem;
  width: 84px;
  padding: 0.3rem;
  border: 1.5px solid var(--line-2);
  border-radius: 10px;
  background: #050912;
  color: var(--muted);
  font: 600 0.66rem/1 var(--font-d);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}
.ppage__thumbs button.is-on {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 16px -6px var(--accent);
}
.ppage__thumbs img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  object-fit: cover;
}
.ppage__media {
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: #050912;
  box-shadow: 0 0 60px -30px var(--c);
  overflow: hidden;
}
.ppage__media img.cover {
  object-fit: contain;
}
.ppage__info h1 {
  margin: 0.9rem 0 0.5rem;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
}
.ppage__price {
  margin-top: 1rem;
  color: var(--accent);
  font: 700 clamp(2rem, 5vw, 2.8rem) / 1 var(--font-d);
  text-shadow: 0 0 24px rgba(39, 230, 255, 0.45);
}
.ppage__stock {
  margin-top: 0.5rem;
  color: var(--muted);
  font-weight: 600;
}
.ppage__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}
.ppage__note {
  min-height: 1.4em;
  margin-top: 0.6rem;
  color: var(--mint);
  font-size: 0.9rem;
  font-weight: 600;
}

/* ---------- Hoja de precios (herramienta local) ---------- */

.pricing {
  padding-bottom: 6rem;
}
.pricing__list {
  display: grid;
  gap: 1rem;
}
.prow {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 1.2rem;
  padding: 1rem;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: rgba(10, 18, 34, 0.8);
}
.prow.is-done {
  opacity: 0.6;
}
.prow__imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  align-content: start;
}
.prow__imgs img {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  background: #050912;
  object-fit: cover;
}
.prow .fields {
  grid-template-columns: 1.2fr 1fr 0.9fr 0.6fr;
}
.pricing__list .shop__brand {
  margin: 1.4rem 0 0.2rem;
}
.prow input[name="price"] {
  border-color: var(--accent);
  color: var(--accent);
  font: 700 1.1rem/1.2 var(--font-d);
}
.prow__market {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.9rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--mint);
  border-radius: 4px 10px 10px 4px;
  background: rgba(61, 255, 181, 0.05);
}
.prow__market--media {
  border-left-color: var(--gold);
  background: rgba(255, 210, 63, 0.05);
}
.prow__market--baja {
  border-left-color: var(--accent-2);
  background: rgba(255, 43, 181, 0.05);
}
.prow__ref {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.7rem;
}
.prow__ref b {
  font: 700 0.98rem/1.3 var(--font-d);
}
.prow__ref span {
  color: var(--muted);
  font-weight: 600;
}
.prow__ref i {
  padding: 0.15rem 0.45rem;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  color: var(--muted);
  font: 600 0.62rem/1.3 var(--font-d);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.prow__basis {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.82rem;
}
.prow__basis a {
  color: var(--accent);
  white-space: nowrap;
}
.prow__file {
  margin-top: 0.6rem;
  color: var(--dim);
  font-size: 0.8rem;
  overflow-wrap: anywhere;
}
.pricing__bar {
  position: sticky;
  bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.9rem 1.2rem;
  border: 1px solid var(--accent);
  border-radius: var(--r);
  background: rgba(14, 24, 48, 0.95);
  color: var(--muted);
  box-shadow: 0 0 40px -18px var(--accent);
}
.pricing__bar b {
  color: var(--text);
  font-family: var(--font-d);
}
@media (max-width: 760px) {
  .prow {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.8rem;
  }
  .prow__imgs {
    max-width: 260px;
  }
  .prow__market {
    flex-direction: column;
    align-items: flex-start;
  }
  .prow .fields {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- Pasos y formatos ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  padding: 0;
  list-style: none;
}
.step,
.format {
  padding: 1.5rem 1.3rem;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: rgba(10, 18, 34, 0.75);
}
.step__n,
.format__ic {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1.1rem;
  border: 1.5px solid var(--accent);
  border-radius: 8px;
  color: var(--accent);
  font: 700 1.1rem/1 var(--font-d);
  letter-spacing: 0.06em;
  box-shadow:
    0 0 20px -6px var(--accent),
    inset 0 0 16px -8px var(--accent);
}
.step:nth-child(even) .step__n {
  border-color: var(--accent-2);
  color: var(--accent-2);
  box-shadow:
    0 0 20px -6px var(--accent-2),
    inset 0 0 16px -8px var(--accent-2);
}
.step h3,
.format h3 {
  margin-bottom: 0.45rem;
  font-size: 1.25rem;
}
.step p,
.format p {
  color: var(--muted);
  font-size: 0.95rem;
}
.formats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.format__ic {
  font-size: 1.2rem;
}

/* ---------- Galería: fotos y clips ---------- */

.hits {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1rem;
}
.hit {
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: var(--card);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.hit:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 0 28px -10px var(--accent);
}
.hit img,
.hit video {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.hit figcaption {
  display: flex;
  flex-direction: column;
  padding: 0.7rem 0.8rem;
  font-size: 0.86rem;
}
.hit figcaption b {
  font: 600 0.95rem/1.3 var(--font-d);
}
.hit figcaption span {
  color: var(--muted);
}

/* ---------- Quiénes somos ---------- */

.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
.about__text {
  max-width: 34rem;
  margin: 1rem 0 1.4rem;
  color: var(--muted);
  font-size: 1.08rem;
}
.checks {
  display: grid;
  gap: 0.6rem;
  padding: 0;
  list-style: none;
}
.checks li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-weight: 500;
}
.checks .i {
  margin-top: 0.2em;
  color: var(--mint);
}
.trust {
  display: grid;
  gap: 0.9rem;
}
.trust__item {
  display: flex;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--accent);
  border-radius: 4px 12px 12px 4px;
  background: rgba(10, 18, 34, 0.75);
}
.trust__item:nth-child(2) {
  border-left-color: var(--accent-2);
}
.trust__item:nth-child(3) {
  border-left-color: var(--violet);
}
.trust__item .i {
  width: 26px;
  height: 26px;
  color: var(--accent);
}
.trust__item b {
  display: block;
  font: 600 1.08rem/1.3 var(--font-d);
}
.trust__item span {
  color: var(--muted);
  font-size: 0.92rem;
}

/* ---------- Preguntas ---------- */

.faq {
  display: grid;
  gap: 0.6rem;
}
.faq details {
  padding: 0 1.2rem;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: rgba(10, 18, 34, 0.75);
}
.faq details[open] {
  border-color: var(--accent);
  box-shadow: 0 0 26px -12px var(--accent);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 0;
  font: 600 1.05rem/1.3 var(--font-d);
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq__plus {
  position: relative;
  flex: none;
  width: 16px;
  height: 16px;
}
.faq__plus::before,
.faq__plus::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 16px;
  height: 2px;
  background: var(--accent);
  transition: transform 0.2s;
}
.faq__plus::after {
  transform: rotate(90deg);
}
.faq details[open] .faq__plus::after {
  transform: rotate(0);
}
.faq details p {
  max-width: 62ch;
  padding-bottom: 1.2rem;
  color: var(--muted);
}

/* ---------- Llamado final ---------- */

.cta {
  padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem;
  border-radius: 22px;
  background: var(--neon);
  color: var(--ink);
  text-align: center;
  box-shadow: 0 0 70px -20px rgba(125, 123, 255, 0.9);
}
.cta h2 {
  font-size: clamp(2rem, 5.6vw, 3.8rem);
}
.cta p {
  margin-top: 0.6rem;
  font-size: 1.12rem;
  font-weight: 500;
}
.cta .hero__cta {
  justify-content: center;
}

/* ---------- Pie ---------- */

.foot {
  margin-top: 2rem;
  padding: 3.5rem 0 2rem;
  border-top: 1px solid var(--line-2);
  background: var(--bg-2);
}
.foot__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2rem;
}
.foot__brand p {
  max-width: 22rem;
  margin: 0.9rem 0 1rem;
  color: var(--muted);
}
.foot h4 {
  margin-bottom: 0.9rem;
  color: var(--accent);
  font: 600 0.72rem/1 var(--font-d);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.foot__grid > div > a:not(.logo) {
  display: block;
  padding: 0.25rem 0;
  color: var(--muted);
  text-decoration: none;
}
.foot__grid > div > a:not(.logo):hover {
  color: var(--text);
}
.social {
  display: flex;
  gap: 0.6rem;
}
.social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
}
.social a:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.foot__legal {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 0.8rem;
}

/* ---------- Página de break ---------- */

.bpage {
  padding: 1.8rem 0 5rem;
}
.crumbs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
  color: var(--dim);
  font-size: 0.88rem;
}
.crumbs a {
  color: var(--muted);
}
.bpage__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  grid-template-areas: "intro picker" "details picker";
  grid-template-rows: auto 1fr;
  gap: 0 2.5rem;
  align-items: start;
}
.bpage__intro {
  grid-area: intro;
}
.bpage__details {
  grid-area: details;
}
.bpage__media {
  position: relative;
  aspect-ratio: 16 / 10;
  margin-bottom: 1.3rem;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.bpage__media .cover--gen {
  padding: 1.2rem 1.4rem;
  font-size: 0.95rem;
}
.bpage__intro h1 {
  margin: 0.9rem 0 0.5rem;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
}
.bpage__product {
  color: var(--muted);
  font-size: 1.06rem;
}
.facts {
  margin: 1.5rem 0;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: rgba(10, 18, 34, 0.75);
  list-style: none;
}
.facts li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 1rem;
}
.facts li + li {
  border-top: 1px solid var(--line);
}
.facts .i {
  color: var(--accent);
}
.facts small {
  display: block;
  color: var(--dim);
  font: 600 0.62rem/1.6 var(--font-d);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.facts b {
  font-weight: 600;
}
.facts b::first-letter {
  text-transform: uppercase;
}
.prose p {
  margin-bottom: 1em;
  color: var(--muted);
  white-space: pre-line;
}

.picker {
  grid-area: picker;
  position: sticky;
  top: 88px;
  padding: 1.4rem;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: rgba(10, 18, 34, 0.85);
  box-shadow: 0 0 60px -30px var(--accent);
}
.picker__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.3rem 1rem;
}
.picker__head h2 {
  font-size: 1.5rem;
}
.picker__head p {
  color: var(--muted);
  font-size: 0.92rem;
}
.picker__head p b {
  color: var(--mint);
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  margin: 0.9rem 0 1.1rem;
  padding: 0;
  color: var(--muted);
  font-size: 0.82rem;
  list-style: none;
}
.sw {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 0.4rem;
  border: 1.5px solid var(--line-2);
  border-radius: 4px;
  vertical-align: -2px;
}
.sw--mine {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}
.sw--taken {
  border-style: dashed;
  opacity: 0.6;
}
.spots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 0.5rem;
  max-height: min(56vh, 520px);
  margin: -4px;
  padding: 4px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
}
.spots--wide {
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}
.spot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-height: 66px;
  padding: 0.5rem 0.4rem;
  border: 1.5px solid var(--line-2);
  border-radius: 8px;
  background: rgba(39, 230, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.12s, background 0.12s, border-color 0.12s, box-shadow 0.12s;
}
.spot__label {
  font: 700 1.15rem/1 var(--font-d);
}
.spot__price {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 600;
}
.spots--wide .spot {
  flex-direction: row;
  justify-content: space-between;
  gap: 0.8rem;
  min-height: 52px;
  padding: 0.7rem 0.9rem;
}
.spots--wide .spot__label {
  font-size: 0.98rem;
  text-align: left;
}
.spots--wide .spot__price {
  font-size: 0.85rem;
  white-space: nowrap;
}
.spot:hover:not(:disabled) {
  border-color: var(--accent);
  box-shadow: 0 0 18px -6px var(--accent);
  transform: translateY(-2px);
}
.spot[aria-pressed="true"] {
  border-color: var(--accent);
  background: linear-gradient(120deg, #27e6ff, #5aa5ff);
  color: var(--ink);
  box-shadow: 0 0 20px -2px rgba(39, 230, 255, 0.75);
}
.spot[aria-pressed="true"] .spot__price {
  color: var(--ink);
}
.spot:disabled {
  border-style: dashed;
  opacity: 0.38;
  cursor: not-allowed;
}
.spot:disabled .spot__label {
  text-decoration: line-through;
}
.picker__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.2rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line-2);
}
.picker__bar small {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
}
.picker__bar b {
  font: 700 1.7rem/1.15 var(--font-d);
}

/* ---------- Checkout y pedido ---------- */

.checkout {
  padding-bottom: 5rem;
}
.checkout__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 2rem;
  align-items: start;
}
.checkout__form {
  display: grid;
  gap: 1.4rem;
}
.panel {
  min-width: 0;
  margin: 0;
  padding: 1.5rem;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: rgba(10, 18, 34, 0.8);
}
.panel legend,
.panel h2 {
  float: left;
  width: 100%;
  margin-bottom: 1rem;
  padding: 0;
  font: 700 1.2rem/1.2 var(--font-d);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.panel legend + *,
.panel h2 + * {
  clear: both;
}
.panel p + p {
  margin-top: 0.6rem;
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}
.field--full {
  grid-column: 1 / -1;
}
.field em {
  color: var(--dim);
  font-style: normal;
  font-weight: 400;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  padding: 0.8rem 0.9rem;
  border: 1.5px solid var(--line-2);
  border-radius: 8px;
  background: #050912;
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
}
.field input::placeholder {
  color: var(--dim);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(39, 230, 255, 0.18);
}
.field.is-bad input,
.field.is-bad select {
  border-color: var(--red);
}
.field__err {
  color: #ff8fa3;
  font-size: 0.82rem;
  font-weight: 500;
}
.choices {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1.2rem;
}
.choice {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem;
  border: 1.5px solid var(--line-2);
  border-radius: 10px;
  cursor: pointer;
}
.choice:has(input:checked) {
  border-color: var(--accent);
  background: rgba(39, 230, 255, 0.07);
  box-shadow: 0 0 22px -10px var(--accent);
}
.choice:has(input:disabled) {
  opacity: 0.45;
  cursor: not-allowed;
}
.choice input {
  flex: none;
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}
.choice__body {
  display: flex;
  flex: 1;
  flex-direction: column;
}
.choice__body small {
  color: var(--muted);
}
.choice__price {
  font: 700 1.05rem/1 var(--font-d);
  white-space: nowrap;
}
.summary {
  position: sticky;
  top: 88px;
  padding: 1.5rem;
  border: 1px solid var(--accent);
  border-radius: var(--r-lg);
  background: rgba(14, 24, 48, 0.9);
  box-shadow: 0 0 50px -24px var(--accent);
}
.summary h2 {
  margin-bottom: 0.6rem;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
}
.summary__items {
  display: grid;
  padding: 0;
  list-style: none;
}
.summary__items li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}
.summary__items li > div {
  flex: 1;
  min-width: 0;
}
.summary__items b {
  display: block;
}
.summary__items small {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
}
.summary__items span {
  font-weight: 600;
  white-space: nowrap;
}
.rm {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 6px;
  background: rgba(120, 200, 255, 0.1);
  color: var(--muted);
  cursor: pointer;
}
.rm:hover {
  background: var(--red);
  color: #fff;
}
.totals {
  display: grid;
  gap: 0.45rem;
  margin: 1rem 0;
}
.totals div {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
}
.totals dd {
  margin: 0;
  color: var(--text);
  font-weight: 600;
}
.totals .totals__total {
  padding-top: 0.7rem;
  border-top: 1px solid var(--line-2);
  color: var(--text);
  font: 700 1.4rem/1.2 var(--font-d);
  text-transform: uppercase;
}
.totals__total dd {
  color: var(--accent);
  font-weight: 700;
}
.accept {
  display: flex;
  gap: 0.6rem;
  margin: 1rem 0;
  color: var(--muted);
  font-size: 0.88rem;
}
.accept input {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 0.15em;
  accent-color: var(--accent);
}
.accept a {
  color: var(--text);
}
.accept.is-bad {
  color: #ff8fa3;
}
.formerror {
  margin-bottom: 0.8rem;
  color: #ff8fa3;
  font-size: 0.92rem;
  font-weight: 600;
}
.summary__note {
  margin-top: 0.9rem;
  color: var(--dim);
  font-size: 0.8rem;
  text-align: center;
}
.notice {
  margin: 0.9rem 0;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  background: rgba(120, 200, 255, 0.07);
  color: var(--muted);
  font-size: 0.9rem;
}
.notice--warn {
  border: 1px solid rgba(255, 154, 61, 0.4);
  background: rgba(255, 154, 61, 0.1);
  color: #ffc994;
}

.order {
  display: grid;
  gap: 1.4rem;
  padding: 3rem 0 5rem;
}
.order__confetti {
  position: fixed;
  inset: 0;
  z-index: 60;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.order__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  padding: 2.5rem 1.5rem;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: rgba(10, 18, 34, 0.85);
  text-align: center;
}
.order__head .kicker {
  margin: 0;
}
.order__head h1 {
  font-size: clamp(1.9rem, 5.6vw, 3.2rem);
}
.order__head .btn {
  margin-top: 0.6rem;
}
.order__head--paid {
  border: 0;
  background: var(--neon);
  color: var(--ink);
  box-shadow: 0 0 70px -20px rgba(125, 123, 255, 0.9);
}
.order__head--paid .kicker,
.order__head--paid .lead {
  color: var(--ink);
}
.order__head--paid .lead {
  font-weight: 500;
}
.order__timer {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: rgba(39, 230, 255, 0.08);
  color: var(--accent);
  font-weight: 600;
}
.order__timer b {
  font: 700 1.05rem/1 var(--font-d);
  font-variant-numeric: tabular-nums;
}
.manual {
  width: 100%;
  margin-top: 0.8rem;
  background: rgba(4, 6, 13, 0.6);
  text-align: left;
}
.bank {
  display: grid;
  gap: 0.4rem;
  margin: 1rem 0;
}
.bank div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  background: #050912;
}
.bank dt {
  color: var(--muted);
}
.bank dd {
  margin: 0;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.pill {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: 4px;
  background: var(--mint);
  color: var(--ink);
  font: 700 0.76rem/1.4 var(--font-d);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.order__ship {
  margin-top: 0.8rem;
}
.muted {
  margin-top: 0.8rem;
  color: var(--dim);
  font-size: 0.88rem;
}

.resume {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
}

/* ---------- Textos legales ---------- */

.prosepage {
  padding: 3.5rem 0 5rem;
}
.prosepage h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(2rem, 5.4vw, 3.3rem);
}
.prosepage h2 {
  margin: 2rem 0 0.5rem;
  color: var(--accent);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
}
.prosepage p {
  color: var(--muted);
}
.prosepage a {
  color: var(--accent);
}

/* ---------- Aparición al hacer scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--d, 0s);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsivo ---------- */

@media (max-width: 1000px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .foot__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .nav__in {
    gap: 0.8rem;
  }
  .nav__links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0.4rem 1.25rem 1rem;
    border-bottom: 1px solid var(--line-2);
    background: var(--bg-2);
  }
  .nav__links.is-open {
    display: flex;
  }
  .nav__links a {
    padding: 1.05rem 0;
    border-bottom: 1px solid var(--line);
    color: var(--text);
    font-size: 0.95rem;
  }
  .nav__links .nav__live {
    display: block;
    color: var(--accent-2);
  }
  .nav__actions {
    margin-left: auto;
  }
  .nav__toggle {
    display: grid;
  }
  .about__grid,
  .checkout__grid,
  .pagehead__grid,
  .ppage {
    grid-template-columns: minmax(0, 1fr);
  }
  .ppage {
    gap: 1.5rem;
  }
  .ppage__gallery {
    position: static;
    max-width: 420px;
  }
  .pagehead__card {
    display: none;
  }
  .formats {
    grid-template-columns: 1fr;
  }
  .bpage__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "intro" "picker" "details";
    gap: 1.5rem;
  }
  .picker,
  .summary {
    position: static;
  }
  .spots {
    max-height: none;
  }
  .picker__bar {
    position: sticky;
    bottom: 0;
    margin: 1rem -1.4rem -1.4rem;
    padding: 0.9rem 1.4rem;
    border-radius: 0 0 var(--r-lg) var(--r-lg);
    background: var(--card-2);
  }
  .facts {
    margin-top: 0;
  }
}

/* Pantallas bajas (laptop chica, ventana partida): el deck se compacta */
@media (max-height: 640px) {
  .live .deck__copy .nextlive,
  .live .deck__hint,
  .live .chapter .linkbtn {
    display: none;
  }
  .live .deck__copy h1 {
    margin: 0.7rem 0;
  }
  .live .deck__copy .lead,
  .live .chapter__blurb {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    font-size: 0.92rem;
    overflow: hidden;
  }
  .live .deck__copy .hero__cta {
    gap: 0.6rem;
    margin-top: 1rem;
  }
  .live .deck__copy .btn--lg {
    --cut: 9px;
    padding: 0.9em 1.1em;
    font-size: 0.78rem;
  }
  .live .chapter h2 {
    margin: 0.3rem 0 0.4rem;
  }
  .live .chapter__blurb {
    -webkit-line-clamp: 2;
    margin-bottom: 0.7rem;
  }
  .live .chapter__breaks {
    margin-bottom: 0.8rem;
  }
  .live .chapter__breaks li:nth-child(n + 2) {
    display: none;
  }
  .live .chapter__breaks a {
    padding: 0.5rem 0.8rem;
  }
  .live .deck__grid {
    gap: 1rem;
  }
}

/* Celular en vertical: la escena va arriba y el texto abajo */
@media (max-width: 640px) {
  .deck__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .deck__scene {
    order: -1;
  }
  .live .deck__grid {
    grid-template-rows: 44% minmax(0, 1fr);
    gap: 0;
    align-items: start;
    padding-bottom: 5.4rem;
  }
  .live .deck__scene {
    --sh: calc((100svh - var(--nav)) * 0.44);
    --cw: min(calc(var(--sh) * 0.6), 60%);
  }
  .live .deck__text {
    align-items: start;
    padding-top: 1.6rem;
  }
  .deck__copy h1 {
    margin: 0.8rem 0;
    font-size: clamp(2rem, 9.4vw, 3rem);
  }
  .deck__copy .lead {
    font-size: 0.95rem;
  }
  .deck__copy .hero__cta {
    margin-top: 1rem;
  }
  .chapter h2 {
    margin: 0.4rem 0 0.5rem;
    font-size: clamp(1.7rem, 8.2vw, 2.8rem);
  }
  .chapter__blurb {
    margin-bottom: 0.9rem;
    font-size: 0.95rem;
  }
  .chapter__breaks {
    margin-bottom: 1rem;
  }
  .chapter__breaks a {
    padding: 0.55rem 0.8rem;
  }
  .live .deck__copy .nextlive,
  .live .deck__hint,
  .live .chapter .linkbtn {
    display: none;
  }
}

@media (max-width: 560px) {
  .hide-s,
  .deck__index button span {
    display: none;
  }
  .deck__index button b {
    color: inherit;
  }
  .logo {
    font-size: 1.05rem;
  }
  .logo__mark {
    width: 30px;
    height: 30px;
  }
  .section__head {
    flex-direction: column;
    align-items: flex-start;
  }
  .section__head--center {
    align-items: center;
  }
  .steps,
  .fields,
  .foot__grid {
    grid-template-columns: 1fr;
  }
  .nav__actions .btn--live {
    display: none;
  }
  .hero__cta .btn {
    flex: 1 1 auto;
  }
  .deck__copy .hero__cta {
    flex-wrap: nowrap;
    gap: 0.6rem;
  }
  .deck__copy .hero__cta .btn {
    padding: 1em 0.8em;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
  }
  .deck__copy .lead,
  .chapter__blurb {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
  }
  .live .chapter__breaks li:nth-child(n + 2) {
    display: none;
  }
  .panel,
  .summary {
    padding: 1.15rem;
  }
  .bgrid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  @view-transition {
    navigation: none;
  }
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
