
/* From Uiverse.io by BlackisPlay */ 
#synthwave {
  position: relative;
  width: 300px;
  height: 250px;
  background-color: #2e0d3f;
  scale: 0.9;
}

#sunReflection {
  background-color: yellow;
  height: 5px;
  position: absolute;
  width: 66px;
  left: 50%;
  transform: translate(-50%);
  clip-path: polygon(0% 100%, 100% 100%, 98% 0%, 2% 0%);
  top: -3px;
  filter: blur(3px);
  border-radius: 50%;
}

#window {
  background-color: black;
  height: 20px;
  position: absolute;
  width: 82px;
  left: 50%;
  transform: translate(-50%);
  clip-path: polygon(0% 100%, 100% 100%, 93% 0%, 7% 0%);
  top: -5px;
}

#logo {
  position: absolute;
  left: 50%;
  transform: translate(-50%);
  background-color: rgb(18, 18, 18);
  width: 25px;
  height: 8px;
  border-radius: 2px;
  bottom: 8px;
}

#lightsSection {
  z-index: 2;
}

#lightStripe2,
#lightStripe3 {
  background-color: red;
  width: 5px;
  right: 49px;
  height: 70px;
  position: absolute;
  filter: blur(6px);
  border-radius: 50%;
  top: -5px;
  animation: blinkingLights infinite 2s;
}

#lightStripe0,
#lightStripe1 {
  background-color: red;
  width: 5px;
  left: 49px;
  height: 70px;
  position: absolute;
  filter: blur(6px);
  border-radius: 50%;
  top: -5px;
  animation: blinkingLights infinite 2s 1s;
}

#lightStripe0,
#lightStripe2 {
  transform: rotate(30deg);
}

#lightStripe1,
#lightStripe3 {
  transform: rotate(-30deg);
}

@keyframes blinkingLights {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

#lights2 {
  border: black solid 2px;
  bottom: 5px;
  position: absolute;
  background-color: black;
  left: 50%;
  transform: translate(-50%);
  height: 15px;
  width: 112px;
  clip-path: polygon(0% 100%, 100% 100%, 93% 0%, 7% 0%);
  display: grid;
  grid-template-columns: 35px 1fr 35px;
  grid-template-rows: 1fr;
  grid-column-gap: 0px;
  grid-row-gap: 0px;
}

#cageLine0 {
  background-color: black;
  width: 100%;
  height: 1px;
  top: 3px;
  position: absolute;
}

#cageLine1 {
  background-color: black;
  width: 100%;
  height: 1px;
  bottom: 3px;
  position: absolute;
}

#tailLight1d {
  background-color: rgb(116, 0, 0);
  height: 100%;
  width: 5px;
  position: absolute;
  left: 10px;
}

#tailLight0d {
  background-color: rgb(116, 0, 0);
  height: 100%;
  width: 5px;
  position: absolute;
  right: 10px;
}

#tailLight0c {
  clip-path: polygon(0% 100%, 100% 100%, 100% 0%, 5% 0%);
  background-color: rgb(50, 0, 0);
  height: 100%;
  width: 19px;
  position: absolute;
  right: 4px;
}

#tailLight1c {
  clip-path: polygon(0% 100%, 100% 100%, 95% 0%, 0% 0%);
  background-color: rgb(50, 0, 0);
  height: 100%;
  width: 19px;
  position: absolute;
  left: 4px;
}

#tailLight0b {
  clip-path: polygon(0% 100%, 100% 100%, 100% 0%, 5% 0%);
  background-color: gray;
  height: 100%;
  width: 23px;
  position: absolute;
  right: 0;
}

#tailLight1b {
  clip-path: polygon(0% 100%, 100% 100%, 95% 0%, 0% 0%);
  background-color: gray;
  height: 100%;
  width: 23px;
  position: absolute;
  left: 0;
}

#tailLight0a {
  clip-path: polygon(0% 100%, 100% 100%, 100% 0%, 5% 0%);
  background-color: rgba(75, 75, 0, 0.658);
  height: 100%;
  width: 29px;
  position: absolute;
  right: 0;
}

