/* Fullscreen background */
body,
html {
  height: 100%;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000;
  overflow: hidden;
  font-family: Arial, sans-serif;
  animation: backgroundFlash 2s infinite alternate;
}

/* Background animation: dynamic flashing colors */
@keyframes backgroundFlash {
  0% {
    background-color: #ff0000;
  }
  20% {
    background-color: #ff00ff;
  }
  40% {
    background-color: #00ff00;
  }
  60% {
    background-color: #ffff00;
  }
  80% {
    background-color: #00ffff;
  }
  100% {
    background-color: #0000ff;
  }
}

/* Flashing text animation */
@keyframes flashyText {
  0% {
    color: #ff0000;
    text-shadow: 0 0 10px #ff0000, 0 0 20px #ff0000, 0 0 30px #ff0000,
      0 0 40px #ff0000;
  }
  20% {
    color: #ff8c00;
    text-shadow: 0 0 10px #ff8c00, 0 0 20px #ff8c00, 0 0 30px #ff8c00,
      0 0 40px #ff8c00;
  }
  40% {
    color: #ffff00;
    text-shadow: 0 0 10px #ffff00, 0 0 20px #ffff00, 0 0 30px #ffff00,
      0 0 40px #ffff00;
  }
  60% {
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00, 0 0 30px #00ff00,
      0 0 40px #00ff00;
  }
  80% {
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff, 0 0 30px #00ffff,
      0 0 40px #00ffff;
  }
  100% {
    color: #ff00ff;
    text-shadow: 0 0 10px #ff00ff, 0 0 20px #ff00ff, 0 0 30px #ff00ff,
      0 0 40px #ff00ff;
  }
}

/* App styling */
#app {
  text-align: center;
  z-index: 1;
  position: relative;
}

/* Flashing text with animation */
h1 {
  font-size: 4rem;
  animation: flashyText 1.5s infinite alternate;
  font-weight: bold;
  letter-spacing: 2px;
}

/* Button styling */
button {
  background-color: #fff;
  color: #000;
  font-size: 20px;
  padding: 20px 40px;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

button:hover {
  background-color: #ff007f;
  color: white;
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
}

button:active {
  transform: scale(0.9);
}

/* Neon glow effect for button text */
button {
  text-shadow: 0 0 5px #fff, 0 0 10px #ff00ff, 0 0 15px #ff00ff;
}
