/* La Chica Astral — hoja de estilo única
   Tema: María Daniela y su Sonido Lasser (electroclash kitsch, retro-pop 80s):
   magenta neón, cian, amarillo neón, aire cromado y glamour juguetón. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Josefin+Sans:wght@400;600;700&family=Poiret+One&display=swap');

:root {
  --bg: #14052b;
  --bg-2: #1d0a3d;
  --card: #26124e;
  --card-2: #2f1760;
  --acento: #ff2d95;            /* magenta neón (primario) */
  --acento-fuerte: #e91e8c;
  --cian: #22e0ff;
  --amarillo: #ffe14d;
  --morado: #a855f7;
  --text: #fff6fe;
  --muted: #cbb4ec;             /* lavanda */
  --border: rgba(255, 45, 149, 0.4);
  --border-soft: rgba(255, 255, 255, 0.14);
  --danger: #ff6b8a;
  --ok: #a5d8b0;
  --fuego: #e8a06b;
  --tierra: #a8c486;
  --aire: #8fb8e8;
  --agua: #b39ddb;
  --display: 'Poiret One', 'Josefin Sans', sans-serif;
  --titulo: 'Josefin Sans', 'Trebuchet MS', sans-serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 14px;
  --shadow: 0 12px 40px rgba(20, 0, 40, 0.6), 0 0 26px rgba(255, 45, 149, 0.1);
  --max: 68rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 1rem/1.65 var(--sans);
  color: var(--text);
  background:
    radial-gradient(1100px 500px at 80% -10%, rgba(168, 85, 247, 0.22), transparent 60%),
    radial-gradient(700px 420px at 8% 12%, rgba(255, 45, 149, 0.12), transparent 55%),
    radial-gradient(900px 520px at 50% 115%, rgba(34, 224, 255, 0.08), transparent 60%),
    var(--bg);
  min-height: 100vh;
}
/* VHS: líneas de escaneo sutiles sobre toda la página (bajo el header z-30) */
body::after {
  content: '';
  position: fixed; inset: 0;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(transparent 0 2px, rgba(255, 255, 255, 0.02) 2px 3px);
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--acento); text-decoration: none; }
a:hover { color: var(--cian); }
:focus-visible { outline: 2px solid var(--acento); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { line-height: 1.18; margin: 0 0 0.6em; }
h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.4rem, 6.4vw, 3.9rem);
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, var(--acento), var(--morado), var(--cian));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 18px rgba(255, 45, 149, 0.35));
}
h2, h3 { font-family: var(--titulo); font-weight: 600; }
h2 { font-size: clamp(1.45rem, 3.4vw, 2rem); }
h2::before { content: '✦'; color: var(--acento); margin-right: 0.5em; }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.firma { font-family: var(--titulo); font-style: italic; color: var(--acento); }
.suave { color: var(--muted); }

/* Header */
.sitio-header { padding: 1.1rem 0; border-bottom: 1px solid var(--border-soft); background: rgba(20, 5, 43, 0.78); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 30; }
.sitio-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { font-family: var(--display); font-size: 1.35rem; font-weight: 400; color: var(--text); display: flex; align-items: center; gap: 0.55rem; white-space: nowrap; }
.logo .estrella { color: var(--amarillo); font-size: 1.05rem; }
.nav a { color: var(--muted); font-family: var(--titulo); font-size: 0.95rem; margin-left: 1.1rem; display: inline-flex; align-items: center; min-height: 44px; }
.nav a:hover { color: var(--text); }

