:root {
  --ink: #171714;
  --ink-soft: #272722;
  --paper: #f3efe6;
  --paper-deep: #e6dece;
  --white: #fffdf8;
  --ember: #d9673e;
  --ember-dark: #a94327;
  --sage: #607d6c;
  --sage-light: #dce5dc;
  --line: rgba(23, 23, 20, .16);
  --muted: #67665f;
  --danger: #b23b2e;
  --radius: 1.25rem;
  --radius-sm: .75rem;
  --shadow: 0 22px 70px rgba(31, 26, 19, .12);
  --content: 1180px;
}

html:has(link[rel="canonical"][href$="/roulette.html"]) { --page-hero-image: url("../images/roulette-editorial.jpg"); }
html:has(link[rel="canonical"][href$="/blackjack.html"]) { --page-hero-image: url("../images/blackjack-editorial.jpg"); }
html:has(link[rel="canonical"][href$="/baccarat.html"]) { --page-hero-image: url("../images/baccarat-editorial.jpg"); }
html:has(link[rel="canonical"][href$="/craps.html"]) { --page-hero-image: url("../images/craps-editorial.jpg"); }
html:has(link[rel="canonical"][href$="/casino-poker.html"]) { --page-hero-image: url("../images/casino-poker-editorial.jpg"); }
html:has(link[rel="canonical"][href$="/sic-bo.html"]) { --page-hero-image: url("../images/sic-bo-editorial.jpg"); }
html:has(link[rel="canonical"][href$="/games.html"]) { --page-hero-image: url("../images/table-games-hero.jpg"); }
html:has(link[rel="canonical"][href$="/how-casino-games-work.html"]) { --page-hero-image: url("../images/table-games-hero.jpg"); }
html:has(link[rel="canonical"][href$="/responsible-gambling.html"]) { --page-hero-image: url("../images/responsible-play-coast.jpg"); }

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.nav-open,
body.modal-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; }

::selection { background: var(--ember); color: var(--white); }

:focus-visible {
  outline: 3px solid var(--ember);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: .5rem;
  left: .5rem;
  z-index: 1000;
  padding: .75rem 1rem;
  background: var(--white);
  color: var(--ink);
  border-radius: .5rem;
  transform: translateY(-160%);
  transition: transform .2s ease;
}

.skip-link:focus { transform: translateY(0); }

.container {
  width: min(calc(100% - 2rem), var(--content));
  margin-inline: auto;
}

.narrow { width: min(calc(100% - 2rem), 820px); margin-inline: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 1rem;
  color: var(--ember-dark);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.9rem;
  height: 2px;
  background: currentColor;
  content: "";
}

h1, h2, h3, h4 {
  margin: 0 0 .7em;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.08;
}

h1 { font-size: clamp(3.2rem, 8vw, 7.5rem); }
h2 { font-size: clamp(2.25rem, 4.8vw, 4.75rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.8rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1.25rem; }

.lead {
  color: #3b3a35;
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
  line-height: 1.55;
}

.muted { color: var(--muted); }
.small { font-size: .86rem; }
.center { text-align: center; }
.measure { max-width: 66ch; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  background: rgba(23, 23, 20, .94);
  color: var(--white);
  backdrop-filter: blur(16px);
}

.nav-shell {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  color: #ef9b76;
  font-family: Georgia, serif;
  font-size: .9rem;
  letter-spacing: -.08em;
}

.brand-name {
  font-family: Georgia, serif;
  font-size: 1.08rem;
  letter-spacing: .03em;
}

.brand-note {
  display: block;
  color: rgba(255, 255, 255, .58);
  font-family: Inter, sans-serif;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.main-nav { display: flex; align-items: center; gap: 1.8rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, .78);
  font-size: .83rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] { color: #ef9b76; }

.age-pill {
  display: inline-flex;
  min-width: 2.65rem;
  min-height: 2.65rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  color: var(--white);
  font-size: .75rem;
  font-weight: 900;
}

.menu-toggle {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
}

.menu-toggle span {
  display: block;
  width: 1.5rem;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform .25s ease, opacity .25s ease;
}

.reading-progress {
  position: fixed;
  top: 76px;
  left: 0;
  z-index: 101;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--ember);
}

.hero {
  position: relative;
  min-height: 740px;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .66;
}

.hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14,14,12,.98) 0%, rgba(14,14,12,.83) 39%, rgba(14,14,12,.16) 78%), linear-gradient(0deg, rgba(14,14,12,.65), transparent 48%);
  content: "";
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 740px;
  align-items: center;
  padding-block: 7rem;
}

