/* privateplay.net landing: the player app's tokens (client/web/src/styles/tokens.css) and fonts, nothing else. */
@font-face { font-family: "Be Vietnam Pro"; font-weight: 400; font-display: optional; src: url(fonts/be-vietnam-pro-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: optional; src: url(fonts/barlow-condensed-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/instrument-serif-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/instrument-serif-latin-400-italic.woff2) format("woff2"); }

:root {
  color-scheme: dark;
  --bg: #101826; --panel: #172233; --line: rgba(255, 255, 255, .08);
  --ink: #eef2f8; --ink-2: #b3bfd0; --ink-3: #7d8aa0;
  --accent: #e0a526; --accent-ink: #1a1206;
  --brand-gold: #edbb4b; --brand-ivory: #f3ecdd;   /* the "PokerClub" wordmark lockup: exact fills from design/brand/c1-lockup-dark.svg */
  --felt-1: #27507e; --felt-2: #183759; --felt-hi: #3a6aa0;
  --font-ui: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-num: "Barlow Condensed", "Be Vietnam Pro", system-ui, sans-serif;
  --r-btn: 14px; --tap: 44px;
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column;
  color: var(--ink); font: 400 16px/1.6 var(--font-ui);
  padding: env(safe-area-inset-top, 0) env(safe-area-inset-right, 0) env(safe-area-inset-bottom, 0) env(safe-area-inset-left, 0);
}
main { flex: 1; width: 100%; max-width: 720px; margin: 0 auto; padding: 32px 16px; }
a { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.hero { max-width: none; display: grid; place-items: center; text-align: center; align-content: center; gap: 16px;
  background: radial-gradient(ellipse at 50% 38%, var(--felt-hi) 0, var(--felt-1) 40%, var(--felt-2) 75%, var(--bg) 100%); }
.hero img { width: 96px; height: 96px; border-radius: 24px; }
h1 { margin: 0; font: 700 clamp(44px, 12vw, 72px)/1 var(--font-num); letter-spacing: .02em; }
.tagline { margin: 0; color: var(--ink-2); font-size: 18px; max-width: 32ch; }
.play {
  display: inline-flex; align-items: center; justify-content: center; min-height: 56px; min-width: 200px; padding: 0 32px;
  border-radius: var(--r-btn); background: var(--accent); color: var(--accent-ink); text-decoration: none;
  font: 700 22px var(--font-num); letter-spacing: .04em; text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35); transition: transform .15s, box-shadow .15s;
}
.play:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(0, 0, 0, .45); }
.play:active { transform: translateY(1px); }

.doc h1 { font-size: 40px; margin-bottom: 16px; }
.doc li { margin: 8px 0; }
.back { display: inline-flex; align-items: center; min-height: var(--tap); }

footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 8px 16px 16px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 14px; }
footer a { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 12px; color: var(--ink-2); }
footer nav { display: flex; flex-wrap: wrap; justify-content: center; }
footer .disc { flex-basis: 100%; max-width: 60ch; margin: 4px auto 0; text-align: center; }

/* Guide pages (how-to-play, private-poker-club, free-poker, faq, 404) */
.top { display: flex; justify-content: space-between; align-items: center; width: 100%; max-width: 720px; margin: 0 auto; padding: 12px 16px 0; }
.brand { display: inline-flex; align-items: center; min-height: var(--tap); color: var(--brand-ivory); text-decoration: none; font: 400 30px "Instrument Serif", Georgia, serif; letter-spacing: .005em; }
@media (min-width: 980px) { .brand { font-size: 36px; } }
.brand i { font-style: italic; color: var(--brand-gold); }
.top .play { min-height: var(--tap); min-width: 0; padding: 0 20px; font-size: 18px; }
.crumbs { margin: 0 0 12px; color: var(--ink-3); font-size: 14px; }
.crumbs a { color: var(--ink-2); }
.doc .lead { color: var(--ink-2); font-size: 18px; }
.doc h2 { margin: 36px 0 8px; font: 700 30px/1.15 var(--font-num); letter-spacing: .02em; }
.doc h3 { margin: 24px 0 4px; font-size: 18px; }
.doc .tbl { overflow-x: auto; margin: 12px 0; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; }
.doc th, .doc td { padding: 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.doc thead th { color: var(--ink-3); font-weight: 400; }
.doc .fine { color: var(--ink-3); font-size: 14px; }
.cta { margin: 36px 0 24px; padding: 24px 16px; border-radius: 16px; background: var(--panel); text-align: center; }
.cta p { margin: 0 0 16px; color: var(--ink-2); }

@media (prefers-reduced-motion: reduce) {
  .play { transition: none; }
  .play:hover, .play:active { transform: none; }
}

/* Terms: the plain-language summary box and the section list. */
.doc .summary { margin: 16px 0 24px; padding: 4px 16px; border-radius: 12px; background: var(--panel); border-left: 3px solid var(--accent); }
.doc .summary h2 { margin-top: 12px; }
.doc .summary p { color: var(--ink-2); font-size: 14px; }
.doc .toc li { margin: 4px 0; }
.doc h2[id] { scroll-margin-top: 16px; }