/* Hero */
.hero { padding: clamp(2.6rem, 8vw, 5.2rem) 0 clamp(2rem, 5vw, 3.4rem); text-align: center; }
.hero-cine .hero { padding-top: clamp(1.8rem, 5vw, 3.2rem); }
.hero .cta-fila { margin: 0 auto; }
.hero .kicker { display: inline-block; font-family: var(--titulo); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--acento); border: 1px solid var(--border); padding: 0.35rem 0.9rem; border-radius: 999px; margin-bottom: 1.2rem; }
.hero p.lead { font-size: clamp(1.02rem, 2.2vw, 1.18rem); color: var(--muted); max-width: 38rem; margin: 0 auto 1.8rem; }
.hero .cyn { margin-top: 1.6rem; font-size: 0.95rem; }

/* Flecha de scroll tras el hero */
.cue { display: inline-flex; margin-top: 1.4rem; color: var(--cian); animation: cueFlota 2.2s ease-in-out infinite; }
@keyframes cueFlota {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 48px; padding: 0.7rem 1.6rem; border-radius: 12px; font: 600 1rem var(--titulo); border: 1px solid transparent; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease; text-align: center; }
.btn-primario { position: relative; overflow: hidden; background: linear-gradient(90deg, var(--acento), var(--morado)); color: var(--bg); box-shadow: 0 8px 26px rgba(255, 45, 149, 0.35); }
.btn-primario::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 60%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent); transform: translateX(-120%) skewX(-20deg); transition: transform 0.5s ease; pointer-events: none; }
.btn-primario:hover { transform: translateY(-1px); box-shadow: 0 12px 32px rgba(255, 45, 149, 0.45); color: var(--bg); }
.btn-primario:hover::after { transform: translateX(120%) skewX(-20deg); }
.btn-primario:active { transform: scale(0.98); }
.btn-primario:focus-visible { outline-color: var(--amarillo); }
.btn-secundario { background: transparent; color: var(--text); border-color: var(--border-soft); }
.btn-secundario:hover { border-color: var(--acento); color: var(--acento); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }

