body {
  margin: 0;
  padding: 0;
  background-image: url('https://i.postimg.cc/3wMpKQP3/UPER-TSDSDSDSDSDSDSDSD.png');
  background-size: cover;
  background-position: center;
  height: 100vh;
  font-family: 'Arial', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: glowEffect 6s infinite alternate;
  overflow: hidden;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.3);
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  animation: overlayEffect 6s infinite alternate;
  position: relative;
}

h1 {
  color: white;
  font-size: 3em;
  margin-bottom: 20px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
  animation: textGlow 6s infinite alternate;
}

button {
  font-size: 1.5em;
  padding: 15px 30px;
  border: none;
  border-radius: 12px;
  background-color: rgba(0, 123, 255, 0.6);
  color: white;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s ease;
  box-shadow: 0 0 15px rgba(0, 123, 255, 0.4);
  z-index: 9999;
}

button:hover {
  background-color: rgba(0, 95, 205, 0.8);
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(0, 123, 255, 1);
}

.buttons {
  display: flex;
  gap: 20px;
  z-index: 10000;
  flex-wrap: wrap; /* AÑADIDO por si hay muchos botones */
}


@media (max-width: 600px) {
  .buttons {
    flex-direction: column;
  }
}

.flash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  opacity: 1;
  z-index: 9999;
  animation: flashEffect 1s ease-out forwards;
}

@keyframes flashEffect {
  0% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes glowEffect {
  0% {
    filter: brightness(0.9) saturate(1.1);
  }
  50% {
    filter: brightness(1.3) saturate(1.3);
  }
  100% {
    filter: brightness(0.9) saturate(1.1);
  }
}

@keyframes overlayEffect {
  0% {
    background-color: rgba(0, 0, 0, 0.3);
  }
  50% {
    background-color: rgba(0, 0, 0, 0.5);
  }
  100% {
    background-color: rgba(0, 0, 0, 0.3);
  }
}

@keyframes textGlow {
  0% {
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
  }
  50% {
    text-shadow: 2px 2px 15px rgba(0, 123, 255, 1);
  }
  100% {
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
  }
}

.terms-links {
  margin-top: 20px;
  font-size: 1em;
}

.terms-links a {
  color: #007bff;
  text-decoration: none;
}

.terms-links a:hover {
  text-decoration: underline;
}

.anuncio-autom {
  position: fixed;
  bottom: 20px;
  background-color: rgba(0, 123, 255, 0.7);
  color: white;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 1.1em;
  box-shadow: 0 0 15px rgba(0, 123, 255, 0.5);
  animation: fadeInOut 30s infinite;
  z-index: 9999;
}

@keyframes fadeInOut {
  0%   { opacity: 0; bottom: 10px; }
  5%   { opacity: 1; bottom: 20px; }
  95%  { opacity: 1; bottom: 20px; }
  100% { opacity: 0; bottom: 10px; }
}

#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

