/* ---- Passwort-Gate ---- */
.gate-card {
  width: min(440px, 100%);
  background: linear-gradient(165deg, rgba(40, 24, 35, 0.92), rgba(28, 17, 24, 0.96));
  border: 1px solid var(--night-line);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  padding: 30px 26px 26px;
  text-align: center;
  backdrop-filter: blur(6px);
  transition: opacity 450ms ease, transform 450ms var(--ease-romantic);
}

.gate-card--hidden {
  display: none;
}

.gate-label {
  margin: 0 0 6px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}

.gate-hint {
  margin: 0 0 20px;
  font-style: italic;
  color: var(--text-dim);
  font-size: 1rem;
}

.gate-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gate-input {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  text-align: center;
  color: var(--text);
  background: rgba(18, 11, 16, 0.7);
  border: 1px solid var(--night-line);
  border-radius: 12px;
  outline: none;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.gate-input::placeholder {
  color: rgba(192, 170, 144, 0.55);
  letter-spacing: 0.18em;
}

.gate-input:focus-visible {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 164, 76, 0.22), 0 0 26px rgba(212, 164, 76, 0.12);
}

.gate-button {
  appearance: none;
  border: none;
  cursor: pointer;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #2c1a10;
  background: linear-gradient(170deg, var(--gold-bright) 0%, var(--gold) 55%, var(--gold-deep) 100%);
  box-shadow: 0 10px 26px rgba(212, 164, 76, 0.25), inset 0 1px 0 rgba(255, 244, 214, 0.65);
  transition: transform 180ms var(--ease-romantic), box-shadow 180ms ease, filter 180ms ease;
}

.gate-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 14px 32px rgba(212, 164, 76, 0.33), inset 0 1px 0 rgba(255, 244, 214, 0.65);
}

.gate-button:active {
  transform: translateY(0) scale(0.985);
}

.gate-button:disabled {
  opacity: 0.55;
  cursor: default;
  transform: none;
  filter: none;
}

.gate-button:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

.gate-error {
  min-height: 1.4em;
  margin: 4px 0 0;
  font-size: 0.98rem;
  color: var(--rose-soft);
}

