/* MyGameZone guide pages (/texas-holdem/, /blackjack/, /spin-n-go/) - same look as index.html */
@font-face { font-family: "Cinzel"; src: url(/fonts/cinzel.woff2) format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url(/fonts/inter.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #0d0c0a;
  --bg-2: #15130f;
  --panel: #1b1813;
  --line: #3a3122;
  --text: #f1ebdf;
  --muted: #b5aa95;
  --gold: #d9b45a;
  --gold-hi: #f6dd93;
  --gold-lo: #9c7a2c;
  --red: #e0574a;
  --radius: 14px;
  --display: "Cinzel", "Trajan Pro", Georgia, "Times New Roman", serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.7 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; height: auto; }
a { color: var(--gold-hi); }
.wrap {
  max-width: 1180px; margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.eyebrow { font: 600 12px/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.15; text-wrap: balance; margin: 0; }
.gold-text {
  background: linear-gradient(180deg, var(--gold-hi) 0%, var(--gold) 55%, var(--gold-lo) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; text-decoration: none;
  font: 700 14px/1 var(--body); letter-spacing: .08em; text-transform: uppercase;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-gold { color: #1a1306; background: linear-gradient(180deg, var(--gold-hi), var(--gold) 60%, var(--gold-lo)); box-shadow: 0 6px 24px rgba(217,180,90,.25); }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(217,180,90,.38); }
.btn-ghost { color: var(--text); border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: var(--gold); }

/* header */
.top { border-bottom: 1px solid var(--line); background: #0a0908; padding-top: env(safe-area-inset-top, 0px); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand img { width: 40px; height: 40px; }
.brand span { font: 700 19px/1 var(--display); letter-spacing: .04em; }
.nav { display: flex; gap: 24px; flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: .04em; }
.nav a:hover, .nav a[aria-current] { color: var(--gold-hi); }

/* hero */
.crumbs { font-size: 13px; color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs li + li::before { content: "\203A"; margin-right: 8px; color: var(--gold-lo); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--gold-hi); }
.hero { background: radial-gradient(1000px 420px at 80% 0%, rgba(18,64,44,.5), rgba(13,12,10,0) 70%), var(--bg-2); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-block: 44px 56px; }
.hero-copy { display: grid; gap: 18px; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); }
.hero .lead { margin: 0; color: var(--muted); font-size: 19px; max-width: 52ch; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .shot { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.hero .shot img { width: 100%; }

/* article */
.page { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; padding-block: 56px 72px; }
.toc { position: sticky; top: 24px; align-self: start; display: grid; gap: 10px; font-size: 14px; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--gold-hi); }
article { display: grid; gap: 56px; min-width: 0; }
article section { display: grid; gap: 16px; max-width: 760px; scroll-margin-top: 20px; }
article h2 { font-size: clamp(26px, 3.4vw, 34px); }
article h3 { font-size: 20px; margin-top: 8px; }
article p { margin: 0; }
article ul, article ol { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
article li::marker { color: var(--gold); }
.muted { color: var(--muted); }
.callout { padding: 20px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(217,180,90,.06); display: grid; gap: 8px; }
.callout strong { color: var(--gold-hi); }
.steps { list-style: none; padding: 0 !important; counter-reset: s; gap: 14px !important; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; }
.steps li::before { content: counter(s); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 700 16px/1 var(--display); color: #1a1306; background: linear-gradient(180deg, var(--gold-hi), var(--gold) 60%, var(--gold-lo)); }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { font: 600 12px/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); background: rgba(255,255,255,.02); }
td.num { white-space: nowrap; font-variant-numeric: tabular-nums; }
.cards { white-space: nowrap; font-weight: 600; letter-spacing: .04em; }
.r { color: var(--red); }

/* faq */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.02); }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 20px 18px; color: var(--muted); }

/* play */
.play-band { background: var(--bg-2); border-block: 1px solid var(--line); }
.play-band .wrap { padding-block: 56px; display: grid; gap: 24px; }
.play-band h2 { font-size: clamp(26px, 3.4vw, 34px); }
.games { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.game { display: grid; gap: 12px; padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); text-decoration: none; color: var(--text); align-content: start; transition: border-color .2s ease, transform .2s ease; }
.game:hover { border-color: var(--gold); transform: translateY(-2px); }
.game img { height: 64px; width: auto; object-fit: contain; object-position: left center; }
.game span { font-weight: 600; }
.game small { color: var(--muted); font-size: 14px; }
.more { display: flex; flex-wrap: wrap; gap: 12px; }

/* footer */
footer { border-top: 1px solid var(--line); padding-block: 44px calc(32px + env(safe-area-inset-bottom, 0px)); background: #0a0908; }
.foot { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; }
.foot h4 { margin: 0 0 12px; font: 600 12px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.foot ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15px; }
.foot a { color: var(--text); text-decoration: none; }
.foot a:hover { color: var(--gold-hi); }
.foot p, .legal { color: var(--muted); font-size: 14px; margin: 0; }
.legal { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 13px; }
.age { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--muted); font-weight: 700; font-size: 12px; color: var(--text); margin-right: 8px; vertical-align: middle; }

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 28px; }
  .page { grid-template-columns: 1fr; gap: 32px; }
  .toc { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .nav { display: none; }
  body { font-size: 16px; }
  .hero .lead { font-size: 17px; }
  .toc { grid-template-columns: 1fr; }
  th, td { padding: 10px 12px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