#tailLight1a {
  clip-path: polygon(0% 100%, 100% 100%, 95% 0%, 0% 0%);
  background-color: rgba(75, 75, 0, 0.658);
  height: 100%;
  width: 29px;
  position: absolute;
  left: 0;
}

#tailLight0,
#tailLight1 {
  background-color: rgba(255, 255, 0, 0.46);
  position: relative;
}

#tailLight0 {
  clip-path: polygon(2% 100%, 100% 100%, 100% 0%, 20% 0%);
}

#tailLight1 {
  clip-path: polygon(0% 100%, 98% 100%, 80% 0%, 0% 0%);
}

#lights1 {
  position: absolute;
  width: 75%;
  height: 100%;
  background-color: gray;
  left: 50%;
  transform: translate(-50%);
  bottom: 4px;
  clip-path: polygon(0% 100%, 100% 100%, 80% 0%, 20% 0%);
}

#lights0 {
  position: absolute;
  width: 123px;
  height: 5px;
  background-color: rgb(115, 115, 115);
  left: 50%;
  transform: translate(-50%);
  bottom: -1px;
}

#exhaust1 {
  position: absolute;
  right: 25%;
  width: 10px;
  height: 10px;
  background-color: black;
  border-radius: 50%;
  bottom: 10px;
}

#exhaust1::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 70%;
  transform: translate(-50%, -50%);
  width: 7px;
  height: 9px;
  background-color: gray;
  border-radius: 30%;
  bottom: 8px;
}

#exhaust0 {
  position: absolute;
  left: 25%;
  width: 10px;
  height: 10px;
  background-color: black;
  border-radius: 50%;
  bottom: 10px;
}

#exhaust0::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 70%;
  transform: translate(-50%, -50%);
  width: 7px;
  height: 9px;
  background-color: gray;
  border-radius: 30%;
  bottom: 8px;
}

#bumper3 {
  position: absolute;
  left: 50%;
  bottom: 23px;
  transform: translate(-50%);
  width: 100px;
  height: 2px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: 1fr;
  grid-column-gap: 5px;
}

#bumper3 div {
  background-color: black;
  border-radius: 10px;
}

#bumper2 {
  background-color: black;
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translate(-50%);
  width: 110px;
  height: 6px;
  color: rgba(255, 255, 255, 0.7);
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-weight: bold;
  font-size: 8px;
  letter-spacing: 2px;
  padding-left: 10px;
}

#bumper1 {
  background-color: black;
  position: absolute;
  left: 50%;
  top: 1px;
  transform: translate(-50%);
  width: 121px;
  height: 30%;
  color: rgba(255, 255, 255, 0.7);
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-weight: bold;
  font-size: 8px;
  letter-spacing: 2px;
  padding-left: 10px;
  clip-path: polygon(2% 100%, 98% 100%, 100% 0%, 0% 0%);
}

/* Remove the paragraph's default margin so the rear badge is not clipped. */
#bumper1 p {
  margin: 0;
  line-height: 1;
}

#bumper0 {
  clip-path: polygon(5% 100%, 95% 100%, 100% 0%, 0% 0%);
  background-color: gray;
  position: absolute;
  left: 50%;
  top: 0px;
  transform: translate(-50%);
  width: 74%;
  height: 25px;
}

#bumperSection,
#lightsSection,
#windowsSection {
  position: relative;
  perspective: 800px;
}

#car {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(3, 1fr);
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  position: absolute;
  height: 50%;
  width: 55%;
  left: 50%;
  bottom: 0;
  transform: translate(-50%);
  animation: movingCar infinite 4s;
}

@keyframes movingCar {
  0% {
    bottom: 0;
    scale: 1;
    left: 50%;
  }
  19% {
    bottom: 40px;
    scale: 0;
    left: 23%;
  }
  20% {
    bottom: -600px;
    scale: 2;
    left: 80%;
  }
  30% {
    bottom: 0;
    scale: 1;
    left: 50%;
  }
}

#cutout {
  background-color: transparent;
  width: 100%;
  height: 100%;
  position: absolute;
  overflow: hidden;
}

#cutout::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 260px;
  height: 225px;
  background-color: transparent;
  border-radius: 20px;
  box-shadow: 0 0 0 1000px rgb(19, 19, 19);
}

#hill {
  width: 100px;
  height: 100px;
  position: absolute;
  top: 50px;
  right: 30px;
  scale: 0.2;
}

