/* Launch page: layout on top of the member site's styles.css and the card styles in matchups.css. */

[hidden] { display: none !important; } /* .btn and friends set display, which would otherwise beat the hidden attribute */

.lp-hero { padding: 64px 0 28px; }
.lp-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: center; }
.lp-hero .lead { max-width: 640px; }
.lp-stats:empty { display: none; }
main > section[id] { scroll-margin-top: 64px; }

/* founding offer beside the headline */
.lp-offer {
  position: relative; border-radius: 20px; padding: 26px 26px 22px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid rgba(124, 92, 255, .7);
  box-shadow: 0 0 0 1px rgba(124, 92, 255, .35), var(--shadow);
}
.lp-offer .kicker { margin-bottom: 4px; }
.lp-offer-price { font: 700 52px/1 var(--display); margin: 6px 0 6px; }
.lp-offer-price small { font: 500 16px var(--font); color: var(--muted); }
.lp-offer-step { color: var(--text); font-weight: 600; }
.lp-offer-left { margin: 4px 0 18px; color: var(--gold); font-weight: 600; font-size: 14px; }
.lp-offer-next { margin: 14px 0 0; color: var(--faint); font-size: 12.5px; text-align: center; }

.lp-center { margin-inline: auto; text-align: center; }
.lp-muted { color: var(--muted); }
.lp-small { font-size: 12.5px; }
.lp-full { width: 100%; }
.lp-h3 { font-size: 18px; margin: 0 0 12px; }

/* free card */
.lp-flag {
  margin: 0 0 14px; padding: 10px 14px; border-radius: var(--radius-sm);
  background: rgba(251, 191, 36, .08); border: 1px solid rgba(251, 191, 36, .28); color: #fde68a; font-size: 14px;
}
.lp-sample-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.lp-card-col { min-width: 0; }
.lp-top3 {
  position: sticky; top: 84px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line-strong);
  border-radius: var(--radius); padding: 20px;
}
.lp-rank + .lp-rank { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.lp-rank h4 { margin: 0 0 8px; color: var(--cyan); font: 600 12.5px var(--font); letter-spacing: .1em; text-transform: uppercase; }
.lp-rank ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lp-rank li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: start; }
.lp-rank-n {
  width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center;
  background: var(--brand); color: #fff; font: 700 13px var(--display);
}
.lp-rank b { font-size: 14.5px; }
.lp-rank small { color: var(--faint); font-weight: 600; font-size: 11.5px; margin-left: 4px; }
.lp-rank p { margin: 2px 0 0; color: var(--muted); font-size: 13px; line-height: 1.4; }
.lp-top3 .lp-small { margin: 16px 0 14px; }
.lp-slate-wrap { margin-top: 34px; }

/* pre-sale */
.lp-ladder { margin: 0 auto 26px; }
.ladder > div.lp-gone { opacity: .5; }
.ladder > div.lp-gone b { text-decoration: line-through; }
.lp-plans { grid-template-columns: minmax(0, 440px); }
.lp-presale-note { margin: 12px 0 0; color: var(--muted); font-size: 13.5px; text-align: center; }
.lp-secure { margin: 10px 0 0; color: var(--faint); font-size: 12.5px; text-align: center; }
.lp-passes { text-align: center; color: var(--muted); margin: 22px 0 0; font-size: 14.5px; }
.lp-passes p { margin: 0; }
.lp-pass-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 12px; }

/* sign-up */
.lp-signup h2 { font-size: clamp(24px, 3vw, 30px); }
.lp-signup .check a { color: var(--cyan); }
.lp-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.lp-done h3 { font-size: 22px; margin-top: 4px; }
.lp-done p { color: var(--muted); }
.lp-done:focus { outline: none; }

/* legal pages (terms, privacy, responsible gaming): long reading sits on a lighter blue "page",
   so the text isn't bright white on near-black */
.lp-legal-page { padding: 36px 0 10px; }
.lp-legal {
  --text: #edf0fc; --muted: #cbd2ef; --faint: #9ea9d4;
  max-width: 820px; margin-inline: auto; padding: 40px 48px 34px;
  background: linear-gradient(180deg, #1d295c, #18224f); border: 1px solid var(--line-strong); border-radius: 20px;
  font-size: 16px; line-height: 1.7;
}
.lp-legal h1 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 6px; }
.lp-legal h2 { font-size: 21px; margin: 36px 0 10px; }
.lp-legal h3 { font-size: 16.5px; margin: 22px 0 8px; }
.lp-legal p, .lp-legal li { color: var(--muted); }
.lp-legal strong { color: var(--text); }
.lp-legal ul { padding-left: 20px; margin: 0 0 1em; display: grid; gap: 8px; }
.lp-legal .lp-lede { color: var(--text); font-size: 17.5px; }
.lp-legal a { color: #7fe3f5; }
.lp-updated { color: var(--faint); font-size: 13px; margin-bottom: 26px; }
:root[data-theme="light"] .lp-legal {
  --text: #16203f; --muted: #3d486c; --faint: #6c7695;
  background: #fff; box-shadow: var(--shadow);
}
:root[data-theme="light"] .lp-legal a { color: var(--cyan); }
@media (max-width: 640px) {
  .lp-legal { padding: 26px 18px 22px; border-radius: 16px; font-size: 15.5px; }
}
.lp-help {
  margin: 26px 0 8px; padding: 18px 22px; border-radius: var(--radius);
  background: rgba(251, 191, 36, .06); border: 1px solid rgba(251, 191, 36, .3);
}
.lp-help h2 { margin-top: 0; color: #fde68a; }
.lp-help p { margin: 0; }
.lp-missing { background: rgba(248, 113, 113, .2); color: #fecaca; border-radius: 4px; padding: 0 4px; }
:root[data-theme="light"] .lp-flag,
:root[data-theme="light"] .lp-help h2,
:root[data-theme="light"] .lp-noscript { color: #78350f; }
:root[data-theme="light"] .lp-help { background: rgba(251, 191, 36, .1); border-color: rgba(161, 98, 7, .3); }
:root[data-theme="light"] .lp-missing { background: rgba(198, 40, 40, .12); color: #991b1b; }

/* footer */
.lp-foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.lp-foot nav a { color: var(--muted); }
.lp-foot nav a:hover { color: var(--text); }
.lp-noscript { text-align: center; padding: 16px; color: #fde68a; }

@media (max-width: 1100px) {
  .lp-sample-grid { grid-template-columns: 1fr; }
  .lp-top3 { position: static; }
}
@media (max-width: 960px) {
  .lp-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .lp-offer { max-width: 440px; }
}
@media (max-width: 640px) {
  .nav .lp-signin { display: none; } /* phones: "Member sign in" stays in the footer */
  .lp-hero { padding: 40px 0 16px; }
  .lp-top3 { padding: 16px; }
  .auth-card.lp-signup { padding: 22px 18px; }
}
