/* ==========================================================================
   Score8 Casino & Gaming — score8-m.net
   One stylesheet. Plain CSS, custom properties, mobile-first.
   1 Tokens · 2 Base · 3 Layout · 4 Header & navigation · 5 Buttons
   6 Cards & grids · 7 Home hero & sections · 8 Inner pages & prose
   9 Components · 10 Footer · 11 Motion, print, utilities
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --bg: #05070B;
  --bg-deep: #020305;
  --surface: #090E18;
  --surface-2: #0D1420;
  --navy: #071A33;
  --navy-light: #0D2A4D;
  --red: #E31B23;
  --red-hover: #FF2D35;
  --red-text: #FF4A51;          /* red for small text on dark — meets WCAG AA */
  --text: #FFFFFF;
  --text-secondary: #B7C0CC;
  --muted: #7F8A99;
  --border: rgba(255, 255, 255, .08);
  --border-strong: rgba(255, 255, 255, .16);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(56px, 8vw, 104px);
  --header-h: 68px;
  --radius: 16px;
  --radius-sm: 10px;

  --card-bg: linear-gradient(180deg, rgba(13, 42, 77, .30) 0%, rgba(9, 14, 24, .95) 55%);
  --card-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 20px 40px -24px rgba(0, 0, 0, .85);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--text-secondary);
  font-family: var(--font); font-size: 1rem; line-height: 1.68;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { color: var(--text); line-height: 1.16; margin: 0 0 .6em; font-weight: 750; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.35rem + 2.9vw, 3.5rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.625rem, 1.2rem + 1.8vw, 2.5rem); letter-spacing: -.025em; }
h3 { font-size: 1.1875rem; }
h4 { font-size: 1.0625rem; }
p { margin: 0 0 1em; }
a { color: var(--text); text-decoration-color: rgba(255, 74, 81, .65); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--red-hover); }
strong { color: var(--text); font-weight: 650; }
ul, ol { padding-left: 1.25em; margin: 0 0 1em; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red-hover); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--red); color: #fff; font-weight: 700; padding: 12px 18px; border-radius: var(--radius-sm); text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* 3. Layout ---------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--navy { background: linear-gradient(180deg, var(--navy) 0%, var(--surface) 100%); border-block: 1px solid var(--border); }
.section--alt { background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%); border-block: 1px solid var(--border); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section-header { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-header--split { max-width: none; display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: end; justify-content: space-between; }
.section-header--split > div { max-width: 720px; }
.lede { font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); line-height: 1.6; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red-text);
}
.eyebrow::before { content: ""; width: 20px; height: 2px; background: var(--red); border-radius: 2px; }

