:root{--qa-guard:start}

:where(main :is([class*="grid"], [style*="grid"], [class*="layout"], .row, [class*="cols"], [class*="split"], [class*="columns"],
               [data-component], ol, ul, dl) > *) { min-width: 0; }
:where(main img, main video, main iframe) { max-width: 100%; }
:where(main img) { height: auto; }
:where(main pre) { overflow-x: auto; }
:where(main table) { max-width: 100%; }
:where(h1, h2, h3, h4, h5, h6) { line-height: 1.3; }
:where(footer a:not([class*="btn"]), .breadcrumb a, nav li a) { display: inline-block; padding-block: 4px; }
img[data-role="hero"] { object-position: 75% 30% !important; } 
.navbar-brand:has(> img.site-logo) { background: none !important; padding: 0 !important; box-shadow: none !important; border: 0 !important; }
.navbar-brand > img.site-logo { height: 40px; width: auto; display: block; }

.navbar:has(> div:empty):has(> :is([class*="container"], [class*="inner"])) { flex-direction: column; align-items: stretch; }
.navbar .navbar-brand { flex-shrink: 0; }
@media (min-width: 576px) {  
  .navbar :is(a, button)[class*="btn"] { flex-shrink: 0; }
  .navbar :is(.nav-link, a[class*="btn"], button[class*="btn"]) { white-space: nowrap; }
}

:is(.navbar, .navbar > *, .navbar :has(> .navbar-collapse)):has(.navbar-collapse:is(.show, .collapsing)) { height: auto !important; max-height: none !important; }

@media (min-width: 992px) {
  main .row > [class*="col"]:has(> img[data-role="section"]:only-child) { align-self: stretch; }
  main .row > [class*="col"] > img[data-role="section"]:only-child { height: 100% !important; object-fit: cover; }
}

