/* ==========================================================================
   THE TICKET — CAPA "FANCY" · Lenguaje visual Visual Maker
   Se carga DESPUÉS de main.css y timeline.css. Conserva el concepto
   (obsidiana, mercurio, medusas, boarding pass) y le suma:
   · Liquid glass VM: brillo especular que sigue el dedo (--lx/--ly),
     aros internos, burbuja de luz, rebote "jelly" con resorte.
   · Paleta iridiscente pastel (cielo, lila, rosa, perla).
   · Tipografía: Azonix (marca VM) + Montserrat + Instrument Serif itálica.
   · Foil holográfico en el pase, sellos tipo pasaporte, chispas.
   Para volver al diseño anterior basta con quitar este <link>.
   ========================================================================== */

@font-face {
  font-family: "Azonix";
  src: url("../fonts/Azonix.woff") format("woff");
  font-display: swap;
}

:root {
  --font-display: "Azonix", "Syne", system-ui, sans-serif;
  --font-sans: "Montserrat", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-serif: "Instrument Serif", "Times New Roman", serif;

  --iri-sky: #8fd8ff;
  --iri-lilac: #c3a3ff;
  --iri-rose: #ff8fd2;
  --iri-pearl: #ffe1f1;
  --iri-mint: #9ff5dc;

  /* Liquid glass Visual Maker */
  --lg-spec: radial-gradient(var(--lr, 180px) circle at var(--lx, 22%) var(--ly, 0%), rgba(255, 255, 255, 0.22), transparent 70%);
  --lg-rim: inset 1.5px 1.5px 0 rgba(255, 255, 255, 0.46), inset -1px -1px 0 rgba(255, 255, 255, 0.12), inset 0 0 22px rgba(255, 255, 255, 0.07);
  --lg-bf: blur(18px) saturate(2) brightness(1.1);
  --lg-spring: cubic-bezier(0.3, 1.5, 0.4, 1);
}

@property --ai-a {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

body {
  font-family: var(--font-sans);
  letter-spacing: -0.005em;
}

/* --------------------------------------------------------------------------
   Fondo: un velo rosado-lila más cálido sobre las medusas
   -------------------------------------------------------------------------- */
.ambient-vignette {
  background:
    radial-gradient(60% 40% at 15% 8%, rgba(195, 163, 255, 0.14), transparent 70%),
    radial-gradient(50% 35% at 90% 22%, rgba(143, 216, 255, 0.1), transparent 70%),
    radial-gradient(70% 45% at 50% 100%, rgba(255, 143, 210, 0.12), transparent 70%),
    radial-gradient(ellipse at center, transparent 50%, rgba(4, 4, 10, 0.7) 100%);
}

/* Capa de chispas flotantes (creada por fx.js) */
.sparkle-layer {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.sparkle-layer i {
  position: absolute;
  font-style: normal;
  color: #fff;
  opacity: 0;
  text-shadow: 0 0 10px rgba(255, 225, 241, 0.9);
  animation: twinkle var(--d, 5s) ease-in-out var(--dl, 0s) infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.4) rotate(0deg); }
  50% { opacity: var(--o, 0.7); transform: scale(1) rotate(25deg); }
}

/* --------------------------------------------------------------------------
   Texto cromado iridiscente (más rosa/lila, igual de "mercurio")
   -------------------------------------------------------------------------- */
.chrome-text {
  background: linear-gradient(120deg, #ffffff 0%, #e8ecf6 18%, #a9b3c9 34%, #ffffff 48%, var(--iri-rose) 62%, var(--iri-lilac) 74%, var(--iri-sky) 86%, #ffffff 100%);
  background-size: 260% 260%;
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 2px 14px rgba(195, 163, 255, 0.25));
}

.auth-title,
.pass-title {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.06em;
  font-size: clamp(1.7rem, 8vw, 2.3rem);
}

/* Toque romántico: serif itálica */
.fancy-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
}

.auth-subtitle .fancy-serif,
.progress-sub .fancy-serif {
  font-size: 1.12em;
  color: var(--iri-pearl);
}

/* --------------------------------------------------------------------------
   Tarjetas liquid glass con brillo que sigue el dedo
   -------------------------------------------------------------------------- */