.card-grid { display: grid; gap: clamp(14px, 2vw, 22px); grid-template-columns: 1fr; }
@media (min-width: 600px) { .card-grid--2, .card-grid--3, .card-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) {
  .card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.split { display: grid; gap: clamp(28px, 5vw, 64px); grid-template-columns: 1fr; align-items: start; }
.split > * { min-width: 0; }
@media (min-width: 980px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
  .split--reverse > :first-child { order: 2; }
}

/* 4. Header & navigation --------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--border); }
/* Blur on a pseudo-element: backdrop-filter on the header would trap the fixed mobile menu. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(2, 3, 5, .92), rgba(7, 26, 51, .78));
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
}
.site-header__inner { display: flex; align-items: center; gap: 12px; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; flex: none; padding: 6px 0; }
.logo img { height: 36px; width: auto; max-width: 160px; object-fit: contain; }

.nav-toggle {
  margin-left: auto; display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 14px; border-radius: var(--radius-sm);
  background: transparent; border: 1px solid var(--border-strong); color: var(--text);
  font: inherit; font-size: .9375rem; font-weight: 600; cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s var(--ease), background .2s;
}
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav__list { list-style: none; margin: 0; padding: 0; }
.site-nav__link {
  display: flex; align-items: center; min-height: 44px; padding: 0 11px; border-radius: 8px;
  color: var(--text-secondary); text-decoration: none; font-weight: 600; font-size: .9375rem; white-space: nowrap;
}
.site-nav__link:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.site-nav__link[aria-current="page"], .site-nav__link[aria-current="true"] { color: var(--text); }
.site-nav__extra { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 2px; }
.site-nav__actions { display: grid; gap: 10px; margin-top: 22px; }
.header-actions { display: none; }

/* No-JS: nav shows as a wrapped row. */
html:not(.js) .nav-toggle { display: none; }
html:not(.js) .site-header__inner { flex-wrap: wrap; padding-bottom: 8px; }
html:not(.js) .site-nav { width: 100%; }
html:not(.js) .site-nav__list { display: flex; flex-wrap: wrap; }
html:not(.js) .site-nav__extra { display: none; }
html:not(.js) .site-nav__actions { display: flex; flex-wrap: wrap; margin-top: 8px; }

@media (max-width: 1099.98px) {
  .js .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; background: var(--bg-deep);
    padding: 12px var(--gutter) 32px; overflow-y: auto; overscroll-behavior: contain;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
  }
  .js .nav-open .site-nav { visibility: visible; opacity: 1; transform: none; transition: opacity .2s var(--ease), transform .2s var(--ease); }
  .js .site-nav__list { display: grid; }
  .js .site-nav__list .site-nav__link { min-height: 52px; font-size: 1.125rem; border-bottom: 1px solid var(--border); border-radius: 0; }
  .js .site-nav__link[aria-current] { box-shadow: inset 3px 0 0 var(--red); }
  .site-nav__extra .site-nav__link { min-height: 44px; font-size: 1rem; color: var(--muted); }
  .nav-open { overflow: hidden; }
}
@media (min-width: 1100px) {
  .nav-toggle { display: none; }
  .site-nav { margin-left: auto; }
  .site-nav__list { display: flex; align-items: center; gap: 2px; }
  .site-nav__link[aria-current] { position: relative; }
  .site-nav__link[aria-current]::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 6px; height: 2px; background: var(--red); border-radius: 2px; }
  .site-nav__extra, .site-nav .site-nav__actions { display: none; }
  .site-header .header-actions { display: flex; gap: 8px; margin-left: 12px; }
  html:not(.js) .site-nav { width: auto; }
}

/* 5. Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center;
  cursor: pointer; transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s, background-color .18s;
}
.btn .icon { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { color: #fff; box-shadow: 0 0 0 1px var(--red-hover), 0 10px 28px -10px rgba(255, 45, 53, .65); transform: translateY(-1px); }
.btn-secondary { background: rgba(9, 14, 24, .55); color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover { color: var(--text); border-color: rgba(255, 255, 255, .34); background: rgba(13, 42, 77, .5); transform: translateY(-1px); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .9375rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 419.98px) { .btn-row .btn { flex: 1 1 100%; } }

.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--text); text-decoration: none; }
.text-link .icon { width: 16px; height: 16px; color: var(--red-text); transition: transform .18s var(--ease); }
.text-link:hover .icon { transform: translateX(3px); }
.ext-note { font-size: .8125rem; color: var(--muted); margin: 10px 0 0; }

/* 6. Cards & grids --------------------------------------------------------- */
.icon { width: 24px; height: 24px; flex: none; }
.card {
  position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--card-shadow);
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.card--link:hover { transform: translateY(-3px); border-color: rgba(227, 27, 35, .45); }
.card__media { aspect-ratio: 16 / 10; background: var(--navy); border-bottom: 1px solid var(--border); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease); }
.card--link:hover .card__media img { transform: scale(1.03); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: clamp(18px, 2.2vw, 26px); }
.card__icon {
  width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 16px; border-radius: 12px; color: var(--text);
  background: linear-gradient(145deg, var(--navy-light), var(--navy)); border: 1px solid var(--border-strong);
}
.card__icon--red { background: linear-gradient(145deg, rgba(227, 27, 35, .92), rgba(140, 12, 18, .92)); }
.card__cat { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red-text); margin: 0 0 8px; }
.card__title { font-size: 1.1875rem; margin: 0 0 8px; letter-spacing: -.015em; }
.card--lg .card__title { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); }
.card__title a { color: var(--text); text-decoration: none; }
.card--link .card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card__title a:focus-visible { outline: none; }
.card--link:has(.card__title a:focus-visible) { outline: 2px solid var(--red-hover); outline-offset: 3px; }
.card__text { margin: 0 0 16px; font-size: .96875rem; }
.card__cta { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 650; font-size: .9375rem; color: var(--text); }
.card__cta .icon { width: 16px; height: 16px; color: var(--red-text); transition: transform .18s var(--ease); }
.card--link:hover .card__cta .icon { transform: translateX(3px); }
.card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: .8125rem; color: var(--muted); margin: 0 0 10px; }
.card--row { flex-direction: row; align-items: flex-start; gap: 14px; padding: 18px 20px; }
.card--row .card__icon { margin: 0; width: 40px; height: 40px; }
.card--row .card__title { font-size: 1.0625rem; margin: 0 0 2px; }
.card--row .card__text { margin: 0; font-size: .9rem; }

