@charset "UTF-8";
/* Penthouse Magazine forgot-password / update-password skin for NATS */
:root {
  --gold: #b38b2d;
  --gold-light: #d9b14b;
  --gold-glow: rgba(179, 139, 45, 0.14);
  --gold-dim: rgba(179, 139, 45, 0.28);
  --bg: #111111;
  --surface: #1b1b1b;
  --surface-header: #141414;
  --surface-input: #0e0e0e;
  --border: #3a3a3a;
  --border-focus: #b38b2d;
  --text: #f5f5f5;
  --text-muted: #999;
  --text-sub: #666;
  --error: #ff7d7d;
  --radius-card: 6px;
  --radius-input: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-height: 100%; }
body.ph-auth-page {
  margin: 0;
  min-height: 100dvh;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  background-image: radial-gradient(ellipse 80% 60% at 50% 40%, #1a1410 0%, #111 70%);
}

.ph-auth-shell {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
}

.ph-auth-card {
  width: min(440px, 100%);
  background: var(--surface);
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius-card);
  box-shadow:
    0 4px 8px rgba(0,0,0,.5),
    0 16px 48px rgba(0,0,0,.7),
    inset 0 1px 0 rgba(255,255,255,.04);
  overflow: hidden;
  animation: phCardIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes phCardIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Header/logo treatment matched to the Penthouse Archives login page */
.ph-auth-logo-header {
  background: var(--surface-header);
  border-bottom: 1px solid var(--gold-dim);
  padding: 1.75rem 2.25rem 1.5rem;
  text-align: center;
}

.ph-auth-logo-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.ph-auth-wordmark-wrap {
  display: block;
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
}

.ph-auth-wordmark-wrap svg {
  display: block;
  width: 100%;
  height: auto;
}

.ph-auth-wordmark-wrap svg {
  stroke: rgba(255,255,255,0);
  fill: rgba(255,255,255,0);
  stroke-width: 1;
  stroke-dasharray: 0 1950;
}

.ph-auth-wordmark-wrap.active svg {
  animation-name: phLogoDasharray;
  animation-duration: 4s;
  animation-fill-mode: forwards;
}

@keyframes phLogoDasharray {
  80% {
    fill: rgba(255,255,255,0);
    stroke-dasharray: 300 0;
    stroke: white;
  }
  100% {
    fill: white;
    stroke: rgba(255,255,255,0);
    stroke-dasharray: 500 0;
  }
}

.ph-auth-banner-strip {
  display: block;
  width: 80%;
  max-width: 535px;
  height: auto;
  margin: -0.5em auto 0;
}

.ph-auth-copy {
  padding: 2rem 2.25rem 0;
  text-align: left;
}

.ph-auth-kicker {
  margin: 0 0 0.55rem;
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ph-auth-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.25;
  color: var(--text);
  margin: 0 0 0.375rem;
  letter-spacing: 0;
}

.ph-auth-subtitle {
  font-size: 0.825rem;
  color: var(--text-muted);
  margin: 0 0 1.75rem;
  line-height: 1.5;
}

.ph-auth-alert {
  margin: 1rem 2.25rem 0;
  padding: 0.7rem 0.875rem;
  border-radius: var(--radius-input);
  background: rgba(255, 125, 125, 0.08);
  border: 1px solid rgba(255, 125, 125, 0.25);
  color: var(--error);
  font-size: 0.855rem;
  line-height: 1.5;
}

.ph-auth-form {
  padding: 0 2.25rem;
}

.ph-auth-grid {
  display: block;
}

.ph-field {
  margin-top: 1.125rem;
}

.ph-field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.775rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.ph-field input[type="text"],
.ph-field input[type="password"],
.ph-field input[type="email"],
.ph-field input[type="search"],
.ph-captcha input[type="text"] {
  width: 100%;
  height: 46px;
  padding: 0 0.875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
  background: var(--surface-input);
  color: var(--text);
  font-family: inherit;
  font-size: 0.9375rem;
  transition: border-color 180ms, box-shadow 180ms;
  outline: none;
  -webkit-appearance: none;
}

.ph-field input:focus,
.ph-captcha input:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

.ph-field input:hover:not(:focus),
.ph-captcha input:hover:not(:focus) {
  border-color: #555;
}

.ph-captcha {
  margin-top: 1.125rem;
}

.ph-captcha-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.65rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
  background: var(--surface-input);
}

.ph-captcha-image img {
  display: block;
  max-width: 100%;
  height: auto;
}

.ph-submit {
  margin-top: 1.5rem;
  width: 100%;
  height: 46px;
  padding: 0;
  border: none;
  border-radius: var(--radius-input);
  background: linear-gradient(135deg, #9c7825 0%, var(--gold-light) 55%, var(--gold) 100%);
  color: #0e0e0e;
  font-family: inherit;
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: filter 180ms, box-shadow 180ms, transform 130ms;
  box-shadow: 0 2px 10px rgba(179,139,45,.3);
  -webkit-appearance: none;
}

.ph-submit:hover {
  filter: brightness(1.1);
  box-shadow: 0 4px 18px rgba(179,139,45,.4);
}

.ph-submit:active {
  transform: translateY(1px);
  filter: brightness(0.95);
}

.ph-submit:focus-visible,
.ph-auth-logo-link:focus-visible,
.ph-auth-footer a:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

.ph-auth-note {
  padding: 0 2.25rem;
  margin: 1rem 0 2.25rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.ph-auth-footer {
  padding: 1rem 2.25rem;
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-muted);
  background: var(--surface-header);
  border-top: 1px solid var(--gold-dim);
}

.ph-auth-footer-links {
  display: inline;
}

.ph-auth-footer a {
  color: var(--gold-light);
  text-decoration: none;
  font-weight: 500;
}

.ph-auth-footer a:hover {
  text-decoration: underline;
}

.ph-auth-divider {
  color: var(--text-sub);
  padding: 0 0.35rem;
}

@media (max-width: 480px) {
  .ph-auth-logo-header,
  .ph-auth-copy,
  .ph-auth-form,
  .ph-auth-note,
  .ph-auth-footer {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .ph-auth-alert {
    margin-left: 1.25rem;
    margin-right: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ph-auth-card { animation: none; opacity: 1; transform: none; }
  .ph-auth-wordmark-wrap.active svg { animation: none; fill: #f5f5f5; stroke: transparent; }
  *, *::before, *::after { transition-duration: 0ms !important; }
}
