:root {
  --bg-dark: #020406;
  --neon-white: #ffffff;
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-surface: rgba(10, 15, 25, 0.7);
}

body {
  font-family: 'Inter', -apple-system, "SF Pro Display", "Helvetica Neue", sans-serif;
  margin: 0;
  background: var(--bg-dark);
  color: #ffffff;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.space-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: radial-gradient(circle at center, #0d1117 0%, #020406 100%);
}

.stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://www.transparenttextures.com/patterns/stardust.png');
  background-size: 450px;
  opacity: 0.8;
  filter: brightness(1.5);
  animation: twinkle 10s infinite alternate;
}

@keyframes twinkle {
  from { opacity: 0.5; }
  to { opacity: 0.85; }
}

.login-box {
  position: relative;
  width: min(90vw, 25rem);
  padding: 3.125rem 2.5rem;
  background: var(--glass-surface);
  backdrop-filter: blur(50px) saturate(180%);
  -webkit-backdrop-filter: blur(50px) saturate(180%);
  border-radius: 40px;
  border: 0.5px solid var(--glass-border);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
  z-index: 10;
  text-align: center;
}

.login-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 40px;
  right: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

h1 {
  font-weight: 300;
  letter-spacing: 15px;
  margin-bottom: 40px;
  font-size: 1.4rem;
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.input-groove {
  position: relative;
  margin-bottom: 25px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.input-groove:focus-within {
  border-color: var(--neon-white);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

input {
  width: 100%;
  padding: 16px 24px;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 400;
  box-sizing: border-box;
}

input::placeholder {
  color: rgba(255, 255, 255, 0.25);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  transition: 0.3s;
}

input:focus::placeholder {
  opacity: 0;
}

.launch-btn {
  width: 100%;
  margin-top: 20px;
  padding: 16px;
  background: transparent;
  border: 1px solid var(--neon-white);
  border-radius: 18px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s ease;
}

.launch-btn:hover {
  background: #fff;
  color: #000;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.error {
  margin-top: 14px;
  min-height: 20px;
  color: var(--status-err);
  font-size: 0.9rem;
}