body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #000;
  margin: 0;
  overflow: hidden;
}

.button-container {
  position: relative;
}

.glow-button {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: linear-gradient(45deg, #000, #333);
  border: 2px solid gold;
  color: white;
  font-size: 50px;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 0 500px gold, 0 0 10px gold, 0 0 80px gold;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  z-index: 1;
}


.glow-button:active {
  animation: pump 0.5s infinite;
}

@keyframes pump {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.starlight {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.5), transparent 70%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}

.button-container:active .starlight {
  opacity: 1;
}

/* Existing styles remain the same */
/* Existing styles remain the same */

#particles-container {
  position: fixed; /* Cover the entire viewport */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: -1; /* Ensure it stays behind the button */
}

.particle {
  position: absolute;
  width: 10px;
  height: 10px;
  background: gold;
  border-radius: 50%;
  box-shadow: 0 0 10px gold, 0 0 20px gold;
  opacity: 0;
  animation: float 2s ease-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) scale(0); /* Move particles to the top of the viewport */
    opacity: 0;
  }
}

.glow-button {
  position: relative;
  overflow: hidden; /* Ensure the border effect stays within the button */
  border: 2px solid transparent; /* Transparent border to make space for the effect */
}

.glow-button::before,
.glow-button::after {
  content: '';
  position: absolute;
  top: -2px; /* Adjust to match the border width */
  left: -2px; /* Adjust to match the border width */
  right: -2px; /* Adjust to match the border width */
  bottom: -2px; /* Adjust to match the border width */
  border: 2px solid transparent; /* Match the button's border width */
  border-radius: 50%; /* Match the button's circular shape */
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.glow-button::before {
  border-top: 2px solid gold; /* Glowing border color */
  animation: rotateBorder 2s linear infinite;
}

.glow-button::after {
  border-bottom: 2px solid gold; /* Glowing border color */
  animation: rotateBorderReverse 2s linear infinite;
}

.glow-button:active::before,
.glow-button:active::after {
  opacity: 1; /* Show the border effect when the button is pressed */
}

@keyframes rotateBorder {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes rotateBorderReverse {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}

.glow-button {
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.glow-button::before,
.glow-button::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border: 2px solid transparent;
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.glow-button::before {
  border-top: 2px solid gold;
  animation: rotateBorder 2s linear infinite;
}

.glow-button::after {
  border-bottom: 2px solid gold;
  animation: rotateBorderReverse 2s linear infinite;
}

.glow-button:active::before,
.glow-button:active::after {
  opacity: 1;
}

@keyframes rotateBorder {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes rotateBorderReverse {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}

