/* Pokerdom info — fast mobile-first, no external font requests */
:root {
  --bg: #0a0e12;
  --bg-elev: #121a22;
  --surface: #1a2330;
  --border: #2a3544;
  --text: #e8edf3;
  --muted: #8b9aab;
  --accent: #c9a227;
  --accent-dim: #8b6914;
  --green: #2d6a4f;
  --link: #7eb8ff;
  --warning: #e07c4c;
  --font: system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  --max: 44rem;
  --header-h: 3.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  background-image: radial-gradient(ellipse 120% 80% at 50% -20%, #1a2a22 0%, transparent 50%),
    radial-gradient(ellipse 80% 50% at 100% 50%, #152028 0%, transparent 45%);
  min-height: 100dvh;
}

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: #a8d0ff;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: #111;
  font-weight: 600;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0.5rem 1rem;
  gap: 0.75rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: auto;
}

a.btn-play,
a.btn-play:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.15rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none !important;
  color: #0a0f0c;
  background: linear-gradient(180deg, #4ade80 0%, #16a34a 45%, #15803d 100%);
  border: 2px solid #86efac;
  border-radius: 8px;
  box-shadow: 0 0 0 1px #14532d, 0 4px 18px rgba(34, 197, 94, 0.45);
  line-height: 1.2;
  transition: filter 0.15s, transform 0.1s;
}

a.btn-play:hover {
  color: #041208;
  filter: brightness(1.08) saturate(1.05);
  text-decoration: none;
}

a.btn-play:active {
  transform: scale(0.98);
}

.hero-cta {
  margin: 0.75rem 0 0;
}

a.btn-play--hero {
  padding: 0.9rem 2.25rem;
  font-size: 1.05rem;
  border-radius: 10px;
  box-shadow: 0 0 0 1px #14532d, 0 0 32px rgba(34, 197, 94, 0.55), 0 6px 24px rgba(0, 0, 0, 0.4);
}

.brand {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.brand span {
  color: var(--accent);
}

.badge-18 {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  background: var(--warning);
  color: #1a0f0a;
  border-radius: 4px;
  text-transform: uppercase;
  white-space: nowrap;
}

main {
  max-width: calc(var(--max) + 2rem);
  margin: 0 auto;
  padding: 1.25rem 1rem 3rem;
}

.hero {
  padding: 1.5rem 0 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: clamp(1.45rem, 4.5vw, 1.85rem);
  line-height: 1.2;
  margin: 0 0 0.75rem;
  font-weight: 700;
  color: #fff;
  text-wrap: balance;
}

.hero p.lead {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.toc {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem 1.1rem;
  margin-bottom: 2.25rem;
  box-shadow: var(--shadow);
}

.toc h2 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin: 0 0 0.75rem;
  font-weight: 700;
}

.toc > ul {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 1;
}

@media (min-width: 480px) {
  .toc > ul {
    columns: 2;
    column-gap: 1.5rem;
  }
}

.toc li {
  break-inside: avoid;
  margin-bottom: 0.45rem;
}

.toc a {
  font-size: 0.92rem;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px dotted var(--border);
  display: inline;
}

.toc a:hover {
  color: var(--link);
  border-color: var(--link);
}

article section {
  margin-bottom: 2.25rem;
  scroll-margin-top: calc(var(--header-h) + 0.5rem);
}

article h2 {
  font-size: clamp(1.2rem, 3vw, 1.4rem);
  color: #fff;
  margin: 0 0 0.9rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--accent-dim);
  font-weight: 700;
}

article h3 {
  font-size: 1.05rem;
  color: #cfe0f0;
  margin: 1.35rem 0 0.6rem;
  font-weight: 600;
}

article h4 {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 1rem 0 0.5rem;
  font-weight: 600;
}

article p {
  margin: 0 0 0.9rem;
  color: var(--text);
  hyphens: auto;
  -webkit-hyphens: auto;
}

article p:last-child {
  margin-bottom: 0;
}

ul.list-plain {
  margin: 0 0 0.9rem;
  padding-left: 1.1rem;
}

ul.list-plain li {
  margin-bottom: 0.4rem;
}

.disclaimer {
  background: color-mix(in srgb, var(--green) 15%, var(--bg-elev));
  border-left: 3px solid var(--green);
  padding: 0.9rem 1rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.data-table-wrap {
  overflow-x: auto;
  margin: 1rem 0 1.25rem;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}

table.data {
  width: 100%;
  min-width: 320px;
  border-collapse: collapse;
  font-size: 0.85rem;
}

table.data caption {
  caption-side: top;
  text-align: left;
  padding: 0.75rem 1rem;
  font-weight: 600;
  color: #fff;
  background: var(--bg-elev);
  border-bottom: 1px solid var(--border);
}

table.data th,
table.data td {
  padding: 0.6rem 0.75rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

table.data th {
  background: color-mix(in srgb, var(--accent) 8%, var(--bg-elev));
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
}

table.data tr:last-child td {
  border-bottom: none;
}

ol.steps {
  margin: 0 0 0.9rem;
  padding-left: 1.2rem;
}

ol.steps li {
  margin-bottom: 0.5rem;
  padding-left: 0.25rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: var(--bg-elev);
}

.faq-item summary {
  padding: 0.9rem 1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  color: #fff;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  float: right;
  width: 0.5em;
  height: 0.5em;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  margin-top: 0.35em;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 0.5em;
}

.faq-item .faq-answer {
  padding: 0 1rem 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
  margin: 0;
}

.keyterms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.5rem 0 1.25rem;
  padding: 0;
  list-style: none;
}

.keyterms li {
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 1rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  background: var(--bg-elev);
}

@media (min-width: 640px) {
  :root {
    --max: 48rem;
  }

  .hero {
    padding: 2rem 0 2.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .faq-item summary::after {
    transition: none;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
