
:root {
  --page-bg: #090d0a;
  --page-bg-soft: #101711;
  --panel: #111812;
  --panel-soft: #172019;
  --felt: #124526;
  --felt-deep: #0a2f19;
  --gold: #d8a64d;
  --gold-bright: #f4d58c;
  --gold-dark: #835c22;
  --text: #f7f0e2;
  --muted: #b8ad9a;
  --line: rgba(216, 166, 77, .30);
  --line-soft: rgba(255, 255, 255, .08);
  --success: #68cc78;
  --danger: #ec8b75;
  --shadow: 0 24px 70px rgba(0, 0, 0, .42);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -10%, rgba(216, 166, 77, .16), transparent 34rem),
    linear-gradient(180deg, #0a0e0b, #070a08 60%, #0b100c);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
a { color: var(--gold-bright); }
a:hover { color: #fff2c6; }
img { max-width: 100%; }
button, input, textarea, select { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 10000;
  left: 12px;
  top: 12px;
  transform: translateY(-180%);
  padding: 9px 13px;
  border-radius: 9px;
  color: #1c1207;
  background: var(--gold-bright);
  font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }

/* Homepage: the game remains the first full viewport. */
.cs {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 28px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(31, 104, 58, .72), transparent 33%),
    radial-gradient(circle at 50% 50%, transparent 43%, rgba(0, 0, 0, .55) 100%),
    linear-gradient(145deg, #123f24, #092a16);
}
.cR {
  width: min(620px, 100%);
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(8, 14, 9, .84);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.06);
}
.bL { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; color: var(--gold-bright); letter-spacing: .16em; text-transform: uppercase; font-weight: 800; }
.bL img { width: min(320px, 78vw); height: auto; filter: drop-shadow(0 10px 24px rgba(0,0,0,.24)); }
.cs h2 { margin: 10px 0 8px; font: 800 clamp(1.7rem, 4.8vw, 3rem)/1.03 Georgia, serif; }
.cs p { margin: 0; color: var(--muted); }

.seo-home {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 10% 8%, rgba(35, 112, 63, .18), transparent 25rem),
    radial-gradient(circle at 90% 30%, rgba(216, 166, 77, .12), transparent 25rem),
    var(--page-bg);
}
.seo-home::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .18;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(90deg, rgba(0,0,0,.04) 0 1px, transparent 1px 5px);
}
.seo-shell { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.seo-nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line-soft);
}
.seo-brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); text-decoration: none; }
.J {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 14px;
  background: linear-gradient(145deg, rgba(216,166,77,.12), rgba(255,255,255,.02));
  overflow: hidden;
}
.J img { width: 100%; height: 100%; object-fit: contain; display: block; }
.seo-brand strong { display: block; font-family: Georgia, serif; font-size: 1.05rem; }
.seo-brand small { display: block; color: var(--muted); font-size: .68rem; letter-spacing: .08em; }
.br { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 8px 18px; }
.br a { color: var(--muted); text-decoration: none; font-size: .9rem; font-weight: 650; }
.br a:hover { color: var(--gold-bright); }

