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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overflow: hidden;
  background: #000000;
}

#canvas {
  display: block;
  width: 100%;
  height: 100vh;
}

.login-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(10, 10, 25, 0.9);
  backdrop-filter: blur(20px);
  padding: 50px;
  border-radius: 25px;
  border: 2px solid rgba(100, 200, 255, 0.3);
  width: 90%;
  max-width: 450px;
  box-shadow: 0 0 100px rgba(100, 200, 255, 0.2), inset 0 0 50px rgba(100, 200, 255, 0.05);
  z-index: 10;
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 100px rgba(100, 200, 255, 0.2), inset 0 0 50px rgba(100, 200, 255, 0.05); }
  50% { box-shadow: 0 0 150px rgba(100, 200, 255, 0.4), inset 0 0 80px rgba(100, 200, 255, 0.1); }
}

.login-container h1 {
  color: #ffffff;
  margin-bottom: 15px;
  font-size: 32px;
  text-align: center;
  background: linear-gradient(135deg, #64c8ff, #00ff88);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  letter-spacing: 2px;
}

.login-container p {
  color: #94a3b8;
  text-align: center;
  margin-bottom: 35px;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  color: #64c8ff;
  font-size: 13px;
  margin-bottom: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(100, 200, 255, 0.05);
  border: 2px solid rgba(100, 200, 255, 0.2);
  border-radius: 12px;
  color: #ffffff;
  font-size: 15px;
  transition: all 0.4s ease;
  box-shadow: inset 0 0 20px rgba(100, 200, 255, 0.02);
}

.form-group input:focus {
  outline: none;
  background: rgba(100, 200, 255, 0.1);
  border-color: rgba(100, 200, 255, 0.6);
  box-shadow: inset 0 0 20px rgba(100, 200, 255, 0.1), 0 0 40px rgba(100, 200, 255, 0.3);
}

.form-group input::placeholder {
  color: #4a7a99;
}

.login-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #00ff88 0%, #64c8ff 100%);
  border: none;
  border-radius: 12px;
  color: #000000;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s ease;
  margin-top: 15px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-shadow: 0 0 40px rgba(0, 255, 136, 0.4), 0 10px 30px rgba(100, 200, 255, 0.2);
  text-decoration: none;
  white-space: pre;
}

.login-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 60px rgba(0, 255, 136, 0.6), 0 20px 50px rgba(100, 200, 255, 0.4);
}

.login-btn:active {
  transform: translateY(-1px);
}

.signup-link {
  text-align: center;
  margin-top: 25px;
  color: #64a3c8;
  font-size: 14px;
}

.signup-link a {
  color: #00ff88;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s;
}

.signup-link a:hover {
  color: #64c8ff;
  text-shadow: 0 0 20px rgba(100, 200, 255, 0.6);
}

.success-message {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #00ff88, #64c8ff);
  color: #000000;
  padding: 18px 32px;
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 20;
  font-weight: 700;
  box-shadow: 0 0 50px rgba(0, 255, 136, 0.6);
}

.success-message.show {
  opacity: 1;
}