.liquid-card {
  background:
    var(--lg-spec),
    linear-gradient(160deg, rgba(255, 255, 255, 0.08) 0%, rgba(22, 18, 40, 0.55) 38%, rgba(10, 9, 22, 0.72) 100%);
  box-shadow:
    var(--shadow-deep),
    var(--lg-rim),
    0 0 0 0.5px rgba(255, 255, 255, 0.05);
  --lr: 320px;
}

.liquid-card::before {
  background: conic-gradient(from var(--holo-angle), rgba(255, 255, 255, 0.6), var(--iri-sky), var(--iri-lilac), var(--iri-rose), var(--iri-pearl), var(--iri-mint), rgba(255, 255, 255, 0.6));
  opacity: 0.55;
}

/* --------------------------------------------------------------------------
   Botones: pill liquid glass VM (perla sólida + vidrio claro)
   -------------------------------------------------------------------------- */
.btn-liquid {
  isolation: isolate;
  border: 0;
  border-radius: var(--radius-pill);
  min-height: 54px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: #120d1f;
  background:
    var(--lg-spec),
    radial-gradient(120% 120% at 50% 120%, #ffffff, #fbeff8 40%, #e7dcf3 75%, #d8d2ea);
  box-shadow:
    inset 0 -6px 12px -6px rgba(60, 20, 80, 0.28),
    inset 0 6px 10px -6px rgba(255, 255, 255, 1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.9),
    0 14px 30px -10px rgba(255, 143, 210, 0.45),
    0 6px 12px -6px rgba(0, 0, 0, 0.6);
  --lr: 120px;
  transition: transform 0.5s var(--lg-spring), box-shadow 0.3s ease, filter 0.3s ease;
}

/* Burbuja de luz superior (como .pill::before de VM) */
.btn-liquid::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 10%;
  top: 12%;
  width: 30%;
  height: 36%;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(ellipse at 40% 45%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.3) 40%, rgba(255, 255, 255, 0) 70%);
  filter: blur(0.6px);
  transition: transform 0.5s var(--lg-spring);
}

/* Barrido de brillo constante (ctaShine) */
.btn-liquid::after {
  inset: 0;
  left: 0;
  width: auto;
  transform: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 143, 210, 0.18) 44%, rgba(255, 255, 255, 0.95) 50%, transparent 62%);
  background-size: 300% 100%;
  animation: ctaShine 3.8s ease-in-out infinite;
  transition: none;
  z-index: 0;
  mix-blend-mode: soft-light;
}
.btn-liquid:hover::after,
.btn-liquid:focus-visible::after {
  left: 0;
}

@keyframes ctaShine {
  0%, 60% { background-position: 130% 0; }
  100% { background-position: -60% 0; }
}

.btn-liquid:hover {
  animation: wobble 0.8s cubic-bezier(0.3, 0.7, 0.4, 1) forwards;
}
.btn-liquid:hover::before {
  transform: translate(4px, -1px) scale(1.1);
}
.btn-liquid:active {
  animation: none;
  transform: scale(1.06, 0.9) !important;
  transition: transform 0.12s;
}

@keyframes wobble {
  0% { transform: scale(1, 1); }
  25% { transform: scale(1.05, 0.94); }
  45% { transform: scale(0.97, 1.04); }
  62% { transform: scale(1.02, 0.985); }
  80% { transform: scale(0.995, 1.005); }
  100% { transform: scale(1.015, 1.015); }
}

.btn-liquid:disabled {
  animation: none;
  filter: saturate(0.4);
}

/* Vidrio claro (secundario) */
.btn-liquid-secondary {
  color: #fff;
  background: var(--lg-spec), radial-gradient(120% 140% at 50% -40%, rgba(255, 255, 255, 0.12), transparent 60%), rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(4px) saturate(1.8) brightness(1.2);
  backdrop-filter: blur(4px) saturate(1.8) brightness(1.2);
  box-shadow:
    inset 0 10px 14px -10px rgba(0, 0, 0, 0.65),
    inset 0 -8px 14px -8px rgba(255, 255, 255, 0.42),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    inset 2px 0 6px -3px rgba(255, 255, 255, 0.25),
    inset -2px 0 6px -3px rgba(255, 255, 255, 0.25),
    0 10px 18px -8px rgba(0, 0, 0, 0.65);
}
.btn-liquid-secondary::after {
  mix-blend-mode: overlay;
  opacity: 0.6;
}

