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

body {
  background: #0a0a0f;
  color: #e8e4dc;
  font-family: 'DM Sans', sans-serif;
  min-height: 100vh;
  overflow: hidden;
}

.login-scene {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  position: relative;
}

#particles {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}

.login-card {
  position: relative;
  z-index: 1;
  background: rgba(18, 18, 26, 0.85);
  border: 1px solid rgba(232, 168, 56, 0.15);
  border-radius: 16px;
  padding: 48px 40px;
  width: 360px;
  max-width: 90vw;
  backdrop-filter: blur(20px);
  box-shadow: 0 24px 80px rgba(0,0,0,0.4);
}

.login-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 2.2rem;
  letter-spacing: 0.04em;
  text-align: center;
  color: #E8A838;
  margin-bottom: 2px;
}

.login-subtitle {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(232, 228, 220, 0.4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 36px;
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(232, 228, 220, 0.5);
  margin-bottom: 6px;
}

.field input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 0.95rem;
  color: #e8e4dc;
  font-family: 'DM Sans', sans-serif;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}

.field input:focus {
  border-color: rgba(232, 168, 56, 0.5);
  box-shadow: 0 0 0 3px rgba(232, 168, 56, 0.08);
}

.error {
  background: rgba(220, 60, 60, 0.12);
  border: 1px solid rgba(220, 60, 60, 0.3);
  color: #e8867a;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  margin-bottom: 16px;
  text-align: center;
}

.hidden { display: none !important; }

.btn-login {
  width: 100%;
  background: linear-gradient(135deg, #E8A838 0%, #c48a2a 100%);
  border: none;
  border-radius: 8px;
  padding: 13px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #0a0a0f;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-top: 8px;
}

.btn-login:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(232, 168, 56, 0.3);
}

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