/* Tipografía retro del espacio */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

body {
  margin: 0;
  padding: 0;
  font-family: 'Press Start 2P', cursive;
  background: linear-gradient(270deg, #ff00ff, #00ffff, #ffcc00);
  background-size: 600% 600%;
  animation: psychedelic-bg 10s ease infinite;
  color: #00ffcc;
  text-align: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Animación de fondo */
@keyframes psychedelic-bg {
  0% {background-position: 0% 50%;}
  50% {background-position: 100% 50%;}
  100% {background-position: 0% 50%;}
}

h1 {
  font-size: 2em;
  margin: 2rem 0;
  color: #ff00ff;
  text-shadow: 0 0 10px #ff00ff, 0 0 20px #ff66ff;
  animation: flicker 1.5s infinite alternate;
}

/* Flicker de luces estilo neón */
@keyframes flicker {
  0% { opacity: 1; }
  50% { opacity: 0.4; }
  100% { opacity: 1; }
}

/* Animación para todos los enlaces */
a {
  color: #00ffff;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  text-shadow: 0 0 5px #00ffff, 0 0 10px #00ffff;
}

a:hover {
  color: #ffcc00;
  text-shadow: 0 0 10px #ffcc00, 0 0 20px #ffcc00;
  transform: rotate(-2deg) scale(1.1);
}

/* Contenido principal con bordes locos */
{{ content }} {
  padding: 2rem;
  border: 4px dashed #00ffcc;
  margin: 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 20px;
  box-shadow: 0 0 20px #00ffff;
  animation: floaty 6s ease-in-out infinite;
}

@keyframes floaty {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* Footer loco y brillante */
footer.license {
  font-size: 0.7em;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  border-top: 2px solid #ff00ff;
  text-shadow: 0 0 5px #ffffff;
}

/* Imagen de licencia con giro infinito */
footer img {
  margin-top: 10px;
  animation: spin 10s linear infinite;
  max-width: 88px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
