/* =============================================================
   HOLO V8000 — SPEED MODE
   Sensación de velocidad brutal. Animaciones snappy.
   Blurs reducidos. GPU-only. Sin tocar furry surfaces.
   ============================================================= */

:root{
  --holo-cyan:#7fd1ff;
  --holo-violet:#b89cff;
  --holo-pink:#ffb4e0;
  --holo-blue:#4f94ff;
  /* Speed tokens */
  --t-fast:.14s;
  --t-base:.18s;
  --t-slow:.28s;
  --ease-snap:cubic-bezier(.2,.85,.25,1);
  --ease-pop:cubic-bezier(.22,1.4,.36,1);
}

/* -------- 1. Aurora vibrante, MÁS RÁPIDA, blur reducido ---------- */
.holo-aurora{
  position:fixed;
  inset:-10%;
  z-index:0;
  pointer-events:none;
  opacity:.6;
  background:
    radial-gradient(38% 32% at 18% 22%, rgba(127,209,255,.55), transparent 70%),
    radial-gradient(36% 30% at 82% 18%, rgba(184,156,255,.40), transparent 72%),
    radial-gradient(46% 36% at 28% 84%, rgba(255,180,224,.30), transparent 70%),
    radial-gradient(40% 34% at 78% 78%, rgba(79,148,255,.40), transparent 72%);
  filter:blur(36px);              /* reducido de 64 → 36, más vivo */
  will-change:transform;
  animation:holoAuroraDrift 12s ease-in-out infinite alternate;
}
@keyframes holoAuroraDrift{
  from{ transform:translate3d(0,0,0) scale(1); }
  to  { transform:translate3d(3%,-2%,0) scale(1.06); }
}

/* -------- 2. Scroll progress beam ------------------------------------ */
.holo-progress{
  position:fixed;
  top:0; left:0;
  width:0%;
  height:2px;
  z-index:200;
  background:linear-gradient(90deg,
    rgba(127,209,255,0)   0%,
    rgba(127,209,255,1)   20%,
    rgba(184,156,255,1)   55%,
    rgba(255,180,224,1)   85%,
    rgba(255,180,224,0)   100%);
  box-shadow:0 0 12px rgba(127,209,255,.7);
  pointer-events:none;
  border-radius:0 4px 4px 0;
  transform:translateZ(0);
  will-change:width;
}

/* -------- 3. Cursor spotlight (desktop only) ------------------------- */
.holo-spotlight{
  position:fixed;
  inset:0;
  z-index:6;
  pointer-events:none;
  background:radial-gradient(360px circle at var(--mx,50%) var(--my,50%),
    rgba(255,255,255,.10),
    rgba(140,200,255,.05) 30%,
    transparent 60%);
  opacity:.85;
  mix-blend-mode:screen;
  will-change:background;
}
@media (max-width:760px),(hover:none){
  .holo-spotlight{ display:none; }
}

