@font-face {
  font-family: Fraunces;
  src: url("/assets/fonts/fraunces-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Fraunces;
  src: url("/assets/fonts/fraunces-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Fraunces;
  src: url("/assets/fonts/fraunces-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/assets/fonts/source-sans-3-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/assets/fonts/source-sans-3-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/assets/fonts/source-sans-3-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/assets/fonts/source-sans-3-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --navy: #071018;
  --navy-2: #0b1520;
  --ivory: #f3eee6;
  --muted: #c4b8aa;
  --faint: #8d8276;
  --coral: #e07c6c;
  --coral-2: #c96558;
  --line: rgba(243, 238, 230, 0.16);
  --ticket: #f4ead9;
  --ticket-ink: #1b1d22;
  --sans: "Source Sans 3", "Source Sans Pro", ui-sans-serif, system-ui, sans-serif;
  --serif: Fraunces, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; min-height: 100%; }
body {
  background:
    radial-gradient(1200px 640px at 70% 0%, #152433 0%, transparent 55%),
    var(--navy);
  color: var(--ivory);
  font: 16px/1.55 var(--sans);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: -999px;
  top: 12px;
}
.skip:focus { left: 16px; background: var(--navy); padding: 8px 12px; z-index: 10; }

.site-header, main, .site-footer {
  width: min(1120px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 18px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.wordmark .bars { width: 16px; height: 16px; fill: var(--coral); }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover, .nav a.is-active { color: var(--ivory); }
.btn-sign {
  border: 1px solid rgba(243, 238, 230, 0.35);
  border-radius: 999px;
  padding: 8px 16px;
  color: var(--ivory) !important;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding: 36px 0 28px;
}
.kicker {
  margin: 0 0 16px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.03em; }
h1 {
  margin: 0 0 18px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.05;
  max-width: 11ch;
}
.lede { margin: 0 0 28px; font-size: 18px; color: var(--muted); max-width: 38ch; }
.btn-coral {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--coral);
  color: #fff;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  font: 600 15px/1 var(--sans);
  cursor: pointer;
}
.btn-coral:hover { background: var(--coral-2); }
.support, .access-note, .modes, .soon-note, .form-help {
  color: var(--faint);
  font-size: 14px;
}
.support { margin: 16px 0 10px; }
.access-note { margin: 0; max-width: 42ch; }
.hero-art {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}
.hero-art img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.how { padding: 18px 0 10px; }
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 15px;
}
.step-n {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ivory);
}

.catalogue { padding: 54px 0 20px; }
.catalogue h2 {
  margin: 0 0 28px;
  font-size: clamp(34px, 5vw, 52px);
}
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.game-card {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #0a141e;
}
.card-media, .card-body { grid-area: 1 / 1; }
.card-media { position: relative; min-height: 0; }
.card-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 16, 24, 0.94) 0%, rgba(7, 16, 24, 0.45) 38%, transparent 68%);
}
.card-body {
  align-self: end;
  position: relative;
  z-index: 1;
  padding: 24px 22px 22px;
}
.badge {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f7f1e8;
}
.badge.soon { color: #d7cfc4; }
.card-body h3 { margin: 0 0 8px; font-size: 34px; color: var(--ivory); }
.card-body p { margin: 0 0 10px; color: #d9d0c6; }
.card-body p { margin: 0 0 10px; color: var(--muted); }
.text-link {
  color: var(--coral);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
.text-link:hover { text-decoration: underline; }
.cta-row { display: flex; flex-wrap: wrap; gap: 18px; }
.same-mystery { color: var(--muted); font-size: 14px; }
.restricted-note { color: var(--muted); }

.pricing { padding: 28px 0 64px; }
.ticket {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr auto;
  gap: 28px;
  align-items: center;
  background:
    radial-gradient(circle at left 50%, var(--navy) 14px, transparent 15px),
    radial-gradient(circle at right 50%, var(--navy) 14px, transparent 15px),
    var(--ticket);
  color: var(--ticket-ink);
  border-radius: 6px;
  padding: 34px 48px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}
.ticket::before {
  content: "";
  position: absolute;
  left: 46%;
  top: 18px;
  bottom: 18px;
  border-left: 2px dashed rgba(27, 29, 34, 0.22);
}
.ticket-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.ticket-price {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 58px);
  font-weight: 500;
}
.ticket-price .rule {
  display: block;
  width: 1px;
  height: 0.7em;
  background: rgba(27, 29, 34, 0.28);
}
.ticket-right p { margin: 0 0 8px; max-width: 28ch; }
.ticket-soon { font-weight: 600; }
.ticket-beta { color: #5c564d; font-size: 14px; }
.stamp {
  width: 92px;
  height: 92px;
  margin: 0;
  border: 2px dashed rgba(27, 29, 34, 0.35);
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: rotate(-12deg);
  color: #6d675e;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.footer-tag { margin: 0; flex: 1; }
.footer-links { display: flex; gap: 22px; margin: 0; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--ivory); }

.panel {
  max-width: 560px;
  padding: 48px 0 80px;
}
.panel.wide { max-width: 820px; }
.panel h1 { max-width: none; font-size: clamp(36px, 5vw, 56px); }
.auth-form { display: grid; gap: 10px; margin: 24px 0; }
.auth-form label { font-size: 14px; color: var(--muted); }
.auth-form input {
  background: #101a24;
  border: 1px solid var(--line);
  color: var(--ivory);
  border-radius: 10px;
  padding: 12px 14px;
  font: 16px var(--sans);
}
.flash { padding: 10px 12px; border-radius: 8px; background: #15202b; }
.flash.error { background: #3a1c1a; color: #f3c7c1; }
.text-button {
  background: none;
  border: 0;
  color: var(--coral);
  font: 600 15px var(--sans);
  cursor: pointer;
  padding: 0;
}
.version-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 28px 0;
}
.version-card, .soon-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  background: #0a141e;
}
.soon-card { margin-top: 28px; }
.legal ul { color: var(--muted); padding-left: 18px; }
.legal li { margin-bottom: 8px; }

@media (max-width: 900px) {
  .hero, .cards, .version-grid, .steps { grid-template-columns: 1fr; }
  .ticket { grid-template-columns: 1fr; padding: 28px 24px 28px; }
  .ticket::before { display: none; }
  .stamp { display: none; }
  h1 { max-width: none; }
}
@media (max-width: 700px) {
  .site-header, main, .site-footer { width: min(1120px, calc(100% - 28px)); }
  .site-header { flex-wrap: wrap; padding-top: 18px; }
  .nav { gap: 16px; font-size: 14px; }
  .site-footer { flex-wrap: wrap; }
  .hero { gap: 22px; padding-top: 12px; }
  .catalogue { padding-top: 36px; }
}
@media (max-width: 400px) {
  h1 { font-size: 36px; }
  .nav { gap: 12px; }
  .btn-sign { padding: 7px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