.hero-copy { max-width: 735px; }
.hero .eyebrow { color: #ef9b76; }
.hero h1 {
  max-width: 10ch;
  font-size: clamp(2.8rem, 6vw, 6rem);
}
.hero h1 em { color: #ef9b76; font-weight: inherit; }
.hero .lead { max-width: 590px; color: rgba(255,255,255,.78); }

.hero-actions,
.button-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.button {
  display: inline-flex;
  min-height: 3.2rem;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .75rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--ember);
  color: #fff;
  font-size: .83rem;
  font-weight: 800;
  letter-spacing: .035em;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.button:hover { transform: translateY(-2px); background: var(--ember-dark); }
.button-secondary { border-color: rgba(255,255,255,.3); background: transparent; }
.button-secondary:hover { border-color: rgba(255,255,255,.75); background: rgba(255,255,255,.08); }
.button-dark { background: var(--ink); }
.button-dark:hover { background: #000; }

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 2rem;
  margin-top: 3.4rem;
}

.proof-item strong { display: block; font-family: Georgia, serif; font-size: 1.35rem; font-weight: 500; }
.proof-item span { color: rgba(255,255,255,.57); font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }

.disclosure-strip {
  background: var(--ember);
  color: #fff;
}

.disclosure-inner {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: .9rem;
  padding-block: .65rem;
  text-align: center;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.disclosure-icon {
  display: inline-grid;
  flex: 0 0 2rem;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  font-size: .66rem;
  font-weight: 900;
}

.section { padding-block: clamp(5rem, 10vw, 9rem); }
.section-tight { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section-dark { background: var(--ink); color: var(--white); }
.section-white { background: var(--white); }
.section-sage { background: #dbe4dc; }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}

.section-heading h2 { max-width: 10ch; margin-bottom: 0; }
.section-heading p { max-width: 520px; margin-bottom: .3rem; }

.games-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.game-card {
  position: relative;
  grid-column: span 4;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}

.game-card:nth-child(1),
.game-card:nth-child(5) { grid-column: span 8; }

.game-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.game-art {
  position: relative;
  display: grid;
  height: clamp(250px, 24vw, 320px);
  place-items: center;
  overflow: hidden;
  background: var(--ink-soft);
}

.game-art::before,
.game-art::after { position: absolute; content: ""; }
.game-art::before { inset: 12%; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.game-art::after { width: 190px; height: 190px; border: 1px dashed rgba(255,255,255,.14); border-radius: 50%; transform: rotate(25deg); }

.game-art.has-image::before,
.game-art.has-image::after { display: none; }

.game-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  background: var(--ink);
  transition: transform .45s ease;
}

.game-card:hover .game-art img { transform: scale(1.01); }

.game-symbol {
  position: relative;
  z-index: 1;
  color: #ef9b76;
  font-family: Georgia, serif;
  font-size: 5.3rem;
  letter-spacing: -.08em;
  line-height: 1;
}

.game-card:nth-child(2n) .game-art { background: #315045; }
.game-card:nth-child(3n) .game-art { background: #6b3e2e; }
.game-card:nth-child(2n) .game-symbol { color: #f1dfbd; }

.game-card-body { padding: 1.55rem; }
.game-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }

.tag {
  display: inline-flex;
  align-items: center;
  padding: .3rem .55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.game-card h3 { margin-bottom: .45rem; }
.game-card p { color: var(--muted); font-size: .9rem; }
.card-link { color: var(--ember-dark); font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }

.principle-grid,
.info-grid,
.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.principle {
  padding: 2rem;
  border-top: 1px solid rgba(255,255,255,.2);
}

.principle-index {
  display: block;
  margin-bottom: 3.2rem;
  color: #ef9b76;
  font-family: Georgia, serif;
  font-size: 1.3rem;
}

.principle p { color: rgba(255,255,255,.62); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
}

.split-image {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: var(--radius);
}

.split-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.safety-list { margin: 2rem 0; padding: 0; list-style: none; }
.safety-list li { position: relative; margin-bottom: 1rem; padding-left: 2rem; }
.safety-list li::before { position: absolute; left: 0; color: var(--ember); content: "—"; font-weight: 900; }

.callout {
  padding: 1.4rem 1.5rem;
  border-left: 4px solid var(--ember);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(217,103,62,.09);
}

.callout p:last-child { margin-bottom: 0; }

.quote-band {
  padding-block: clamp(4rem, 8vw, 7rem);
  background: var(--ember);
  color: #fff;
}

.quote-band blockquote { max-width: 980px; margin: 0; font-family: Georgia, serif; font-size: clamp(2.1rem, 5vw, 5.2rem); letter-spacing: -.04em; line-height: 1.05; }

.page-hero {
  position: relative;
  padding-block: clamp(5rem, 10vw, 9rem);
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.page-hero::before {
  position: absolute;
  inset: 0;
  background-color: var(--ink);
  background-image: var(--page-hero-image, none);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  opacity: .58;
}

.page-hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(23,23,20,.98) 0%, rgba(23,23,20,.9) 43%, rgba(23,23,20,.42) 100%), linear-gradient(0deg, rgba(23,23,20,.42), transparent 62%);
  content: "";
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  background: var(--ink);
  opacity: .43;
}


.page-hero .eyebrow { color: #ef9b76; }
.page-hero h1 {
  max-width: 900px;
  font-size: clamp(2.5rem, 5.2vw, 5.2rem);
}
.page-hero .lead { max-width: 740px; color: rgba(255,255,255,.68); }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: 3rem;
  color: rgba(255,255,255,.5);
  font-size: .75rem;
}
.breadcrumb a { color: inherit; text-decoration: none; }
.breadcrumb a:hover { color: #ef9b76; }

.article-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 760px);
  justify-content: center;
  gap: 5rem;
}

.article-toc { position: sticky; top: 110px; align-self: start; }
.article-toc strong { display: block; margin-bottom: 1rem; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.article-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.article-toc li { border-top: 1px solid var(--line); counter-increment: toc; }
.article-toc a { display: grid; grid-template-columns: 2rem 1fr; padding: .8rem 0; color: var(--muted); font-size: .82rem; line-height: 1.35; text-decoration: none; }
.article-toc a::before { color: var(--ember-dark); content: "0" counter(toc); }
.article-toc a:hover { color: var(--ink); }

.prose h2 { margin-top: 2.2em; font-size: clamp(2rem, 4vw, 3.4rem); }
.prose h3 { margin-top: 2em; }
.prose h4 { margin-top: 1.8em; font-family: Inter, sans-serif; font-size: .88rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.prose p, .prose li { color: #46453f; }
.prose ul, .prose ol { margin: 0 0 1.5rem; padding-left: 1.3rem; }
.prose li { margin-bottom: .65rem; }
.prose a { color: var(--ember-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose hr { margin-block: 3.5rem; border: 0; border-top: 1px solid var(--line); }
.prose > :first-child { margin-top: 0; }

.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 2rem 0 3rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--line);
}

.fact { padding: 1.25rem; background: var(--white); }
.fact span { display: block; margin-bottom: .3rem; color: var(--muted); font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.fact strong { font-family: Georgia, serif; font-size: 1.25rem; font-weight: 500; }

.table-wrap { margin: 2rem 0; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); }
table { width: 100%; border-collapse: collapse; background: var(--white); font-size: .88rem; }
th, td { padding: 1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: var(--ink); color: var(--white); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }

.note {
  margin: 2rem 0;
  padding: 1.4rem 1.5rem;
  border-radius: var(--radius-sm);
  background: var(--sage-light);
}
.note strong { display: block; margin-bottom: .35rem; }
.note p:last-child { margin-bottom: 0; }

.warning { background: #f4ddd4; }

.formula {
  margin: 2rem 0;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .92rem;
  text-align: center;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.related-card { padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); text-decoration: none; }
.related-card:hover { border-color: var(--ember); }
.related-card span { color: var(--ember-dark); font-size: .68rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.related-card h3 { margin: .55rem 0 0; }

.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter-button { padding: .6rem .9rem; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; font-size: .76rem; font-weight: 800; }
.filter-button:hover, .filter-button.active { border-color: var(--ink); background: var(--ink); color: var(--white); }
.game-card[hidden] { display: none; }

.info-card,
.legal-card {
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
}
.info-card .icon { display: grid; width: 3rem; height: 3rem; margin-bottom: 1.5rem; place-items: center; border-radius: 50%; background: var(--sage-light); color: #315045; font-family: Georgia, serif; font-size: 1.2rem; }
.info-card p, .legal-card p { color: var(--muted); font-size: .9rem; }

.accordion { margin-top: 2rem; border-top: 1px solid var(--line); }
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 0; border: 0; background: transparent; color: var(--ink); cursor: pointer; text-align: left; font-family: Georgia, serif; font-size: 1.25rem; }
.accordion-button::after { color: var(--ember-dark); content: "+"; font-family: Inter, sans-serif; font-size: 1.3rem; }
.accordion-button[aria-expanded="true"]::after { content: "−"; }
.accordion-panel { padding: 0 2.5rem 1.4rem 0; color: var(--muted); }
.accordion-panel[hidden] { display: none; }

.help-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  margin-block: 2rem;
  padding: clamp(1.5rem, 5vw, 3rem);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
}
.help-card p { color: rgba(255,255,255,.65); }
.help-number { display: block; color: #ef9b76; font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1; text-decoration: none; }

.legal-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.legal-nav a { padding: .55rem .85rem; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; color: rgba(255,255,255,.72); font-size: .75rem; text-decoration: none; }
.legal-nav a:hover { color: var(--white); border-color: var(--white); }

.contact-block { padding: clamp(2rem, 5vw, 4rem); border-radius: var(--radius); background: var(--ink); color: var(--white); }
.contact-block a { color: #ef9b76; }

.site-footer { padding-block: 4.5rem 2rem; background: #11110f; color: rgba(255,255,255,.65); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 3rem; }
.footer-brand p { max-width: 350px; margin-top: 1.2rem; font-size: .87rem; }
.footer-heading { margin: 0 0 1.2rem; color: var(--white); font-family: Inter, sans-serif; font-size: .7rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin-bottom: .65rem; }
.footer-links a { color: inherit; font-size: .84rem; text-decoration: none; }
.footer-links a:hover { color: #ef9b76; }
.footer-help { color: var(--white); font-weight: 800; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .74rem; }
.footer-badges { display: flex; gap: .6rem; }
.footer-badge { padding: .35rem .55rem; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: rgba(255,255,255,.75); font-size: .65rem; font-weight: 800; }

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(12,12,10,.93);
  backdrop-filter: blur(14px);
}
.age-gate[hidden] { display: none; }
.age-dialog { width: min(100%, 600px); padding: clamp(2rem, 6vw, 4rem); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); background: var(--paper); box-shadow: 0 30px 120px #000; }
.age-kicker { display: flex; align-items: center; gap: .8rem; margin-bottom: 2rem; color: var(--ember-dark); font-size: .7rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.age-circle { display: grid; width: 3.2rem; height: 3.2rem; place-items: center; border: 2px solid currentColor; border-radius: 50%; font-size: .85rem; }
.age-dialog h2 { font-size: clamp(2.3rem, 7vw, 4rem); }
.age-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: 2rem; }
.age-actions .button { cursor: pointer; }
.button-outline { border-color: var(--line); background: transparent; color: var(--ink); }
.button-outline:hover { border-color: var(--ink); background: transparent; }

.cookie-note {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  width: min(calc(100% - 2rem), 420px);
  padding: 1.15rem;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-sm);
  background: var(--ink-soft);
  color: rgba(255,255,255,.72);
  box-shadow: 0 18px 50px rgba(0,0,0,.32);
  font-size: .8rem;
}
.cookie-note[hidden] { display: none; }
.cookie-note strong { display: block; margin-bottom: .3rem; color: var(--white); }
.cookie-note p { margin-bottom: .8rem; }
.cookie-note a { color: #ef9b76; }
.cookie-dismiss { padding: .45rem .75rem; border: 0; border-radius: 999px; background: var(--white); color: var(--ink); cursor: pointer; font-size: .72rem; font-weight: 800; }

.back-to-top { position: fixed; right: 1rem; bottom: 1rem; z-index: 80; display: grid; width: 2.8rem; height: 2.8rem; place-items: center; border: 0; border-radius: 50%; background: var(--ember); color: #fff; cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(1rem); transition: .2s ease; }
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: none; }
body.storage-note-visible .back-to-top { bottom: 11rem; }

.not-found { display: grid; min-height: 75vh; place-items: center; padding: 3rem 1rem; background: var(--ink); color: var(--white); text-align: center; }
.not-found strong { display: block; color: #ef9b76; font-family: Georgia, serif; font-size: clamp(6rem, 20vw, 14rem); line-height: .8; }
.not-found h1 { margin-top: 2rem; font-size: clamp(2.4rem, 7vw, 5rem); }

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .main-nav { position: fixed; inset: 76px 0 auto; display: block; max-height: 0; overflow: hidden; background: var(--ink); transition: max-height .35s ease; }
  .main-nav.open { max-height: calc(100vh - 76px); overflow-y: auto; }
  .nav-links { display: block; padding: 1rem 1rem 2rem; }
  .nav-links li { border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav-links a { display: block; padding: 1rem 0; font-size: 1rem; }
  .age-pill { display: none; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .game-card, .game-card:nth-child(1), .game-card:nth-child(5) { grid-column: span 6; }
  .article-shell { grid-template-columns: 1fr; gap: 2rem; }
  .article-toc { position: static; padding: 1.2rem; border: 1px solid var(--line); border-radius: var(--radius-sm); }
  .article-toc ol { columns: 2; column-gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .hero, .hero-inner { min-height: 680px; }
  .hero-media { object-position: 64% center; opacity: .5; }
  .hero::after { background: linear-gradient(90deg, rgba(14,14,12,.96), rgba(14,14,12,.52)), linear-gradient(0deg, rgba(14,14,12,.86), transparent); }
  .hero-proof { grid-template-columns: 1fr; gap: .8rem; }
  .proof-item { display: flex; align-items: baseline; gap: .7rem; }
  .section-heading { display: block; }
  .section-heading h2 { margin-bottom: .7em; }
  .game-card, .game-card:nth-child(1), .game-card:nth-child(5) { grid-column: 1 / -1; min-height: 0; }
  .game-art { height: min(68vw, 320px); }
  .principle-grid, .info-grid, .legal-grid, .related-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split-image { min-height: 400px; }
  .fact-grid { grid-template-columns: 1fr; }
  .article-toc ol { columns: 1; }
  .help-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { display: block; }
  .footer-badges { margin-top: 1rem; }
  .age-actions { grid-template-columns: 1fr; }
  body.storage-note-visible .back-to-top { bottom: 12.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
