/* Shared UnicornStudio scene for every public marketing page. */

.br-marketing-unicorn-background {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  background: #09090b;
}

.br-marketing-unicorn-background__scene {
  position: absolute;
  inset: -2%;
  width: 104%;
  height: 104%;
  opacity: 0;
  filter: saturate(0) brightness(0.5);
  transform: scale(1.015);
  transition: opacity 500ms ease-out;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 2%, #000 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 2%, #000 80%, transparent 100%);
}

.br-marketing-unicorn-background[data-unicorn-background-state="ready"] .br-marketing-unicorn-background__scene {
  opacity: 0.92;
}

.br-marketing-unicorn-background__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 43%, rgba(9, 9, 11, 0.02) 0%, rgba(9, 9, 11, 0.12) 46%, rgba(9, 9, 11, 0.7) 100%),
    linear-gradient(180deg, rgba(9, 9, 11, 0.1) 0%, rgba(9, 9, 11, 0.02) 52%, rgba(9, 9, 11, 0.56) 100%);
}

.br-marketing-unicorn-background[data-unicorn-background-state="fallback"]::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 68% 24%, rgba(95, 95, 95, 0.09), transparent 34%),
    radial-gradient(circle at 34% 72%, rgba(58, 58, 58, 0.08), transparent 38%),
    #09090b;
}

@media (prefers-reduced-motion: reduce) {
  .br-marketing-unicorn-background__scene {
    transition: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .br-marketing-unicorn-background__scene {
    opacity: 0.26 !important;
    filter: saturate(0) brightness(0.32);
  }

  .br-marketing-unicorn-background__veil {
    background: rgba(9, 9, 11, 0.62);
  }
}