main > :is(section, div):not(:first-child):not(:empty, [class*="divider"], [class*="separator"], [aria-hidden="true"]) { padding-block: clamp(28px, 3.5vw, 44px) !important; margin-block: 0 !important; }
main > :first-child, main > :first-child > :is(section, div) { min-height: 0 !important; }
main > :first-child { padding-block: clamp(24px, 4vw, 56px) !important; }
main :is(h1, h2, h3) { line-height: 1.35 !important; }
main :is(p, li, td, dd) { line-height: 1.55 !important; }
main > :is(section, div) :is(h2):first-of-type { margin-bottom: 12px; }
@media (max-width: 575.98px) {
  main [style*="grid-template-columns"]:not([style*="auto-fit"]):not([style*="auto-fill"]) { grid-template-columns: 1fr !important; }
  
  :is([data-component="game-grid"], [data-component="game-grid"] *):has(> .game-card) {
    display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
  .game-card .game-tag { position: static !important; display: inline-block; margin-top: 6px; }
  
  main :is(div, p, nav):has(> :is(a, button)[class*="btn"]):not([class*="scroll"], [class*="strip"], [class*="tab"], [class*="chip"]) {
    flex-wrap: wrap !important; flex-shrink: 1 !important; max-width: 100%; }
  main div:has(> :is(div, p) > :is(a, button)[class*="btn"]):not([class*="scroll"], [class*="strip"], [class*="tab"], [class*="chip"]) {
    flex-wrap: wrap !important; }  
  
  main :is(ol, ul, [data-component="steps"], [data-component="steps"] div):not([class*="scroll"], [class*="strip"], [class*="tab"], [class*="chip"]) {
    flex-wrap: wrap !important; }
  main :is(a, button)[class*="btn"] { white-space: normal !important; }
  
  main table:not(:is([class*="responsive"], [class*="scroll"], [style*="overflow"]) table) {
    display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .game-card :is(.game-card-body, div:has(> h3)) { padding: 10px 12px 12px !important; }
}
.toc-auto { margin: 0 auto 24px; max-width: 1100px; padding: 12px 16px; border: 1px solid var(--border, rgba(255,255,255,.15)); border-radius: 12px; }
.toc-auto summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; }
.toc-auto ol { margin: 8px 0 0; padding-left: 1.4em; }
[data-component="toc"] a { display: inline-block; padding-block: 4px; }
html { scroll-padding-top: 88px; }

:is(header, footer, main > :not(:first-child)) :is(.container, .container-fluid, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl) {
  max-width: 1320px !important; margin-inline: auto !important; }
main > :not(:has([class*="container"])) { padding-inline: max(16px, calc((100% - 1320px) / 2)) !important; }  

:where(main > :first-child > :not([class*="container"], :has([class*="container"]), img, picture, video, [style*="absolute"])) {
  padding-inline: max(16px, calc((100% - 1320px) / 2)); }
main > :first-child :is(.container, .container-fluid, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl):not(:has(> img[data-role="hero"])) {
  max-width: 1320px !important; margin-inline: auto !important; }
:where(main [style*="overflow-x"][style*="flex"]:not([style*="wrap"])) > * { min-width: auto; }

:where(main > :not(:first-child), body > footer) { content-visibility: auto; contain-intrinsic-size: auto 600px; }
@media (max-width: 767.98px) { :where(main > :not(:first-child), body > footer) { contain-intrinsic-size: auto 900px; } }  
:root{--qa-guard:end}

*, *::before, *::after { box-sizing: border-box; }
:root {
  --bg: #f8f8f7;
  --surface: #fdfdfd;
  --surface-alt: #eeeeed;
  --primary: #564844;
  --primary-dark: #3c3230;
  --action: #e12d02;
  --accent: #166dd4;
  --border-gold: #b29424;
  --text: #2a2a2a;
  --text-muted: #666666;
  --font-head: 'Bungee', sans-serif;
  --font-body: 'Work Sans', sans-serif;
}
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  scrollbar-color: var(--border-gold) var(--surface-alt);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Ccircle cx='1' cy='1' r='0.8' fill='%23000' fill-opacity='0.025'/%3E%3C/svg%3E");
}
::selection { background: var(--border-gold); color: #fff; }
:focus-visible { outline: 3px solid var(--border-gold); outline-offset: 3px; }
a { color: var(--accent); text-underline-offset: 3px; }
h1,h2,h3,h4 { font-family: var(--font-head); line-height: 1.2; color: var(--text); margin-top: 0; }
h1 { font-size: clamp(2.2rem,5vw,3.2rem); letter-spacing: 1px; }
h2 { font-size: clamp(1.6rem,3.5vw,2.2rem); letter-spacing: 0.5px; }
h3 { font-size: clamp(1.1rem,2.5vw,1.5rem); }
p { max-width: 70ch; }
img { max-width: 100%; height: auto; }
.mono { font-family: 'Courier New', monospace; font-size: 14px; letter-spacing: 2px; }

.section-pad { padding: clamp(28px,3.5vw,44px) 0; }
.gold-border-top { border-top: 3px solid var(--border-gold); }
.gold-border-bottom { border-bottom: 3px solid var(--border-gold); }
.hard-shadow { box-shadow: 10px 10px 0 rgba(0,0,0,0.65); }
.soft-shadow { box-shadow: 4px 4px 0 rgba(0,0,0,0.2); }
.btn-action {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--action); color: #fff; font-family: var(--font-head);
  font-size: 1rem; padding: 14px 28px; border: 3px solid #2a2a2a;
  border-radius: 4px; text-decoration: none; font-weight: 700;
  transition: box-shadow .15s ease-out, transform .15s ease-out;
  cursor: pointer; letter-spacing: 0.5px;
}
.btn-action:hover, .btn-action:focus-visible {
  box-shadow: 8px 8px 0 rgba(0,0,0,0.4), inset -2px -2px 0 rgba(0,0,0,0.3);
  transform: translate(-2px,-2px); color: #fff;
}
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); color: var(--text); font-family: var(--font-head);
  font-size: 1rem; padding: 14px 28px; border: 3px solid #2a2a2a;
  border-radius: 4px; text-decoration: none; font-weight: 700;
  transition: box-shadow .15s ease-out, transform .15s ease-out;
  cursor: pointer; letter-spacing: 0.5px;
}
.btn-secondary:hover, .btn-secondary:focus-visible {
  box-shadow: 8px 8px 0 rgba(0,0,0,0.4); transform: translate(-2px,-2px); color: var(--text);
}
.section-label {
  font-family: var(--font-body); font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px; color: var(--border-gold);
  display: block; margin-bottom: 8px;
}

