: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}

:root {
  --bg:          #091718;
  --surface:     #182526;
  --surface-alt: #132021;
  --primary:     #d1125d;
  --primary-dark:#a80e4a;
  --brand:       #2b8458;
  --brand-dark:  #1e5c3e;
  --accent:      #efb433;
  --border:      #caa45d;
  --text:        #e8f0ef;
  --muted:       #8aabaa;
  --r-card:      24px;
  --r-btn:       999px;
  --r-input:     16px;
  --shadow-card: 0 12px 32px rgba(0,0,0,.30);
  --shadow-hover: 0 20px 48px rgba(0,0,0,.42);
  --shadow-btn:  0 8px 24px rgba(209,18,93,.35);
  --shadow-brand: 0 8px 24px rgba(43,132,88,.30);
  --nav-h:       68px;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--brand) var(--surface);
  scrollbar-width: thin;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

::selection { background: rgba(43,132,88,.35); color: var(--text); }
a { color: var(--accent); text-decoration-color: transparent; text-underline-offset: 3px; transition: color .2s ease; overflow-wrap: anywhere; }
a:hover { color: var(--border); text-decoration-color: var(--border); }
a:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
  color: var(--text);
}
h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 700; letter-spacing: -0.5px; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; letter-spacing: -0.3px; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.125rem; font-weight: 600; }
p  { max-width: 72ch; }

.btn-primary-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: #fff;
  border: none; border-radius: var(--r-btn);
  padding: 14px 36px; font-family: 'Source Sans 3', sans-serif;
  font-size: 16px; font-weight: 700; cursor: pointer;
  box-shadow: var(--shadow-btn); transition: all .2s ease;
  text-decoration: none; white-space: nowrap;
}
.btn-primary-cta:hover { background: var(--primary-dark); box-shadow: 0 12px 32px rgba(209,18,93,.50); transform: translateY(-2px); color: #fff; }
.btn-primary-cta:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

.btn-secondary-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text);
  border: 1.5px solid var(--border); border-radius: var(--r-btn);
  padding: 13px 32px; font-family: 'Source Sans 3', sans-serif;
  font-size: 16px; font-weight: 600; cursor: pointer;
  transition: all .2s ease; text-decoration: none; white-space: nowrap;
}
.btn-secondary-cta:hover { background: var(--border); color: var(--bg); }
.btn-secondary-cta:focus-visible { outline: 2px solid var(--border); outline-offset: 3px; }

.btn-brand {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand); color: #fff;
  border: none; border-radius: var(--r-btn);
  padding: 8px 20px; font-family: 'Source Sans 3', sans-serif;
  font-size: 14px; font-weight: 600; cursor: pointer;
  box-shadow: var(--shadow-brand); transition: all .2s ease;
  text-decoration: none;
}
.btn-brand:hover { background: var(--brand-dark); color: #fff; }

.site-nav {
  background: var(--bg);
  box-shadow: 0 4px 16px rgba(0,0,0,.40);
  height: var(--nav-h);
  position: sticky; top: 0; z-index: 1000;
}
.site-nav .navbar-brand img {
  height: 40px; width: auto;
}
.site-nav .nav-link {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 15px; font-weight: 600;
  color: var(--text) !important;
  padding: 8px 12px !important;
  transition: color .2s ease;
  border-bottom: 3px solid transparent;
}
.site-nav .nav-link:hover { color: var(--brand) !important; }
.site-nav .nav-link.active {
  color: var(--brand) !important;
  border-bottom: 3px solid var(--brand);
}
.site-nav .navbar-toggler {
  border: 1.5px solid var(--border); border-radius: 12px;
  padding: 6px 10px;
}
.site-nav .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23e8f0ef' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
.site-nav .navbar-collapse { background: var(--surface-alt); border-radius: 0 0 var(--r-card) var(--r-card); }
@media (min-width: 1200px) {
  .site-nav .navbar-collapse { background: transparent; border-radius: 0; }
}
.nav-btn-login {
  border: 1.5px solid var(--border); color: var(--text); background: transparent;
  border-radius: var(--r-btn); padding: 8px 24px;
  font-family: 'Source Sans 3', sans-serif; font-size: 14px; font-weight: 600;
  text-decoration: none; transition: all .2s ease; white-space: nowrap;
}
.nav-btn-login:hover { background: var(--border); color: var(--bg); }
.nav-btn-register {
  background: var(--primary); color: #fff;
  border-radius: var(--r-btn); padding: 8px 28px;
  font-family: 'Source Sans 3', sans-serif; font-size: 14px; font-weight: 600;
  box-shadow: var(--shadow-btn); text-decoration: none; transition: all .2s ease; white-space: nowrap;
}
.nav-btn-register:hover { background: var(--primary-dark); color: #fff; }

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

.section-pad {
  padding-top: clamp(28px,3.5vw,44px);
  padding-bottom: clamp(28px,3.5vw,44px);
}

.section-title { margin-bottom: 32px; }
.section-title h2 { margin-bottom: 8px; }
.section-title p  { color: var(--muted); font-size: 16px; }

.feature-card {
  background: var(--surface);
  border-radius: var(--r-card);
  padding: 28px 24px;
  border: 1px solid rgba(202,164,93,.15);
  box-shadow: var(--shadow-card);
  transition: all .25s ease;
  height: 100%;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(202,164,93,.45);
}
.feature-card .fc-icon {
  width: 48px; height: 48px;
  background: rgba(43,132,88,.15);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand); font-size: 22px;
  margin-bottom: 16px;
}
.feature-card h4 { margin-bottom: 8px; font-size: 1.1rem; }
.feature-card p  { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 0; max-width: 100%; }

[data-component="game-grid"] {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@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; } }

