* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Courier New', monospace;
  background: #000;
  color: #fff;
  height: 100vh;
  overflow: hidden;
}

.carousel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.carousel .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.carousel .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel .slide.active {
  opacity: 1;
}

/* Botones del carrusel */
.controles {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
}

.controles button {
  background: rgba(0,0,0,0.6);
  border: 1px solid #9d4edd;
  color: #fff;
  padding: 10px;
  margin: 5px;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.controles button:hover {
  background: #9d4edd;
  box-shadow: 0 0 10px #9d4edd;
}

.contenido {
  position: relative;
  z-index: 10;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 2rem;
  border-radius: 10px;
  max-width: 700px;
  margin: 2rem auto;
}

.contenido h1 {
  font-size: 3rem;
  color: #9d4edd;
  text-shadow: 0 0 15px #9d4edd;
}

.contenido p {
  margin: 10px 0;
  font-size: 1.2rem;
}

/* Alerta con efecto ritual */
.contenido .alertta {
  color: #ff004c;
  font-weight: bold;
  text-shadow: 0 0 10px #ff004c;
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.logo {
  display: block;
  margin: 0 auto 20px auto;
  width: 150px;
  filter: drop-shadow(0 0 15px #9d4edd);
}

.login-form {
  background: rgba(0, 0, 0, 0.7);
  padding: 20px;
  border-radius: 10px;
  display: inline-block;
  box-shadow: 0 0 20px #9d4edd;
}

.login-form h2 {
  margin-bottom: 15px;
  color: #9d4edd;
  text-shadow: 0 0 10px #9d4edd;
}

.login-form input {
  display: block;
  width: 250px;
  margin: 10px auto;
  padding: 10px;
  border: 1px solid #9d4edd;
  border-radius: 5px;
  background: #111;
  color: #fff;
}

.login-form input:focus {
  outline: none;
  border-color: #ff004c;
  box-shadow: 0 0 15px #ff004c;
}

.login-form button {
  margin-top: 10px;
  padding: 10px 20px;
  background: #9d4edd;
  border: none;
  border-radius: 5px;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.login-form button:hover {
  background: #ff004c;
  box-shadow: 0 0 15px #ff004c;
  transform: scale(1.05);
}

/* Responsividad ritual */
@media (max-width: 600px) {
  .contenido {
    width: 90%;
    padding: 1rem;
  }
  .login-form input {
    width: 100%;
  }
}