* {
  box-sizing: border-box;
  font-family: Inter, Arial, sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: #07111f;
}

.auth-bg {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at top left, rgba(255,107,53,.25), transparent 35%),
    radial-gradient(circle at bottom right, rgba(37,99,235,.28), transparent 35%),
    linear-gradient(135deg, #08111f, #111827);
  position: relative;
}

.auth-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 45px 45px;
  animation: moveGrid 12s linear infinite;
}

.orb {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  filter: blur(20px);
  opacity: .55;
  animation: float 5s ease-in-out infinite;
}

.orb1 {
  background: #ff6b35;
  top: 12%;
  left: 14%;
}

.orb2 {
  background: #2563eb;
  bottom: 10%;
  right: 14%;
  animation-delay: 1.5s;
}

.auth-card {
  width: 390px;
  max-width: 92%;
  padding: 36px;
  border-radius: 24px;
  color: #fff;
  text-align: center;
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
  animation: popUp .7s ease forwards;
}

.logo {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 26px;
  font-weight: 900;
  background: linear-gradient(135deg, #ff6b35, #ffb703);
  box-shadow: 0 15px 35px rgba(255,107,53,.45);
}

h2 {
  margin: 0;
  font-size: 32px;
}

p {
  color: #b8c4d9;
  margin-bottom: 28px;
}

input {
  width: 100%;
  padding: 15px 16px;
  margin-bottom: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.08);
  color: #fff;
  outline: none;
}

input::placeholder {
  color: #9ca3af;
}

input:focus {
  border-color: #ffb703;
  box-shadow: 0 0 0 4px rgba(255,183,3,.16);
}

button {
  width: 100%;
  padding: 15px;
  margin-top: 6px;
  border: none;
  border-radius: 14px;
  color: #0f172a;
  font-weight: 800;
  cursor: pointer;
  background: linear-gradient(135deg, #ff6b35, #ffb703);
  box-shadow: 0 15px 35px rgba(255,107,53,.35);
  transition: .25s ease;
}

button:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 45px rgba(255,107,53,.5);
}

a {
  display: inline-block;
  margin-top: 20px;
  color: #ffb703;
  font-weight: 700;
  text-decoration: none;
}

@media(max-width:520px){
  .auth-bg{
    align-items:start;
    padding:26px 12px;
    overflow-y:auto;
  }

  .orb{
    width:160px;
    height:160px;
  }

  .auth-card{
    width:100%;
    max-width:420px;
    padding:28px 18px;
    border-radius:22px;
  }

  h2{
    font-size:28px;
  }

  p{
    font-size:14px;
    line-height:1.6;
  }
}

@keyframes popUp {
  from { opacity: 0; transform: translateY(30px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-25px); }
}

@keyframes moveGrid {
  from { background-position: 0 0; }
  to { background-position: 45px 45px; }
}