.game-card {
  background: var(--surface);
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid rgba(202,164,93,.15);
  box-shadow: var(--shadow-card);
  display: block; text-decoration: none;
  transition: all .25s ease;
  position: relative;
}
.game-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(202,164,93,.45);
}
.game-card img {
  width: 100%; height: 180px; object-fit: cover; display: block;
}
.game-card-body {
  padding: 12px 14px 14px;
  position: relative;
}
.game-card h3 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 15px; font-weight: 600; color: var(--text);
  margin-bottom: 4px; line-height: 1.3;
}
.game-card p {
  color: var(--muted); font-size: 13px; margin: 0; max-width: 100%;
}
.game-tag {
  display: inline-block;
  background: rgba(239,180,51,.12);
  color: var(--accent);
  border-radius: var(--r-btn);
  padding: 2px 8px; font-size: 12px; font-weight: 600;
  letter-spacing: .6px; text-transform: uppercase;
  margin-bottom: 6px;
}
.game-overlay-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, rgba(9,23,24,.92) 0%, transparent 100%);
  padding: 48px 14px 12px;
}
.game-card .game-overlay-info h3 { font-size: 14px; color: var(--text); margin-bottom: 2px; }
.game-card .game-overlay-info p  { font-size: 12px; color: var(--muted); margin: 0; }
.game-card .game-overlay-info .game-tag { margin-bottom: 4px; }
.game-card-img-wrap { position: relative; }

.site-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: var(--surface); border-radius: var(--r-card);
  overflow: hidden; border: 1px solid rgba(202,164,93,.15);
  box-shadow: var(--shadow-card);
}
.site-table thead th {
  background: var(--surface-alt); color: var(--muted);
  font-family: 'Source Sans 3', sans-serif; font-size: 12px; font-weight: 600;
  letter-spacing: .6px; text-transform: uppercase;
  padding: 14px 18px; border-bottom: 1px solid rgba(202,164,93,.15);
}
.site-table tbody td {
  padding: 13px 18px; color: var(--text);
  font-family: 'Source Sans 3', sans-serif; font-size: 15px;
  border-bottom: 1px solid rgba(202,164,93,.08);
}
.site-table tbody tr:last-child td { border-bottom: none; }
.site-table tbody tr:nth-child(even) td { background: rgba(19,32,33,.5); }
.table-wrap { overflow-x: auto; border-radius: var(--r-card); }

[data-component="faq"] details {
  border-bottom: 1px solid rgba(202,164,93,.18);
  padding: 4px 0;
}
[data-component="faq"] details:last-child { border-bottom: none; }
[data-component="faq"] summary {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 16px; font-weight: 600; color: var(--text);
  padding: 16px 0; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; min-height: 44px;
}
[data-component="faq"] summary::-webkit-details-marker { display: none; }
[data-component="faq"] summary::after {
  content: '\F282'; font-family: 'bootstrap-icons';
  font-size: 18px; color: var(--muted); flex-shrink: 0;
  transition: transform .2s ease;
}
[data-component="faq"] details[open] summary::after {
  transform: rotate(180deg); color: var(--accent);
}
[data-component="faq"] details[open] summary { color: var(--accent); }
[data-component="faq"] .faq-answer {
  color: var(--muted); font-size: 15px; line-height: 1.65;
  padding: 0 0 16px; max-width: 72ch;
}
[data-component="faq"] .faq-answer a { color: var(--accent); }

