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

body {
  font-family: 'Inter', Arial, sans-serif;
  background: linear-gradient(135deg, #d4b3ff, #7a0ee6);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  color: #3e005f;
}

.registro {
  background: #fff;
  padding: 40px 35px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(122, 14, 230, 0.6);
  width: 350px;
  max-width: 100%;
  text-align: center;
  transition: transform 0.3s ease;
}

.registro:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(122, 14, 230, 0.8);
}

.registro h2 {
  font-weight: 700;
  font-size: 2.4rem;
  margin-bottom: 30px;
  color: #6a1b9a;
  text-shadow: 1px 1px 3px rgba(122, 14, 230, 0.8);
}

.registro form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.registro input {
  padding: 14px 18px;
  font-size: 1.1rem;
  border: 2px solid #9c4dcc;
  border-radius: 12px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.registro input::placeholder {
  color: #a17ecc;
  font-weight: 500;
}

.registro input:focus {
  border-color: #4a00e0;
  box-shadow: 0 0 8px #6a1b9a;
}

.registro button {
  background: linear-gradient(135deg, #8e2de2, #4a00e0);
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 16px 0;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 12px 25px rgba(74, 0, 224, 0.7);
  transition: background 0.4s ease, box-shadow 0.4s ease, transform 0.3s ease;
}

.registro button:hover {
  background: linear-gradient(135deg, #4a00e0, #8e2de2);
  box-shadow: 0 15px 40px rgba(122, 14, 230, 0.9);
  transform: translateY(-3px);
}

.registro button:active {
  transform: translateY(0);
  box-shadow: 0 10px 30px rgba(74, 0, 224, 0.6);
}

/* Responsive */
@media (max-width: 400px) {
  .registro {
    padding: 30px 25px;
    width: 90vw;
  }
  .registro h2 {
    font-size: 2rem;
  }
  .registro input {
    font-size: 1rem;
    padding: 12px 15px;
  }
  .registro button {
    font-size: 1.1rem;
    padding: 14px 0;
  }
}