/* Botones fantasma superiores con el mismo vidrio */
.icon-btn-ghost,
.status-pill {
  background: var(--lg-spec), rgba(255, 255, 255, 0.05);
  border: 0;
  box-shadow: var(--lg-rim);
  -webkit-backdrop-filter: var(--lg-bf);
  backdrop-filter: var(--lg-bf);
  --lr: 70px;
  transition: transform 0.45s var(--lg-spring), color 0.25s;
}
.icon-btn-ghost:active {
  transform: scale(0.9);
}
.pulse-dot {
  background: var(--iri-rose);
  box-shadow: 0 0 10px var(--iri-rose);
}

/* Inputs */
.glass-input,
.code-input {
  border-radius: 16px;
  background: rgba(10, 8, 22, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.45);
  font-family: var(--font-sans);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.glass-input:focus,
.code-input:focus {
  border-color: rgba(255, 143, 210, 0.7);
  box-shadow: 0 0 0 4px rgba(255, 143, 210, 0.14), inset 0 2px 8px rgba(0, 0, 0, 0.45);
}

.auth-eyebrow,
.pass-kicker {
  color: var(--iri-pearl);
}

/* --------------------------------------------------------------------------
   Boarding pass: inclinación 3D + foil holográfico
   -------------------------------------------------------------------------- */
.boarding-pass {
  transform-style: preserve-3d;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.6s var(--ease-fluid), box-shadow 0.5s ease;
  overflow: visible;
}

.holo-foil {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
  opacity: 0.32;
  mix-blend-mode: color-dodge;
  background:
    repeating-linear-gradient(115deg, transparent 0 14px, rgba(255, 255, 255, 0.05) 14px 15px),
    linear-gradient(calc(110deg + var(--fa, 0deg)), transparent 15%, rgba(143, 216, 255, 0.35) 30%, rgba(195, 163, 255, 0.38) 42%, rgba(255, 143, 210, 0.35) 54%, rgba(159, 245, 220, 0.3) 66%, transparent 82%);
  background-size: 100% 100%, 220% 220%;
  background-position: 0 0, var(--fx, 50%) var(--fy, 50%);
  transition: background-position 0.4s ease;
}

.boarding-pass > *:not(.holo-foil) {
  position: relative;
  z-index: 3;
}

.pass-guest-fancy {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.45rem;
  line-height: 1.05;
  background: linear-gradient(100deg, #fff 0%, var(--iri-pearl) 40%, var(--iri-rose) 70%, var(--iri-lilac) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 4px;
}

.pass-badge {
  background: var(--lg-spec), rgba(255, 255, 255, 0.07);
  border: 0;
  box-shadow: var(--lg-rim);
  --lr: 80px;
}
.pass-badge.live-vip {
  color: #120d1f;
  background: linear-gradient(120deg, #fff, var(--iri-pearl), var(--iri-sky));
  animation: badgeGlow 2.4s ease-in-out infinite;
}
@keyframes badgeGlow {
  0%, 100% { box-shadow: 0 0 14px rgba(255, 143, 210, 0.35); }
  50% { box-shadow: 0 0 28px rgba(143, 216, 255, 0.65); }
}

.route-arc-icon {
  color: var(--iri-rose);
  background: transparent;
  font-size: 1rem;
  animation: planeFloat 3.2s ease-in-out infinite;
  text-shadow: 0 0 12px rgba(255, 143, 210, 0.8);
}
@keyframes planeFloat {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-4px) rotate(12deg); }
}
.route-arc-line {
  height: 0;
  background: none;
  border-top: 1.5px dashed rgba(255, 225, 241, 0.45);
}

.pass-notch-left,
.pass-notch-right {
  background: #07060f;
}

/* Cuenta regresiva: fichas de vidrio con "tick" */
.cd-unit {
  border: 0;
  border-radius: 18px;
  background: var(--lg-spec), rgba(255, 255, 255, 0.045);
  box-shadow: var(--lg-rim);
  --lr: 70px;
  overflow: hidden;
}
.cd-number {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  display: inline-block;
}
.cd-number.tick {
  animation: digitTick 0.55s var(--lg-spring);
}
@keyframes digitTick {
  0% { transform: translateY(-40%) scale(0.85); opacity: 0.2; filter: blur(2px); }
  100% { transform: none; opacity: 1; filter: none; }
}

.barcode-visual {
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.8) 0 2px, transparent 2px 5px, rgba(255, 143, 210, 0.75) 5px 6px, transparent 6px 10px, rgba(195, 163, 255, 0.8) 10px 13px, transparent 13px 16px);
}