[data-component="steps"] { list-style: none; padding: 0; margin: 0; }
[data-component="steps"] li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid rgba(202,164,93,.1);
}
[data-component="steps"] li:last-child { border-bottom: none; }
.step-num {
  width: 64px; height: 64px; min-width: 64px;
  background: var(--brand); border-radius: var(--r-btn);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 28px; font-weight: 700; color: #fff;
  box-shadow: var(--shadow-brand);
}
.step-body h4 { margin-bottom: 6px; font-size: 1.05rem; }
.step-body p  { color: var(--muted); font-size: 15px; margin: 0; max-width: 100%; }

[data-component="trust"] {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 10px 16px;
  flex-wrap: wrap;
}
@media (max-width: 575px) {
  [data-component="trust"] { grid-template-columns: repeat(2, 1fr); }
}
[data-component="trust"] li {
  display: flex; align-items: center; gap: 7px;
  background: var(--surface);
  border: 1px solid rgba(202,164,93,.18);
  border-radius: var(--r-btn);
  padding: 7px 14px;
  font-size: 13px; font-weight: 600; color: var(--text);
  min-height: 36px;
}
[data-component="trust"] li i { color: var(--brand); font-size: 15px; }

[data-component="stats"] {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}
@media (max-width: 575px) { [data-component="stats"] { grid-template-columns: repeat(3,1fr); gap: 8px; } }
[data-component="stats"] > div {
  background: var(--surface);
  border-radius: 20px;
  padding: 16px 18px;
  border: 1px solid rgba(202,164,93,.18);
  box-shadow: var(--shadow-card);
}
[data-component="stats"] dt {
  font-size: 13px; color: var(--muted); font-weight: 400; margin-bottom: 4px;
}
[data-component="stats"] dd {
  font-size: 22px; font-weight: 700; color: var(--text);
  font-family: 'Source Sans 3', sans-serif; margin: 0;
}
[data-component="stats"] dd span { color: var(--accent); }

[data-component="payments"] {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 767px) { [data-component="payments"] { grid-template-columns: repeat(2,1fr); } }
[data-component="payments"] li {
  background: var(--surface);
  border: 1px solid rgba(202,164,93,.18);
  border-radius: var(--r-card);
  padding: 20px 16px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  box-shadow: var(--shadow-card);
  text-align: center;
}
[data-component="payments"] .pm-name {
  font-size: 16px; font-weight: 600; color: var(--text);
}
[data-component="payments"] .pm-icon {
  width: 44px; height: 44px;
  background: rgba(43,132,88,.15); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand); font-size: 22px;
}
[data-component="payments"] .pm-detail {
  font-size: 13px; color: var(--muted); line-height: 1.5;
}

.vip-highlight {
  background: rgba(43,132,88,.15) !important;
  border-left: 3px solid var(--brand) !important;
}
.vip-top {
  background: rgba(239,180,51,.08) !important;
  border-left: 3px solid var(--accent) !important;
}

[data-component="bonus"] {
  background: var(--surface-alt);
  border-radius: var(--r-card);
  border: 1px solid rgba(202,164,93,.20);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.bonus-left {
  background: var(--brand-dark);
  padding: 32px 28px;
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 12px;
}
.bonus-pct {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 800; color: var(--text);
  text-shadow: 0 0 24px rgba(43,132,88,.6);
  line-height: 1;
}
.bonus-label {
  font-size: 13px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; color: var(--accent);
}
.bonus-right { padding: 28px; }
.calc-box {
  background: var(--surface);
  border-radius: 18px;
  border: 1px solid rgba(202,164,93,.15);
  padding: 18px 20px; margin-top: 20px;
}
.calc-box h5 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 13px; font-weight: 600; letter-spacing: .6px;
  text-transform: uppercase; color: var(--muted); margin-bottom: 10px;
}
.calc-row {
  display: flex; justify-content: space-between;
  font-size: 14px; color: var(--muted); padding: 4px 0;
  border-bottom: 1px solid rgba(202,164,93,.08);
}
.calc-row:last-child { border-bottom: none; }
.calc-row strong { color: var(--text); }

