.futuristic-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(8, 92, 201, 0.03) 0%, rgba(255, 255, 255, 0) 45%);
}

.futuristic-square {
  position: absolute;
  opacity: 0;
  border-radius: 3px;
  transform: scale(0.9);
  animation-name: futuristic-square-fade;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
  box-shadow: 0 0 18px rgba(8, 92, 201, 0.22);
}

@keyframes futuristic-square-fade {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }

  20% {
    opacity: 0.32;
  }

  75% {
    opacity: 0.16;
  }

  100% {
    opacity: 0;
    transform: scale(1.05);
  }
}

body.futuristic-bg-enabled {
  position: relative;
  background-color: #ffffff;
}

body.futuristic-bg-enabled > :not(.futuristic-bg) {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .futuristic-bg {
    display: none;
  }
}