#hill2 {
  width: 100px;
  height: 100px;
  position: absolute;
  top: 50px;
  left: 30px;
  scale: 0.2;
  transform: scaleX(-1);
}

#tree {
  position: absolute;
  width: 120px;
  height: 120px;
  left: 55%;
  transform: translateX(-100%);
  bottom: 65px;
  animation: movingTree infinite 4s;
  transform-origin: 50% 70%;
}

#tree2 {
  position: absolute;
  width: 120px;
  height: 120px;
  right: 55%;
  transform: translateX(100%) scaleX(-1) rotate(8deg);
  animation: movingTree2 infinite 4s 0.5s;
  bottom: 65px;
  transform-origin: 50% 70%;
}

@keyframes movingTree {
  0% {
    transform: translateX(-100%) rotate(8deg);
  }
  50% {
    transform: translateX(-100%) rotate(-8deg);
  }
  100% {
    transform: translateX(-100%) rotate(8deg);
  }
}

@keyframes movingTree2 {
  0% {
    transform: translateX(100%) scaleX(-1) rotate(8deg);
  }
  50% {
    transform: translateX(100%) scaleX(-1) rotate(-8deg);
  }
  100% {
    transform: translateX(100%) scaleX(-1) rotate(8deg);
  }
}

#line1,
#line2,
#line3,
#line4,
#line5,
#line6,
#line7 {
  border-radius: 20px;
  background-color: #fcff1a;
  animation: movingLines infinite 0.5s linear;
}

@keyframes movingLines {
  0% {
    transform: translateX(0px);
  }
  100% {
    transform: translateY(130px);
  }
}

#line0 {
  border-radius: 20px;
  background-color: #fcff1a;
  animation: movingLines0 infinite 0.5s linear;
}

@keyframes movingLines0 {
  0% {
    transform: translateX(0px);
    height: 0%;
  }
  100% {
    transform: translateY(130px);
    height: 100%;
  }
}

#roadLines {
  perspective: 800px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -425px;
  width: 6px;
  height: 1000px;
}

#lines {
  transform: rotateX(85deg);
  transform-origin: center;
  box-shadow: 0 10px 20px rgba(252, 255, 26, 0.2);
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(8, 1fr);
  grid-column-gap: 0px;
  grid-row-gap: 30px;
  width: 100%;
  height: 100%;
}

#sun {
  overflow: hidden;
  width: 120px;
  height: 120px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -70%);
}

#ball {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: #fbe54f;
}

#stripe0 {
  position: absolute;
  width: 100%;
  height: 0px;
  background-color: #2e0d3f;
  top: 10px;
  left: 50%;
  transform: translate(-50%);
  animation: stripe0mov infinite 1s linear;
}

@keyframes stripe0mov {
  0% {
    top: 10px;
    height: 0px;
  }
  99% {
    top: 20px;
    height: 3px;
  }
  100% {
    height: 0px;
    top: 10px;
  }
}

#stripe1 {
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: #2e0d3f;
  top: 20px;
  left: 50%;
  transform: translate(-50%);
  animation: stripe1mov infinite 1s linear;
}

@keyframes stripe1mov {
  0% {
    top: 20px;
    height: 3px;
  }
  99% {
    top: 31px;
    height: 4px;
  }
  100% {
    top: 20px;
    height: 3px;
  }
}

#stripe2 {
  position: absolute;
  width: 100%;
  height: 4px;
  background-color: #2e0d3f;
  top: 31px;
  left: 50%;
  transform: translate(-50%);
  animation: stripe2mov infinite 1s linear;
}

@keyframes stripe2mov {
  0% {
    top: 31px;
    height: 4px;
  }
  99% {
    top: 44px;
    height: 4px;
  }
  100% {
    top: 31px;
    height: 4px;
  }
}

#stripe3 {
  position: absolute;
  width: 100%;
  height: 4px;
  background-color: #2e0d3f;
  top: 44px;
  left: 50%;
  transform: translate(-50%);
  animation: stripe3mov infinite 1s linear;
}

@keyframes stripe3mov {
  0% {
    top: 44px;
    height: 4px;
  }
  99% {
    top: 58px;
    height: 5px;
  }
  100% {
    top: 44px;
    height: 4px;
  }
}

