body {
  margin: 0;
  padding: 0;
  font-family: 'Baloo 2', cursive;
  background: linear-gradient(135deg, #a8edea, #fed6e3);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Fondo decorativo con estrellas */
.background-decor {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
  overflow: hidden;
}

.star {
  position: absolute;
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  opacity: 0.8;
  animation: twinkle 4s infinite ease-in-out;
}

.star:nth-child(1) { top: 15%; left: 20%; animation-delay: 0s; }
.star:nth-child(2) { top: 35%; left: 80%; animation-delay: 1s; }
.star:nth-child(3) { top: 60%; left: 10%; animation-delay: 2s; }
.star:nth-child(4) { top: 70%; left: 60%; animation-delay: 3s; }
.star:nth-child(5) { top: 25%; left: 50%; animation-delay: 1.5s; }

@keyframes twinkle {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* Formulario contenedor */
.register-container {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  padding: 60px 50px;
  width: 400px;
  text-align: center;
  transition: transform 0.3s ease;
}

.register-container:hover {
  transform: scale(1.03);
}

/* Logo */
.logo {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 100px;
}

/* Título */
h2 {
  margin-bottom: 25px;
  color: #6a0dad;
  font-size: 2.3em;
}

/* Inputs */
form input {
  display: block;
  width: 100%;
  margin: 10px 0;
  padding: 14px;
  border: none;
  border-radius: 15px;
  background: #f3f0ff;
  font-size: 1.1em;
  text-align: center;
  transition: all 0.3s ease;
}

form input:focus {
  background: #e0d7ff;
  outline: none;
  box-shadow: 0 0 10px rgba(106, 13, 173, 0.4);
}

/* Botón principal */
button {
  width: 100%;
  padding: 15px;
  background: #7c5cff;
  color: white;
  font-size: 1.2em;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

button:hover {
  background: #a189ff;
  transform: scale(1.05);
}

/* Texto inferior */
p {
  margin-top: 20px;
  font-size: 1.1em;
}

p a {
  color: #6a0dad;
  font-weight: bold;
  text-decoration: none;
}

p a:hover {
  text-decoration: underline;
}