.comp-badge-yes { color: var(--brand); font-size: 18px; }
.comp-badge-no  { color: #d14040; font-size: 18px; }

.rg-card {
  background: var(--surface);
  border-radius: var(--r-card);
  border: 1px solid rgba(202,164,93,.18);
  box-shadow: var(--shadow-card);
  padding: 24px 20px;
  display: flex; flex-direction: column; gap: 10px;
  height: 100%;
}
.rg-card .rg-icon {
  width: 44px; height: 44px; min-height: 44px;
  background: rgba(239,180,51,.12); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 20px; margin-bottom: 4px;
}
.rg-card h4 { font-size: 1rem; margin-bottom: 4px; }
.rg-card p  { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0; max-width: 100%; }

.tip-card {
  background: var(--surface-alt);
  border-radius: var(--r-card);
  border: 1px solid rgba(202,164,93,.12);
  padding: 22px 20px; height: 100%;
}
.tip-card .tc-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 700; color: rgba(43,132,88,.4);
  line-height: 1; margin-bottom: 8px;
}
.tip-card h4 { font-size: 1rem; margin-bottom: 6px; }
.tip-card p  { color: var(--muted); font-size: 14px; margin: 0; max-width: 100%; }

.privacy-notice {
  background: var(--surface);
  border-radius: var(--r-card);
  border: 1.5px solid rgba(202,164,93,.22);
  box-shadow: var(--shadow-card);
  padding: 24px 28px;
  display: flex; gap: 20px; align-items: flex-start;
}
.privacy-notice .pn-icon {
  min-width: 44px; height: 44px;
  background: rgba(43,132,88,.12); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand); font-size: 22px;
}
.privacy-notice h4 { font-size: 1rem; margin-bottom: 6px; }
.privacy-notice p  { color: var(--muted); font-size: 14px; margin: 0; max-width: 72ch; }
.privacy-notice a  { color: var(--accent); }

.cat-card {
  background: var(--surface);
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid rgba(202,164,93,.15);
  box-shadow: var(--shadow-card);
  transition: all .25s ease;
  height: 100%;
  display: flex; flex-direction: column;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: rgba(202,164,93,.45); }
.cat-card-img { position: relative; overflow: hidden; height: 160px; }
.cat-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.cat-card:hover .cat-card-img img { transform: scale(1.05); }
.cat-card-body { padding: 18px 18px 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.cat-card-body h4 { font-size: 1.05rem; margin: 0; }
.cat-card-body p  { color: var(--muted); font-size: 14px; margin: 0; line-height: 1.6; flex: 1; max-width: 100%; }
.cat-card-body .cat-games { font-size: 13px; color: var(--accent); font-weight: 600; }

.site-footer {
  background: var(--surface-alt);
  border-top: 1px solid rgba(202,164,93,.20);
}
.footer-main { padding: 56px 0 40px; }
.footer-brand p { color: var(--muted); font-size: 14px; line-height: 1.65; margin: 12px 0 16px; max-width: 28ch; }
.footer-col h5 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 12px; font-weight: 600; letter-spacing: .6px;
  text-transform: uppercase; color: var(--border);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  font-size: 14px; color: var(--muted); text-decoration: none;
  transition: color .2s ease;
}
.footer-col ul li a:hover { color: var(--brand); }
.footer-bottom {
  border-top: 1px solid rgba(202,164,93,.10);
  padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 13px; color: var(--muted); }