#stripe4 {
  position: absolute;
  width: 100%;
  height: 5px;
  background-color: #2e0d3f;
  top: 58px;
  left: 50%;
  transform: translate(-50%);
  animation: stripe4mov infinite 1s linear;
}

@keyframes stripe4mov {
  0% {
    top: 58px;
    height: 5px;
  }
  99% {
    top: 75px;
    height: 8px;
  }
  100% {
    top: 58px;
    height: 5px;
  }
}

#stripe5 {
  position: absolute;
  width: 100%;
  height: 8px;
  background-color: #2e0d3f;
  top: 75px;
  left: 50%;
  transform: translate(-50%);
  animation: stripe5mov infinite 1s linear;
}

@keyframes stripe5mov {
  0% {
    top: 75px;
    height: 8px;
  }
  99% {
    top: 97px;
    height: 9px;
  }
  100% {
    top: 75px;
    height: 8px;
  }
}

#stripe6 {
  position: absolute;
  width: 100%;
  height: 9px;
  background-color: #2e0d3f;
  top: 97px;
  left: 50%;
  transform: translate(-50%);
  animation: stripe6mov infinite 1s linear;
}

@keyframes stripe6mov {
  0% {
    top: 97px;
    height: 9px;
  }
  99% {
    top: 120px;
    height: 9px;
  }
  100% {
    top: 97px;
    height: 9px;
  }
}

#fog {
  position: absolute;
  top: 50px;
  width: 100%;
  height: 80%;
  background-image: linear-gradient(transparent, #b811c6);
}

#fog2 {
  position: absolute;
  top: 149px;
  width: 300px;
  height: 500px;
  background-image: linear-gradient(transparent, #b711c63f);
  transform: rotate(180deg);
}

#stars {
  position: absolute;
  width: 100%;
  height: 100%;
}

#stars div {
  background-color: white;
  border-radius: 50%;
  position: absolute;
}

#star0 {
  width: 2px;
  height: 2px;
  left: 20px;
  top: 10px;
}

#star1 {
  width: 2px;
  height: 2px;
  left: 80px;
  top: 70px;
}

#star2 {
  width: 2px;
  height: 2px;
  left: 35px;
  top: 90px;
}

#star3 {
  width: 2px;
  height: 2px;
  left: 140px;
  top: 30px;
}

#star4 {
  width: 2px;
  height: 2px;
  left: 40px;
  top: 50px;
}

#star5 {
  width: 3px;
  height: 3px;
  left: 90px;
  top: 20px;
}

#star6 {
  width: 3px;
  height: 3px;
  left: 70px;
  top: 120px;
}

#star7 {
  width: 2px;
  height: 2px;
  right: 70px;
  top: 90px;
}

#star8 {
  width: 3px;
  height: 3px;
  right: 10px;
  top: 50px;
}

#star9 {
  width: 3px;
  height: 3px;
  right: 90px;
  top: 40px;
}

#star10 {
  width: 3px;
  height: 3px;
  right: 45px;
  top: 20px;
}

#star11 {
  width: 3px;
  height: 3px;
  right: 60px;
  top: 120px;
}

#star12 {
  width: 3px;
  height: 3px;
  right: 50px;
  top: 60px;
}

#star13 {
  width: 3px;
  height: 3px;
  right: 120px;
  top: 10px;
}

#land {
  width: 100%;
  height: 40%;
  bottom: 0;
  position: absolute;
  background-color: #120b12;
}

#roadSide0 {
  position: absolute;
  width: 170px;
  height: 830px;
  perspective: 800px;
  bottom: -338px;
  left: -70px;
}

#roadSideGrid0 {
  border: solid #2afce0 3px;
  width: 100%;
  height: 100%;
  background-color: black;
  background:
    linear-gradient(to right, #2afce0 1px, transparent 1px) 0 0 / 20px 20px,
    linear-gradient(to bottom, #2afce0 1px, #120b12 1px) 0 0 / 20px 20px;
  transform: rotateX(85deg) rotateZ(10deg);
  transform-origin: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  animation: movingGrid0 infinite 0.2s linear;
}

@keyframes movingGrid0 {
  0% {
    transform: rotateX(85deg) rotateZ(10deg) translateY(0px);
  }
  99% {
    transform: rotateX(85deg) rotateZ(10deg) translateY(20px);
  }
  100% {
    transform: rotateX(85deg) rotateZ(10deg) translateY(0px);
  }
}

#roadSide1 {
  position: absolute;
  width: 170px;
  height: 830px;
  perspective: 800px;
  bottom: -338px;
  right: -70px;
}