.seo-hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(280px, .92fr); align-items: center; gap: 40px; padding: clamp(52px, 7vw, 88px) 0 60px; }
.eyebrow { margin: 0 0 12px; color: var(--gold-bright); font-size: .73rem; font-weight: 850; letter-spacing: .17em; text-transform: uppercase; }
h1, h2, h3 { text-wrap: balance; }
.seo-hero h1, .page-hero h1 { margin: 0; font: 850 clamp(1.65rem, 3.45vw, 3.05rem)/1.04 Georgia, serif; letter-spacing: -.028em; max-width: 10.6ch; }
.ds, .ah { max-width: 660px; margin: 16px 0 0; color: var(--muted); font-size: clamp(.98rem, 1.18vw, 1.06rem); line-height: 1.5; }
.cM { display: flex; flex-wrap: wrap; gap: 9px; margin: 22px 0 0; padding: 0; list-style: none; }
.cM li { padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; color: #e9dfcd; background: rgba(255,255,255,.025); font-size: .78rem; }
.cta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.S { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 18px; border: 1px solid var(--line); border-radius: 13px; text-decoration: none; font-weight: 800; }
.k { color: #241708; background: linear-gradient(180deg, var(--gold-bright), var(--gold)); box-shadow: 0 12px 28px rgba(216,166,77,.18); }
.k:hover { color: #130b02; transform: translateY(-1px); }
.aK { color: var(--text); background: rgba(255,255,255,.035); }

.ct { position: relative; min-height: 332px; display: grid; place-items: center; }
.ct::before { content:""; position:absolute; width:270px; height:270px; border-radius:50%; background:radial-gradient(circle, rgba(51,154,84,.32), transparent 68%); filter: blur(4px); }
.aH { position: absolute; width: 142px; aspect-ratio: .704; border-radius: 15px; border: 1px solid rgba(0,0,0,.32); background: #fffdf7; box-shadow: 0 20px 42px rgba(0,0,0,.42); color: #1a1711; padding: 12px; font-family: Georgia, serif; font-weight: 800; }
.aH::after { content: attr(data-suit); position: absolute; inset: 0; display: grid; place-items: center; font-size: 3.5rem; opacity: .92; }
.aH span { display: block; font-size: 1.45rem; line-height: .9; }
.cv { transform: translate(-74px, 10px) rotate(-12deg); color:#b72a2a; }
.cw { transform: translate(0, -18px) rotate(2deg); z-index:2; }
.cl { transform: translate(78px, 15px) rotate(13deg); color:#b72a2a; }
.da { position:absolute; z-index:4; bottom:10px; padding:8px 14px; border:1px solid var(--line); border-radius:999px; color:var(--gold-bright); background:rgba(8,13,9,.88); box-shadow:0 10px 26px rgba(0,0,0,.35); font-size:.76rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }

.bH { padding: 78px 0; border-top: 1px solid var(--line-soft); }
.ch { background: rgba(255,255,255,.018); }
.au { max-width: 760px; margin-bottom: 32px; }
.au h2 { margin: 0; font: 800 clamp(1.55rem, 2.65vw, 2.35rem)/1.1 Georgia, serif; }
.au p { margin: 13px 0 0; color: var(--muted); }
.cr, .cX { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bs, .bn, .content-card {
  padding: 24px;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}
.bi { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 17px; border: 1px solid var(--line); border-radius: 14px; color: var(--gold-bright); background: rgba(216,166,77,.09); font-weight: 900; }
.bs h3, .bn h3 { margin: 0 0 8px; font-size: 1.08rem; }
.bs p, .bn p { margin: 0; color: var(--muted); font-size: .94rem; }
.bn { display: flex; flex-direction: column; }
.bn a { margin-top: auto; padding-top: 18px; font-weight: 800; text-decoration: none; }
.do { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 28px; align-items: start; }
.step-list { display: grid; gap: 12px; counter-reset: steps; }
.step { position: relative; padding: 18px 18px 18px 62px; border: 1px solid var(--line-soft); border-radius: 16px; background: rgba(255,255,255,.022); color: var(--muted); }
.step::before { counter-increment: steps; content: counter(steps); position:absolute; left:16px; top:16px; width:30px; height:30px; display:grid; place-items:center; border-radius:50%; color:#211505; background:var(--gold-bright); font-weight:900; }
.step strong { color: var(--text); }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border: 1px solid var(--line-soft); border-radius: 15px; background: rgba(255,255,255,.023); }
.faq-list summary { cursor: pointer; padding: 16px 18px; color: var(--text); font-weight: 800; }
.faq-list details p { margin: 0; padding: 0 18px 18px; color: var(--muted); }
.ae { padding: 34px 0 42px; border-top: 1px solid var(--line-soft); color: var(--muted); }
.M { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:18px; }
.E { display:flex; flex-wrap:wrap; gap:10px 18px; }
.ae a { color: var(--muted); text-decoration:none; }
.ae a:hover { color:var(--gold-bright); }

/* Standalone guide pages */
.aJ { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--line); background: rgba(8, 12, 9, .9); backdrop-filter: blur(16px); }
.x { width: min(1160px, calc(100% - 32px)); min-height: 72px; margin: 0 auto; display:flex; align-items:center; justify-content:space-between; gap:18px; }
.v { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:8px 18px; }
.v a { color:var(--muted); text-decoration:none; font-weight:700; font-size:.88rem; }
.v a[aria-current="page"], .v a:hover { color:var(--gold-bright); }
.H { padding:9px 14px; border-radius:11px; color:#211505 !important; background:linear-gradient(180deg,var(--gold-bright),var(--gold)); }
.page-main { min-height: 70vh; }
.page-hero { position: relative; overflow:hidden; padding: clamp(70px, 10vw, 126px) 0 72px; border-bottom:1px solid var(--line-soft); background: radial-gradient(circle at 80% 30%, rgba(44,131,74,.22), transparent 28rem); }
.page-hero::after { content:"♠"; position:absolute; right:max(3vw, 18px); top:22%; color:rgba(216,166,77,.08); font:900 clamp(10rem, 25vw, 24rem)/1 Georgia,serif; transform:rotate(10deg); }
.m { width:min(1160px, calc(100% - 32px)); margin:0 auto; }
.breadcrumbs { margin-bottom:18px; color:var(--muted); font-size:.82rem; }
.breadcrumbs a { color:var(--muted); text-decoration:none; }
.az { display:grid; grid-template-columns:minmax(0, 1fr) 300px; gap:38px; padding:64px 0 88px; }
.article { min-width:0; }
.article h2 { scroll-margin-top:92px; margin:50px 0 14px; font:800 clamp(1.38rem, 2.3vw, 1.95rem)/1.14 Georgia,serif; }
.article h2:first-child { margin-top:0; }
.article h3 { margin:26px 0 8px; font-size:1.08rem; }
.article p, .article li { color:#d0c6b5; }
.article ul, .article ol { padding-left:1.3rem; }
.article li + li { margin-top:7px; }
.article strong { color:var(--text); }
.article a { font-weight:700; }
.aC { width:100%; border-collapse:collapse; margin:20px 0 28px; overflow:hidden; border-radius:14px; background:rgba(255,255,255,.025); }
.aC th, .aC td { padding:12px 14px; border:1px solid var(--line-soft); text-align:left; vertical-align:top; }
.aC th { color:var(--gold-bright); background:rgba(216,166,77,.07); }
.callout { margin:24px 0; padding:20px; border:1px solid var(--line); border-left:4px solid var(--gold); border-radius:16px; background:linear-gradient(90deg, rgba(216,166,77,.09), rgba(255,255,255,.018)); }
.cC { border-color:rgba(104,204,120,.42); border-left-color:var(--success); background:linear-gradient(90deg, rgba(104,204,120,.09), rgba(255,255,255,.018)); }
.cq { display:flex; flex-wrap:wrap; gap:8px; margin:16px 0; }
.mini-card { min-width:48px; padding:10px 9px; border-radius:9px; color:#17120d; background:#fffaf0; box-shadow:0 8px 18px rgba(0,0,0,.25); font:800 1rem Georgia,serif; text-align:center; }
.mini-card.red { color:#b52525; }
.toc { position:sticky; top:94px; align-self:start; padding:20px; border:1px solid var(--line-soft); border-radius:18px; background:rgba(255,255,255,.025); }
.toc h2 { margin:0 0 12px; font-size:.86rem; letter-spacing:.12em; text-transform:uppercase; color:var(--gold-bright); }
.toc ol { margin:0; padding-left:1.2rem; }
.toc li + li { margin-top:7px; }
.toc a { color:var(--muted); text-decoration:none; font-size:.86rem; }
.toc a:hover { color:var(--gold-bright); }
.cu { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; margin-top:50px; }
.next-link { padding:20px; border:1px solid var(--line-soft); border-radius:16px; text-decoration:none; background:rgba(255,255,255,.022); }
.next-link small { display:block; color:var(--muted); }
.next-link strong { display:block; margin-top:4px; color:var(--gold-bright); }
.cY { padding:16px 18px; border-radius:14px; background:rgba(255,255,255,.025); color:var(--muted); }
.dt { min-height:72vh; display:grid; place-items:center; padding:40px 16px; text-align:center; }
.dt h1 { margin:0; font:900 clamp(4rem,15vw,10rem)/1 Georgia,serif; color:var(--gold-bright); }

@media (max-width: 900px) {
  .seo-hero, .do, .az { grid-template-columns:1fr; }
  .ct { min-height:330px; }
  .cr, .cX { grid-template-columns:1fr 1fr; }
  .toc { position:static; order:-1; }
  .v a:not(.H) { display:none; }
}
@media (max-width: 620px) {
  .seo-shell, .m, .x { width:min(100% - 22px, 1160px); }
  .seo-nav { min-height:64px; }
  .br a:nth-child(-n+3) { display:none; }
  .seo-hero { padding:38px 0 44px; gap:20px; }
  .seo-hero h1, .page-hero h1 { font-size:clamp(1.55rem,8.6vw,2.55rem); max-width: 11ch; }
  .cr, .cX, .cu { grid-template-columns:1fr; }
  .bH { padding:58px 0; }
  .ct { min-height:290px; transform:scale(.86); margin:-18px 0; }
  .x { min-height:64px; }
  .seo-brand small { display:none; }
  .page-hero { padding:58px 0 52px; }
  .az { padding:42px 0 66px; gap:24px; }
  .aC { display:block; overflow-x:auto; }
}


/* Keep below-the-fold SEO content out of the initial game paint. */
.seo-home {
  content-visibility: auto;
  contain-intrinsic-size: 1400px;
}
