/* BP27-VIBHU glitch layer. Everything here is additive to Luma's own CSS. */
#bp-fx, #bp-noise, #bp-bands { position: fixed; inset: 0; pointer-events: none; z-index: 9995; }

#bp-fx {
  opacity: 0;
  transition: opacity .4s;
  background:
    repeating-linear-gradient(to bottom, rgba(0,0,0,.28) 0 1px, transparent 1px 3px);
  mix-blend-mode: multiply;
}
#bp-fx.on { opacity: 1; }

#bp-noise { opacity: 0; width: 100vw; height: 100vh; mix-blend-mode: screen; }
#bp-noise.on { opacity: .09; }

#bp-bands > div {
  position: absolute; left: 0; right: 0;
  backdrop-filter: invert(1) hue-rotate(140deg) contrast(1.6);
  -webkit-backdrop-filter: invert(1) hue-rotate(140deg) contrast(1.6);
}

/* Torn slice copy of the page */
#bp-tear {
  position: absolute; top: 0; left: 0; width: 100%;
  pointer-events: none; z-index: 9990; display: none;
}

/* Whole-page chromatic split during bursts */
.bp-split {
  filter: drop-shadow(4px 0 0 rgba(255, 0, 90, .75)) drop-shadow(-4px 0 0 rgba(20, 241, 149, .75));
}
.bp-shake { animation: bp-shake .12s steps(2) infinite; }
@keyframes bp-shake {
  0% { transform: translate(0, 0) skewX(0); }
  25% { transform: translate(-6px, 1px) skewX(-2deg); }
  50% { transform: translate(5px, -2px) skewX(1.5deg); }
  75% { transform: translate(-2px, 2px) skewX(0); }
}
.bp-hue { filter: hue-rotate(110deg) saturate(2.2) contrast(1.3) !important; }

/* Terminal */
#bp-term {
  position: fixed; left: 16px; bottom: 16px; z-index: 10002;
  max-width: calc(100vw - 32px); width: 420px;
  font: 500 12px/1.55 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color: #14F195; text-shadow: 0 0 6px rgba(20, 241, 149, .6);
  background: rgba(4, 2, 14, .82); border: 1px solid rgba(20, 241, 149, .35);
  border-radius: 6px; padding: 10px 12px;
  opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s;
  pointer-events: none; white-space: pre-wrap; word-break: break-word;
}
#bp-term.on { opacity: 1; transform: none; }
#bp-term .dim { color: #9a8fd0; text-shadow: none; }
#bp-term .hot { color: #ff2d75; text-shadow: 0 0 6px rgba(255, 45, 117, .7); }
#bp-term .cur { display: inline-block; width: 7px; height: 13px; background: currentColor; vertical-align: -2px; animation: bp-blink 1s steps(1) infinite; }
@keyframes bp-blink { 50% { opacity: 0; } }

/* Price */
.bp-old {
  font-size: 1rem; color: var(--tinted-secondary-color, rgba(255,255,255,.5));
  text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: #ff2d75;
}
.bp-pill {
  align-self: center;
  font: 600 11px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .04em;
  color: #0b0418; background: #14F195; border-radius: 4px; padding: 4px 6px;
  box-shadow: 0 0 12px rgba(20, 241, 149, .6);
}
#bp-price.bp-new { color: #fff; text-shadow: 0 0 18px rgba(153, 69, 255, .9); }

/* Blackout + spotlight */
#bp-hole {
  position: absolute; z-index: 10000; pointer-events: none;
  box-shadow: 0 0 0 300vmax rgba(3, 1, 10, 0);
  transition: box-shadow 1.4s ease;
}
#bp-hole.dark {
  box-shadow:
    0 0 0 2px rgba(20, 241, 149, .9),
    0 0 24px 6px rgba(153, 69, 255, .85),
    0 0 70px 18px rgba(20, 241, 149, .35),
    0 0 0 300vmax rgba(3, 1, 10, .93);
  animation: bp-glow 1.8s ease-in-out 1.4s infinite;
}
@keyframes bp-glow {
  0%, 100% {
    box-shadow: 0 0 0 2px rgba(20,241,149,.9), 0 0 24px 6px rgba(153,69,255,.85), 0 0 70px 18px rgba(20,241,149,.35), 0 0 0 300vmax rgba(3,1,10,.93);
  }
  50% {
    box-shadow: 0 0 0 2px rgba(153,69,255,1), 0 0 34px 10px rgba(20,241,149,.8), 0 0 110px 30px rgba(153,69,255,.5), 0 0 0 300vmax rgba(3,1,10,.93);
  }
}
#bp-cta.bp-lit {
  background: linear-gradient(90deg, #9945FF, #14F195) !important;
  color: #0b0418 !important; border: 0 !important; box-shadow: none !important;
}
#bp-cta.bp-lit::before, #bp-cta.bp-lit::after { display: none !important; }
#bp-cta.bp-lit .label { font-weight: 700; }

#bp-caption {
  position: absolute; z-index: 10001; pointer-events: none;
  text-align: center; opacity: 0; transition: opacity .8s ease .6s;
  font: 500 13px/1.4 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color: #14F195; text-shadow: 0 0 8px rgba(20, 241, 149, .7);
}
#bp-caption.on { opacity: 1; }
#bp-caption s { color: #ff2d75; text-decoration-thickness: 2px; }
#bp-caption b { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  #bp-hole.dark { animation: none; }
}

@media (max-width: 640px) {
  #bp-term { top: 12px; bottom: auto; transform: translateY(-8px); font-size: 11px; }
}
.reg-card-footer a.animated {
  color: inherit; text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, .35);
}

/* Redirect notice under the glowing button */
#bp-caption.big { font-size: 15px; line-height: 1.5; }
#bp-caption.big .ok { font-size: 18px; font-weight: 700; letter-spacing: .04em; color: #14F195; }
#bp-caption.big .price { color: #d8d0ff; text-shadow: none; }
#bp-caption.big .go { margin-top: 10px; color: #fff; text-shadow: none; }
#bp-caption.big .go b { color: #14F195; font-size: 18px; }
#bp-caption .bar { margin: 10px auto 0; height: 4px; width: 100%; max-width: 320px; border-radius: 2px; background: rgba(255,255,255,.12); overflow: hidden; }
#bp-caption .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #9945FF, #14F195); transition: width linear; }
#bp-caption.filling .bar i { width: 100%; }
