/* ================= Inter U · sitio público ================= */
html, body, main { overflow-x: clip; }
body { background: var(--night-900); }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--ink-3); }
.center { text-align: center; }

/* ---------- Topbar ---------- */
.topbar {
  position: fixed; z-index: 60; inset: 0 0 auto 0;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: max(14px, env(safe-area-inset-top)) 16px 14px;
  transition: background-color .35s var(--ease-out), box-shadow .35s var(--ease-out), padding .35s var(--ease-out), backdrop-filter .35s;
}
/* Al bajar: franja fija con el logo */
.topbar.is-stuck {
  padding-top: max(10px, env(safe-area-inset-top)); padding-bottom: 10px;
  background: rgba(18, 6, 34, .82);
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08), 0 12px 30px -12px rgba(0, 0, 0, .7);
}
.topbar__logo img { width: 104px; height: auto; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .45)); transition: width .35s var(--ease-out); }
.topbar.is-stuck .topbar__logo img { width: 86px; }
.topbar__date {
  font-weight: 900; font-size: 11px; letter-spacing: .14em; color: var(--ink); white-space: nowrap;
  padding: 9px 14px; border-radius: 999px;
  background: rgba(22, 8, 40, .45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px var(--line-2) inset;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; min-height: max(100svh, 760px);
  display: grid; place-items: center;
  padding: 92px 16px 150px;
  background:
    radial-gradient(120% 55% at 50% 108%, rgba(25, 182, 210, .85) 0, rgba(91, 47, 201, .75) 28%, transparent 62%),
    radial-gradient(90% 60% at 50% 30%, rgba(124, 77, 255, .22), transparent 70%),
    linear-gradient(180deg, #1a0a31 0%, #2a1050 55%, #3b1a7a 100%);
}
.hero__sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.stars {
  position: absolute; inset: 0; opacity: .8;
  background-image:
    radial-gradient(1.6px 1.6px at 12% 18%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 78% 12%, #e6d6ff 50%, transparent 51%),
    radial-gradient(2px 2px at 88% 42%, #c9a8ff 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 22% 56%, #fff 50%, transparent 51%),
    radial-gradient(1.8px 1.8px at 64% 66%, #d9c2ff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 40% 8%, #fff 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 6% 74%, #c9a8ff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 94% 80%, #fff 50%, transparent 51%);
  animation: twinkle 5s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .45; } to { opacity: .95; } }

.hero__moon {
  position: absolute; left: 50%; top: 4%;
  width: min(118vw, 760px); translate: -50% 0;
  opacity: .97;
}
.bats {
  position: absolute; left: 50%; top: 6%;
  width: min(140vw, 1250px); aspect-ratio: 1 / .4957; translate: -50% 0;
}
/* Cada murciélago vuela por su cuenta y aletea */
.bat { position: absolute; display: block; animation: bat-fly var(--d) ease-in-out var(--dl) infinite alternate; animation-play-state: paused; }
/* Los murciélagos empiezan a volar después del primer dibujo de la página */
.is-ready .bat, .is-ready .bat svg { animation-play-state: running; }
.bat svg { display: block; width: 100%; height: auto; overflow: visible; fill: #010a11; transform-origin: 50% 40%; animation: bat-flap var(--f) ease-in-out infinite alternate; animation-play-state: paused; }
@keyframes bat-fly {
  0%   { transform: translate(0, 0) rotate(0deg); }
  33%  { transform: translate(calc(var(--dx) * .6), calc(var(--dy) - 6px)) rotate(-4deg); }
  66%  { transform: translate(calc(var(--dx) * -.4), calc(var(--dy) * -.5)) rotate(3deg); }
  100% { transform: translate(var(--dx), var(--dy)) rotate(-2deg); }
}
@keyframes bat-flap { from { transform: scaleY(1) scaleX(1); } to { transform: scaleY(.45) scaleX(1.06); } }
.hero__tree { position: absolute; bottom: 70px; height: min(78%, 760px); width: auto; opacity: .95; }
.hero__tree--r { right: -60px; }
.hero__tree--l { left: -70px; transform: scaleX(-1); }

.hero__stage { position: relative; z-index: 2; display: grid; justify-items: center; text-align: center; width: 100%; max-width: 760px; }
.pumpkin {
  position: relative; width: min(74vw, 470px); aspect-ratio: 900 / 930;
  margin-top: min(16vw, 120px);
  animation: float 6s ease-in-out infinite; animation-play-state: paused;
}
/* Resplandor bajo la calabaza: un degradado (barato de dibujar) en vez de una sombra con filtro */
.pumpkin::before { content: ""; position: absolute; inset: 18% 2% -8%; z-index: -1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(242, 98, 26, .38), rgba(242, 98, 26, 0)); }
.pumpkin img { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Fuego de los ojos: imágenes recortadas solo al tamaño de cada llama (mucho menos memoria gráfica en el celular) */
.pumpkin .flame { inset: auto; height: auto; animation: flicker 1.1s ease-in-out infinite alternate; animation-play-state: paused; }
.pumpkin .flame--a { left: 18.333%; top: 0; width: 25.556%; transform-origin: 49.6% 98%; }
.pumpkin .flame--b { left: 59.222%; top: 8.71%; width: 25.444%; transform-origin: 50.2% 98%; animation-duration: .9s; animation-delay: -.4s; }
.pumpkin .flame--c { left: 67.778%; top: 2.473%; width: 21.222%; transform-origin: 48.2% 98%; animation-name: wisp; animation-duration: 1.6s; }
/* La calabaza se dibuja quieta primero y empieza a moverse cuando la página ya cargó */
.is-ready .pumpkin, .is-ready .pumpkin .flame, .is-ready .pumpkin__glow { animation-play-state: running; }
/* Solo transform y opacity: la tarjeta gráfica lo anima sin redibujar la página */
@keyframes flicker {
  0%   { transform: scale(1, 1) skewX(0deg); opacity: .92; }
  25%  { transform: scale(.96, 1.08) skewX(-3deg); opacity: 1; }
  50%  { transform: scale(1.03, .94) skewX(2deg); opacity: .88; }
  75%  { transform: scale(.98, 1.12) skewX(-2deg); opacity: 1; }
  100% { transform: scale(1.02, 1.02) skewX(3deg); opacity: .95; }
}
@keyframes wisp {
  0%   { transform: translateY(0) scale(1); opacity: .9; }
  50%  { transform: translateY(-6px) scale(1.04, 1.1) skewX(-4deg); opacity: 1; }
  100% { transform: translateY(-2px) scale(.97, 1.04) skewX(4deg); opacity: .75; }
}
.pumpkin__glow {
  position: absolute; inset: 22% 10% 40%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side at 30% 55%, rgba(255, 170, 60, .55), transparent), radial-gradient(closest-side at 72% 52%, rgba(255, 170, 60, .55), transparent);
  mix-blend-mode: screen; filter: blur(12px); animation: glow 1.4s ease-in-out infinite alternate; animation-play-state: paused;
}
@keyframes glow { from { opacity: .35; } to { opacity: .85; } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-12px) rotate(1deg); } }
.hero__title { margin: -14% 0 0; width: min(96vw, 720px); line-height: 0; animation: title-in 1.1s var(--ease-out) both .15s; }
.hero__title img { display: block; width: 100%; height: auto; }
/* Solo HALLOWEEN se mueve; la franja INTERUNIVERSITARIO queda quieta */
.hero__title { position: relative; }
.hero__title .hero__word { position: relative; z-index: 1; transform-origin: 50% 100%; filter: drop-shadow(0 14px 30px rgba(0, 0, 0, .55)); animation: title-sway 5.5s ease-in-out infinite 1.3s; }
/* Resplandor naranja detrás de HALLOWEEN: se anima solo su opacidad (liviano) */
.hero__title::before { content: ""; position: absolute; z-index: 0; inset: -6% 4% 22%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 138, 42, .5), rgba(255, 138, 42, 0)); opacity: 0; animation: title-halo 2.6s ease-in-out infinite alternate; }
@keyframes title-halo { from { opacity: .1; } to { opacity: .75; } }
.hero__title .hero__sub { margin-top: -.08%; filter: drop-shadow(0 14px 30px rgba(0, 0, 0, .55)); }
@keyframes title-in { from { opacity: 0; transform: translateY(26px) scale(.94); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
/* Balanceo tenebroso con un pequeño "temblor" cada ciclo */
@keyframes title-sway {
  0%, 100% { transform: rotate(0deg) translateY(0); }
  20% { transform: rotate(-.9deg) translateY(-5px); }
  40% { transform: rotate(.7deg) translateY(-2px); }
  46% { transform: rotate(-1.1deg) translateX(-2px); }
  48% { transform: rotate(1.1deg) translateX(2px); }
  50% { transform: rotate(0deg); }
  75% { transform: rotate(.6deg) translateY(-4px); }
}
@keyframes title-glow {
  from { filter: drop-shadow(0 14px 30px rgba(0, 0, 0, .55)) drop-shadow(0 0 0 rgba(255, 138, 42, 0)); }
  to   { filter: drop-shadow(0 14px 30px rgba(0, 0, 0, .55)) drop-shadow(0 0 22px rgba(255, 138, 42, .55)); }
}
.hero__meta {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 12px;
  margin: 18px 0 0; font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2);
  text-shadow: 0 2px 12px rgba(0, 0, 0, .8);
}
.hero__meta strong { color: var(--gold-400); font-weight: 900; }
.dot { width: 5px; height: 5px; border-radius: 50%; background: var(--ink-3); }
.hero__cta { margin-top: 26px; display: grid; justify-items: center; gap: 12px; }
.hero__price { margin: 0; font-size: 14px; color: var(--ink-2); }
.hero__price strong { font-weight: 900; color: var(--ink); }
.hero__price s { color: var(--ink-3); }
.tag { display: inline-block; padding: 3px 9px; border-radius: 999px; background: rgba(255, 180, 64, .16); color: var(--gold-300); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; vertical-align: 1px; }
.hero__low { margin: 0; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; color: var(--pumpkin-400); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--pumpkin-400); box-shadow: 0 0 0 0 rgba(255, 138, 42, .7); animation: pulse 1.6s infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 10px rgba(255, 138, 42, 0); } }

