/* A quiet, blue-tinted movement layer for the homepage welcome section. */
.bp-light-ray-hero {
  isolation: isolate;
}

.bp-light-ray-hero::before,
.bp-light-ray-hero::after {
  content: "";
  position: absolute;
  inset: -38% -32%;
  z-index: 0;
  pointer-events: none;
  will-change: transform, opacity;
}

.bp-light-ray-hero::before {
  background:
    linear-gradient(111deg,
      transparent 0 18%,
      rgba(22, 192, 243, 0.015) 27%,
      rgba(22, 192, 243, 0.13) 34%,
      rgba(225, 249, 255, 0.42) 38%,
      rgba(22, 192, 243, 0.045) 43%,
      transparent 50%),
    linear-gradient(111deg,
      transparent 0 51%,
      rgba(22, 192, 243, 0.025) 57%,
      rgba(117, 218, 250, 0.15) 63%,
      rgba(238, 251, 255, 0.32) 67%,
      rgba(22, 192, 243, 0.03) 73%,
      transparent 79%);
  filter: blur(1px);
  opacity: 0.9;
  transform: translate3d(-17%, 7%, 0) rotate(-7deg) scale(1.08);
  animation: bp-hero-ray-drift-one 10s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.bp-light-ray-hero::after {
  background:
    linear-gradient(104deg,
      transparent 0 28%,
      rgba(167, 232, 251, 0.02) 35%,
      rgba(22, 192, 243, 0.09) 43%,
      rgba(244, 253, 255, 0.35) 47%,
      rgba(22, 192, 243, 0.02) 53%,
      transparent 60%),
    radial-gradient(ellipse at 66% 35%, rgba(22, 192, 243, 0.10), transparent 42%);
  filter: blur(1.2px);
  opacity: 0.72;
  transform: translate3d(14%, -8%, 0) rotate(0deg) scale(1.08);
  animation: bp-hero-ray-drift-two 15s cubic-bezier(0.45, 0, 0.55, 1) -4s infinite;
}

.bp-light-ray-hero > * {
  position: relative;
  z-index: 1;
}

@keyframes bp-hero-ray-drift-one {
  50% {
    opacity: 1;
    transform: translate3d(15%, -7%, 0) rotate(-1deg) scale(1.15);
  }
}

@keyframes bp-hero-ray-drift-two {
  50% {
    opacity: 0.88;
    transform: translate3d(-17%, 8%, 0) rotate(-7deg) scale(1.15);
  }
}

@media (max-width: 700px) {
  .bp-light-ray-hero::before,
  .bp-light-ray-hero::after {
    inset: -28% -60%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bp-light-ray-hero::before,
  .bp-light-ray-hero::after {
    animation: none;
  }
}
