/* High Card Club landing (ADR 0015, review 0018). The game's own look: night ground, gold, glass, system font. */
:root {
  --ground: #070a12;
  --ground-2: #0d1322;
  --panel: rgb(16 22 36 / 0.78);
  --panel-strong: rgb(16 22 36 / 0.92);
  --edge: rgb(255 255 255 / 0.14);
  --ink: #ffffff;
  --muted: rgb(255 255 255 / 0.74);
  --dim: rgb(255 255 255 / 0.56);
  --gold: #fde68a;
  --gold-deep: #d97706;
  --gold-ink: #3a2600;
  --green: #86efac;
  --radius: 18px;
  --wrap: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  background: var(--ground);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  line-height: 1.55;
  background:
    radial-gradient(900px 520px at 12% -8%, rgb(88 61 180 / 0.28), transparent 70%),
    radial-gradient(760px 480px at 92% 6%, rgb(14 116 144 / 0.24), transparent 70%), var(--ground);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--gold);
  text-underline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 8px;
}

h1,
h2,
h3 {
  margin: 0 0 0.5em;
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-weight: 800;
}

h1 {
  font-size: clamp(2.3rem, 5.6vw, 4rem);
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 1em;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 10;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--gold-ink);
  font-weight: 800;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(var(--wrap), 100% - 40px);
  margin-inline: auto;
}

/* Footer */
footer {
  border-top: 1px solid var(--edge);
  padding: 32px 0 44px;
  color: var(--dim);
  font-size: 0.92rem;
}

footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 32px;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

footer a {
  color: var(--muted);
}

/* Legal pages */
.legal {
  max-width: 760px;
  padding: 48px 0 72px;
}

.legal h1 {
  font-size: clamp(2rem, 4.4vw, 2.8rem);
}

.legal h2 {
  margin-top: 1.8em;
  font-size: 1.35rem;
}

.legal p,
.legal li {
  color: var(--muted);
}

.legal strong {
  color: var(--ink);
}

.legal ul {
  padding-left: 1.2em;
  display: grid;
  gap: 8px;
}

.updated {
  color: var(--dim);
}

/* Header */
.top {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgb(7 10 18 / 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--edge);
}

.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand img {
  width: 166px;
  height: 32px;
}

.top nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

.top nav a:hover {
  color: var(--ink);
}

.top nav a.btn,
.top nav a.btn:hover {
  color: var(--gold-ink);
}

.top nav .nav-links {
  display: none;
}

@media (min-width: 760px) {
  .top nav .nav-links {
    display: flex;
    gap: 2px;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 2px solid rgb(0 0 0 / 0.35);
  background: radial-gradient(circle at 35% 30%, var(--gold), var(--gold-deep) 78%);
  color: var(--gold-ink);
  font-weight: 800;
  font-size: 1.02rem;
  text-decoration: none;
  box-shadow:
    0 10px 24px rgb(0 0 0 / 0.45),
    inset 0 2px 0 rgb(255 255 255 / 0.5);
}

.btn:hover {
  filter: brightness(1.06);
}

.btn.small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.92rem;
}

.btn.ghost {
  background: rgb(255 255 255 / 0.06);
  border: 1.5px solid var(--edge);
  color: var(--ink);
  box-shadow: none;
}

/* Sections */
section {
  padding: 48px 0;
  scroll-margin-top: 72px;
}

@media (min-width: 760px) {
  section {
    padding: 72px 0;
  }
}

.section-head {
  max-width: 680px;
  margin-bottom: 32px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Hero */
.hero {
  padding: 56px 0 40px;
}

.hero .wrap {
  display: grid;
  gap: 40px;
}

.hero-copy {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.hero .lead {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 36em;
  margin-inline: auto;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 14px;
}

.hero-copy .actions {
  justify-content: center;
}

.next {
  color: var(--dim);
  font-size: 0.95rem;
}

.next strong {
  color: var(--ink);
}

.shot {
  border-radius: 22px;
  overflow: hidden;
  border: 1.5px solid var(--edge);
  box-shadow: 0 30px 80px rgb(0 0 0 / 0.6);
  background: var(--ground-2);
}

/* Cards and grids */
.grid {
  display: grid;
  gap: 16px;
}

.cols-2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
}

.cols-3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.cols-4 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
}

.card {
  padding: 22px;
  border-radius: var(--radius);
  border: 1.5px solid var(--edge);
  background: var(--panel);
}

.card p {
  margin: 0;
  color: var(--muted);
}

.step {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--gold-ink);
  font-weight: 800;
}

.game h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.suit {
  font-size: 1.5rem;
  line-height: 1;
}

.suit.red {
  color: #f87171;
}

.tag {
  display: inline-block;
  margin-top: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.08);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

/* Features with a picture */
.feature {
  display: grid;
  gap: 32px;
  align-items: center;
}

@media (min-width: 900px) {
  .feature {
    grid-template-columns: 1fr 1fr;
  }
}

.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.checks li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
}

.checks li strong {
  color: var(--ink);
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 30%, var(--gold), var(--gold-deep) 80%);
}

/* Scenes and decks */
.tile {
  overflow: hidden;
  border-radius: 16px;
  border: 1.5px solid var(--edge);
  background: var(--panel-strong);
}

.tile .label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  font-weight: 700;
}

.badge {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge.free {
  background: rgb(134 239 172 / 0.16);
  color: var(--green);
}

.badge.club {
  background: var(--gold);
  color: var(--gold-ink);
}

/* Club */
.club-panel {
  display: grid;
  gap: 18px;
  padding: 34px;
  border-radius: 24px;
  border: 1.5px solid rgb(253 230 138 / 0.4);
  background:
    radial-gradient(600px 300px at 90% 0%, rgb(217 119 6 / 0.22), transparent 70%),
    var(--panel-strong);
}

.club-panel p {
  color: var(--muted);
  max-width: 44em;
  margin: 0;
}

/* FAQ */
.faq {
  display: grid;
  gap: 10px;
  max-width: 820px;
}

.faq details {
  border-radius: 14px;
  border: 1.5px solid var(--edge);
  background: var(--panel);
}

.faq summary {
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 700;
  list-style-position: inside;
}

.faq details p {
  margin: 0;
  padding: 0 18px 16px;
  color: var(--muted);
}

/* Closing call */
.closing {
  text-align: center;
}

.closing .actions {
  justify-content: center;
}

/* Not found */
.missing {
  min-height: 60vh;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 8px;
}
