body {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
}

.site-stars {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  color: var(--star);
}
.star-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 2px;
  border-radius: 50%;
}
.star-layer-far {
  opacity: .32;
  box-shadow: 4vw 13svh, 9vw 37svh, 14vw 71svh, 17vw 25svh, 21vw 51svh,
    23vw 8svh, 26vw 82svh, 29vw 33svh, 33vw 58svh, 38vw 12svh, 40vw 75svh,
    45vw 22svh, 48vw 52svh, 52vw 7svh, 54vw 39svh, 58vw 79svh,
    64vw 17svh, 68vw 63svh, 73vw 43svh, 77vw 85svh, 80vw 13svh,
    83vw 30svh, 87vw 58svh, 91vw 76svh, 94vw 19svh, 97vw 47svh;
}
.star-layer-near {
  width: 3px;
  height: 3px;
  opacity: .44;
  box-shadow: 6vw 62svh, 13vw 18svh, 20vw 77svh, 31vw 18svh, 36vw 67svh,
    42vw 29svh, 51vw 68svh, 61vw 43svh, 67vw 76svh, 71vw 9svh, 76vw 55svh,
    84vw 70svh, 89vw 9svh, 92vw 32svh, 96vw 82svh;
}
.shooting-star {
  position: absolute;
  inset-block-start: 16%;
  inset-inline-start: 70%;
  width: 32px;
  height: 1px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0;
}


@media (prefers-reduced-motion: no-preference) {
  .star-layer-far { animation: star-drift 3s ease-in-out infinite alternate; }
  .star-layer-near { animation: star-drift 1.6s ease-in-out infinite alternate-reverse; }
  .shooting-star { animation: shooting-star 2.3s ease-out infinite; }
}

@keyframes star-drift {
  to { transform: translate3d(-56px, 44px, 0); }
}

@keyframes shooting-star {
  0%, 36% { transform: translate3d(36px, -18px, 0) rotate(-26deg); opacity: 0; }
  43% { opacity: .75; }
  66%, 100% { transform: translate3d(-112px, 54px, 0) rotate(-26deg); opacity: 0; }
}