.article-card .card__body { padding: 18px 20px 20px; }
.article-card .card__title { font-size: 1.0625rem; }
.article-card .card__text { font-size: .9375rem; }

/* 7. Home hero & sections -------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; border-bottom: 1px solid var(--border);
  background:
    radial-gradient(55% 60% at 88% 18%, rgba(13, 42, 77, .8), transparent 70%),
    radial-gradient(38% 45% at 70% 80%, rgba(227, 27, 35, .12), transparent 70%),
    linear-gradient(180deg, var(--bg-deep) 0%, #06101F 60%, var(--navy) 100%);
}
.hero__inner { display: grid; gap: clamp(28px, 4vw, 56px); grid-template-columns: 1fr; align-items: center; padding-block: clamp(36px, 7vw, 96px) clamp(40px, 7vw, 88px); }
@media (min-width: 980px) { .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } }
.hero h1 { margin-bottom: 18px; max-width: 16ch; }
.hero h1 .accent { color: var(--red); }
.hero .lede { max-width: 56ch; margin-bottom: 26px; }
.hero__media { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--border-strong); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .95); aspect-ratio: 16 / 10; background: var(--navy); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.04); border-radius: inherit; pointer-events: none; }
.hero__chips { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero__chips a { display: inline-flex; min-height: 36px; align-items: center; font-size: .875rem; color: var(--text-secondary); text-decoration: none; padding: 0 14px; border: 1px solid var(--border-strong); border-radius: 999px; background: rgba(5, 7, 11, .45); }
.hero__chips a:hover { color: var(--text); border-color: rgba(227, 27, 35, .5); }
@media (max-width: 599.98px) { .hero__chips { display: none; } }

.answer { font-size: clamp(1.0625rem, 1rem + .45vw, 1.25rem); color: var(--text); line-height: 1.55; padding-left: 18px; border-left: 3px solid var(--red); margin-bottom: 22px; }

.facts { display: grid; margin: 0 0 1.5em; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: rgba(9, 14, 24, .65); }
.facts > div { display: grid; grid-template-columns: minmax(110px, 36%) 1fr; gap: 14px; padding: 13px 18px; border-bottom: 1px solid var(--border); }
.facts > div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); font-size: .875rem; font-weight: 600; }
.facts dd { margin: 0; color: var(--text); font-size: .9375rem; }

.topic-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--border); }
.topic-list li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.topic-list .card__icon { width: 40px; height: 40px; margin: 0; }
.topic-list h3 { font-size: 1.0625rem; margin: 0 0 2px; }
.topic-list p { margin: 0; font-size: .9375rem; }

.media-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-strong); background: var(--navy); aspect-ratio: 16 / 10; box-shadow: var(--card-shadow); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

/* 8. Inner pages & prose --------------------------------------------------- */
.page-hero {
  position: relative; overflow: hidden; border-bottom: 1px solid var(--border);
  background: radial-gradient(55% 80% at 90% 0%, rgba(13, 42, 77, .75), transparent 70%), linear-gradient(180deg, var(--bg-deep), #060D19);
  padding-block: clamp(24px, 3.5vw, 36px) clamp(40px, 6vw, 72px);
}
.page-hero__grid { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 980px) { .page-hero__grid--media { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; } }
.page-hero h1 { max-width: 22ch; margin-bottom: 16px; }
.page-hero .lede { max-width: 64ch; }
.page-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 20px 0 0; font-size: .875rem; color: var(--muted); }

