/* [CLAUDE 28/10/2026 19:34] Hoja de estilos de la landing EL CAZACOMBOS (tema oscuro, neón amarillo/naranja/rosa, animaciones). Motivo: web nueva para engui.es. */

:root {
  --bg: #07070b;
  --bg2: #0f0f17;
  --yellow: #ffd60a;
  --orange: #ff6b00;
  --pink: #ff2d75;
  --cyan: #00e5ff;
  --red: #ff2d2d;
  --txt: #f4f1ea;
  --mute: #9b98a8;
  --font-title: 'Bebas Neue', Impact, 'Arial Narrow Bold', sans-serif;
  --font-hand: 'Caveat', 'Segoe Script', cursive;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
/* [CLAUDE 28/10/2026 23:29] Bloqueo del desplazamiento horizontal también en html (los navegadores móviles ignoran el del body) y con clip. Motivo: en móvil la página se arrastraba a la izquierda. */
html { scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--txt);
  font-family: var(--font-body);
  overflow-x: hidden; overflow-x: clip;
  cursor: none;
}
@media (hover: none), (pointer: coarse) { body { cursor: auto; } #cursor, #cursor-ring { display: none !important; } }
a, button { cursor: none; }
@media (hover: none), (pointer: coarse) { a, button { cursor: pointer; } }
::selection { background: var(--yellow); color: #000; }

/* ---------- Preloader ---------- */
#preloader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px;
}
.scope { position: relative; width: 110px; height: 110px; }
.scope .ring { position: absolute; inset: 0; border: 3px solid var(--yellow); border-radius: 50%; animation: spin 1.6s linear infinite; border-right-color: transparent; }
.scope .ring.r2 { inset: 18px; border-color: var(--pink); border-left-color: transparent; animation-direction: reverse; animation-duration: 1.1s; }
.scope .hair { position: absolute; background: var(--txt); opacity: .6; }
.scope .hair.h { left: -12px; right: -12px; top: 50%; height: 2px; margin-top: -1px; }
.scope .hair.v { top: -12px; bottom: -12px; left: 50%; width: 2px; margin-left: -1px; }
.scope .dot { position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 18px var(--pink); animation: pulse 1s ease-in-out infinite; }
.pre-text { font-family: var(--font-title); font-size: 1.6rem; letter-spacing: .25em; color: var(--yellow); }
.pre-text .dots::after { content: ''; animation: dots 1.2s steps(4) infinite; }
.pre-bar { width: 240px; height: 6px; background: #1c1c28; border-radius: 6px; overflow: hidden; }
.pre-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--yellow), var(--orange), var(--pink)); }
.pre-pct { font-family: var(--font-title); font-size: 1.2rem; color: var(--mute); letter-spacing: .1em; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { transform: scale(1.5); opacity: .6; } }
@keyframes dots { to { content: '...'; } 0% { content: ''; } 33% { content: '.'; } 66% { content: '..'; } }

/* ---------- Cursor ---------- */
#cursor, #cursor-ring { position: fixed; left: 0; top: 0; pointer-events: none; z-index: 9999; border-radius: 50%; transform: translate(-50%, -50%); }
#cursor { width: 8px; height: 8px; background: var(--yellow); box-shadow: 0 0 12px var(--yellow); }
#cursor-ring { width: 38px; height: 38px; border: 2px solid rgba(255, 214, 10, .7); transition: width .2s, height .2s, border-color .2s, background .2s; }
#cursor-ring::before, #cursor-ring::after { content: ''; position: absolute; background: rgba(255, 214, 10, .7); }
#cursor-ring::before { left: 50%; top: -8px; width: 1px; height: 8px; }
#cursor-ring::after { top: 50%; left: -8px; height: 1px; width: 8px; }
body.hovering #cursor-ring { width: 64px; height: 64px; border-color: var(--pink); background: rgba(255, 45, 117, .12); }