.badge-18 {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--r-btn); font-size: 13px; font-weight: 700;
  color: var(--text); flex-shrink: 0;
}
.footer-compliance {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--muted);
}
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 36px; height: 36px; min-width: 36px;
  background: rgba(202,164,93,.12); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 16px; text-decoration: none;
  transition: all .2s ease;
}
.social-links a:hover { background: var(--brand); color: #fff; }

.map-wrap {
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid rgba(202,164,93,.18);
  box-shadow: var(--shadow-card);
  height: 320px;
}
.map-wrap iframe { width: 100%; height: 100%; border: none; display: block; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

.text-accent { color: var(--accent); }
.text-muted-site { color: var(--muted); }
.text-brand  { color: var(--brand); }
.fw-700 { font-weight: 700; }
.view-all-link {
  color: var(--accent); font-size: 15px; font-weight: 600;
  text-decoration: none; display: inline-flex; align-items: center; gap: 5px;
}
.view-all-link:hover { color: var(--border); }

.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .6px;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 10px;
}
.section-label i { color: var(--brand); font-size: 16px; }

:root{--site-repair:start}
:root { --r-pill: 999px; }

.site-footer {
  background: var(--surface-alt);
  border-top: 1px solid rgba(202,164,93,0.20);
}
.footer-main { padding: 56px 0 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
}
@media (max-width: 991px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand img { height: 36px; width: auto; margin-bottom: 16px; display: block; }
.footer-brand p { color: var(--muted); font-size: 14px; line-height: 1.65; max-width: 28ch; }
.footer-col h5 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 13px; font-weight: 600; letter-spacing: 0.6px;
  text-transform: uppercase; color: var(--border);
  margin-bottom: 14px;
}
.footer-col ul li a { color: var(--muted); font-size: 14px; text-decoration: none; transition: color 0.2s; }
.footer-bottom {
  border-top: 1px solid rgba(202,164,93,0.10);
  padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; min-width: 44px; min-height: 44px;
  background: var(--surface);
  border: 1px solid rgba(202,164,93,0.20);
  border-radius: var(--r-pill);
  color: var(--muted); font-size: 16px;
  text-decoration: none; transition: all 0.2s;
}
.footer-social a:hover { background: var(--brand); color: #fff; }

@media (max-width: 575.98px) { footer :is(div, ul, section, nav) { min-width: 0; } footer :is(a, h3, h4, h5, h6, p, li) { overflow-wrap: anywhere; } }

main > section:has(> [class*="container"]:only-child) { grid-template-columns: 1fr !important; }

.sr-email { overflow-wrap: anywhere; word-break: break-word; }

.navbar-nav .nav-link[href="/"] { white-space: nowrap !important; }

@media (min-width: 992px) { .navbar-expand-lg .navbar-toggler { display: none !important; } }
@media (min-width: 1200px) { .navbar-expand-xl .navbar-toggler { display: none !important; } }
@media (min-width: 1400px) { .navbar-expand-xxl .navbar-toggler { display: none !important; } }
:root{--site-repair:end}

:root{--w1-guard:start}
/* 组件版块是多栏网格、里面只有一个子元素（整块内容被挤进第一栏，如 FAQ 答案区宽度 0）→ 一栏 */
main :is(section, div)[data-component]:not(:has(> :nth-child(2))) { grid-template-columns: minmax(0, 1fr) !important; }
main :is([class*="wrapper"], [class*="layout"]):not(:has(> :nth-child(2))) { grid-template-columns: minmax(0, 1fr) !important; }
/* 手机菜单展开时：折叠菜单在不换行的 flex 容器里 → 挤成旁边一窄列、logo 被挤下去 → 父容器换行，菜单占满一行 */
header .navbar :has(> .navbar-collapse:is(.show, .collapsing)) { flex-wrap: wrap !important; }
header .navbar .navbar-collapse:is(.show, .collapsing) { flex-basis: 100% !important; }
/* 展开的菜单超出页头时被首屏里定位过的元素（标题、图片层）盖住 → 菜单自己定位、抬到最上层 */
.navbar .navbar-collapse:is(.show, .collapsing) { position: relative; z-index: 1030; order: 99; }
/* 页头高度写死、内容垂直居中：展开的菜单从上下两头溢出（上半截跑出屏幕）→ 展开时页头高度随内容 */
header:has(.navbar-collapse:is(.show, .collapsing)), header :has(> .navbar-collapse:is(.show, .collapsing)) { height: auto !important; max-height: none !important; align-items: flex-start; }
:root{--w1-guard:end}

:root{--w1-header:start}
/* 页头：从首页样式复制（内页原来没有这些规则） */
.site-nav {
  background: var(--bg);
  box-shadow: 0 4px 16px rgba(0,0,0,0.40);
  min-height: 68px;
}
.site-nav .nav-link {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text) !important;
  padding: 8px 12px;
  transition: color 0.2s;
}
.site-nav .nav-link:hover,
.site-nav .nav-link.active { color: var(--brand) !important; }
.site-nav .nav-link.active { border-bottom: 3px solid var(--brand); }
.navbar-toggler { border-color: rgba(202,164,93,0.4); }
.navbar-toggler-icon { filter: invert(1); }
.navbar-collapse { background: transparent; }
@media (max-width: 1199px) {
  .navbar-collapse { background: var(--surface-alt); padding: 12px 16px; border-radius: 0 0 var(--r-card) var(--r-card); }
}
.nav-btn-login {
  border: 1.5px solid var(--border);
  color: var(--text);
  background: transparent;
  border-radius: var(--r-pill);
  padding: 8px 24px;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-btn-register {
  background: var(--primary);
  color: #fff;
  border-radius: var(--r-pill);
  padding: 8px 28px;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(209,18,93,0.35);
  transition: all 0.2s;
  white-space: nowrap;
  border: none;
}
.nav-btn-register:hover { background: #a80e4a; box-shadow: 0 12px 32px rgba(209,18,93,0.50); color: #fff; }
:root{--w1-header:end}
