.lustre-hero-effect {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.lustre-hero-effect--candlelight {
  background:
    radial-gradient(ellipse at 100% 88%, #ffac58aa, transparent 62%),
    radial-gradient(ellipse at 0 0, #ffa74f88, transparent 48%);
  opacity: .45;
  animation: lustre-candlelight 3.7s ease-in-out infinite alternate;
}

@keyframes lustre-candlelight {
  0% { opacity: .3; }
  32% { opacity: .75; }
  51% { opacity: .5; }
  100% { opacity: .9; }
}

.lustre-hero-effect--floating-hearts i {
  position: absolute;
  inset: 0 auto 0 var(--left);
  display: flex;
  align-items: flex-end;
  color: #f4a7ba;
  font: normal var(--size) / 1 Georgia, serif;
  animation: lustre-hearts var(--duration) var(--delay) ease-out infinite;
}

.lustre-hero-effect--floating-hearts i:nth-child(1) { --left: 8%; --size: 14px; --duration: 8s; --delay: -5s; }
.lustre-hero-effect--floating-hearts i:nth-child(2) { --left: 21%; --size: 18px; --duration: 10s; --delay: -2s; }
.lustre-hero-effect--floating-hearts i:nth-child(3) { --left: 34%; --size: 13px; --duration: 7s; --delay: -4s; }
.lustre-hero-effect--floating-hearts i:nth-child(4) { --left: 45%; --size: 17px; --duration: 9s; --delay: -7s; }
.lustre-hero-effect--floating-hearts i:nth-child(5) { --left: 56%; --size: 22px; --duration: 11s; --delay: -6s; }
.lustre-hero-effect--floating-hearts i:nth-child(6) { --left: 66%; --size: 15px; --duration: 9s; --delay: -3s; }
.lustre-hero-effect--floating-hearts i:nth-child(7) { --left: 77%; --size: 20px; --duration: 8s; --delay: -6s; }
.lustre-hero-effect--floating-hearts i:nth-child(8) { --left: 88%; --size: 13px; --duration: 10s; --delay: -4s; }

@keyframes lustre-hearts {
  0% { transform: translate(0, 8%); opacity: 0; }
  35% { opacity: .75; }
  100% { transform: translate(2em, -105%); opacity: 0; }
}

.lustre-hero-effect--light-sweep::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(108deg, transparent 24%, #fff2cd66 49%, transparent 72%);
  animation: lustre-light-sweep 2.4s ease-out both;
}

.website-effect-preview .lustre-hero-effect--light-sweep::before {
  animation: lustre-light-sweep-preview 5s ease-out infinite;
}

@keyframes lustre-light-sweep {
  from { transform: translateX(-110%); }
  to { transform: translateX(110%); }
}

@keyframes lustre-light-sweep-preview {
  0% { transform: translateX(-110%); }
  55%, 100% { transform: translateX(110%); }
}

@media (prefers-reduced-motion: reduce) {
  .lustre-hero-effect--candlelight,
  .lustre-hero-effect--floating-hearts i,
  .lustre-hero-effect--light-sweep::before,
  .website-effect-preview .lustre-hero-effect--light-sweep::before {
    animation: none;
  }

  .lustre-hero > .lustre-hero-effect--floating-hearts,
  .lustre-hero > .lustre-hero-effect--light-sweep {
    display: none;
  }

  .website-effect-preview .lustre-hero-effect--floating-hearts i {
    transform: translateY(calc(-1 * var(--size) * 2));
    opacity: .65;
  }
}
