:root {
  color-scheme: dark;
  --base: #160d15;
  --text: #fff8fa;
  --muted: #f0dce6;
  --accent: #ff88ac;
  --action: #c50d50;
  --line: #ffffff40;
  font: 16px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--text); background: var(--base); }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #ffadca; outline-offset: 4px; }

.cover { position: relative; isolation: isolate; min-height: 100svh; display: flex; flex-direction: column; }
.cover-photos, .cover-shade, .cover-photo { position: absolute; inset: 0; width: 100%; height: 100%; }
.cover-photos { z-index: -2; overflow: hidden; }
.cover-photo { object-fit: cover; object-position: center 46%; opacity: 0; }
.cover-photo.is-active { opacity: 1; }
.cover-shade {
  z-index: -1;
  background:
    radial-gradient(ellipse at 50% 55%, #14081055 0%, transparent 74%),
    linear-gradient(180deg, #150a15d9 0%, #210c184f 23%, #190b177d 55%, #170b16dc 86%, #160d15fa 100%);
}
.site-header, .cover-footer { width: min(1370px, calc(100% - 96px)); margin-inline: auto; }
.site-header { min-height: 102px; display: flex; align-items: center; gap: clamp(26px, 5vw, 74px); border-bottom: 1px solid #ffffff35; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { display: block; width: clamp(145px, 15vw, 188px); height: auto; border-radius: 12px; }
.site-links { display: flex; align-items: center; gap: clamp(18px, 3.4vw, 43px); font-size: .88rem; font-weight: 650; }
.site-links a, .footer-privacy { color: var(--muted); }
.site-links a:hover, .site-links a[aria-current], .footer-privacy:hover { color: #fff; }
.header-login {
  margin-inline-start: auto; display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 19px; color: #2d1828; background: #fff5f8; border: 0; border-radius: 9px; font-weight: 750;
}
.header-login:hover { background: #ffe5ef; }
.cover-intro {
  width: min(980px, calc(100% - 48px)); margin: auto; padding-block: clamp(60px, 10vh, 122px);
  text-align: center; display: flex; flex-direction: column; align-items: center;
}
.age-badge {
  margin: 0; display: inline-flex; gap: 9px; align-items: center; border: 1px solid #fff6;
  background: #1a0e1c73; padding: 5px 11px 5px 6px; border-radius: 999px; color: #fff7fb;
  font-size: .69rem; font-weight: 760; letter-spacing: .085em;
}
.age-badge span { background: #fff0f6; color: #78193c; border-radius: 999px; padding: 2px 6px; letter-spacing: 0; font-size: .73rem; }
h1 {
  margin: 24px 0 20px; font-size: clamp(3rem, 7.2vw, 7rem); line-height: .97;
  font-weight: 850; letter-spacing: -.072em; text-shadow: 0 4px 24px #17091575;
}
h1 em { font-style: normal; color: var(--accent); }
.cover-description { margin: 0; max-width: 52ch; font-size: clamp(1.03rem, 1.7vw, 1.3rem); line-height: 1.5; color: var(--text); text-shadow: 0 2px 12px #160a15; }
.cover-actions { display: grid; gap: 12px; width: min(355px, 100%); margin-top: 30px; }
.primary, .outline {
  display: flex; align-items: center; justify-content: center; gap: 12px; border-radius: 999px;
  min-height: 53px; padding: 10px 18px; font-size: .98rem; font-weight: 760;
}
.primary { background: var(--action); color: #fff; border: 1px solid transparent; }
.primary:hover { background: #a80c44; }
.primary span { font-size: 1.18em; }
.outline { border: 1px solid #fff9; background: #220d1a52; color: #fff; }
.outline:hover { background: #fff2; }
.cover-footer {
  border-top: 1px solid var(--line); min-height: 86px; display: grid;
  grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
}
.cover-note p { margin: 0; font-size: .82rem; font-weight: 730; }
.note-dot { width: .44rem; height: .44rem; display: inline-block; margin-inline-end: 5px; border-radius: 50%; background: #ff86ad; }
.cover-note small, .footer-privacy { font-size: .78rem; color: var(--muted); }
.footer-privacy { justify-self: end; }
.photo-picker { display: flex; gap: 8px; }
.photo-picker button {
  width: 39px; height: 39px; padding: 0; border: 1px solid #fff6; border-radius: 50%;
  color: #fff; background: #1d0c1a73; font-size: .73rem; font-weight: 720;
}
.photo-picker button[aria-pressed="true"] { background: #fff1f7; color: #741638; border-color: #fff1f7; }
.photo-picker button:hover:not([aria-pressed="true"]) { background: #fff3; }

.login-dialog {
  width: min(450px, calc(100% - 28px)); max-height: calc(100% - 28px); padding: 29px;
  position: fixed; border-radius: 23px; border: 1px solid #ffffff36;
  background: #231321; color: var(--text); box-shadow: 0 20px 80px #0a030aca;
}
.login-dialog::backdrop { background: #100811ab; backdrop-filter: blur(5px); }
.dialog-close {
  position: absolute; right: 12px; top: 12px; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid #fff3; background: transparent; color: #fff; font-size: 1.5rem; line-height: 1;
}
.dialog-close:hover { background: #fff2; }
.login-eyebrow { color: var(--accent); font-size: .72rem; font-weight: 760; letter-spacing: .11em; margin: 0 43px 0 0; }
.login-dialog h2 { font-size: 2rem; letter-spacing: -.04em; line-height: 1.1; margin: 10px 43px 8px 0; }
.login-copy { margin: 0 0 21px; color: var(--muted); }
#login-form { display: grid; gap: 7px; }
#login-form label { font-size: .88rem; font-weight: 670; }
#login-form input {
  min-height: 47px; width: 100%; border: 1px solid #ffffff4d; border-radius: 9px; padding: 9px 12px;
  background: #190f1a; color: #fff; margin-bottom: 5px;
}
#login-form input[aria-invalid="true"] { border-color: var(--accent); }
#login-form .primary { margin-top: 5px; }
.login-error { color: #ffb3cc; margin: 0; font-size: .86rem; }
.login-error:empty { display: none; }
.test-account {
  display: flex; align-items: center; gap: 12px; justify-content: space-between;
  background: #382033; margin-top: 17px; border: 1px solid #ffffff28; border-radius: 10px; padding: 12px;
}
.test-account strong, .test-account small { display: block; font-size: .78rem; }
.test-account small { margin-top: 4px; color: var(--muted); }
.test-account code { color: #fff; }
.test-account button { border: 1px solid #ffffff63; background: transparent; color: #fff; padding: 7px 9px; border-radius: 7px; font-size: .78rem; font-weight: 650; }
.test-account button:hover { background: #fff2; }

@media (prefers-reduced-motion: no-preference) { .cover-photo { transition: opacity .28s ease; } }
@media (max-width: 700px) {
  .site-header, .cover-footer { width: calc(100% - 36px); }
  .site-header { min-height: 74px; gap: 15px; }
  .site-links { display: none; }
  .brand img { width: 140px; border-radius: 8px; }
  .header-login { padding: 8px 14px; font-size: .87rem; }
  .cover-photos { height: clamp(390px, 68svh, 570px); }
  .cover-photo { object-position: 49% 38%; }
  .cover-shade { background: linear-gradient(180deg, #160b17b8 0%, #210b1732 22%, #1b0e17a8 45%, #160d15 79%); }
  .cover-intro { width: calc(100% - 38px); padding-top: clamp(112px, 22svh, 190px); padding-bottom: 39px; }
  h1 { font-size: clamp(2.65rem, 11.4vw, 4.4rem); margin: 18px 0 12px; }
  .cover-description { font-size: 1rem; }
  .cover-actions { gap: 10px; margin-top: 23px; }
  .cover-footer { grid-template-columns: 1fr auto; min-height: 76px; padding-block: 12px; }
  .footer-privacy { justify-self: start; grid-row: 2; }
  .photo-picker { grid-column: 2; grid-row: 1 / span 2; }
  .login-dialog { padding: 23px; }
}
