/* ============================================================
   auth.css — World Wide War
   Login, signup, verification, password-recovery page layouts
   ============================================================ */

/* ── AUTH PAGE BODY ──────────────────────────────────────────── */
/*
  Auth pages use centred vertical layout (flex body) rather than
  the scrollable content layout used by the member area.
*/
.auth-page {
  background: #080808;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ── AUTH MAIN ───────────────────────────────────────────────── */
.auth-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
  width: 100%;
  max-width: 400px;
}

/* ── AUTH PAGE TITLE ─────────────────────────────────────────── */
.auth-main__title {
  font-size: clamp(1.6rem, 6vw, 2.4rem);
  font-weight: 200;
  letter-spacing: 0.25em;
  color: var(--color-white);
  margin-bottom: 3rem;
  text-transform: uppercase;
}

/* ── AUTH NAV (top of auth pages) ───────────────────────────── */
/*
  The auth header has only a home logo (and optionally Log In link).
  It uses space-between so the logo sits left and login sits right.
*/
.auth-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  z-index: 10;
}

/* ── LANDING PAGE NAV ────────────────────────────────────────── */
/*
  The landing page has only a Log In link on the right (no logo).
*/
.landing-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 1.5rem 2rem;
  z-index: 10;
}

.landing-header__login {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--color-text-secondary);
  text-decoration: none;
  text-transform: uppercase;
  transition: color var(--transition-base);
}

.landing-header__login:hover {
  color: var(--color-text-primary);
}

/* ── LANDING PAGE MAIN ───────────────────────────────────────── */
.landing-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

/* ── LANDING WWW ─────────────────────────────────────────────── */
.landing-title {
  display: flex;
  align-items: baseline;
  line-height: 1;
  margin-bottom: 2.8rem;
  letter-spacing: var(--tracking-wide);
}

.landing-title__letter {
  display: inline-block;
  font-size: clamp(3.5rem, 14vw, 7rem);
  font-weight: var(--font-weight-thin);
  color: var(--color-white);
  will-change: transform;
}

/* ── SUBTITLES ───────────────────────────────────────────────── */
.landing-subtitle {
  font-size: clamp(0.72rem, 2vw, 0.82rem);
  font-weight: var(--font-weight-regular);
  letter-spacing: 0.18em;
  text-transform: none;
  color: var(--color-text-secondary);
}

.landing-subtitle--primary {
  margin-bottom: 0.6rem;
}

.landing-subtitle--secondary {
  color: var(--color-text-muted);
  margin-bottom: 2.4rem;
}

/* ── BLINKING CURSOR ─────────────────────────────────────────── */
.landing-cursor {
  display: block;
  width: 1px;
  height: 0.9em;
  background: var(--color-text-muted);
  margin-top: 2.6rem;
  animation: cursor-blink 1.1s step-start infinite;
}

@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ── NOTIFY TRIGGER ──────────────────────────────────────────── */
.notify-trigger {
  background: transparent;
  border: none;
  color: #4a4845;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: var(--font-weight-regular);
  letter-spacing: var(--tracking-normal);
  text-transform: uppercase;
  padding: 0;
  cursor: pointer;
  outline: none;
  transition: color var(--transition-base);
}

.notify-trigger:hover {
  color: #8a8580;
}

/* ── NOTIFY FORM REVEAL ──────────────────────────────────────── */
.notify-form-wrap {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.45s ease, opacity 0.45s ease;
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.notify-form-wrap.is-expanded {
  max-height: 100px;
  opacity: 1;
}

/* ── NOTIFY FORM ROW ─────────────────────────────────────────── */
.notify-form__row {
  display: flex;
  align-items: stretch;
  width: 100%;
}

.notify-form__input {
  flex: 1;
  background: transparent;
  border: 1px solid #2a2a2a;
  border-right: none;
  color: var(--color-text-primary);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: var(--font-weight-regular);
  letter-spacing: 0.06em;
  padding: 0.7rem 1rem;
  outline: none;
  transition: border-color var(--transition-base);
  min-width: 0;
}

.notify-form__input::placeholder {
  color: #3d3d3d;
  letter-spacing: 0.1em;
  font-size: 0.74rem;
  text-transform: uppercase;
}

.notify-form__input:focus {
  border-color: #3f3f3f;
}

.notify-form__submit {
  background: transparent;
  border: 1px solid #2a2a2a;
  color: var(--color-text-secondary);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.7rem 1.2rem;
  cursor: pointer;
  transition: border-color var(--transition-base), color var(--transition-base);
  outline: none;
  white-space: nowrap;
}

.notify-form__submit:hover {
  border-color: #3f3f3f;
  color: var(--color-text-primary);
}

.notify-form__submit:disabled {
  cursor: default;
  opacity: 0.3;
}

/* ── NOTIFY SUCCESS ──────────────────────────────────────────── */
.notify-success {
  display: none;
  font-size: 0.78rem;
  font-weight: var(--font-weight-regular);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-primary);
}

.notify-success.is-visible {
  display: block;
}

/* ── LANDING FOOTER ──────────────────────────────────────────── */
.landing-footer {
  position: fixed;
  bottom: 1.6rem;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.6rem;
  font-weight: var(--font-weight-regular);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #272522;
}