#roadSideGrid1 {
  border: solid #2afce0 2px;
  width: 100%;
  height: 100%;
  background-color: black;
  background:
    linear-gradient(to right, #2afce0 1px, transparent 1px) 0 0 / 20px 20px,
    linear-gradient(to bottom, #2afce0 1px, #120b12 1px) 0 0 / 20px 20px;
  transform: rotateX(85deg) rotateZ(-10deg);
  transform-origin: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  animation: movingGrid1 infinite 0.2s linear;
}

@keyframes movingGrid1 {
  0% {
    transform: rotateX(85deg) rotateZ(-10deg) translateY(0px);
  }
  99% {
    transform: rotateX(85deg) rotateZ(-10deg) translateY(20px);
  }
  100% {
    transform: rotateX(85deg) rotateZ(-10deg) translateY(0px);
  }
}

/* Present the synthwave scene on its own and scale it to the viewport. */
html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: #2e0d3f;
}

body {
  min-height: 100svh;
  display: grid;
  place-items: center;
}

#synthwave {
  scale: 1;
  transform-origin: center;
}

/* Extend both road-grid planes evenly so they meet the horizon and viewport edge. */
#roadSide0,
#roadSide1 {
  height: 900px;
  bottom: -373px;
}

/* Match the fog width to the viewport after the scene is scaled. */
#fog,
#fog2 {
  left: 50%;
  width: calc(100vw / var(--scene-scale, 1));
}

#fog {
  transform: translateX(-50%);
}

#fog2 {
  transform: translateX(-50%) rotate(180deg);
}

/* Extend the horizon landscape to the viewport on extra-wide windows. */
#land {
  left: 50%;
  width: calc(100vw / var(--scene-scale, 1));
  transform: translateX(-50%);
}

/* Keep the mountains and grid attached to the visible left and right edges. */
#hill {
  right: calc(30px - var(--side-extension, 0px));
}

#hill2 {
  left: calc(30px - var(--side-extension, 0px));
}

#roadSide0 {
  width: calc(160px + var(--side-extension, 0px));
  left: calc(-70px - var(--side-extension, 0px));
}

#roadSide1 {
  width: calc(160px + var(--side-extension, 0px));
  right: calc(-70px - var(--side-extension, 0px));
}

/* Let the existing star field follow the full width of the visible sky. */
#stars {
  left: 50%;
  width: calc(100vw / var(--scene-scale, 1));
  transform: translateX(-50%);
}

/* Give the road a stronger vanishing-point shape: narrow at the horizon, wide below. */
#roadSideGrid0 {
  animation-name: road-grid-left-perspective;
}

#roadSideGrid1 {
  animation-name: road-grid-right-perspective;
}

@keyframes road-grid-left-perspective {
  0%, 100% {
    transform: rotateX(85deg) rotateZ(14deg) translateY(0);
  }
  99% {
    transform: rotateX(85deg) rotateZ(14deg) translateY(20px);
  }
}

@keyframes road-grid-right-perspective {
  0%, 100% {
    transform: rotateX(85deg) rotateZ(-14deg) translateY(0);
  }
  99% {
    transform: rotateX(85deg) rotateZ(-14deg) translateY(20px);
  }
}

/* Three stacked neon controls, kept separate from the scene's own star field. */
.button-stack {
  position: fixed;
  z-index: 10;
  left: clamp(1rem, 4vw, 4rem);
  top: 50%;
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 2.5vh, 1.5rem);
  transform: translateY(-50%);
}

.button-emblem {
  position: absolute;
  left: 50%;
  bottom: calc(100% + clamp(0.75rem, 2.5vh, 1.5rem));
  width: clamp(6.96rem, 13.92vw, 11.39rem);
  height: auto;
  transform: translateX(-50%);
  pointer-events: none;
}