/* --------------------------------------------------------------------------
   Barra de progreso líquida con burbujas
   -------------------------------------------------------------------------- */
.liquid-bar-track {
  height: 14px;
}
.liquid-bar-fill {
  background: linear-gradient(90deg, var(--iri-sky), var(--iri-lilac) 45%, var(--iri-rose) 75%, var(--iri-pearl));
  background-size: 200% 100%;
  box-shadow: 0 0 18px rgba(255, 143, 210, 0.5);
  transition: width 1.1s var(--lg-spring);
  overflow: hidden;
}
.liquid-bar-fill::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(3px 3px at 20% 60%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(2px 2px at 55% 40%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(2.5px 2.5px at 80% 65%, rgba(255, 255, 255, 0.85), transparent);
  background-size: 60px 100%;
  animation: bubbles 2.6s linear infinite;
}
@keyframes bubbles {
  to { background-position: 60px 0; }
}
.progress-fraction {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--iri-pearl);
}

/* --------------------------------------------------------------------------
   Timeline
   -------------------------------------------------------------------------- */
.timeline-list::before {
  background: linear-gradient(180deg, var(--iri-sky), var(--iri-lilac) 50%, var(--iri-rose));
  opacity: 0.6;
}

.station-date-title {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 1.1rem;
}

.station-day-number {
  color: var(--iri-lilac);
}

/* Día de HOY: borde conic que gira (como la etiqueta IA de la web VM) */
.station-item.is-active .station-card::before {
  padding: 1.4px;
  background: linear-gradient(160deg, rgba(255, 143, 210, 0.75), rgba(195, 163, 255, 0.45) 50%, rgba(143, 216, 255, 0.6));
  opacity: 0.9;
  animation: none;
}
.station-item.is-today .station-card::before {
  padding: 1.6px;
  background: conic-gradient(from var(--ai-a), #8fd8ff, #c3a3ff, #ff8fd2, #ffe1f1, #8fd8ff);
  opacity: 1;
  animation: aiSpin 3.5s linear infinite;
}
.station-item.is-active .station-card {
  box-shadow: var(--shadow-deep), var(--lg-rim), 0 0 40px -6px rgba(255, 143, 210, 0.35);
}
@keyframes aiSpin {
  to { --ai-a: 360deg; }
}

.station-item.is-active .station-day-number {
  color: var(--iri-rose);
}

.station-item.is-active .station-node {
  border: 0;
  animation: none;
  background: radial-gradient(circle at 35% 30%, #fff, var(--iri-rose) 60%, var(--iri-lilac));
  box-shadow: 0 0 0 4px rgba(255, 143, 210, 0.18), 0 0 18px rgba(255, 143, 210, 0.9);
}
.station-item.is-active .station-node::after {
  content: "♥";
  width: auto;
  height: auto;
  background: none;
  font-size: 0.6rem;
  color: #fff;
  line-height: 1;
}
@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.22); }
  30% { transform: scale(1); }
  45% { transform: scale(1.14); }
}

.station-item.is-completed .station-node {
  border: 0;
  background: linear-gradient(135deg, var(--iri-mint), var(--iri-sky));
}