.prose { max-width: 74ch; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.4rem, 1.15rem + 1.1vw, 1.875rem); margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose li { margin-bottom: .45em; }
.prose figure { margin: 1.8em 0; }
.prose figcaption { font-size: .875rem; color: var(--muted); margin-top: 8px; }
.table-wrap { overflow-x: auto; margin: 0 0 1.6em; border: 1px solid var(--border); border-radius: var(--radius-sm); -webkit-overflow-scrolling: touch; }
.table-wrap:focus-visible { outline-offset: 2px; }
table { width: 100%; border-collapse: collapse; font-size: .9375rem; min-width: 480px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { color: var(--text); font-weight: 650; background: rgba(13, 42, 77, .45); }
caption { caption-side: bottom; text-align: left; padding: 10px 14px; font-size: .8125rem; color: var(--muted); }

.layout-aside { display: grid; gap: 44px; grid-template-columns: 1fr; }
.layout-aside > * { min-width: 0; }
@media (min-width: 1024px) { .layout-aside { grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; } }
.aside-box { border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; background: var(--card-bg); }
.aside-box + .aside-box { margin-top: 16px; }
.aside-box h2 { font-size: 1rem; letter-spacing: 0; margin-bottom: 10px; }
.aside-box ul { list-style: none; padding: 0; margin: 0; }
.aside-box li a { display: block; padding: 8px 0; text-decoration: none; color: var(--text-secondary); font-size: .9375rem; border-bottom: 1px solid var(--border); }
.aside-box li:last-child a { border-bottom: 0; }
.aside-box li a:hover { color: var(--text); }
@media (min-width: 1024px) { .aside-sticky { position: sticky; top: calc(var(--header-h) + 20px); } }

.article-page { padding-top: clamp(24px, 3.5vw, 36px); }
.article-header { max-width: 860px; }
.article-header h1 { font-size: clamp(1.875rem, 1.3rem + 2.4vw, 3rem); }
.article-figure { margin: 28px 0 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-strong); aspect-ratio: 16 / 10; max-width: 860px; background: var(--navy); }
.article-figure img { width: 100%; height: 100%; object-fit: cover; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .9375rem; color: var(--muted); margin-top: 18px; }
.byline strong { color: var(--text); font-weight: 600; }
.byline__sep { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); }

.steps { counter-reset: step; list-style: none; padding: 0; }
.steps > li { counter-increment: step; position: relative; padding-left: 48px; margin-bottom: 16px; }
.steps > li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .875rem; color: #fff; background: var(--navy-light); border: 1px solid var(--border-strong); }

.key-points { border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 18px 22px; background: rgba(13, 42, 77, .35); margin: 0 0 1.8em; }
.key-points h2 { font-size: 1rem !important; margin: 0 0 8px !important; letter-spacing: 0; }
.key-points ul { margin: 0; }

.glossary dt { color: var(--text); font-weight: 700; margin-top: 1.2em; }
.glossary dd { margin: .25em 0 0; }

/* 9. Components ------------------------------------------------------------ */
.breadcrumbs { margin-bottom: clamp(24px, 3.5vw, 36px); font-size: .875rem; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; align-items: center; }
.breadcrumbs li { display: inline-flex; align-items: center; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin: 0 10px; color: rgba(255, 255, 255, .22); }
.breadcrumbs a { color: var(--text-secondary); text-decoration: none; padding: 4px 0; }
.breadcrumbs a:hover { color: var(--text); text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--text); }