.synth-info-panel {
  position: fixed;
  z-index: 10;
  top: clamp(1rem, 3vh, 2rem);
  right: clamp(1rem, 3vw, 3rem);
  min-width: 10rem;
  padding: 0.7rem 0.9rem;
  color: #f7ecff;
  font-family: "Courier New", monospace;
  text-align: right;
  text-transform: uppercase;
  background: linear-gradient(135deg, rgba(29, 6, 43, 0.88), rgba(54, 11, 72, 0.74));
  border: 1px solid rgba(42, 252, 224, 0.9);
  border-right: 4px solid #fe53bb;
  box-shadow: 0 0 14px rgba(42, 252, 224, 0.35), inset 0 0 18px rgba(254, 83, 187, 0.16);
  backdrop-filter: blur(0.45rem);
}

.synth-info-label {
  margin-bottom: 0.3rem;
  color: #2afce0;
  font-size: 0.6rem;
  letter-spacing: 0.18rem;
}

.synth-info-date {
  color: #ffdb3b;
  font-size: 0.7rem;
  letter-spacing: 0.08rem;
}

.synth-info-time {
  margin-top: 0.15rem;
  color: #fff;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: bold;
  letter-spacing: 0.12rem;
  text-shadow: 0 0 7px rgba(255, 255, 255, 0.8), 0 0 12px rgba(254, 83, 187, 0.7);
}

.button-stack .btn {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: min(13rem, 44vw);
  height: 3rem;
  overflow: hidden;
  cursor: pointer;
  backdrop-filter: blur(1rem);
  border: double 4px transparent;
  border-radius: 5rem;
  background-image: linear-gradient(#212121, #212121), linear-gradient(137.48deg, #ffdb3b 10%, #fe53bb 45%, #8f51ea 67%, #0044ff 87%);
  background-origin: border-box;
  background-clip: content-box, border-box;
  background-size: 300% 300%;
  isolation: isolate;
  transition: 0.5s;
  animation: button-gradient 5s ease infinite;
}

.button-stack strong {
  z-index: 2;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 5px;
  text-shadow: 0 0 4px #fff;
}

.button-stack .button-stars {
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 5rem;
  backdrop-filter: blur(1rem);
  transition: 0.5s;
}

.button-stack .button-glow {
  position: absolute;
  z-index: -1;
  display: flex;
  width: 12rem;
}

.button-stack .circle {
  width: 100%;
  height: 30px;
  z-index: -1;
  filter: blur(2rem);
  animation: button-pulse 4s infinite;
}

.button-stack .circle:nth-of-type(1) {
  background: rgba(254, 83, 186, 0.636);
}

.button-stack .circle:nth-of-type(2) {
  background: rgba(142, 81, 234, 0.704);
}

.button-stack .btn:hover .button-stars {
  z-index: 1;
  background-color: #212121;
}

.button-stack .btn:hover {
  transform: scale(1.1);
}

.button-stack .btn:active {
  border: double 4px #fe53bb;
  background-origin: border-box;
  background-clip: content-box, border-box;
  animation: none;
}

.button-stack .btn:active .circle {
  background: #fe53bb;
}

.button-stack .button-starfield {
  position: relative;
  width: 200rem;
  height: 200rem;
  background: transparent;
}

.button-stack .button-starfield::after,
.button-stack .button-starfield::before {
  content: "";
  position: absolute;
  background-image: radial-gradient(#fff 1px, transparent 1%);
  background-size: 50px 50px;
}

.button-stack .button-starfield::after {
  top: -10rem;
  left: -100rem;
  width: 100%;
  height: 100%;
  animation: button-star-rotate 90s linear infinite;
}

.button-stack .button-starfield::before {
  top: 0;
  left: -50%;
  width: 170%;
  height: 500%;
  opacity: 0.5;
  animation: button-stars-rise 60s linear infinite;
}

@keyframes button-stars-rise {
  from { transform: translateY(0); }
  to { transform: translateY(-135rem); }
}

@keyframes button-star-rotate {
  from { transform: rotate(360deg); }
  to { transform: rotate(0); }
}

@keyframes button-gradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes button-pulse {
  0%, 100% {
    transform: scale(0.75);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
  }
}

  