/* -------- 4. Holographic chip — SNAPPY ------------------------------- */
.holo-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 14px 7px 10px;
  border-radius:999px;
  background:linear-gradient(180deg,rgba(255,255,255,.42),rgba(255,255,255,.14));
  backdrop-filter:blur(12px) saturate(170%);
  -webkit-backdrop-filter:blur(12px) saturate(170%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.78), 0 4px 12px rgba(72,110,178,.10);
  font-size:11px;
  font-weight:900;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:#3d5f8a;
}
.holo-chip::before,
.holo-dot::before{
  content:"";
  width:7px;
  height:7px;
  border-radius:50%;
  background:radial-gradient(circle at 30% 30%, #fff, #7fd1ff 60%, #4f94ff);
  box-shadow:0 0 8px rgba(127,209,255,.85);
  animation:holoDot 1.4s ease-in-out infinite;
  flex:0 0 auto;
}
@keyframes holoDot{
  0%,100%{ transform:scale(1); }
  50%    { transform:scale(1.25); }
}

/* -------- 5. Holographic gradient text — FAST shimmer ---------------- */
.holo-text-gradient{
  background:linear-gradient(120deg,
    #243854 0%,
    #1f4f9a 30%,
    #344763 55%,
    #1f4f9a 80%,
    #243854 100%);
  background-size:220% 220%;
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  -webkit-text-fill-color:transparent;
  animation:holoText 6s ease-in-out infinite;
  text-shadow:none;
  will-change:background-position;
}
@keyframes holoText{
  0%,100%{ background-position:0% 50%; }
  50%    { background-position:100% 50%; }
}

/* -------- 6. Reveal observer — SNAP entrance ------------------------- */
[data-holo-reveal]{
  opacity:0;
  transform:translate3d(0,22px,0);
  transition:opacity .35s var(--ease-snap), transform .35s var(--ease-snap);
  will-change:opacity, transform;
}
[data-holo-reveal].in{
  opacity:1;
  transform:translate3d(0,0,0);
}

/* -------- 7. Marquee — DOBLE velocidad ------------------------------- */
.holo-marquee{
  position:relative;
  z-index:6;
  overflow:hidden;
  margin:18px auto;
  padding:8px 0;
  -webkit-mask-image:linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image:linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.holo-marquee-track{
  display:flex;
  gap:34px;
  width:max-content;
  animation:holoMarquee 22s linear infinite;
  font-weight:900;
  letter-spacing:.06em;
  color:#3d5f8a;
  font-size:12px;
  text-transform:uppercase;
  opacity:.82;
  will-change:transform;
}
.holo-marquee-track span{
  display:inline-flex;
  align-items:center;
  gap:8px;
  white-space:nowrap;
}
.holo-marquee-track span::before{
  content:"";
  width:6px;
  height:6px;
  border-radius:50%;
  background:linear-gradient(120deg,#7fd1ff,#b89cff);
  box-shadow:0 0 8px rgba(127,209,255,.7);
}
@keyframes holoMarquee{
  from{ transform:translate3d(0,0,0); }
  to  { transform:translate3d(-50%,0,0); }
}

/* -------- 8. CTA hover glow — instant ------------------------------- */
.top-cta:hover,
.header-pill:hover,
.hero-cta:hover,
.close-cta:hover,
.final-cta:hover,
.main-cta:hover,
.offer-action:hover,
.router-primary:hover,
.flow-cta:hover,
.furry-action:hover,
.secret-whatsapp:hover{
  filter:drop-shadow(0 14px 24px rgba(127,209,255,.34)) drop-shadow(0 4px 10px rgba(184,156,255,.30));
  transition:filter .12s ease;
}

/* -------- 9. Mascot floor reflection (no tapa furry) --------------- */
.character-wrap::before,
.kora-hero::before,
.kora-offer::before,
.kora-pricing::before{
  content:"";
  position:absolute;
  left:8%;
  right:8%;
  bottom:-4%;
  height:22%;
  border-radius:50%;
  background:radial-gradient(ellipse at center,
    rgba(127,209,255,.28) 0%,
    rgba(184,156,255,.16) 40%,
    transparent 70%);
  filter:blur(10px);
  z-index:-2;
  pointer-events:none;
  opacity:.78;
}

/* Cursor-aware tilt — snap */
.holo-tilt-target{
  transform:rotateX(var(--tx,0deg)) rotateY(var(--ty,0deg));
  transform-style:preserve-3d;
  transition:transform .12s ease-out;
  will-change:transform;
}

/* -------- 10. PERF: paint containment on big sections -------------- */
.scene,
.demo-scene,
.offer-shell > section,
.pricing-shell > section,
.restaurant-shell > section,
.hero-section,
.flow-section,
.benefit-section,
.close-section{
  contain:layout paint;
}

/* -------- MOBILE: aurora aún más liviana, todo más snap ------------ */
@media (max-width:760px){
  .holo-aurora{
    opacity:.5;
    filter:blur(28px);
    animation-duration:14s;
  }
  .holo-spotlight{ display:none; }
  .holo-marquee-track{ font-size:10.5px; gap:22px; animation-duration:18s; }
}

@media (max-width:430px){
  .holo-aurora{ animation:none; }
  .holo-text-gradient,
  .scene-line{ animation-duration:0s !important; background-position:0% 50% !important; }
}

@media (prefers-reduced-motion:reduce){
  .holo-aurora,
  .holo-marquee-track,
  .holo-text-gradient,
  .scene-line,
  .holo-chip::before,
  .holo-dot::before{
    animation:none !important;
  }
}