.station-pill.active {
  color: #120d1f;
  border: 0;
  background: linear-gradient(120deg, #fff, var(--iri-pearl) 50%, var(--iri-rose));
  box-shadow: 0 0 16px rgba(255, 143, 210, 0.5);
}
.station-pill.completed {
  border: 0;
  background: rgba(159, 245, 220, 0.14);
  box-shadow: inset 0 0 0 1px rgba(159, 245, 220, 0.5);
  color: var(--iri-mint);
}
.station-pill.locked {
  border: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.station-item.is-locked .station-card {
  opacity: 0.58;
  filter: saturate(0.6);
}
.locked-box {
  border-radius: 16px;
  border-color: rgba(255, 225, 241, 0.18);
}
.locked-box-title {
  font-family: var(--font-sans);
  font-weight: 600;
}

.station-message {
  font-size: 0.94rem;
}

.clue-box {
  border-radius: 18px;
  border: 0;
  background: linear-gradient(135deg, rgba(195, 163, 255, 0.16), rgba(255, 143, 210, 0.1));
  box-shadow: inset 0 0 0 1px rgba(255, 225, 241, 0.25);
}
.clue-label {
  color: var(--iri-rose);
}
.clue-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.4;
}

.unlocked-reveal {
  border-radius: 18px;
  border: 0;
  background: linear-gradient(145deg, rgba(159, 245, 220, 0.09), rgba(195, 163, 255, 0.1), rgba(255, 143, 210, 0.08));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.unlocked-tag {
  color: var(--iri-mint);
}
.unlocked-copy {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.14rem;
  line-height: 1.45;
  color: #fff;
}

/* Sello tipo pasaporte */
.completed-stamp {
  border-top: 0;
  padding-top: 6px;
  justify-content: flex-start;
  gap: 10px;
}
.completed-stamp .stamp-ink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 10px;
  border: 1.5px solid var(--iri-rose);
  color: var(--iri-rose);
  font-family: var(--font-display);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  transform: rotate(-5deg);
  box-shadow: 0 0 12px rgba(255, 143, 210, 0.25), inset 0 0 8px rgba(255, 143, 210, 0.15);
  animation: stampIn 0.7s cubic-bezier(0.2, 1.6, 0.4, 1) both;
}
@keyframes stampIn {
  0% { transform: rotate(-18deg) scale(2.2); opacity: 0; filter: blur(3px); }
  60% { transform: rotate(-3deg) scale(0.92); opacity: 1; filter: none; }
  100% { transform: rotate(-5deg) scale(1); }
}

.upload-box {
  border-radius: 20px;
  border: 1.5px dashed rgba(255, 143, 210, 0.45);
  background: var(--lg-spec), rgba(255, 143, 210, 0.04);
  --lr: 160px;
  transition: transform 0.5s var(--lg-spring), background 0.3s;
}
.upload-box:active {
  transform: scale(0.97);
}
.upload-icon {
  font-size: 1.8rem;
  animation: planeFloat 3s ease-in-out infinite;
}

.vip-final-box {
  border: 0;
  border-radius: 20px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}
.vip-final-title {
  color: var(--iri-pearl);
  font-family: var(--font-display);
  font-size: 0.64rem;
}

.memory-photo-frame {
  border-radius: 20px;
  border: 0;
  padding: 8px 8px 0;
  background: linear-gradient(160deg, #fff, var(--iri-pearl));
  transform: rotate(-1.2deg);
}
.memory-photo-frame img {
  border-radius: 12px;
}
.memory-photo-caption {
  background: transparent;
  color: #3a2a48;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.9rem;
  letter-spacing: 0;
  padding: 10px 6px 12px;
}

/* --------------------------------------------------------------------------
   Tarjeta de recordatorios
   -------------------------------------------------------------------------- */
.reminder-card {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.reminder-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.reminder-bell {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  background: radial-gradient(circle at 35% 30%, #fff, var(--iri-pearl) 45%, var(--iri-rose));
  box-shadow: 0 0 20px rgba(255, 143, 210, 0.55), inset 0 -3px 6px rgba(80, 20, 70, 0.25);
  animation: bellRing 3.4s ease-in-out infinite;
  transform-origin: 50% 10%;
}
.reminder-card.is-on .reminder-bell {
  animation: none;
}
@keyframes bellRing {
  0%, 70%, 100% { transform: rotate(0); }
  74% { transform: rotate(16deg); }
  78% { transform: rotate(-14deg); }
  82% { transform: rotate(10deg); }
  86% { transform: rotate(-6deg); }
  90% { transform: rotate(3deg); }
}
.reminder-title {
  margin: 0;
  font-weight: 700;
  font-size: 1rem;
}
.reminder-sub {
  margin: 2px 0 0;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
}
.reminder-actions {
  display: grid;
  gap: 8px;
}
.reminder-note {
  margin: 0;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.reminder-status {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--iri-mint);
}

/* Toast con rebote */
.toast-banner {
  border: 0;
  border-radius: 22px;
  background: var(--lg-spec), rgba(22, 16, 38, 0.86);
  box-shadow: var(--lg-rim), 0 18px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 143, 210, 0.25);
  font-weight: 600;
  transition: opacity 0.3s ease, transform 0.6s var(--lg-spring);
}

/* --------------------------------------------------------------------------
   Revelado "bloom" al hacer scroll (como la web VM)
   -------------------------------------------------------------------------- */
.js-fx [data-bloom] {
  opacity: 0;
  transform: translateY(36px) scale(0.96);
  filter: blur(10px);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--i, 0) * 90ms),
    transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--i, 0) * 90ms),
    filter 1s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--i, 0) * 90ms);
}
.js-fx [data-bloom].in {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Confeti de celebración */
.confetti-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 80;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .btn-liquid::after,
  .station-item.is-active .station-card::before,
  .station-item.is-active .station-node,
  .reminder-bell,
  .route-arc-icon,
  .upload-icon,
  .sparkle-layer i,
  .liquid-bar-fill::before {
    animation: none !important;
  }
  .btn-liquid:hover {
    animation: none;
  }
  .js-fx [data-bloom] {
    opacity: 1;
    transform: none;
    filter: none;
  }
  .boarding-pass {
    transform: none;
  }
}

