/* ===== RESET ===== */

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

/* ===== VARIABLES ===== */

:root{
  --bg-dark:#020617;

  --card-bg:rgba(15,23,42,0.78);

  --neon-green:#22c55e;
  --neon-blue:#00d9ff;

  --text:#ffffff;

  --border:rgba(255,255,255,0.08);
}

/* ===== BODY ===== */

body{
  min-height:100vh;

  display:flex;
  justify-content:center;
  align-items:center;

  padding:20px;

  overflow:hidden;

  font-family:'Orbitron', sans-serif;

  background:
    radial-gradient(circle at top left,
    #111827 0%,
    #020617 55%,
    #000000 100%);

  color:var(--text);

  position:relative;
}

/* ===== EFECTO NEON ===== */

.background-glow{
  position:absolute;

  width:650px;
  height:650px;

  background:
    radial-gradient(circle,
    rgba(34,197,94,0.18),
    transparent 70%);

  filter:blur(70px);

  animation:glowMove 8s infinite alternate;

  z-index:0;
}

@keyframes glowMove{

  from{
    transform:translate(-120px,-60px);
  }

  to{
    transform:translate(120px,60px);
  }

}

/* ===== CONTENEDOR ===== */

.register-container{
  width:100%;

  display:flex;
  justify-content:center;
  align-items:center;

  z-index:2;
}

/* ===== CARD ===== */

.card{
  width:100%;
  max-width:430px;

  padding:42px;

  border-radius:28px;

  background:var(--card-bg);

  backdrop-filter:blur(15px);

  border:1px solid var(--border);

  box-shadow:
    0 0 20px rgba(34,197,94,0.15),
    0 0 45px rgba(0,217,255,0.08);

  transition:0.4s ease;
}

.card:hover{
  transform:translateY(-4px);

  box-shadow:
    0 0 30px rgba(34,197,94,0.25),
    0 0 60px rgba(0,217,255,0.15);
}

/* ===== LOGO ===== */

.logo-area{
  text-align:center;
  margin-bottom:30px;
}

.logo-area h1{
  font-size:28px;

  margin-bottom:8px;

  text-shadow:
    0 0 10px rgba(34,197,94,0.9),
    0 0 20px rgba(0,217,255,0.4);
}

.logo-area p{
  font-size:13px;

  letter-spacing:2px;

  color:#94a3b8;
}

/* ===== TITULO ===== */

.card h2{
  text-align:center;

  margin-bottom:25px;

  font-size:22px;
}

/* ===== INPUT GROUP ===== */

.input-group{
  margin-bottom:18px;
}

/* ===== INPUTS ===== */

input{
  width:100%;

  padding:15px;

  border:none;
  outline:none;

  border-radius:14px;

  background:rgba(30,41,59,0.9);

  color:white;

  font-size:14px;

  border:1px solid transparent;

  transition:0.3s ease;
}

/* ===== PLACEHOLDER ===== */

input::placeholder{
  color:#94a3b8;
}

/* ===== FOCUS ===== */

input:focus{
  border-color:var(--neon-green);

  box-shadow:
    0 0 12px rgba(34,197,94,0.5),
    0 0 22px rgba(0,217,255,0.12);

  transform:scale(1.01);
}

/* ===== BUTTON ===== */

button{
  width:100%;

  padding:15px;

  border:none;
  border-radius:14px;

  cursor:pointer;

  font-size:15px;
  font-weight:bold;

  color:white;

  background:
    linear-gradient(
      135deg,
      var(--neon-green),
      var(--neon-blue)
    );

  transition:0.3s ease;

  margin-top:5px;

  box-shadow:
    0 0 15px rgba(34,197,94,0.4);
}

/* ===== HOVER BUTTON ===== */

button:hover{
  transform:translateY(-2px);

  box-shadow:
    0 0 20px rgba(34,197,94,0.8),
    0 0 35px rgba(0,217,255,0.4);
}

/* ===== CLICK ===== */

button:active{
  transform:scale(0.98);
}

/* ===== MENSAJES ===== */

.message{
  margin-top:15px;

  text-align:center;

  min-height:20px;

  font-size:13px;
}

/* ===== LOGIN LINK ===== */

.login-link{
  margin-top:22px;

  text-align:center;

  font-size:13px;

  color:#94a3b8;
}

.login-link a{
  color:var(--neon-green);

  text-decoration:none;

  transition:0.3s;
}

.login-link a:hover{
  text-shadow:
    0 0 10px rgba(34,197,94,0.8);
}

/* ===== TABLET ===== */

@media(max-width:768px){

  .card{
    padding:35px 28px;
  }

}

/* ===== MOBILE ===== */

@media(max-width:500px){

  body{
    padding:15px;
  }

  .card{
    padding:28px 22px;

    border-radius:22px;
  }

  .logo-area h1{
    font-size:22px;
  }

  .card h2{
    font-size:20px;
  }

  input,
  button{
    padding:13px;

    font-size:14px;
  }

}