/* Stripe backdrop + RoGold-style purple light blooms */

body {
  background-color: #05050a;
  background-image: url("bg-stripes.webp");
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Soft vignette so copy stays readable */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% 0%, transparent 35%, rgba(5, 5, 10, 0.5) 100%),
    linear-gradient(180deg, rgba(5, 5, 10, 0.12) 0%, rgba(5, 5, 10, 0.4) 55%, rgba(5, 5, 10, 0.82) 100%);
}

/* Ambient purple blooms (RoGold site-ambient / orbit glow, violet) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(closest-side, rgba(143, 91, 255, 0.34), transparent) -18% -8% / 78vmax 78vmax no-repeat,
    radial-gradient(closest-side, rgba(255, 60, 172, 0.2), transparent) 108% 12% / 58vmax 58vmax no-repeat,
    radial-gradient(closest-side, rgba(94, 200, 255, 0.12), transparent) 55% 105% / 72vmax 72vmax no-repeat,
    radial-gradient(closest-side, rgba(143, 91, 255, 0.16), transparent) 20% 70% / 48vmax 48vmax no-repeat;
  animation: bloom-drift 18s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes bloom-drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(2%, -1.5%, 0) scale(1.04); }
}

/* Hero stage — purple flare under the card (carousel glow feel) */
#top > .mx-auto {
  position: relative;
  isolation: isolate;
}

#top > .mx-auto::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 28%;
  bottom: -6%;
  z-index: -1;
  pointer-events: none;
  border-radius: 9999px;
  background: radial-gradient(
    closest-side,
    rgba(143, 91, 255, 0.55) 0%,
    rgba(255, 60, 172, 0.28) 42%,
    transparent 78%
  );
  filter: blur(48px);
  opacity: 0.9;
}

#top > .mx-auto::after {
  content: "";
  position: absolute;
  left: 22%;
  right: 22%;
  top: 55%;
  bottom: -12%;
  z-index: -1;
  pointer-events: none;
  border-radius: 9999px;
  background: radial-gradient(closest-side, rgba(94, 200, 255, 0.22), transparent 72%);
  filter: blur(36px);
}

/* Compare / modes / install — quieter violet pools */
#compare .mx-auto,
#modes .mx-auto,
#install .mx-auto,
#get > [data-reveal] {
  position: relative;
}

#compare .mx-auto::before,
#modes .mx-auto::before,
#install .mx-auto::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 35%;
  bottom: -4%;
  z-index: -1;
  pointer-events: none;
  border-radius: 9999px;
  background: radial-gradient(closest-side, rgba(143, 91, 255, 0.28), transparent 75%);
  filter: blur(42px);
}

#get > [data-reveal]::before {
  content: "";
  position: absolute;
  inset: 20% 12% -8%;
  z-index: -1;
  pointer-events: none;
  border-radius: 9999px;
  background: radial-gradient(
    closest-side,
    rgba(255, 60, 172, 0.35) 0%,
    rgba(143, 91, 255, 0.22) 45%,
    transparent 78%
  );
  filter: blur(52px);
}

footer.border-t {
  background-color: rgba(10, 10, 20, 0.72);
  backdrop-filter: blur(12px);
}

@media (prefers-reduced-motion: reduce) {
  body {
    background-attachment: scroll;
  }

  body::after {
    animation: none;
  }
}

@media (max-width: 767px) {
  body {
    background-attachment: scroll;
    background-size: 160% auto;
    background-position: 60% top;
  }

  body::after {
    opacity: 0.85;
    animation: none;
  }

  #top > .mx-auto::before {
    filter: blur(36px);
    opacity: 0.75;
  }
}