.badge { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; font-size: .75rem; font-weight: 700; letter-spacing: .04em; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--border-strong); color: var(--text); background: rgba(13, 42, 77, .55); }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .85; }
.badge--guide { color: #9CC3FF; border-color: rgba(156, 195, 255, .3); }
.badge--adult { color: #FFB4B7; border-color: rgba(255, 74, 81, .4); background: rgba(227, 27, 35, .12); }

.cta-panel {
  display: grid; gap: 18px; align-items: center; border-radius: calc(var(--radius) + 4px); border: 1px solid var(--border);
  padding: clamp(24px, 4vw, 44px);
  background: radial-gradient(80% 120% at 100% 0%, rgba(227, 27, 35, .18), transparent 55%), linear-gradient(135deg, var(--navy), var(--surface));
}
@media (min-width: 900px) { .cta-panel { grid-template-columns: 1fr auto; } }
.cta-panel h2 { font-size: clamp(1.375rem, 1.15rem + 1vw, 2rem); margin-bottom: 8px; }
.cta-panel p { margin: 0; }
.cta-panel__label { font-size: .75rem !important; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px !important; }

.responsible-note {
  display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start;
  padding: 14px 18px; border-radius: var(--radius-sm); border: 1px solid rgba(255, 74, 81, .32); background: rgba(227, 27, 35, .07);
  font-size: .9375rem; margin: 0 0 1.5em;
}
.responsible-note .icon { color: var(--red-text); margin-top: 2px; }
.responsible-note p { margin: 0; }
.notice { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; padding: 14px 18px; border-radius: var(--radius-sm); border: 1px solid var(--border-strong); background: rgba(13, 42, 77, .38); margin: 0 0 1.5em; font-size: .9375rem; }
.notice .icon { color: var(--text-secondary); margin-top: 2px; }
.notice p { margin: 0; }
.notice p + p { margin-top: .6em; }

.author-box { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 20px 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card-bg); margin-top: 44px; max-width: 74ch; }
.author-box img { width: 56px; height: 56px; border-radius: 14px; background: var(--bg); border: 1px solid var(--border-strong); object-fit: contain; padding: 6px; }
.author-box__title { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 4px; }
.author-box__name { color: var(--text); font-weight: 650; margin: 0 0 6px; }
.author-box p:last-child { margin-bottom: 0; font-size: .9375rem; }

.references { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border); max-width: 74ch; font-size: .9375rem; }
.references h2 { font-size: 1.0625rem !important; margin: 0 0 10px !important; letter-spacing: 0; }
.references ol { margin: 0; }

.contact-note { border: 1px dashed var(--border-strong); border-radius: var(--radius); padding: 22px; background: rgba(9, 14, 24, .5); }

/* 10. Footer --------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--border); background: linear-gradient(180deg, var(--bg), var(--bg-deep)); padding-block: 56px 28px; font-size: .9375rem; }
.footer-grid { display: grid; gap: 32px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer-brand { grid-column: 1 / -1; max-width: 440px; }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 2fr repeat(4, 1fr); } .footer-brand { grid-column: auto; } }
.footer-brand .logo img { height: 34px; }
.footer-brand p { color: var(--muted); margin: 14px 0 18px; }
.footer-col h2 { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text); margin: 0 0 12px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col a { display: inline-block; padding: 6px 0; color: var(--text-secondary); text-decoration: none; }
.footer-col a:hover { color: var(--text); text-decoration: underline; }
.footer-notice { margin-top: 40px; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; padding: 16px 18px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: rgba(9, 14, 24, .7); font-size: .875rem; }
.footer-notice p { margin: 0; }
.age-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--red); color: var(--text); font-weight: 800; font-size: .875rem; }
.footer-bottom { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; color: var(--muted); font-size: .875rem; }
.footer-bottom p { margin: 0; }

/* 11. Motion, print, utilities -------------------------------------------- */
.mt-lg { margin-top: clamp(28px, 4vw, 44px); }
.muted { color: var(--muted); }
.stack > * + * { margin-top: 16px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .card--link:hover, .btn:hover, .card--link:hover .card__media img { transform: none; }
}
@media print {
  .site-header, .site-footer, .skip-link, .cta-panel { display: none !important; }
  body { background: #fff; color: #000; }
  h1, h2, h3, a, strong { color: #000; }
}