.site-nav {
  background: var(--primary);
  background-image: repeating-linear-gradient(90deg, transparent, transparent 18px, rgba(255,255,255,0.03) 18px, rgba(255,255,255,0.03) 19px);
  min-height: 64px; padding: 0 40px; position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
}
.site-nav .navbar-brand img { height: 42px; width: auto; }
.site-nav .nav-link {
  font-family: var(--font-body); font-size: 15px; font-weight: 600;
  color: #fff !important; padding: 8px 10px !important; white-space: nowrap;
  transition: color .15s;
}
.site-nav .nav-link:hover { color: var(--border-gold) !important; }
.site-nav .nav-link.active { border-bottom: 3px solid var(--action); }
.nav-btn-login {
  background: var(--surface); color: var(--text) !important; border: 2px solid #2a2a2a;
  border-radius: 4px; padding: 7px 16px !important; font-weight: 700;
}
.nav-btn-login:hover { background: var(--surface-alt) !important; }
.nav-btn-signup {
  background: var(--action); color: #fff !important; border: 3px solid var(--action);
  border-radius: 4px; padding: 7px 16px !important; font-weight: 700;
}
.nav-btn-signup:hover { background: #c52600 !important; }
.navbar-toggler { border: 2px solid rgba(255,255,255,0.5); }
.navbar-toggler-icon { filter: invert(1); }
@media(max-width:991px){
  .site-nav { padding: 0 16px; }
  .site-nav .navbar-collapse { background: var(--primary-dark); padding: 12px; margin-top: 8px; border: 2px solid var(--border-gold); }
}

.hero-panel {
  border: 4px solid #2a2a2a; box-shadow: 10px 10px 0 rgba(0,0,0,0.65);
  overflow: hidden; position: relative; background: var(--primary-dark);
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center; opacity: 0.35;
}
.hero-content { position: relative; z-index: 2; }
.hero-left { padding: clamp(24px,4vw,48px); display: flex; flex-direction: column; gap: 16px; }
.hero-left h1 { color: #fff; margin-bottom: 8px; }
.hero-left p { color: rgba(255,255,255,0.88); max-width: 42ch; font-size: 1rem; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-features { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.hero-feature {
  background: #2a2a2a; color: #fff; border: 2px solid var(--border-gold);
  padding: 8px 14px; display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600;
}
.hero-feature i { color: var(--border-gold); font-size: 16px; }

.dep-board {
  background: #1a1a1a; border-left: 3px solid var(--border-gold);
  height: 100%; min-height: 320px;
}
.dep-board-head {
  background: #2a2a2a; color: #fff; padding: 10px 16px;
  display: grid; grid-template-columns: 1fr 80px 80px 60px;
  gap: 8px; font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; border-bottom: 2px solid var(--border-gold);
}
.dep-row {
  display: grid; grid-template-columns: 1fr 80px 80px 60px;
  gap: 8px; padding: 10px 16px; border-bottom: 1px solid rgba(178,148,36,0.35);
  align-items: center; transition: background .12s;
  color: #e8e8e8;
}
.dep-row:hover { background: rgba(255,255,255,0.06); }
.dep-game-name { font-family: var(--font-body); font-size: 13px; font-weight: 600; }
.dep-provider { font-size: 11px; color: var(--border-gold); margin-top: 2px; }
.dep-stat { font-family: 'Courier New', monospace; font-size: 12px; letter-spacing: 1px; text-align: center; }
.status-dot {
  width: 10px; height: 10px; border-radius: 50%; display: inline-block;
  box-shadow: 0 0 6px currentColor;
}
.status-live { background: #22c55e; color: #22c55e; }
.status-hot  { background: var(--action); color: var(--action); }
.status-new  { background: var(--border-gold); color: var(--border-gold); }

@media(max-width:767px){
  .dep-board { border-left: none; border-top: 3px solid var(--border-gold); }
  .hero-left { padding: 24px 20px; }
}

[data-component="trust"] {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px,1fr)); gap: 10px;
}
[data-component="trust"] li {
  background: var(--surface); border: 2px solid #2a2a2a;
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; font-size: 13px; font-weight: 600;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.2);
}
[data-component="trust"] li i { font-size: 18px; color: var(--border-gold); flex-shrink: 0; }

[data-component="stats"] {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px,1fr)); gap: 0;
  border: 3px solid #2a2a2a; box-shadow: 10px 10px 0 rgba(0,0,0,0.65);
}
[data-component="stats"] > div {
  padding: 20px 24px; border-right: 3px solid #2a2a2a;
  background: var(--surface);
}
[data-component="stats"] > div:last-child { border-right: none; }
[data-component="stats"] dt {
  font-size: 12px; text-transform: uppercase; letter-spacing: 2px;
  color: var(--text-muted); font-weight: 600; margin-bottom: 4px;
}
[data-component="stats"] dd {
  font-family: var(--font-head); font-size: 2rem; color: var(--action);
  margin: 0; letter-spacing: 1px;
}
@media(max-width:575px){
  [data-component="stats"] { grid-template-columns: 1fr 1fr; }
  [data-component="stats"] > div:nth-child(2) { border-right: none; }
  [data-component="stats"] > div:nth-child(3) { border-right: 3px solid #2a2a2a; border-top: 3px solid #2a2a2a; }
  [data-component="stats"] > div:nth-child(4) { border-top: 3px solid #2a2a2a; border-right: none; }
}

[data-component="game-grid"] {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.game-card {
  display: block; text-decoration: none; color: var(--text);
  background: var(--surface); border: 3px solid #2a2a2a; border-radius: 4px;
  box-shadow: 6px 6px 0 rgba(0,0,0,0.5); overflow: hidden;
  transition: box-shadow .15s ease-out, transform .15s ease-out;
}
.game-card:hover {
  box-shadow: 10px 10px 0 rgba(0,0,0,0.65);
  transform: translate(-3px,-3px); color: var(--text);
}
.game-card img { display: block; width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.game-card-body { padding: 10px 12px 12px; position: relative; }
.game-tag {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  background: var(--primary-dark); color: var(--border-gold);
  padding: 3px 8px; display: inline-block; margin-bottom: 6px;
}
.game-card h3 { font-size: 1rem; margin-bottom: 2px; line-height: 1.2; }
.game-card p { font-size: 12px; color: var(--text-muted); margin: 0; }
@media(max-width:991px){ [data-component="game-grid"] { grid-template-columns: repeat(3,1fr); } }
@media(max-width:575px){ [data-component="game-grid"] { grid-template-columns: repeat(2,1fr); gap: 12px; } }

.spotlight-banner {
  background: var(--primary-dark);
  background-image: repeating-linear-gradient(0deg, transparent, transparent 22px, rgba(255,255,255,0.03) 22px, rgba(255,255,255,0.03) 23px);
  border-top: 3px solid var(--border-gold); border-bottom: 3px solid var(--border-gold);
  padding: clamp(28px,3.5vw,44px) 0;
}
.spotlight-terminal {
  background: #111; border: 3px solid var(--border-gold);
  padding: 16px; font-family: 'Courier New', monospace; font-size: 12px;
  color: #22c55e; line-height: 1.8;
  box-shadow: 10px 10px 0 rgba(0,0,0,0.65);
  min-height: 220px;
}
.spotlight-cards { display: flex; flex-direction: column; gap: 12px; }
.spotlight-card {
  background: var(--surface); border: 3px solid #2a2a2a; padding: 14px 16px;
  box-shadow: 6px 6px 0 rgba(0,0,0,0.5); display: flex; align-items: center; gap: 16px;
}
.spotlight-card i { font-size: 24px; color: var(--border-gold); flex-shrink: 0; }
.spotlight-card strong { display: block; font-family: var(--font-head); font-size: 1rem; color: #fff; }
.spotlight-card span { font-size: 13px; color: rgba(255,255,255,0.72); }

[data-component="bonus"] {
  background: var(--surface); border: 3px solid #2a2a2a; border-radius: 4px;
  box-shadow: 10px 10px 0 rgba(0,0,0,0.65); overflow: hidden;
}
.bonus-header {
  background: var(--primary-dark); color: #fff; padding: 20px 24px;
  border-bottom: 3px solid var(--border-gold);
}
.bonus-header h2 { color: #fff; margin: 0; }
.bonus-amount { font-family: var(--font-head); font-size: 3rem; color: var(--action); display: block; line-height: 1; }
.bonus-cards { display: grid; grid-template-columns: repeat(auto-fill,minmax(220px,1fr)); gap: 16px; padding: 20px 24px; }
.bonus-card {
  border: 3px solid #2a2a2a; padding: 16px; background: var(--bg);
  box-shadow: 4px 4px 0 rgba(0,0,0,0.2);
}
.bonus-card h4 { font-family: var(--font-head); font-size: 1rem; margin-bottom: 4px; }
.bonus-card .big-num { font-family: var(--font-head); font-size: 1.8rem; color: var(--action); }
.bonus-terms { padding: 0 24px 20px; }
.bonus-terms table { width: 100%; border-collapse: collapse; font-size: 14px; }
.bonus-terms td { padding: 8px 12px; border-bottom: 1px solid var(--border-gold); }
.bonus-terms td:first-child { font-weight: 700; width: 50%; }
.bonus-cta { padding: 0 24px 24px; }
.calc-box {
  background: var(--surface-alt); border: 2px solid #2a2a2a; padding: 16px 20px;
  margin: 0 24px 20px; font-size: 14px;
}
.calc-box strong { font-family: var(--font-head); font-size: 1.1rem; color: var(--action); }

[data-component="payments"] {
  list-style: none; padding: 0; margin: 0;
  border: 3px solid #2a2a2a; box-shadow: 10px 10px 0 rgba(0,0,0,0.65);
}
[data-component="payments"] li {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--border-gold);
  align-items: center; background: var(--surface);
  font-size: 14px;
}
[data-component="payments"] li:last-child { border-bottom: none; }
[data-component="payments"] li:nth-child(even) { background: var(--surface-alt); }
.pay-head {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 8px; padding: 10px 16px; border-bottom: 2px solid #2a2a2a;
  background: #2a2a2a; color: #fff; font-size: 12px;
  font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
}
.pay-name { font-weight: 700; }
.pay-time { font-family: 'Courier New', monospace; font-size: 13px; text-align: center; }
.pay-status { text-align: center; }
.pay-ok { color: #22c55e; font-weight: 700; }

[data-component="vip"] { overflow-x: auto; }
.vip-table { width: 100%; border-collapse: collapse; border: 3px solid #2a2a2a; }
.vip-table th {
  background: var(--primary-dark); color: var(--border-gold);
  font-family: var(--font-head); font-size: 0.9rem; padding: 14px 12px;
  border-right: 2px solid var(--border-gold); text-align: center; white-space: nowrap;
}
.vip-table th:last-child { border-right: none; }
.vip-table td {
  padding: 12px; border-bottom: 1px solid var(--border-gold);
  border-right: 1px solid rgba(178,148,36,0.3); text-align: center;
  font-size: 14px;
}
.vip-table tr:last-child td { border-bottom: none; }
.vip-table td.tier-name { font-family: var(--font-head); font-size: 1rem; font-weight: 700; }
.tier-starter  { color: #888; }
.tier-silver   { color: #aaa; }
.tier-gold     { color: var(--border-gold); }
.tier-ruby     { color: #e84040; }
.tier-sapphire { color: var(--accent); }
.tier-diamond  { color: #22c5c5; }
.vip-check { color: #22c55e; font-size: 16px; }
.vip-cross { color: #888; font-size: 16px; }

[data-component="steps"] { list-style: none; padding: 0; margin: 0; }
.steps-track {
  display: flex; align-items: flex-start; gap: 0; flex-wrap: nowrap; overflow-x: auto;
  padding-bottom: 4px;
}
.step-item {
  flex: 1 0 0; min-width: 160px; text-align: center; position: relative;
}
.step-item:not(:last-child)::after {
  content: '';
  position: absolute; top: 28px; right: -1px; left: auto;
  width: 0; height: 0;
  border-top: 18px solid transparent; border-bottom: 18px solid transparent;
  border-left: 22px solid var(--border-gold);
  z-index: 2;
}
.step-num {
  width: 56px; height: 56px; background: var(--action); color: #fff;
  border: 3px solid #2a2a2a; border-radius: 0; font-family: var(--font-head);
  font-size: 1.5rem; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px; box-shadow: 4px 4px 0 rgba(0,0,0,0.35);
}
.step-card {
  background: var(--surface); border: 3px solid #2a2a2a;
  padding: 16px 12px; box-shadow: 4px 4px 0 rgba(0,0,0,0.2);
  margin: 0 12px;
}
.step-card h4 { font-family: var(--font-head); font-size: 0.95rem; margin-bottom: 6px; }
.step-card p { font-size: 13px; color: var(--text-muted); margin: 0; max-width: none; }
@media(max-width:767px){
  .steps-track { flex-direction: column; gap: 0; }
  .step-item:not(:last-child)::after { display: none; }
  .step-item { display: flex; align-items: flex-start; gap: 12px; min-width: 0; text-align: left; margin-bottom: 12px; }
  .step-num { flex-shrink: 0; margin: 0; }
  .step-card { margin: 0; flex: 1; }
}

[data-component="rules"] { border-collapse: collapse; width: 100%; border: 3px solid #2a2a2a; font-size: 14px; }
[data-component="rules"] th {
  background: #2a2a2a; color: #fff; padding: 12px 14px;
  border-right: 1px solid rgba(255,255,255,0.2); font-weight: 700; white-space: nowrap;
}
[data-component="rules"] th:last-child { border-right: none; }
[data-component="rules"] td {
  padding: 10px 14px; border-bottom: 1px solid var(--border-gold);
  border-right: 1px solid rgba(178,148,36,0.25);
}
[data-component="rules"] tr:last-child td { border-bottom: none; }
[data-component="rules"] tr:nth-child(even) td { background: var(--surface-alt); }
[data-component="rules"] td:last-child { border-right: none; }

[data-component="faq"] {}
.faq-inner { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; }
.faq-nav { background: var(--surface); border: 3px solid #2a2a2a; padding: 16px; box-shadow: 4px 4px 0 rgba(0,0,0,0.2); }
.faq-nav h3 { font-size: 0.95rem; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--border-gold); }
.faq-nav ul { list-style: none; padding: 0; margin: 0; }
.faq-nav li { border-bottom: 1px solid var(--surface-alt); }
.faq-nav a { display: block; padding: 8px 4px; font-size: 13px; font-weight: 600; color: var(--text); text-decoration: none; }
.faq-nav a:hover { color: var(--action); }
.faq-list details {
  border: 3px solid #2a2a2a; margin-bottom: 10px;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.2); background: var(--surface);
}
.faq-list summary {
  padding: 14px 16px; font-weight: 700; font-size: 0.95rem; cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
  border-bottom: 0; transition: background .1s;
}
.faq-list summary:hover { background: var(--surface-alt); }
.faq-list details[open] summary { border-bottom: 2px solid var(--border-gold); background: var(--surface-alt); }
.faq-list summary::after { content: '+'; font-size: 1.2rem; font-weight: 700; flex-shrink: 0; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details > div { padding: 14px 16px; font-size: 14px; color: var(--text-muted); line-height: 1.6; }
@media(max-width:767px){
  .faq-inner { grid-template-columns: 1fr; }
  .faq-nav { display: none; }
}

.site-footer {
  background: var(--primary-dark);
  background-image: repeating-linear-gradient(90deg, transparent, transparent 18px, rgba(255,255,255,0.02) 18px, rgba(255,255,255,0.02) 19px);
  color: #fff; padding: 48px 40px 24px;
  border-top: 3px solid var(--border-gold);
}
.footer-cols { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; margin-bottom: 32px; }
.footer-col h4 { font-family: var(--font-body); font-size: 14px; font-weight: 700; color: var(--border-gold); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 6px; }
.footer-col a { font-size: 13px; color: rgba(255,255,255,0.72); text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-brand { font-family: var(--font-head); font-size: 1.5rem; color: #fff; }
.footer-badges { display: flex; gap: 10px; align-items: center; }
.badge-18 {
  width: 42px; height: 42px; background: var(--action); color: #fff;
  border: 3px solid #fff; border-radius: 50%; font-family: var(--font-head);
  font-size: 0.85rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.footer-responsible { font-size: 12px; color: rgba(255,255,255,0.55); }
.footer-copyright { font-size: 12px; color: rgba(255,255,255,0.4); text-align: center; margin-top: 16px; width: 100%; }
@media(max-width:991px){ .footer-cols { grid-template-columns: repeat(2,1fr); } .site-footer { padding: 40px 20px 20px; } }
@media(max-width:575px){ .footer-cols { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; text-align: center; } }

.bg-surface { background: var(--surface); }
.bg-alt { background: var(--surface-alt); }
.bg-dark-panel { background: var(--primary-dark); }

@media(prefers-reduced-motion:no-preference){
  .hero-panel { animation: heroReveal .5s ease-out both; }
  @keyframes heroReveal { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:translateY(0); } }
}
@media(prefers-reduced-motion:reduce){
  .hero-panel { animation: none; }
}

overflow-wrap { overflow-wrap: anywhere; }
.overflow-protect { overflow-wrap: anywhere; word-break: break-word; }

[data-component="toc"] { background: var(--surface); border: 3px solid #2a2a2a; padding: 16px 20px; box-shadow: 4px 4px 0 rgba(0,0,0,0.2); margin-bottom: 24px; }
[data-component="toc"] summary { font-family: var(--font-head); font-size: 1rem; cursor: pointer; padding: 4px 0; }
[data-component="toc"] ol { padding-left: 20px; margin: 12px 0 0; }
[data-component="toc"] li { font-size: 14px; margin-bottom: 6px; }
[data-component="toc"] a { color: var(--accent); text-decoration: none; font-weight: 600; }
[data-component="toc"] a:hover { color: var(--action); }