.hero__floor { position: absolute; z-index: 1; left: 50%; bottom: -2px; width: max(760px, 118vw); max-width: none; translate: -50% 0; pointer-events: none; }
.hero::after { /* fundido hacia la sección siguiente */
  content: ""; position: absolute; z-index: 1; inset: auto 0 0; height: 70px;
  background: linear-gradient(transparent, var(--night-950));
}

/* Cinta pegada al borde del hero */
.hero + .tape { margin-top: -26px; z-index: 5; rotate: -2deg; width: 110%; margin-left: -5%; }

/* ---------- Secciones ---------- */
.section { position: relative; padding: 64px 0; }
@media (min-width: 720px) { .section { padding: 96px 0; } }
.info { background: var(--night-950); padding-top: 72px; }
.eyebrow { margin: 0 0 10px; font-size: 12px; font-weight: 800; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-400); }
.h2 { margin: 0 0 36px; font-size: clamp(32px, 7vw, 56px); line-height: 1.02; font-weight: 900; letter-spacing: -.02em; text-transform: uppercase; text-wrap: balance; }
.hl { color: var(--gold-400); }
.h2.center { text-align: center; }

/* Bento */
.bento { display: grid; gap: 14px; grid-template-columns: 1fr; }
.card {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 24px; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(91, 47, 201, .22), rgba(36, 16, 63, .9) 60%);
  box-shadow: 0 0 0 1px var(--line) inset;
  min-height: 170px;
}
.card__label { margin: 0 0 8px; font-size: 11px; font-weight: 800; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-3); }
.card__big { margin: 0; font-size: clamp(26px, 5.5vw, 34px); line-height: 1.05; font-weight: 900; letter-spacing: -.01em; text-transform: uppercase; max-width: 14ch; }
.card__sub { margin: 10px 0 0; font-size: 14px; color: var(--ink-3); }
.card__art { position: absolute; z-index: -1; right: -10px; bottom: -14px; width: 130px; height: auto; opacity: .95; rotate: 8deg; }
.card__art--beer { width: 92px; right: 12px; top: 10px; bottom: auto; rotate: -6deg; opacity: .95; }
.card--price .prices { flex-wrap: wrap; }
.link-arrow { display: inline-flex; gap: 6px; margin-top: 16px; font-weight: 800; font-size: 14px; color: var(--gold-400); text-decoration: none; }
.link-arrow span { transition: transform .2s var(--ease-out); }
@media (hover: hover) { .link-arrow:hover span { transform: translateX(4px); } }