/* Marquesina: cinta de ticker a sangre con rayas diagonales */
.marquesina { overflow: hidden; width: 100%; background: repeating-linear-gradient(135deg, var(--acento-fuerte) 0 18px, var(--acento) 18px 36px); border-top: 2px solid #ffd6ec; border-bottom: 2px solid #ffd6ec; }
.marquesina-pista { display: flex; width: max-content; white-space: nowrap; animation: marquesina 28s linear infinite; }
.marquesina-pista span { flex: none; font-family: var(--titulo); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: #fff; text-shadow: 0 1px 2px rgba(60, 0, 40, 0.5); padding: 0.55rem 1.5rem 0; }
@keyframes marquesina {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Tarjetas / secciones */
.seccion { padding: clamp(2.2rem, 6vw, 3.6rem) 0; }
.tarjeta { background: linear-gradient(180deg, var(--card), var(--bg-2)); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: clamp(1.2rem, 3vw, 1.8rem); box-shadow: var(--shadow); transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
@media (hover: hover) {
  .tarjeta:hover,
  .tarjeta.reveal.visible:hover { border-color: rgba(255, 45, 149, 0.55); box-shadow: 0 10px 34px rgba(255, 45, 149, 0.18); transform: translateY(-2px); }
}
.beneficios { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .beneficios { grid-template-columns: repeat(3, 1fr); } }
.beneficio { padding: 1.4rem 1.2rem; }
.beneficio svg { width: 28px; height: 28px; color: var(--acento); margin-bottom: 0.8rem; }
.beneficio h3 { margin-bottom: 0.35em; }
.beneficio p { color: var(--muted); font-size: 0.95rem; margin: 0; }

.pasos { display: grid; gap: 1rem; grid-template-columns: 1fr; counter-reset: paso; }
@media (min-width: 720px) { .pasos { grid-template-columns: repeat(3, 1fr); } }
.paso { padding: 1.4rem 1.3rem; position: relative; }
.paso::before { counter-increment: paso; content: counter(paso); position: absolute; top: 1rem; right: 1.2rem; font-family: var(--titulo); font-size: 1.6rem; color: var(--morado); font-weight: 700; }
.paso h3 { font-size: 1.05rem; }
.paso p { color: var(--muted); font-size: 0.93rem; margin: 0; }

.faq details { border-bottom: 1px solid var(--border-soft); padding: 0.9rem 0; }
.faq summary { cursor: pointer; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 1rem; min-height: 44px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--acento); font-size: 1.2rem; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq p { color: var(--muted); margin: 0.7rem 0 0.2rem; font-size: 0.95rem; }

/* Formulario */
.form-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .col-span { grid-column: 1 / -1; }
}
.campo label { display: block; font-family: var(--titulo); font-size: 0.86rem; font-weight: 600; color: var(--muted); margin-bottom: 0.35rem; }
.campo input, .campo select, .campo textarea {
  width: 100%; min-height: 46px; padding: 0.6rem 0.8rem; border-radius: 10px;
  background: var(--bg); border: 1px solid var(--border-soft); color: var(--text);
  font: 400 1rem var(--sans); transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.campo textarea { min-height: 88px; resize: vertical; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--acento); box-shadow: 0 0 0 3px rgba(255, 45, 149, 0.18); }
.campo .ayuda { font-size: 0.8rem; color: var(--muted); margin-top: 0.3rem; }
.campo .error { font-size: 0.83rem; color: var(--danger); margin-top: 0.3rem; min-height: 1.1em; }
.campo.invalido input, .campo.invalido select { border-color: var(--danger); }

/* Etiqueta de "toma" cinematográfica + iconos de campo */
.toma { font-family: var(--titulo); font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; color: var(--amarillo); }
.toma span[aria-hidden='true'] { color: var(--acento); }
.ico-campo { width: 15px; height: 15px; color: var(--acento); vertical-align: -2px; margin-right: 0.35rem; }

/* Tarjeta del formulario: perforación de tira fílmica arriba */
.form-cine { position: relative; border-color: rgba(255, 45, 149, 0.35); }
.form-cine::before { content: ''; position: absolute; top: 1px; left: 1px; right: 1px; height: 8px; border-radius: calc(var(--radius) - 2px) calc(var(--radius) - 2px) 0 0; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0 10px, transparent 10px 22px); pointer-events: none; }

.ciudad-lista { position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 4px); background: var(--card-2); border: 1px solid var(--border); border-radius: 10px; max-height: 262px; overflow: auto; box-shadow: var(--shadow); display: none; }
.ciudad-lista button { display: block; width: 100%; text-align: left; background: none; border: 0; color: var(--text); padding: 0.62rem 0.9rem; font: 400 0.95 var(--sans); cursor: pointer; min-height: 44px; }
.ciudad-lista button:hover, .ciudad-lista button[aria-selected='true'] { background: rgba(255, 45, 149, 0.14); }
.ciudad-lista .sec { color: var(--muted); font-size: 0.82rem; }
.ciudad-wrap { position: relative; }

.hora-fila { display: grid; grid-template-columns: 1fr auto; gap: 0.6rem; align-items: end; }
.check-hora { display: flex; align-items: center; gap: 0.45rem; font-size: 0.86rem; color: var(--muted); min-height: 46px; cursor: pointer; white-space: nowrap; }
.check-hora input { width: 18px; height: 18px; min-height: 0; accent-color: var(--acento); }

.form-acciones { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.2rem; }
.aviso-legal { font-size: 0.8rem; color: var(--muted); margin-top: 1rem; }

/* Resultado */
.resultado { display: none; margin-top: 2rem; }
.resultado.visible { display: block; }
.resultado-cab { text-align: center; margin-bottom: 1.4rem; }
.resultado-grid { display: grid; gap: 1.4rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .resultado-grid { grid-template-columns: minmax(320px, 460px) 1fr; } }
.rueda-svg { width: 100%; height: auto; }

.tabla-puntos { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
.tabla-puntos th { text-align: left; font: 600 0.74rem var(--titulo); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding: 0.5rem 0.4rem; border-bottom: 1px solid var(--border); }
.tabla-puntos td { padding: 0.52rem 0.4rem; border-bottom: 1px solid var(--border-soft); vertical-align: middle; }
.tabla-puntos .glifo { font-size: 1.1rem; width: 1.9rem; color: var(--amarillo); }
.tabla-puntos .retro { font-size: 0.68rem; color: var(--danger); border: 1px solid currentColor; border-radius: 4px; padding: 0 0.28rem; margin-left: 0.35rem; }
.tabla-puntos .aprox { font-size: 0.68rem; color: var(--muted); border: 1px solid currentColor; border-radius: 4px; padding: 0 0.28rem; margin-left: 0.35rem; }

/* filas de la tabla: entran escalonadas como créditos de cine */
.tabla-puntos tbody tr { opacity: 0; animation: filaEntra 0.45s ease forwards; }
@keyframes filaEntra {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
.tabla-puntos tbody tr:nth-child(1)  { animation-delay: 0.03s; }
.tabla-puntos tbody tr:nth-child(2)  { animation-delay: 0.06s; }
.tabla-puntos tbody tr:nth-child(3)  { animation-delay: 0.09s; }
.tabla-puntos tbody tr:nth-child(4)  { animation-delay: 0.12s; }
.tabla-puntos tbody tr:nth-child(5)  { animation-delay: 0.15s; }
.tabla-puntos tbody tr:nth-child(6)  { animation-delay: 0.18s; }
.tabla-puntos tbody tr:nth-child(7)  { animation-delay: 0.21s; }
.tabla-puntos tbody tr:nth-child(8)  { animation-delay: 0.24s; }
.tabla-puntos tbody tr:nth-child(9)  { animation-delay: 0.27s; }
.tabla-puntos tbody tr:nth-child(10) { animation-delay: 0.3s; }
.tabla-puntos tbody tr:nth-child(11) { animation-delay: 0.33s; }
.tabla-puntos tbody tr:nth-child(12) { animation-delay: 0.36s; }
.tabla-puntos tbody tr:nth-child(13) { animation-delay: 0.39s; }
.tabla-puntos tbody tr:nth-child(14) { animation-delay: 0.42s; }
.tabla-puntos tbody tr:nth-child(15) { animation-delay: 0.45s; }
.tabla-puntos tbody tr:nth-child(16) { animation-delay: 0.48s; }

.distrib { display: grid; gap: 0.8rem; margin-top: 1.2rem; }
.dist-fila { display: grid; grid-template-columns: 5.2rem 1fr; gap: 0.6rem; align-items: center; font-size: 0.88rem; }
.dist-fila .nombre { color: var(--muted); }
.dist-barras { display: flex; gap: 4px; height: 12px; }
.dist-barras span { border-radius: 3px; min-width: 6px; }

.lectura { margin-top: 1.6rem; }
.lectura h2, .lectura h3 { margin-top: 1.4em; color: var(--acento); }
.lectura h2:first-child { margin-top: 0; }
.lectura ul, .lectura ol { padding-left: 1.2rem; color: var(--text); }
.lectura li { margin-bottom: 0.4em; }
.lectura strong { color: var(--acento); font-weight: 600; }
.lectura .firma-lectura { font-family: var(--titulo); font-style: italic; color: var(--acento); margin-top: 1.6rem; }
.lectura hr { border: 0; border-top: 1px solid var(--border-soft); margin: 1.4rem 0; }
.stream-cursor::after { content: '▍'; color: var(--acento); animation: parpadeo 1s steps(2) infinite; }
@keyframes parpadeo { 50% { opacity: 0; } }

.estado-lectura { display: none; align-items: center; gap: 0.6rem; color: var(--muted); font-size: 0.92rem; margin: 1rem 0; }
.estado-lectura.visible { display: flex; }
.spinner { width: 18px; height: 18px; border: 2px solid var(--border-soft); border-top-color: var(--acento); border-radius: 50%; animation: gira 0.9s linear infinite; flex: none; }
@keyframes gira { to { transform: rotate(360deg); } }

.acciones-lectura { display: none; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.2rem; }
.acciones-lectura.visible { display: flex; }

/* Footer */
.sitio-footer { border-top: 1px solid var(--border-soft); margin-top: 3rem; padding: 2rem 0 2.6rem; color: var(--muted); font-size: 0.88rem; }
.sitio-footer .wrap { display: flex; flex-wrap: wrap; gap: 0.8rem 1.6rem; justify-content: space-between; align-items: center; }
.sitio-footer a { color: var(--muted); display: inline-flex; align-items: center; min-height: 44px; }
.sitio-footer a:hover { color: var(--acento); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); filter: blur(6px); transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.25s ease, box-shadow 0.25s ease; }
.reveal.visible { opacity: 1; transform: none; filter: none; }
.beneficios .reveal:nth-child(2), .pasos .reveal:nth-child(2) { transition-delay: 0.12s; }
.beneficios .reveal:nth-child(3), .pasos .reveal:nth-child(3) { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .btn, .btn-primario:hover { transition: none; transform: none; }
  .btn-primario::after { display: none; }
  .stream-cursor::after, .spinner { animation: none; }
  .marquesina-pista { animation: none; }
  .cue { animation: none; }
  .tabla-puntos tbody tr { opacity: 1; animation: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

.solo-lectivo { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

#tz-badge { display: block; font-size: 0.8rem; color: var(--cian); margin-top: 0.35rem; min-height: 1.1em; }
#aspectos-caps { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.chip { font-size: 0.8rem; color: var(--acento); border: 1px solid var(--border); border-radius: 999px; padding: 0.25rem 0.72rem; background: rgba(255, 45, 149, 0.08); }

/* ===== Cine — banda de ojos (Giros, Fito Páez) ===== */
.cine-banda {
  position: relative; overflow: hidden; width: 100%;
  height: clamp(150px, 26vw, 290px);
  background: #000;
  border-block: 1px solid rgba(255, 45, 149, 0.5);
  box-shadow: 0 0 18px rgba(255, 45, 149, 0.25);
}
.cine-banda.compacta { height: clamp(92px, 16vw, 150px); }
.cine-banda img {
  position: absolute; inset: -6% -3%;
  width: 106%; height: 112%;
  object-fit: cover; object-position: center 42%;
  animation: kenburns 22s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1) translateX(0); }
  to   { transform: scale(1.07) translateX(-1.2%); }
}
.cine-vineta {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.55), transparent 18%, transparent 82%, rgba(0,0,0,0.55)),
    linear-gradient(180deg, rgba(11,16,38,0.25), transparent 30%, transparent 60%, rgba(11,16,38,0.72));
}
.cine-grano {
  position: absolute; inset: -20%; pointer-events: none; opacity: 0.10; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.9'/%3E%3C/svg%3E");
  animation: grano 0.9s steps(3) infinite;
}
@keyframes grano {
  0% { transform: translate(0, 0); }
  33% { transform: translate(-2%, 1%); }
  66% { transform: translate(1%, -2%); }
  100% { transform: translate(0, 0); }
}
/* barras de cine que se abren al cargar */
.cine-barra {
  position: absolute; left: 0; right: 0; background: #000; z-index: 2;
  animation: abrirBarra 1.15s cubic-bezier(0.7, 0, 0.2, 1) 0.15s forwards;
}
.cine-barra.top { top: 0; height: 52%; }
.cine-barra.bot { bottom: 0; height: 52%; }
@keyframes abrirBarra { to { height: 7%; } }
.cine-banda.compacta .cine-barra { animation-duration: 0.9s; }
.cine-banda.compacta .cine-barra.top,
.cine-banda.compacta .cine-barra.bot { height: 12%; animation-name: abrirBarraCorta; }
@keyframes abrirBarraCorta { to { height: 5%; } }

/* texto del hero: entra tras la apertura, escalonado */
.hero-cine .kicker,
.hero-cine h1,
.hero-cine .lead,
.hero-cine .cta-fila,
.hero-cine .cyn {
  opacity: 0; transform: translateY(16px); filter: blur(3px);
  animation: entradaCine 0.9s ease forwards;
}
.hero-cine h1 { animation-delay: 0.75s; animation-name: entradaCineTitulo; }
.hero-cine .kicker { animation-delay: 0.55s; }
.hero-cine .lead { animation-delay: 1s; }
.hero-cine .cta-fila { animation-delay: 1.25s; }
.hero-cine .cyn { animation-delay: 1.5s; }
/* la flecha entra con la escena y luego flota en bucle */
.hero-cine .cue {
  opacity: 0; transform: translateY(16px); filter: blur(3px);
  animation: entradaCine 0.9s ease 1.7s forwards, cueFlota 2.2s ease-in-out 2.6s infinite;
}
@keyframes entradaCine { to { opacity: 1; transform: none; filter: blur(0); } }
/* el título conserva su brillo magenta al terminar la entrada */
@keyframes entradaCineTitulo {
  to { opacity: 1; transform: none; filter: blur(0) drop-shadow(0 0 18px rgba(255, 45, 149, 0.35)); }
}

/* resultado = escena que aparece */
.resultado.visible { animation: escena 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes escena {
  from { opacity: 0; transform: translateY(26px) scale(0.985); filter: blur(4px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}
.resultado.visible .rueda-svg { animation: ruedaEntra 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s both; }
@keyframes ruedaEntra {
  from { opacity: 0; transform: scale(0.9) rotate(-6deg); }
  to   { opacity: 1; transform: none; }
}

/* lectura = cuadro de cine con marco rosa tenue */
.lectura-marco {
  border: 1px solid var(--border-soft);
  background:
    linear-gradient(90deg, transparent, rgba(255, 45, 149, 0.28) 12%, rgba(255, 45, 149, 0.28) 88%, transparent) top/100% 1px no-repeat,
    linear-gradient(90deg, transparent, rgba(255, 45, 149, 0.28) 12%, rgba(255, 45, 149, 0.28) 88%, transparent) bottom/100% 1px no-repeat;
  border-radius: var(--radius);
}
.titulo-escena { display: flex; align-items: center; gap: 0.6rem; }
.titulo-escena::before { content: '▶'; color: var(--acento); font-size: 0.7rem; margin-right: 0; }

/* ===== Transiciones de vista (cinematográficas) ===== */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: cineSalida 0.45s cubic-bezier(0.4, 0, 0.2, 1) both; }
::view-transition-new(root) { animation: cineEntrada 0.5s cubic-bezier(0.4, 0, 0.2, 1) both; }
@keyframes cineSalida {
  from { opacity: 1; transform: scale(1); }
  to   { opacity: 0; transform: scale(1.015); }
}
@keyframes cineEntrada {
  from { opacity: 0; transform: scale(0.985); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .cine-banda img { animation: none; }
  .cine-grano { animation: none; }
  .cine-barra { animation: none; height: 5%; }
  .hero-cine .kicker, .hero-cine h1, .hero-cine .lead, .hero-cine .cta-fila, .hero-cine .cyn, .hero-cine .cue {
    opacity: 1; transform: none; filter: none; animation: none;
  }
  .hero-cine h1 { filter: drop-shadow(0 0 18px rgba(255, 45, 149, 0.35)); }
  .resultado.visible, .resultado.visible .rueda-svg { animation: none; }
}

@media (max-width: 420px) {
  .logo { font-size: 1.15rem; }
  .nav a { margin-left: 0.7rem; font-size: 0.86rem; }
}