/* --- Ajustes finos --- */
.pass-title {
  font-size: clamp(1.02rem, 4.6vw, 1.38rem);
  letter-spacing: 0.04em;
  line-height: 1.1;
}
.top-meta-bar #bogota-clock {
  font-size: 0.62rem;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.top-meta-bar > div {
  min-width: 0;
}
.status-pill {
  flex: 0 1 auto;
  min-width: 26px;
}
.btn-liquid-secondary::before {
  opacity: 0.45;
}
.status-pill { max-width: 58%; }

/* --- Intro: "Iniciar este viaje" --- */
#auth-submit-btn.charging {
  animation: charge 0.5s ease-in-out infinite alternate !important;
  box-shadow: 0 0 0 0 rgba(255, 143, 210, 0.6), 0 0 40px rgba(255, 225, 241, 0.9), 0 0 90px rgba(195, 163, 255, 0.6) !important;
}
@keyframes charge {
  from { transform: scale(1); filter: brightness(1); }
  to { transform: scale(1.04); filter: brightness(1.25); }
}
.auth-screen {
  transition: opacity 0.75s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), filter 0.75s ease;
}
.auth-screen.launching {
  opacity: 0;
  transform: scale(1.12) translateY(-10px);
  filter: blur(14px) brightness(1.6);
  pointer-events: none;
}
.main-experience:not(.hidden) .boarding-pass {
  animation: passArrive 1.2s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
@keyframes passArrive {
  0% { opacity: 0; transform: perspective(900px) translateY(40px) rotateX(18deg) scale(0.92); filter: blur(10px) brightness(1.8); }
  100% { opacity: 1; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); filter: none; }
}

/* Vidrio un poco más transparente para que las medusas brillen a través */
.liquid-card {
  background:
    var(--lg-spec),
    linear-gradient(160deg, rgba(255, 255, 255, 0.07) 0%, rgba(22, 18, 40, 0.4) 38%, rgba(10, 9, 22, 0.56) 100%);
  backdrop-filter: blur(14px) saturate(170%);
  -webkit-backdrop-filter: blur(14px) saturate(170%);
}

/* ==========================================================================
   ESFERA DE OBSIDIANA LÍQUIDA + LOGIN MONUMENTAL (aprendido de ThoughtLab)
   Menos cajas, tipografía como arquitectura y un solo objeto protagonista.
   ========================================================================== */