.countdown { display: flex; gap: 8px; margin-top: 2px; }
.countdown div { display: grid; justify-items: center; min-width: 60px; padding: 10px 8px; border-radius: 14px; background: rgba(13, 4, 24, .55); box-shadow: 0 0 0 1px var(--line) inset; }
.countdown b { font-size: 24px; font-weight: 900; font-variant-numeric: tabular-nums; line-height: 1.1; }
.countdown span { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }

.card--price { background: linear-gradient(160deg, rgba(255, 180, 64, .18), rgba(36, 16, 63, .92) 65%); }
.prices { display: flex; gap: 10px; align-items: stretch; margin-top: 4px; }
.price { display: grid; padding: 12px 14px; border-radius: 14px; }
.price span { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.price b { font-size: 28px; font-weight: 900; line-height: 1.1; }
.price--now { background: var(--gold-400); color: #1a0b30; }
.price--door { box-shadow: 0 0 0 1px var(--line-2) inset; color: var(--ink-3); }
.price--door { color: var(--ink); }
.price--door span { color: var(--ink-3); }
.price--door b { font-size: 26px; }

.unis { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 0; padding: 0; }
.unis li { padding: 9px 14px; border-radius: 999px; font-weight: 900; font-size: 15px; letter-spacing: .08em; background: rgba(255, 255, 255, .06); box-shadow: 0 0 0 1px var(--line-2) inset; }

@media (min-width: 720px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .card--date { grid-column: span 3; grid-row: span 2; min-height: 360px; display: flex; flex-direction: column; justify-content: flex-end; }
  .card--date .card__art { width: 220px; right: 18px; top: 18px; bottom: auto; rotate: 6deg; }
  .card--place { grid-column: span 3; }
  .card--price { grid-column: span 3; }
  .card--unis { grid-column: span 6; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; }
  .card--unis .card__label { margin: 0; }
  .card--unis .card__sub { margin: 0 0 0 auto; }
}

/* ---------- Galería ---------- */
.gallery { background: linear-gradient(var(--night-950), var(--night-900)); overflow: hidden; }
.marquee { overflow-x: auto; overflow-y: hidden; padding: 8px 0; scrollbar-width: none; cursor: grab; touch-action: pan-x pan-y; overscroll-behavior-x: contain; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee::-webkit-scrollbar { display: none; }
.marquee.is-dragging { cursor: grabbing; }
.marquee__track { display: flex; gap: 12px; width: max-content; padding: 0 6px; }
.no-js .marquee__track { animation: tape-scroll 60s linear infinite; }
.shot img { user-select: none; -webkit-user-select: none; -webkit-user-drag: none; pointer-events: none; }
.shot { margin: 0; width: clamp(220px, 34vw, 380px); aspect-ratio: 3 / 2; border-radius: 16px; overflow: hidden; background: var(--night-800); }
.shot img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.1) contrast(1.03); }
.marquee:nth-of-type(odd) .shot:nth-child(odd) { rotate: -1.2deg; }
.marquee:nth-of-type(even) .shot:nth-child(even) { rotate: 1.2deg; }

/* ---------- Pasos ---------- */
.steps { background: var(--night-900); }
.steps__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps__list li { display: flex; gap: 18px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: rgba(255, 255, 255, .035); box-shadow: 0 0 0 1px var(--line) inset; }
.steps__list h3 { margin: 2px 0 4px; font-size: 18px; font-weight: 900; }
.steps__list p { margin: 0; color: var(--ink-3); font-size: 15px; }
.num { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--gold-400); color: #1a0b30; font-weight: 900; font-size: 20px; rotate: -4deg; }
@media (min-width: 860px) { .steps__list { grid-template-columns: repeat(3, 1fr); } .steps__list li { flex-direction: column; } }

/* ---------- Patrocinadores ---------- */
.sponsors { background: radial-gradient(70% 60% at 50% 40%, rgba(124, 77, 255, .25), transparent 70%), var(--night-900); text-align: center; }
.sponsors__gift { width: 96px; height: auto; margin: 0 auto 6px; rotate: -8deg; animation: float 5s ease-in-out infinite; }
.sponsors__card { max-width: 900px; margin: 0 auto; padding: clamp(10px, 2.5vw, 22px); border-radius: var(--radius); background: #fff; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8); }
.sponsors__card img { width: 100%; height: auto; }

/* ---------- CTA final ---------- */
.final {
  position: relative; overflow: hidden; isolation: isolate; text-align: center;
  padding: 90px 16px 260px;
  background: radial-gradient(100% 70% at 50% 100%, rgba(25, 182, 210, .55), rgba(91, 47, 201, .55) 35%, transparent 70%), linear-gradient(var(--night-900), #2a1050);
}
.final__devil { width: 110px; height: auto; margin: 0 auto 10px; animation: float 4.5s ease-in-out infinite; }
.final__title { margin: 0 0 30px; font-size: clamp(44px, 11vw, 96px); line-height: .95; font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; }
.final__title span { display: inline-block; margin-top: 8px; padding: 0 .25em; color: var(--gold-400); background: #1a0b30; rotate: -1.5deg; }
.final__cta { position: relative; z-index: 2; }
.final__floor { position: absolute; z-index: -1; left: 50%; bottom: -4px; width: max(1000px, 110vw); max-width: none; translate: -50% 0; }

/* ---------- Footer ---------- */
.footer { padding: 40px 16px calc(110px + env(safe-area-inset-bottom)); text-align: center; background: #000; color: var(--ink-3); font-size: 13px; }
.footer img { width: 96px; height: auto; margin: 0 auto 10px; }
.footer p { margin: 4px 0; }
.footer a { color: var(--ink-2); }
@media (min-width: 720px) { .footer { padding-bottom: 40px; } }

/* ---------- CTA fija en celular ---------- */
.sticky-cta {
  position: fixed; z-index: 50; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 10px 10px 18px; border-radius: 999px;
  background: rgba(22, 8, 40, .82); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 0 0 1px var(--line-2) inset, 0 18px 40px -10px rgba(0, 0, 0, .7);
  transform: translateY(140%); transition: transform .45s var(--ease-out);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta > div { display: grid; line-height: 1.15; }
.sticky-cta b { font-size: 18px; font-weight: 900; }
.sticky-cta > div span { font-size: 11px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .12em; }
.btn--sticky { min-height: 50px; padding: 0 20px; font-size: 14px; }
@media (min-width: 720px) { .sticky-cta { left: auto; right: 24px; bottom: 24px; width: 380px; } }

/* ---------- Animación de entrada al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (min-width: 900px) {
  .hero { padding: 80px 16px 120px; }
  .hero__moon { width: min(64vh, 700px); top: 2%; }
  .pumpkin { width: min(42vh, 380px); margin-top: min(9vh, 90px); }
  .hero__title { width: min(78vh, 640px); }
  .hero__tree { height: 88%; }
  .hero__tree--l { left: -20px; }
  .hero__tree--r { right: -10px; }
}
@media (max-width: 520px) {
  .hero { padding-bottom: 110px; }
  .hero__floor { width: 200vw; }
  .hero__tree { height: 62%; opacity: .7; }
  .hero__tree--l { left: -110px; }
  .hero__tree--r { right: -100px; }
}

/* =============== Flujo de compra =============== */
.page-flow { min-height: 100svh; background:
  radial-gradient(110% 50% at 50% 115%, rgba(25, 182, 210, .45), rgba(91, 47, 201, .45) 35%, transparent 65%),
  linear-gradient(180deg, #160828, #24103f); background-attachment: fixed; }
.flow { width: min(620px, 100% - 32px); margin: 0 auto; padding: max(18px, env(safe-area-inset-top)) 0 120px; }
.flow__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 56px; }
.flow__top img { width: 92px; height: auto; }
.flow__back { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px 0 10px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .06); color: var(--ink-2); font-weight: 700; font-size: 14px; text-decoration: none; cursor: pointer; }
.flow__back svg { width: 18px; height: 18px; }
.flow__back[hidden] { display: none; }
.progress { display: flex; gap: 6px; margin: 14px 0 28px; }
.progress i { flex: 1; height: 5px; border-radius: 5px; background: rgba(255, 255, 255, .12); overflow: hidden; position: relative; }
.progress i::after { content: ""; position: absolute; inset: 0; background: var(--gold-400); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.progress i.on::after { transform: scaleX(1); }

.step { display: none; }
.step.is-active { display: block; animation: step-in .45s var(--ease-out); }
@keyframes step-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.step__kicker { margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-400); }
.step__title { margin: 0 0 8px; font-size: clamp(30px, 8vw, 44px); line-height: 1.02; font-weight: 900; letter-spacing: -.02em; text-wrap: balance; }
.step__lead { margin: 0 0 26px; color: var(--ink-3); font-size: 15px; }

/* Botones de promotores */
.promos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 480px) { .promos { grid-template-columns: repeat(3, 1fr); } }
.promo { position: relative; }
.promo input { position: absolute; opacity: 0; pointer-events: none; }
.promo label {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  min-height: 118px; padding: 16px 8px; border-radius: 18px; cursor: pointer; user-select: none; -webkit-user-select: none;
  background: rgba(255, 255, 255, .05); box-shadow: 0 0 0 1px var(--line-2) inset;
  font-weight: 800; font-size: 16px; text-align: center;
  transition: transform .16s var(--ease-out), background-color .2s, box-shadow .2s;
}
.promo label:active { transform: scale(.96); }
@media (hover: hover) and (pointer: fine) { .promo label:hover { background: rgba(255, 255, 255, .09); } }
.avatar { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; font-weight: 900; font-size: 20px; color: #1a0b30; background: var(--c, var(--gold-400)); box-shadow: 0 6px 18px -6px var(--c, var(--gold-400)); transition: transform .3s var(--ease-out); }
.promo input:checked + label { background: rgba(255, 180, 64, .14); box-shadow: 0 0 0 2px var(--gold-400) inset, 0 10px 30px -10px rgba(255, 180, 64, .6); }
.promo input:checked + label .avatar { transform: scale(1.08) rotate(-6deg); }
.promo input:focus-visible + label { outline: 3px solid var(--gold-400); outline-offset: 3px; }
.promo--none { grid-column: 1 / -1; }
.promo--none label { min-height: 60px; flex-direction: row; font-size: 15px; color: var(--ink-2); }

.chosen { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; padding: 10px 12px; border-radius: 16px; background: rgba(255, 255, 255, .05); box-shadow: 0 0 0 1px var(--line) inset; font-size: 14px; color: var(--ink-3); }
.chosen .avatar { width: 36px; height: 36px; font-size: 15px; }
.chosen b { color: var(--ink); font-weight: 800; }
.chosen button { margin-left: auto; border: 0; background: none; color: var(--gold-400); font-weight: 800; font-size: 13px; cursor: pointer; padding: 8px; }

.qty { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 14px 14px 18px; border-radius: 18px; background: rgba(255, 255, 255, .05); box-shadow: 0 0 0 1px var(--line) inset; margin-bottom: 24px; }
.qty__info b { display: block; font-size: 16px; font-weight: 800; }
.qty__info span { font-size: 13px; color: var(--ink-3); }
.qty__ctrl { display: flex; align-items: center; gap: 4px; }
.qty__ctrl button { width: 46px; height: 46px; border-radius: 14px; border: 0; background: rgba(255, 255, 255, .08); color: var(--ink); font-size: 22px; font-weight: 700; cursor: pointer; touch-action: manipulation; transition: transform .12s var(--ease-out), background-color .2s; }
.qty__ctrl button:active { transform: scale(.92); }
.qty__ctrl button:disabled { opacity: .3; }
.qty__ctrl output { min-width: 40px; text-align: center; font-size: 24px; font-weight: 900; font-variant-numeric: tabular-nums; }

.fields { display: grid; gap: 16px; }
.fields h3 { margin: 10px 0 -4px; font-size: 13px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.guest { display: grid; gap: 6px; }
.guest > span { font-size: 13px; font-weight: 700; color: var(--ink-3); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip label { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; cursor: pointer; font-weight: 800; font-size: 14px; letter-spacing: .04em; background: rgba(255, 255, 255, .05); box-shadow: 0 0 0 1px var(--line-2) inset; transition: background-color .2s, box-shadow .2s, color .2s; user-select: none; -webkit-user-select: none; }
.chip input:checked + label { background: var(--gold-400); color: #1a0b30; box-shadow: none; }
.chip input:focus-visible + label { outline: 3px solid var(--gold-400); outline-offset: 2px; }

.summary { border-radius: 20px; overflow: hidden; background: rgba(255, 255, 255, .05); box-shadow: 0 0 0 1px var(--line) inset; margin-bottom: 20px; }
.summary__row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 18px; font-size: 15px; border-bottom: 1px solid var(--line); }
.summary__row span:first-child { color: var(--ink-3); }
.summary__row b { font-weight: 800; text-align: right; }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; padding: 18px; background: rgba(255, 180, 64, .1); }
.summary__total span { font-weight: 800; letter-spacing: .14em; font-size: 12px; text-transform: uppercase; }
.summary__total b { font-size: 30px; font-weight: 900; color: var(--gold-400); }
.checks { display: grid; gap: 14px; margin: 6px 0 24px; }

.flow__bar { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; padding: 14px 16px max(14px, env(safe-area-inset-bottom)); background: linear-gradient(transparent, rgba(22, 8, 40, .92) 30%); }
.flow__bar .btn { width: min(620px, 100%); margin: 0 auto; display: flex; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* =============== Pago =============== */
.pay-head { text-align: center; margin: 8px 0 22px; }
.timer { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 138, 42, .14); color: var(--pumpkin-400); font-weight: 800; font-size: 14px; font-variant-numeric: tabular-nums; }
.timer svg { width: 16px; height: 16px; }
.paycard { border-radius: 24px; padding: 22px; background: linear-gradient(160deg, rgba(91, 47, 201, .35), rgba(36, 16, 63, .95) 60%); box-shadow: 0 0 0 1px var(--line-2) inset, 0 30px 60px -30px rgba(0, 0, 0, .8); margin-bottom: 18px; }
.payrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px dashed var(--line-2); }
.payrow:last-child { border-bottom: 0; padding-bottom: 0; }
.payrow:first-child { padding-top: 0; }
.payrow small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 2px; }
.payrow strong { font-size: 24px; font-weight: 900; letter-spacing: .02em; }
.payrow .amount { color: var(--gold-400); font-size: 34px; }
.payrow em { display: block; font-style: normal; font-size: 13px; color: var(--ink-3); }
.copy { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .1); color: var(--ink); font-weight: 800; font-size: 13px; cursor: pointer; transition: background-color .2s, transform .12s var(--ease-out); touch-action: manipulation; }
.copy:active { transform: scale(.95); }
.copy.is-done { background: var(--ok); color: #062a1b; }
.copy svg { width: 15px; height: 15px; }
.howto { margin: 0 0 22px; padding-left: 20px; color: var(--ink-2); font-size: 14px; display: grid; gap: 6px; }
.howto b { color: var(--ink); }

.drop { position: relative; display: grid; place-items: center; gap: 8px; min-height: 150px; padding: 22px; border-radius: 20px; border: 2px dashed var(--line-2); background: rgba(255, 255, 255, .03); text-align: center; cursor: pointer; transition: border-color .2s, background-color .2s; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop svg { width: 34px; height: 34px; color: var(--gold-400); }
.drop b { font-weight: 800; }
.drop span { font-size: 13px; color: var(--ink-3); }
.drop.has-file { border-style: solid; border-color: var(--gold-400); background: rgba(255, 180, 64, .07); }
.drop img.preview { max-height: 180px; width: auto; border-radius: 10px; }

.state { text-align: center; padding: 26px 8px; }
.state__icon { width: 92px; height: 92px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 180, 64, .14); }
.state__icon svg { width: 44px; height: 44px; color: var(--gold-400); }
.state__icon--spin svg { animation: spin 2.4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.state h1 { margin: 0 0 10px; font-size: clamp(28px, 7vw, 38px); line-height: 1.05; font-weight: 900; }
.state p { margin: 0 auto 12px; max-width: 42ch; color: var(--ink-2); }

/* =============== Entradas (QR) =============== */
.tix { display: grid; gap: 18px; }
.tix__card { position: relative; border-radius: 26px; background: #fff; color: #1a0b30; overflow: hidden; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .9); }
.tix__top { padding: 18px 20px 14px; background: linear-gradient(135deg, #2b1052, #5b2fc9); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tix__top img { width: 84px; height: auto; }
.tix__top span { font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-300); }
.tix__body { display: grid; justify-items: center; padding: 20px 20px 8px; text-align: center; }
.tix__body small { font-size: 11px; font-weight: 800; letter-spacing: .24em; color: #7a5aa8; text-transform: uppercase; }
.tix__body h2 { margin: 4px 0 14px; font-size: 24px; font-weight: 900; line-height: 1.1; }
.tix__qr { width: min(250px, 72vw); height: auto; image-rendering: pixelated; }
.tix__card.is-used .tix__qr { opacity: .15; filter: grayscale(1); }
.tix__stamp { position: absolute; top: 46%; left: 50%; translate: -50% -50%; rotate: -12deg; padding: 8px 18px; border: 4px solid var(--bad); color: var(--bad); font-size: 26px; font-weight: 900; letter-spacing: .1em; border-radius: 10px; background: rgba(255, 255, 255, .85); }
.tix__perf { position: relative; height: 22px; margin: 6px 0; }
.tix__perf::before { content: ""; position: absolute; left: 22px; right: 22px; top: 50%; border-top: 2px dashed #e0d6ee; }
.tix__perf::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 0 50%, var(--night-900) 11px, transparent 12px), radial-gradient(circle at 100% 50%, var(--night-900) 11px, transparent 12px); }
.tix__foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 6px 16px 20px; }
.tix__foot .btn { --bg: #f1ebfa; --fg: #2b1052; min-height: 42px; font-size: 14px; padding: 0 16px; }
.tix__foot .btn--wa { --bg: #25d366; --fg: #062a12; }
.tix__meta { font-size: 12px; color: #6b5a88; padding: 0 20px 6px; text-align: center; }

/* Página de privacidad */
.prose { width: min(720px, 100% - 32px); margin: 0 auto; padding: 30px 0 80px; color: var(--ink-2); }
.prose h1 { font-size: 34px; font-weight: 900; color: var(--ink); line-height: 1.1; }
.prose h2 { font-size: 18px; color: var(--ink); margin-top: 28px; }
.prose a { color: var(--gold-400); }
@media (max-width: 520px) { .hero__meta { flex-direction: column; gap: 2px; } .hero__meta .dot { display: none; } }
.card--unis { min-height: 0; }
html { background: #160828; }
.step__title:focus { outline: none; }
.flow__bar[hidden] { display: none; }

/* ---------- Video ---------- */
.video { background: var(--night-950); text-align: center; }
.video__frame { position: relative; width: min(420px, 100%); margin: 0 auto; border-radius: 24px; overflow: hidden; background: #000; aspect-ratio: 9 / 16; box-shadow: 0 0 0 1px var(--line-2), 0 30px 80px -30px rgba(124, 77, 255, .6); }
.video__frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video__sound { position: absolute; left: 12px; top: 12px; border: 0; border-radius: 999px; padding: 9px 14px; font-weight: 800; font-size: 13px; color: #fff; background: rgba(0, 0, 0, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); cursor: pointer; }
.video__sound[hidden] { display: none; }
@media (max-width: 719px) {
  .card--date .card__art { width: 84px; right: 14px; top: 14px; bottom: auto; rotate: 8deg; }
  .card__art--beer { width: 72px; top: 8px; right: 10px; }
  .card--price .prices { margin-top: 26px; }
  .countdown div { min-width: 0; flex: 1; }
}

/* ---------- Fotos de promotores ---------- */
.avatar--photo { padding: 0; overflow: hidden; background: var(--night-700); box-shadow: 0 0 0 3px var(--c, var(--gold-400)), 0 8px 22px -8px var(--c, var(--gold-400)); }
.avatar--photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.promo .avatar { width: 64px; height: 64px; font-size: 24px; }
.promo label { min-height: 132px; }
.chosen .avatar--photo { box-shadow: 0 0 0 2px var(--c, var(--gold-400)); }

/* ---------- Una tarjeta por persona ---------- */
.people { display: grid; gap: 16px; margin-top: 16px; }
.person { border-radius: 20px; padding: 16px 16px 18px; background: rgba(255, 255, 255, .04); box-shadow: 0 0 0 1px var(--line) inset; position: relative; }
.person--buyer { background: linear-gradient(160deg, rgba(255, 180, 64, .12), rgba(255, 255, 255, .03) 60%); box-shadow: 0 0 0 1px rgba(255, 180, 64, .35) inset; }
.person__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px dashed var(--line-2); }
.person__head b { display: block; font-size: 16px; font-weight: 900; }
.person__head small { display: block; font-size: 12px; color: var(--ink-3); }
.person__emoji { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; font-size: 26px; background: rgba(255, 255, 255, .08); }
.person--buyer .person__emoji { background: rgba(255, 180, 64, .2); }
.field__hint { display: inline-block; margin-left: 6px; font-style: normal; font-weight: 700; font-size: 12px; color: var(--gold-300); }

.summary__people { padding: 14px 18px; border-bottom: 1px solid var(--line); display: grid; gap: 10px; }
.summary__people > span { color: var(--ink-3); font-size: 15px; }
.who { display: flex; gap: 12px; align-items: center; }
.who__emoji { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-size: 20px; background: rgba(255, 255, 255, .07); }
.who b { display: block; font-size: 15px; font-weight: 800; }
.who small { display: block; font-size: 12px; color: var(--ink-3); word-break: break-all; }

/* ---------- Revisión manual del pago ---------- */
.state__icon--emoji { font-size: 46px; background: rgba(255, 180, 64, .14); animation: lupa 2.4s ease-in-out infinite; }
@keyframes lupa { 0%, 100% { transform: rotate(-8deg) translateX(-3px); } 50% { transform: rotate(8deg) translateX(3px); } }
.note { margin: 18px auto 0; max-width: 46ch; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .05); box-shadow: 0 0 0 1px var(--line) inset; color: var(--ink-2); font-size: 14px; text-align: left; }
.note b { color: var(--gold-300); }

/* ---------- Sección del promotor (link personal) ---------- */
.seller { padding: 56px 0 8px; }
.seller__card {
  position: relative; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 28px;
  padding: 28px; border-radius: 28px; overflow: hidden;
  background: linear-gradient(150deg, rgba(255, 180, 64, .2), rgba(36, 16, 63, .95) 60%);
  box-shadow: 0 0 0 1px rgba(255, 180, 64, .35) inset, 0 30px 60px -30px rgba(0, 0, 0, .8);
}
.seller__photo {
  flex: none; width: 168px; aspect-ratio: 1; border-radius: 50%; padding: 5px; rotate: -3deg;
  background: conic-gradient(from 200deg, var(--gold-400), #ff8a2a, #c77dff, var(--gold-400));
  box-shadow: 0 18px 40px -14px rgba(255, 138, 42, .7);
  animation: seller-bob 4s ease-in-out infinite;
}
.seller__photo img, .seller__photo span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #1a0b30; border: 4px solid #1a0b30; }
.seller__photo span { font-size: 64px; font-weight: 900; color: var(--gold-400); }
.seller__title { margin: 0; font-size: clamp(28px, 6vw, 46px); line-height: 1.02; font-weight: 900; letter-spacing: -.02em; text-transform: uppercase; text-wrap: balance; }
.seller__name { margin: 12px 0 20px; font-size: 22px; font-weight: 900; color: var(--gold-300); }
.seller .eyebrow { margin-bottom: 8px; }
@keyframes seller-bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-6px) rotate(2deg); } }
@media (max-width: 640px) {
  .seller__card { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 18px; padding: 26px 20px 28px; }
  .seller__photo { width: 148px; }
  .seller__cta { width: 100%; justify-content: center; }
}

/* ---------- Páginas legales ---------- */
.legal { line-height: 1.65; font-size: 15px; }
.legal h1 { margin: 18px 0 14px; }
.legal h2 { scroll-margin-top: 20px; }
.legal li { margin-bottom: 6px; }
.legal__back { margin: 0 0 10px; }
.legal__nav { display: flex; flex-wrap: wrap; gap: 8px; }
.legal__nav a { padding: 8px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; text-decoration: none; color: var(--ink-2); background: rgba(255, 255, 255, .06); }
.legal__nav a[aria-current="page"] { background: var(--gold-400); color: #1a0b30; }
.legal__table { overflow-x: auto; margin: 12px 0; border-radius: 12px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset; }
.legal__table:focus-visible { outline: 2px solid var(--gold-400); outline-offset: 2px; }
.legal table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 14px; }
.legal th, .legal td { padding: 10px 12px; text-align: left; vertical-align: top; border-top: 1px solid rgba(255, 255, 255, .1); }
.legal th { border-top: 0; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.legal hr { margin: 36px 0 16px; border: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.legal__org { font-size: 14px; }
.legal code { font-size: 13px; color: var(--gold-300); }
.marquee:focus-visible { outline: 2px solid var(--gold-400); outline-offset: 4px; border-radius: 8px; }
.check--optional span { color: var(--ink-3); }
.footer a { color: inherit; }

/* ---------- Premios y regalos ---------- */
.prizes__sub { margin: 8px 0 16px; font-size: clamp(20px, 4.4vw, 26px); font-weight: 900; letter-spacing: -.01em; }
.podium { display: grid; gap: 12px; margin-bottom: 44px; }
.podium__card { position: relative; padding: 22px 22px 20px; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(160deg, rgba(91, 47, 201, .28), rgba(36, 16, 63, .92) 65%); box-shadow: 0 0 0 1px var(--line) inset; }
.podium__card--1 { background: linear-gradient(150deg, rgba(255, 180, 64, .32), rgba(36, 16, 63, .92) 62%); box-shadow: 0 0 0 1px rgba(255, 180, 64, .55) inset, 0 20px 50px -24px rgba(255, 138, 42, .7); }
.podium__place { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-300); }
.podium__place span { font-size: 22px; letter-spacing: 0; vertical-align: -3px; margin-right: 4px; }
.podium__amount { margin: 8px 0 12px; font-size: clamp(34px, 9vw, 46px); line-height: 1; font-weight: 900; letter-spacing: -.02em; }
.podium__card--1 .podium__amount { color: var(--gold-400); }
.podium__amount small { display: block; margin-top: 6px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.podium__extras { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 15px; font-weight: 700; color: var(--ink-2); }
.gifts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gift { margin: 0; border-radius: 16px; overflow: hidden; background: rgba(36, 16, 63, .9); box-shadow: 0 0 0 1px var(--line) inset; }
.gift__img { position: relative; aspect-ratio: 720 / 295; background: var(--night-800); }
.gift__img img { width: 100%; height: 100%; object-fit: cover; }
.gift__qty { position: absolute; top: 8px; right: 8px; padding: 3px 9px; border-radius: 999px; background: var(--gold-400); color: #1a0b30; font-size: 12px; font-weight: 900; }
.gift__name { margin: 12px 12px 2px; font-size: 14px; line-height: 1.25; font-weight: 900; text-transform: uppercase; letter-spacing: .01em; }
.gift__by { margin: 0 12px 12px; font-size: 12px; color: var(--ink-3); font-weight: 600; }
@media (min-width: 720px) {
  .podium { grid-template-columns: 1.15fr 1fr 1fr; align-items: stretch; }
  .gifts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .gift__name { font-size: 15px; margin: 14px 16px 2px; } .gift__by { margin: 0 16px 14px; }
}
@media (min-width: 1000px) { .gifts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.upbar { position: relative; height: 34px; margin: 0 0 14px; border-radius: 999px; background: rgba(255, 255, 255, .06); overflow: hidden; display: grid; place-items: center; }
.upbar[hidden] { display: none; }
.upbar i { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, var(--gold-400), #ffcf7a); transition: width .2s linear; }
.upbar span { position: relative; font-size: 13px; font-weight: 800; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
