body.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#login-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.login-shell {
  position: relative;
  z-index: 10;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.login-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
  width: 100%;
  max-width: 320px;
}

.login-logo {
  font-family: 'Cinzel', serif;
  font-size: clamp(18px, 5vw, 24px);
  letter-spacing: 0.35em;
}

.login-logo .h {
  color: var(--blue);
}

.login-logo .s {
  color: var(--gold);
}

.login-logo .sep {
  color: rgba(200, 180, 255, 0.2);
  margin: 0 12px;
}

.login-sub {
  font-style: italic;
  font-size: 13px;
  color: rgba(180, 165, 210, 0.45);
  letter-spacing: 0.06em;
}

.login-divider {
  width: 50px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(200,180,255,0.25), transparent);
}

.login-error {
  font-style: italic;
  font-size: 12px;
  color: rgba(255, 160, 160, 0.8);
  display: none;
}

.login-error.show {
  display: block;
}

.login-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.login-form input[type="password"] {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(200, 180, 255, 0.25);
  color: rgba(230, 215, 255, 0.9);
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  letter-spacing: 0.3em;
  text-align: center;
  padding: 10px 4px;
  outline: none;
  transition: border-color 0.3s ease;
}

.login-form input[type="password"]:focus {
  border-color: rgba(200, 180, 255, 0.6);
}

.login-form input[type="password"]::placeholder {
  color: rgba(180, 165, 210, 0.3);
  font-size: 14px;
  letter-spacing: 0.15em;
}

.login-form button {
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 13px 32px;
  border: 1px solid rgba(200, 180, 255, 0.25);
  color: rgba(200, 180, 255, 0.7);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.login-form button:hover {
  border-color: rgba(200, 180, 255, 0.6);
  color: rgba(220, 205, 255, 0.95);
}

.invitation-link,
.login-back {
  font-style: italic;
  font-size: 11px;
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: color 0.3s ease;
}

.invitation-link {
  color: rgba(180, 165, 210, 0.3);
}

.invitation-link:hover {
  color: rgba(200, 185, 230, 0.6);
}

.login-back {
  color: rgba(180, 165, 210, 0.42);
}

.login-back:hover {
  color: rgba(210, 195, 240, 0.72);
}