.orb-wrap {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease;
  will-change: transform;
}
.orb-canvas {
  width: 100%;
  height: 100%;
  display: block;
}
/* Respaldo sin WebGL: esfera CSS */
.orb-wrap.orb-fallback::before {
  content: "";
  position: absolute;
  inset: 16.6%;
  border-radius: 50%;
  transform: scale(var(--orb-s, 1));
  background:
    radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.85), transparent 14%),
    radial-gradient(circle at 50% 50%, #07060f 55%, transparent 56%),
    conic-gradient(from 200deg, #8fd8ff, #c3a3ff, #ff8fd2, #ffe1f1, #8fd8ff);
  box-shadow: 0 0 60px rgba(195, 163, 255, 0.45);
}

.orb-anchor {
  pointer-events: auto;
  border-radius: 50%;
}
.orb-anchor-login {
  position: absolute;
  right: -9%;
  top: 0;
  width: min(48vw, 200px);
  aspect-ratio: 1;
  transform: translateY(-38%);
  cursor: pointer;
}
.orb-anchor-pass {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 70px;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
}
.route-arc {
  min-height: 78px;
}
.route-arc-icon {
  display: none;
}

/* Login sin tarjeta: la tipografía es la arquitectura */
.auth-screen {
  justify-content: flex-end;
  padding-bottom: 8px;
}
.auth-monument {
  padding: 8px 4px 4px;
  gap: 26px;
}
.auth-monument .auth-eyebrow {
  font-size: 0.62rem;
  color: var(--text-muted);
}
.monument-title-wrap {
  position: relative;
  padding: 18px 0 6px;
}
.monument-title {
  position: relative;
  z-index: 1;
  font-size: clamp(2.1rem, 10.2vw, 3.05rem);
  line-height: 0.98;
  letter-spacing: 0.015em;
}
.auth-monument .auth-subtitle {
  font-size: 1.02rem;
  line-height: 1.35;
  max-width: 30ch;
  color: rgba(226, 226, 236, 0.8);
}

/* Inputs de línea fina */
.auth-monument .glass-input {
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 12px 2px;
  font-size: 1.05rem;
}
.auth-monument .glass-input:focus {
  border-bottom-color: var(--iri-rose);
  box-shadow: 0 1px 0 0 var(--iri-rose);
  background: transparent;
}
.auth-monument .field-label {
  padding-left: 0;
  font-size: 0.6rem;
  color: var(--text-muted);
}
.auth-monument .btn-liquid {
  margin-top: 8px;
  min-height: 58px;
  font-size: 0.86rem;
}

/* Contención: menos destellos alrededor, la esfera manda */
.sparkle-layer i:nth-child(n + 11) {
  display: none;
}

/* Pase: título más monumental, la esfera lo acompaña */
.cd-number {
  font-size: 1.5rem;
}

/* --- Preámbulo VIP (de Antigravity) con el lenguaje fancy --- */
.preamble-title-wrap {
  position: relative;
  padding-right: 96px;
}
.preamble-title {
  font-weight: 400;
  letter-spacing: 0.02em;
  font-size: clamp(1.5rem, 7vw, 1.9rem);
}
.orb-anchor-preamble {
  position: absolute;
  right: -8px;
  top: 50%;
  width: 96px;
  aspect-ratio: 1;
  transform: translateY(-50%);
}
.preamble-quote {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  line-height: 1.35;
  color: var(--iri-pearl);
  border-left-color: var(--iri-rose);
}
.preamble-body p {
  font-size: 0.94rem;
}
.pillar-item {
  border: 0;
  border-radius: 16px;
  background: var(--lg-spec), rgba(255, 255, 255, 0.04);
  box-shadow: var(--lg-rim);
  --lr: 140px;
}
.pillar-tag {
  color: var(--iri-rose);
}
.preamble-screen:not(.hidden) .pillar-item {
  animation: fadeUp 0.7s var(--ease-fluid) both;
}
.preamble-screen .pillar-item:nth-child(2) { animation-delay: 0.08s; }
.preamble-screen .pillar-item:nth-child(3) { animation-delay: 0.16s; }
.preamble-screen .pillar-item:nth-child(4) { animation-delay: 0.24s; }

.station-item.is-today .station-node {
  animation: heartBeat 1.6s ease-in-out infinite;
}