/* ---------- Fondo ---------- */
#bg { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; }
/* [CLAUDE 28/10/2026 19:34] Halos más suaves (opacidad .35 → .2, blur 90 → 130px): el naranja tapaba todo el fondo. */
.glow { position: fixed; border-radius: 50%; filter: blur(130px); opacity: .2; z-index: 0; pointer-events: none; animation: float 14s ease-in-out infinite; }
.glow-a { width: 55vw; height: 55vw; left: -15vw; top: -15vw; background: var(--orange); }
.glow-b { width: 45vw; height: 45vw; right: -12vw; top: 20vh; background: var(--pink); animation-delay: -5s; }
.glow-c { width: 40vw; height: 40vw; left: 30vw; bottom: -20vw; background: var(--cyan); opacity: .12; animation-delay: -9s; }
@keyframes float { 50% { transform: translate(4vw, 6vh) scale(1.1); } }

/* ---------- Ticker ---------- */
.ticker { position: relative; z-index: 2; background: var(--yellow); color: #000; overflow: hidden; height: 38px; display: flex; align-items: center; border-top: 3px solid #000; border-bottom: 3px solid #000; }
.ticker-top { position: fixed; top: 0; left: 0; right: 0; z-index: 50; }
.ticker-track { display: inline-flex; white-space: nowrap; font-family: var(--font-title); font-size: 1.25rem; letter-spacing: .12em; will-change: transform; animation: ticker 28s linear infinite; }
.ticker-track.rev { animation-direction: reverse; }
.ticker-track span { padding: 0 1.2em; }
.ticker-track span::before { content: '⚡'; margin-right: 1.2em; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Hero ---------- */
/* [CLAUDE 28/10/2026 23:29] El hero recorta lo que sobresale (el sello rotado) y nada puede ser más ancho que la pantalla. */
.hero { overflow: hidden; max-width: 100vw; position: relative; z-index: 1; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 90px 16px 60px; }
.hero-inner { width: 100%; max-width: 1200px; }
.tilt { transform-style: preserve-3d; perspective: 1200px; position: relative; display: inline-block; }

.stamp-el {
  display: inline-block; font-family: var(--font-title); font-size: clamp(1.6rem, 4vw, 3rem);
  color: #000; background: var(--yellow); padding: .05em .45em; transform: rotate(-8deg) translateY(.4em);
  box-shadow: 6px 6px 0 var(--pink); letter-spacing: .1em; opacity: 0;
  /* [CLAUDE 28/10/2026 19:34] Sello "EL" anclado arriba a la izquierda del título (antes quedaba centrado encima). */
  position: absolute; left: -.2em; top: -.9em; z-index: 3;
}

.title {
  font-family: var(--font-title);
  font-size: clamp(4.2rem, 19vw, 17rem);
  line-height: .9; margin: 0; letter-spacing: .02em;
  display: flex; justify-content: center;
}
.title .ch {
  display: inline-block;
  background: linear-gradient(120deg, var(--yellow) 0%, var(--orange) 35%, var(--pink) 70%, var(--yellow) 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 5s linear infinite;
  filter: drop-shadow(0 0 18px rgba(255, 107, 0, .45)) drop-shadow(0 10px 0 rgba(0,0,0,.45));
  will-change: transform;
  opacity: 0;
}
.title .ch:hover { animation: wobble .5s ease; }
@keyframes shine { to { background-position: 300% 0; } }
@keyframes wobble { 30% { transform: translateY(-14px) rotate(-6deg); } 60% { transform: translateY(4px) rotate(4deg); } }

.soon {
  position: absolute; right: -2%; bottom: -8%; transform: rotate(-9deg);
  opacity: 0; z-index: 3;
}
.soon span {
  display: inline-block; font-family: var(--font-title); font-size: clamp(1.5rem, 4.5vw, 4rem);
  color: var(--red); border: .14em double var(--red); border-radius: .25em; padding: .05em .4em;
  letter-spacing: .12em; text-shadow: 0 0 20px rgba(255, 45, 45, .5);
  box-shadow: 0 0 30px rgba(255, 45, 45, .35), inset 0 0 20px rgba(255, 45, 45, .15);
  background: rgba(7, 7, 11, .5); backdrop-filter: blur(2px);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 .45'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E"), linear-gradient(#000, #000);
  mask-composite: add; -webkit-mask-composite: source-over;
}
/* [CLAUDE 28/10/2026 22:00] Sello en dos líneas (línea pequeña "TODOS LOS DÍAS A LAS 9.00" + "NUEVOS COMBOS"); antes era solo "PRÓXIMAMENTE". */
.soon span { text-align: center; line-height: .95; padding: .25em .5em .2em; }
.soon span small { display: block; font-size: .42em; letter-spacing: .22em; margin-bottom: .15em; }
.soon.stamped { animation: stampShake .35s ease .35s; }
@keyframes stampShake { 25% { transform: rotate(-11deg) translate(-3px, 2px); } 50% { transform: rotate(-7deg) translate(3px, -2px); } 75% { transform: rotate(-10deg); } }

.by { font-family: var(--font-hand); font-size: clamp(1.8rem, 4vw, 3rem); margin: 1.2em 0 .4em; color: var(--txt); opacity: 0; }
.by b { color: var(--yellow); position: relative; font-weight: 700; }
.by b::after { content: ''; position: absolute; left: 0; right: 0; bottom: -.08em; height: .14em; background: var(--pink); border-radius: 2px; transform: scaleX(0); transform-origin: left; animation: underline .5s ease forwards 2.6s; }
.by b + i + b::after { animation-delay: 2.9s; }
.by i { color: var(--pink); font-style: normal; }
@keyframes underline { to { transform: scaleX(1); } }

.legend {
  max-width: 760px; margin: .6em auto 1.6em; padding: 1em 1.4em;
  border-left: 4px solid var(--yellow); background: rgba(255, 255, 255, .04);
  font-size: clamp(1rem, 2vw, 1.35rem); line-height: 1.5; color: var(--txt); text-align: left;
  border-radius: 0 12px 12px 0; opacity: 0; min-height: 4.5em;
}
.legend .caret { color: var(--yellow); animation: blink .9s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* [CLAUDE 29/10/2026 09:16] El portero no recibe clics (ni toques) hasta que aparece; app.js le pone .on al final de la entrada. Petición de Engui. */
.gate { opacity: 0; pointer-events: none; }
.gate.on { pointer-events: auto; }
.gate-q { font-family: var(--font-title); font-size: 1.6rem; letter-spacing: .15em; color: var(--mute); margin-bottom: .6em; }
.gate-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
/* [CLAUDE 28/10/2026 22:09] Pista bajo los botones del portero. */
.gate-hint { color: var(--mute); font-size: .85rem; letter-spacing: .05em; margin-top: .4em; }
.gate-msg { margin-top: 1.2em; font-family: var(--font-hand); font-size: 1.8rem; color: var(--yellow); min-height: 1.4em; }

.btn-combo {
  --c: var(--yellow);
  font-family: var(--font-title); font-size: 1.35rem; letter-spacing: .12em;
  color: #000; background: var(--c); border: 3px solid #000; border-radius: 10px;
  padding: .45em 1.3em; box-shadow: 5px 5px 0 #000, 0 0 24px rgba(255, 214, 10, .35);
  transition: transform .15s, box-shadow .15s; text-decoration: none; display: inline-block; position: relative; overflow: hidden;
}
.btn-combo::after { content: ''; position: absolute; top: -50%; left: -70%; width: 50%; height: 200%; background: rgba(255, 255, 255, .45); transform: skewX(-25deg); transition: left .5s; }
.btn-combo:hover::after { left: 130%; }
.btn-combo:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 #000, 0 0 36px rgba(255, 214, 10, .55); color: #000; }
.btn-combo:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 #000; }
.btn-combo.alt { --c: var(--pink); color: #fff; box-shadow: 5px 5px 0 #000, 0 0 24px rgba(255, 45, 117, .4); }
.btn-combo.alt:hover { color: #fff; }
/* [CLAUDE 28/10/2026 23:19] Botón "Soy un PS" en cian. */
.btn-combo.ps { --c: var(--cyan); box-shadow: 5px 5px 0 #000, 0 0 24px rgba(0, 229, 255, .4); }
.btn-combo.ghost { --c: transparent; color: var(--txt); border-color: var(--mute); box-shadow: none; }
.btn-combo.ghost:hover { border-color: var(--txt); box-shadow: none; color: var(--txt); }
.btn-combo.big { font-size: 1.9rem; padding: .5em 1.6em; }

.scroll-hint { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); width: 28px; height: 46px; border: 2px solid var(--mute); border-radius: 16px; opacity: 0; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: var(--yellow); border-radius: 2px; animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 50% { transform: translateY(18px); opacity: .2; } }

/* ---------- Secciones ---------- */
.section { position: relative; z-index: 1; padding: 110px 0; }
.h-section { font-family: var(--font-title); font-size: clamp(2.6rem, 6vw, 4.8rem); line-height: .95; letter-spacing: .03em; margin-bottom: .5em; }
.grad { background: linear-gradient(90deg, var(--yellow), var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead-x { font-size: 1.15rem; color: var(--mute); line-height: 1.7; max-width: 560px; }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* [CLAUDE 28/10/2026 22:04] Combos de hoy: cabecera, chips de promociones, tarjetas con badge de descuento. */
.combos-section { padding-top: 70px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-title); letter-spacing: .2em; font-size: 1.05rem; color: var(--cyan); border: 1px solid rgba(0, 229, 255, .4); border-radius: 30px; padding: .35em 1.1em; margin-bottom: 1em; background: rgba(0, 229, 255, .06); }
.combos-head .lead-x { max-width: 640px; }
.promos { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 1.2em 0 2.2em; }
.promo { display: inline-flex; flex-direction: column; text-decoration: none; color: var(--txt); background: rgba(255, 255, 255, .04); border: 1px solid #2a2a38; border-radius: 12px; padding: 8px 14px; transition: border-color .25s, transform .25s; }
.promo:hover { border-color: var(--yellow); transform: translateY(-3px); color: var(--txt); }
.promo b { font-family: var(--font-title); letter-spacing: .1em; font-size: 1.1rem; color: var(--yellow); }
.promo small { color: var(--mute); font-size: .78rem; }
.combo { position: relative; height: 100%; display: flex; flex-direction: column; gap: 6px; background: linear-gradient(160deg, #15151f, #0b0b12); border: 1px solid #262633; border-radius: 16px; padding: 18px 18px 16px 18px; text-decoration: none; color: var(--txt); overflow: hidden; transition: transform .3s, border-color .3s, box-shadow .3s; opacity: 0; transform: translateY(24px); animation: comboIn .6s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: var(--d, 0s); }
@keyframes comboIn { to { opacity: 1; transform: none; } }
.combo:hover { border-color: var(--yellow); color: var(--txt); box-shadow: 0 20px 50px rgba(0, 0, 0, .5), 0 0 30px rgba(255, 214, 10, .15); transform: translateY(-6px) !important; }
.combo .dto { position: absolute; top: 14px; right: 14px; font-family: var(--font-title); font-size: 2rem; line-height: 1; color: #000; background: var(--yellow); padding: .15em .35em .1em; border-radius: 8px; transform: rotate(6deg); box-shadow: 3px 3px 0 var(--pink); }
.combo.podio .dto { background: var(--pink); color: #fff; box-shadow: 3px 3px 0 var(--yellow); font-size: 2.4rem; }
.combo .pos { font-family: var(--font-title); color: var(--mute); letter-spacing: .1em; font-size: .95rem; }
.combo.podio .pos { color: var(--yellow); }
.combo .nombre { font-weight: 600; line-height: 1.35; padding-right: 76px; min-height: 2.7em; }
.combo .precio { font-family: var(--font-title); font-size: 1.9rem; color: var(--txt); line-height: 1; margin-top: 4px; }
.combo .precio s { color: var(--mute); font-size: .6em; margin-left: .4em; }
.combo .meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; align-items: center; }
.combo .mec { font-family: var(--font-title); letter-spacing: .1em; font-size: .9rem; color: #000; background: var(--cyan); padding: .15em .55em .05em; border-radius: 6px; }
.combo .mec.online { background: #3cff8f; }
.combo .fuente { color: var(--mute); font-size: .78rem; }
.combo .ir { margin-left: auto; color: var(--yellow); font-family: var(--font-title); letter-spacing: .1em; font-size: .95rem; }
/* [CLAUDE 28/10/2026 22:51] Subtítulos de bloque, badge "SUPER PRECIO", etiquetas de promociones múltiples. */
.h-sub { font-family: var(--font-title); font-size: clamp(1.6rem, 3.5vw, 2.4rem); letter-spacing: .06em; text-align: center; margin-bottom: .8em; }
.h-sub small { display: block; font-size: .5em; color: var(--mute); letter-spacing: .15em; margin-top: .2em; }
.combo .dto.sp { font-size: 1rem; letter-spacing: .08em; transform: rotate(4deg); padding: .35em .5em .25em; line-height: 1.1; text-align: center; }
.combo .promo-tag { font-family: var(--font-title); letter-spacing: .08em; font-size: .85rem; color: #000; background: var(--cyan); padding: .15em .5em .05em; border-radius: 6px; }
.combo .promo-tag.c1 { background: var(--yellow); }
.combo .promo-tag.c2 { background: #3cff8f; }
.combo .promo-tag.c3 { background: var(--pink); color: #fff; }
.combo .promo-tag.c4 { background: var(--cyan); outline: 2px dashed rgba(0, 0, 0, .5); outline-offset: -3px; } /* [CLAUDE 30/10/2026 12:28] cupón de la app: ticket cian */
/* [CLAUDE 30/10/2026 12:28] Cupones de la app: tickets cian recortados con el borde dentado. Aviso de IA-GOTOBAR. */
.cupones { max-width: 920px; margin: 36px auto 0; text-align: center; }
.cupones[hidden] { display: none; }
.cupones-kicker { font-family: var(--font-title); letter-spacing: .25em; font-size: 1rem; color: var(--cyan); margin-bottom: 12px; }
.cupones-lista { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cupon { position: relative; flex: 1 1 280px; max-width: 440px; padding: 18px 22px 16px; border-radius: 12px; background: var(--cyan); color: #000; text-align: left; font-size: 1rem; line-height: 1.35; box-shadow: 6px 6px 0 #000; transform: rotate(.6deg);
  -webkit-mask: radial-gradient(circle at 0 50%, transparent 9px, #000 10px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent 9px, #000 10px) right / 51% 100% no-repeat; mask: radial-gradient(circle at 0 50%, transparent 9px, #000 10px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent 9px, #000 10px) right / 51% 100% no-repeat; }
.cupon:nth-child(even) { transform: rotate(-.6deg); }
.cupon .cupon-pct { font-family: var(--font-title); font-size: 2.4rem; line-height: .9; display: block; margin-bottom: .15em; }
.cupon .cupon-txt { display: block; }
.cupon .cupon-val { display: block; margin-top: .5em; font-family: var(--font-title); letter-spacing: .08em; font-size: .9rem; opacity: .75; }
.cupones-small { font-size: .8rem; color: var(--mute); margin: 12px auto 0; max-width: 620px; line-height: 1.4; }
/* [CLAUDE 29/10/2026 16:06] Tarjeta "Día del Club": cuenta atrás amarilla con sello 15%. Petición de Engui vía IA-GOTOBAR. */
.club { position: relative; overflow: hidden; display: flex; gap: 28px; align-items: center; max-width: 920px; margin: 36px auto 0; padding: 28px 32px; border-radius: 22px; color: #000; background: linear-gradient(135deg, var(--yellow) 0%, #ffb400 60%, var(--orange) 100%); box-shadow: 10px 10px 0 var(--pink); transform: rotate(-.6deg); }
.club[hidden] { display: none; }
.club-num { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; line-height: .85; font-family: var(--font-title); min-width: 120px; }
.club-num span { font-size: clamp(4.2rem, 10vw, 7rem); }
.club-num small { font-size: 1.2rem; letter-spacing: .25em; margin-top: .25em; }
.club-body { flex: 1 1 auto; min-width: 0; }
.club-kicker { font-family: var(--font-title); letter-spacing: .25em; font-size: 1rem; opacity: .7; }
.club-txt { font-family: var(--font-title); font-size: clamp(1.5rem, 3.2vw, 2.3rem); line-height: 1.05; margin: .15em 0 .3em; }
.club-pullas { font-family: var(--font-hand); font-size: 1.55rem; line-height: 1.1; margin: 0 0 .5em; color: #3a0b1e; }
.club-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: .7em; }
.club-chips span { font-family: var(--font-title); letter-spacing: .06em; font-size: .9rem; background: #000; color: var(--yellow); padding: .2em .55em .1em; border-radius: 6px; }
.club-small { font-size: .78rem; line-height: 1.4; margin: 0; opacity: .8; }
.club-stamp { position: absolute; right: -8px; top: -14px; font-family: var(--font-title); font-size: 5.5rem; line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(0, 0, 0, .18); transform: rotate(12deg); pointer-events: none; }
.club.hoy { animation: clubHoy 1.2s ease-in-out infinite alternate; }
@keyframes clubHoy { from { box-shadow: 10px 10px 0 var(--pink); } to { box-shadow: 10px 10px 0 var(--pink), 0 0 60px rgba(255, 214, 10, .6); } }
@media (max-width: 768px) {
  .club { flex-direction: column; text-align: center; gap: 12px; padding: 24px 18px; transform: none; box-shadow: 6px 6px 0 var(--pink); }
  .club-chips { justify-content: center; }
  .club-stamp { font-size: 3.5rem; }
}
.combos-grid .oculto { display: none; }
.combos-nota { color: var(--mute); font-size: .82rem; margin: 2em auto 0; max-width: 820px; text-align: center; line-height: 1.6; }
.combos-vacio { text-align: center; color: var(--mute); padding: 40px 0; font-family: var(--font-title); letter-spacing: .15em; font-size: 1.3rem; }

/* Radar */
.radar-wrap { position: relative; display: inline-block; max-width: 100%; }
#radar-canvas { width: min(520px, 90vw); height: auto; border-radius: 50%; box-shadow: 0 0 0 6px #0b1a12, 0 0 60px rgba(0, 229, 255, .25); }
.radar-label { position: absolute; left: 50%; bottom: -16px; transform: translateX(-50%); background: #000; color: var(--cyan); font-family: var(--font-title); letter-spacing: .2em; font-size: 1rem; padding: .3em 1em; border: 1px solid var(--cyan); border-radius: 20px; white-space: nowrap; }
.radar-label small { color: #3cff8f; }
.log { margin-top: 1.5em; background: #050507; border: 1px solid #22222e; border-radius: 12px; padding: 14px 18px; font-family: ui-monospace, 'JetBrains Mono', Menlo, Consolas, monospace; font-size: .9rem; max-width: 560px; }
.log-head { color: var(--mute); letter-spacing: .15em; text-transform: uppercase; font-size: .72rem; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.led { width: 8px; height: 8px; border-radius: 50%; background: #3cff8f; box-shadow: 0 0 10px #3cff8f; animation: pulse 1.2s infinite; }
.log ul { list-style: none; padding: 0; margin: 0; height: 150px; overflow: hidden; }
.log li { color: #cfd3dc; padding: 2px 0; opacity: 0; transform: translateX(-10px); animation: logIn .4s forwards; }
.log li .t { color: var(--mute); } .log li .ok { color: #3cff8f; } .log li .pct { color: var(--yellow); font-weight: 700; }
@keyframes logIn { to { opacity: 1; transform: none; } }

/* Stats */
.stats-section { padding: 60px 0; }
.stat { padding: 28px 10px; border: 1px solid #22222e; border-radius: 16px; background: rgba(255, 255, 255, .025); transition: transform .3s, border-color .3s; }
.stat:hover { transform: translateY(-6px); border-color: var(--yellow); }
.stat .num { font-family: var(--font-title); font-size: clamp(3rem, 7vw, 5rem); line-height: 1; color: var(--yellow); text-shadow: 0 0 24px rgba(255, 214, 10, .4); }
.stat .lbl { color: var(--txt); margin-top: 8px; font-weight: 600; letter-spacing: .02em; }
.stat .lbl small { color: var(--mute); font-weight: 400; }

/* Cards */
.card-x { position: relative; height: 100%; padding: 36px 28px; border-radius: 20px; background: linear-gradient(160deg, #15151f, #0b0b12); border: 1px solid #262633; overflow: hidden; transition: transform .35s, box-shadow .35s, border-color .35s; }
.card-x::before { content: ''; position: absolute; inset: -2px; background: conic-gradient(from var(--a, 0deg), transparent 60%, var(--pink), var(--yellow), transparent 100%); opacity: 0; transition: opacity .35s; z-index: 0; animation: rotA 4s linear infinite; }
.card-x::after { content: ''; position: absolute; inset: 1px; background: linear-gradient(160deg, #15151f, #0b0b12); border-radius: 19px; z-index: 0; }
.card-x > * { position: relative; z-index: 1; }
.card-x:hover { transform: translateY(-10px) scale(1.02); border-color: transparent; box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
.card-x:hover::before { opacity: 1; }
@property --a { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes rotA { to { --a: 360deg; } }
.card-x .ico { width: 56px; height: 56px; margin-bottom: 16px; color: var(--yellow); filter: drop-shadow(0 0 12px rgba(255,214,10,.5)); }
.card-x .ico svg { width: 100%; height: 100%; }
.card-x h3 { font-family: var(--font-title); font-size: 2rem; letter-spacing: .05em; margin-bottom: .4em; }
.card-x p { color: var(--mute); line-height: 1.65; margin: 0; }
.card-x .tag { position: absolute; top: 18px; right: -34px; transform: rotate(35deg); background: var(--pink); color: #fff; font-family: var(--font-title); letter-spacing: .1em; padding: .2em 2.6em; font-size: 1rem; box-shadow: 0 4px 10px rgba(0,0,0,.5); }

/* Final */
.final-section { padding-bottom: 80px; }
.final-stamp { display: inline-block; font-family: var(--font-title); font-size: clamp(4rem, 14vw, 11rem); line-height: .85; letter-spacing: .05em; color: transparent; -webkit-text-stroke: 2px var(--yellow); text-stroke: 2px var(--yellow); transform: rotate(-4deg); position: relative; }
.final-stamp::after { content: 'DESDE\A LAS 10.00'; /* [CLAUDE 28/10/2026 22:40] Antes 'A LAS 9.00'. */ white-space: pre; position: absolute; inset: 0; color: var(--yellow); -webkit-text-stroke: 0; clip-path: inset(0 100% 0 0); animation: fill 2.4s ease-in-out infinite alternate; }
@keyframes fill { to { clip-path: inset(0 0 0 0); } }
.final-txt { color: var(--mute); font-size: 1.2rem; margin: 1.5em 0 1.6em; }

/* Footer */
.foot { position: relative; z-index: 1; text-align: center; padding: 40px 0 60px; border-top: 1px solid #1d1d28; }
.foot-line { font-size: 1rem; color: var(--txt); }
.foot-line b { color: var(--yellow); }
.foot-sub { color: var(--mute); font-size: .85rem; margin-top: 8px; letter-spacing: .05em; }

/* [CLAUDE 28/10/2026 22:09] Overlay del redoble de tambores. */
/* [CLAUDE 31/10/2026 22:34] Fondo del redoble negro puro y opaco (antes rgba(7,7,11,.96), se transparentaba la página). Petición de Engui. */
#tachan { position: fixed; inset: 0; z-index: 9500; background: #000; display: none; align-items: center; justify-content: center; text-align: center; padding: 20px; }
#tachan.on { display: flex; }
.tachan-box { position: relative; }
.drum { width: min(260px, 60vw); margin: 0 auto 20px; filter: drop-shadow(0 0 30px rgba(255, 214, 10, .5)); animation: drumShake .12s linear infinite; }
.drum svg { width: 100%; height: auto; }
@keyframes drumShake { 0% { transform: rotate(-3deg) translateY(0); } 50% { transform: rotate(3deg) translateY(-6px); } 100% { transform: rotate(-3deg) translateY(0); } }
/* [CLAUDE 30/10/2026 20:01] Animación del redoble: baquetas alternas (giran desde el mango), parche que se hunde, anillo de impacto y notas que suben. Petición de Engui. */
.drum .stick { transform-box: view-box; transition: transform .045s ease-out; }
.drum #stick-l { transform-origin: 12px 18px; }
.drum #stick-r { transform-origin: 108px 18px; }
.drum #stick-l.up { transform: rotate(-32deg); }
.drum #stick-r.up { transform: rotate(32deg); }
.drum .head { transform-box: view-box; transform-origin: 60px 48px; transition: transform .05s; }
.drum.hit .head { transform: scale(.96, .82); }
.drum .ring { transform-box: view-box; transform-origin: 60px 48px; opacity: 0; }
.drum.hit .ring { animation: ringHit .28s ease-out; }
@keyframes ringHit { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.35, 1.6); } }
.nota { position: absolute; bottom: 55%; left: var(--x, 50%); font-size: clamp(1.4rem, 4vw, 2.4rem); color: var(--yellow); text-shadow: 0 0 12px var(--yellow); pointer-events: none; animation: notaUp 1.1s ease-out forwards; }
.nota.n2 { color: var(--pink); text-shadow: 0 0 12px var(--pink); }
.nota.n3 { color: var(--cyan); text-shadow: 0 0 12px var(--cyan); }
@keyframes notaUp { 0% { opacity: 0; transform: translate(-50%, 0) rotate(-10deg) scale(.6); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -160px) rotate(14deg) scale(1.2); } }
.tachan-txt { transition: transform .06s; }
.tachan-txt.hit { transform: scale(1.04); }
.tachan-txt { font-family: var(--font-title); font-size: clamp(1.6rem, 5vw, 3.2rem); letter-spacing: .25em; color: var(--yellow); }
.tachan-txt .dots::after { content: ''; animation: dots 1s steps(4) infinite; }
.tachan-big { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(0); font-family: var(--font-title); font-size: clamp(4rem, 18vw, 14rem); line-height: 1; color: transparent; background: linear-gradient(120deg, var(--yellow), var(--orange), var(--pink)); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 0 30px rgba(255, 107, 0, .7)); white-space: nowrap; pointer-events: none; }
#tachan.boom .drum, #tachan.boom .tachan-txt { visibility: hidden; }
/* [CLAUDE 30/10/2026 20:40] El temblor ya no se aplica al body: un transform en el body convierte los overlays position:fixed (#tachan) en
   relativos a toda la página y el tambor se iba al centro del documento, fuera de la pantalla (Engui: "no veo los tambores").
   Ahora tiemblan las secciones y la caja del tachán, y el overlay sigue fijo a la pantalla. */
body.rumble .hero, body.rumble .section, body.rumble .foot, body.rumble .ticker-bottom, body.rumble .tachan-box { animation: rumble .08s linear infinite; }
@keyframes rumble { 0% { transform: translate(var(--r, 2px), 0); } 25% { transform: translate(0, calc(var(--r, 2px) * -1)); } 50% { transform: translate(calc(var(--r, 2px) * -1), 0); } 75% { transform: translate(0, var(--r, 2px)); } 100% { transform: translate(var(--r, 2px), 0); } }

/* Overlay expulsión */
#kick { position: fixed; inset: 0; z-index: 9000; background: rgba(120, 0, 0, .92); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; text-align: center; padding: 20px; }
#kick.on { display: flex; }
.kick-box { max-width: 640px; }
.kick-door { width: 120px; height: 120px; margin: 0 auto 10px; color: #fff; animation: doorSwing .8s ease infinite alternate; }
.kick-door svg { width: 100%; height: 100%; }
@keyframes doorSwing { to { transform: rotate(-12deg) scale(1.1); } }
.kick-title { font-family: var(--font-title); font-size: clamp(3rem, 12vw, 7rem); color: #fff; letter-spacing: .08em; line-height: 1; text-shadow: 0 0 40px #000; }
.kick-txt { color: #ffd9d9; font-size: 1.25rem; margin: 1em 0 1.4em; }
.kick-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.kick-count { margin-top: 1.6em; color: #ffb3b3; font-family: var(--font-title); letter-spacing: .15em; font-size: 1.1rem; }
.kick-count b { color: #fff; font-size: 1.5em; }
body.shake { animation: shake .5s ease; }
@keyframes shake { 10%, 90% { transform: translate(-2px, 0); } 20%, 80% { transform: translate(4px, 0); } 30%, 50%, 70% { transform: translate(-8px, 0); } 40%, 60% { transform: translate(8px, 0); } }

/* Responsive */
@media (max-width: 768px) {
  .hero { padding-top: 70px; }
  /* [CLAUDE 28/10/2026 23:29] Sello más pequeño y pegado al borde en móvil: a 320 px sobresalía. */
  .soon { right: 0; bottom: -14%; }
  .soon span { font-size: clamp(1.05rem, 5.2vw, 1.6rem); }
  .legend { text-align: center; border-left: 0; border-top: 4px solid var(--yellow); border-radius: 0 0 12px 12px; }
  .section { padding: 70px 0; }
  .ticker-track { font-size: 1.05rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
