:root{--qa-guard:start}
/* grid 类容器的子项允许收缩到 0（防止长内容撑破列宽）；flex 条目保持浏览器默认，否则会被压扁、图标文字重叠 */
: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; }
/* 导航栏：logo 和按钮不被压缩、菜单文字不折行（桌面挤不下时浏览器 QA 会把折叠断点调大）；
   导航里的空装饰条（彩旗/色带）和菜单容器上下排列，不和 logo 抢同一行 */
.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) {  /* 320 宽的手机上按钮仍允许收缩折行，否则长孟加拉文按钮会撑出屏幕 */
  .navbar :is(a, button)[class*="btn"] { flex-shrink: 0; }
  .navbar :is(.nav-link, a[class*="btn"], button[class*="btn"]) { white-space: nowrap; }
}
/* 手机菜单展开时，导航容器高度随菜单增长（AI 常给导航容器写死 height，展开的菜单会透明地叠在首屏文字上） */
: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; }
}
/* 卡片 height:100% 只适合一格一张卡；同一列里叠放多张时按内容高度（否则每张都撑成整列高，侧栏伸出页脚、压住下面的内容） */
main [class*="col"] > [class*="card"]:not(:only-child) { height: auto !important; }
/* 版块节奏：相邻版块间距统一（桌面约 88px，手机约 56px）；首屏按内容自适应高度，不用整屏高度撑出空白 */
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: minmax(0, 1fr) !important; }
  /* 长标题/长词在手机上允许换行（外层 overflow-x:hidden 时超出的部分直接被裁掉，也不会出现横向滚动条） */
  main :is(h1, h2, h3, h4, th, td, dt, dd, summary) { overflow-wrap: break-word; }
  /* 游戏卡片在手机上两列（一列时每张卡接近一屏高） */
  :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; }
  /* 按钮行：小屏上允许换行和收缩（AI 常写 flex-shrink:0 + white-space:nowrap，320px 宽时横向溢出）；横向滑动条除外 */
  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; }  /* :has() 不能嵌套，按钮组的外层横排单独一条 */
  /* 横排的列表/步骤卡（如 4 个步骤一行加箭头）：小屏换行；flex-wrap 对非 flex 元素无效，不影响其他布局 */
  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; }
  /* 宽表格（AI 常写 min-width）没有包横向滚动容器时，表格自己横向滑动，不撑出页面 */
  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; }
/* 只有一个容器子元素的版块不该是两栏网格（hero 挤在左半边） */
main > section:has(> [class*="container"]:only-child) { grid-template-columns: 1fr !important; }
/* 步骤列表同时带 Bootstrap .row（子项 col-* 是百分比宽）又被写成网格：每格再缩成 25%，文字一字一行 → 按 Bootstrap 行排 */
:is(ol, ul, div).row[data-component="steps"]:has(> [class*="col"]) { display: flex !important; flex-wrap: wrap !important; }
/* 列表里只有一个 div（网格写在 div 上）却又被设成多栏网格：整块挤进第一栏 */
main :is(ol, ul):has(> div:only-child) { grid-template-columns: minmax(0, 1fr) !important; }
/* 页脚上写死的多列网格：平板 2 列、手机 1 列 */
@media (max-width: 991.98px) { footer [style*="grid-template-columns"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 575.98px) { footer [style*="grid-template-columns"] { grid-template-columns: 1fr !important; } }
.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; }
/* 内容宽度：宽屏下正文最多 1320px 居中（AI 常用 container-fluid 或把 .container 改成 max-width:100%，导致整屏平铺）；首屏保留通栏 */
: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; }  /* 没套容器的条带：背景通栏、内容居中 */
/* 首屏里没套容器的子元素：零优先级、不加 !important，作者自己写了内边距就以作者为准。
   （首屏文字层常用类名设 position:absolute + max-width，强制加 (100%-1320px)/2 的内边距会把它挤成 0 宽，大屏上整块文字消失） */
: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; }
/* 两侧留白（11-13 c88q）：1320 上限比 Bootstrap 自己的 1140（1200–1399）宽，1200–1343 之间容器铺满屏、正文离边只有 12px。
   平板以上容器两边至少再留 20px（宽屏 ≥1344 不变）；没套容器的条带同样留 32px，和容器里的正文对齐。嵌套的容器不再缩 */
@media (min-width: 768px) {
  :is(header, footer, main) :is(.container, .container-fluid, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl):not(:is(.container, .container-fluid, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl) *):not(:has(> img[data-role="hero"])) {
    max-width: min(1320px, calc(100% - 40px)) !important; }
  main > :not(:has([class*="container"])) { padding-inline: max(32px, calc((100% - 1320px) / 2 + 12px)) !important; }
  :where(main > :first-child > :not([class*="container"], :has([class*="container"]), img, picture, video, [style*="absolute"])) {
    padding-inline: max(32px, calc((100% - 1320px) / 2 + 12px)); }
}
:where(main [style*="overflow-x"][style*="flex"]:not([style*="wrap"])) > * { min-width: auto; }
/* 首屏以下的版块和页脚延后排版：手机上首屏先出（PageSpeed LCP），滚动到附近才排版；浏览器 QA 检查前会关掉 */
: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; } }  /* 占位高度≈实测版块中位数 */
/* 菜单打开时去掉页头的毛玻璃/滤镜/变换：它们让 position:fixed 的手机菜单面板以页头为参照，只剩页头那么高（点开只看到一项） */
header:has([aria-expanded="true"], .is-open, .menu-open, .nav-open, .offcanvas.show, .navbar-collapse.show) {
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important; filter: none !important; transform: none !important; }
/* 汉堡按钮被页面样式一直隐藏（只写了 display:none，小屏没改回来 → 手机上没有菜单）：折叠断点以下恢复显示；页头里另有菜单按钮时不动 */
@media (max-width: 991.98px) { header:not(:has(:is(button, a, [role="button"]):not(.navbar-toggler):is([aria-controls], [class*="burger"], [class*="toggle"]))) .navbar-expand-lg:has(.navbar-collapse.collapse) .navbar-toggler { display: inline-flex !important; } }
@media (max-width: 1199.98px) { header:not(:has(:is(button, a, [role="button"]):not(.navbar-toggler):is([aria-controls], [class*="burger"], [class*="toggle"]))) .navbar-expand-xl:has(.navbar-collapse.collapse) .navbar-toggler { display: inline-flex !important; } }
@media (max-width: 1399.98px) { header:not(:has(:is(button, a, [role="button"]):not(.navbar-toggler):is([aria-controls], [class*="burger"], [class*="toggle"]))) .navbar-expand-xxl:has(.navbar-collapse.collapse) .navbar-toggler { display: inline-flex !important; } }
/* 导航没写 navbar-expand-*：Bootstrap 默认把 .navbar-nav 竖排，大屏才显示的菜单（d-none d-lg-flex）整列竖下来、页头撑高 → 横排 */
@media (min-width: 992px) { header .navbar:not([class*="navbar-expand"]) :is(.d-lg-flex, .d-lg-block) > .navbar-nav { flex-direction: row; } }
@media (min-width: 1200px) { header .navbar:not([class*="navbar-expand"]) :is(.d-xl-flex, .d-xl-block) > .navbar-nav { flex-direction: row; } }
/* 横向滑动的表格容器做定位参照：里面 position:absolute 的读屏隐藏文字（.visually-hidden 的 caption/span）
   不再以容器外的祖先为参照、跑到容器右边把整页撑宽（bd234.live 首页手机上多出 175px） */
:where(main :is(.table-scroll, .table-responsive, [class*="table-wrap"], [class*="table-scroll"], [class*="scroll-x"], [style*="overflow-x"], :has(> table))) { position: relative; }
:root{--qa-guard:end}

:root {
  --bg: #eef5fc;
  --surface: #fafcfe;
  --surface-alt: #e4ebf2;
  --brand: #1015a2;
  --brand-dark: #0b0f71;
  --primary: #d56a21;
  --primary-hover: #b85a18;
  --accent: #bd224e;
  --accent-hover: #9e1b3f;
  --gold: #b39346;
  --text: #0d1117;
  --text-muted: #4a5568;
  --border: #b39346;
  --nav-link: #c8d8f0;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Source Sans 3', sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  margin: 0;
  padding: 0;
  overflow-wrap: anywhere;
}

::selection {
  background: var(--brand);
  color: #fff;
}

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--surface-alt); }
::-webkit-scrollbar-thumb { background: var(--brand); border-radius: 0; }

a {
  color: var(--brand);
  text-decoration-offset: 3px;
  text-underline-offset: 3px;
}
a:hover { color: var(--primary); }

h1, h2 {
  font-family: var(--font-heading);
  line-height: 1.15;
  letter-spacing: -0.3px;
}

h3, h4, h5, h6 {
  font-family: var(--font-body);
  line-height: 1.35;
}

h1 { font-size: clamp(2rem, 4vw, 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; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.125rem; font-weight: 600; }

p { margin-bottom: 0.9rem; }
p:last-child { margin-bottom: 0; }

img { max-width: 100%; height: auto; display: block; }

.text-brand { color: var(--brand); }
.text-primary-cta { color: var(--primary); }
.text-gold { color: var(--gold); }
.text-muted-site { color: var(--text-muted); }

.label-micro {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.label-small {
  font-size: 14px;
  color: var(--text-muted);
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 2px;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
  line-height: 1.4;
}
.btn-cta:hover {
  background: var(--primary-hover);
  color: #fff;
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}
.btn-cta:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--brand);
  border: 1.5px solid var(--brand);
  border-radius: 2px;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
  line-height: 1.4;
}
.btn-secondary:hover {
  background: var(--brand);
  color: #fff;
}
.btn-secondary:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.btn-claim {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 2px;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-claim:hover { background: var(--accent-hover); color: #fff; }
.btn-claim:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.btn-sm {
  padding: 7px 18px;
  font-size: 14px;
}

.badge-site {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 0;
  line-height: 1.6;
}
.badge-gold {
  background: var(--gold);
  color: #0d1117;
}
.badge-accent {
  background: var(--accent);
  color: #fff;
}
.badge-surface {
  background: var(--surface-alt);
  color: var(--brand);
}

.site-nav {
  background: var(--brand);
  height: 60px;
  box-shadow: 0 1px 0 var(--gold);
  position: relative;
}
.site-nav::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 4px 4px;
  pointer-events: none;
}

.site-nav .navbar-brand img {
  height: 40px;
  width: auto;
}

.site-nav .nav-link {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: var(--nav-link) !important;
  padding: 4px 10px !important;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.site-nav .nav-link:hover {
  color: #fff !important;
  border-bottom-color: var(--gold);
}
.site-nav .nav-link.active {
  color: #fff !important;
  border-bottom-color: var(--primary);
}

.site-nav .nav-btn-login {
  border: 1.5px solid #fff;
  background: transparent;
  color: #fff;
  border-radius: 2px;
  padding: 6px 20px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.site-nav .nav-btn-login:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

.site-nav .nav-btn-register {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 2px;
  padding: 6px 20px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.site-nav .nav-btn-register:hover { background: var(--primary-hover); color: #fff; }

.site-nav .navbar-toggler {
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 2px;
  padding: 4px 8px;
}
.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='rgba%28255,255,255,0.9%29' stroke-linecap='square' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

main > section, main > div.section-block {
  padding-top: clamp(28px, 3.5vw, 44px);
  padding-bottom: clamp(28px, 3.5vw, 44px);
}

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

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.4rem;
  letter-spacing: -0.3px;
}
.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 0;
}

ul[data-component="trust"] {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
ul[data-component="trust"] li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  min-height: 44px;
}
ul[data-component="trust"] li i {
  color: var(--brand);
  font-size: 18px;
  flex-shrink: 0;
}
@media (max-width: 575px) {
  ul[data-component="trust"] {
    grid-template-columns: repeat(2, 1fr);
  }
}

dl[data-component="stats"] {
  display: flex;
  gap: 0;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  background: var(--surface);
}
dl[data-component="stats"] > div {
  flex: 1;
  padding: 16px 20px;
  border-right: 1px solid var(--border);
  text-align: center;
}
dl[data-component="stats"] > div:last-child { border-right: none; }
dl[data-component="stats"] dt {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
dl[data-component="stats"] dd {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--brand);
  margin: 0;
  line-height: 1.1;
}
@media (max-width: 575px) {
  dl[data-component="stats"] {
    flex-wrap: wrap;
  }
  dl[data-component="stats"] > div {
    flex: 0 0 50%;
    border-bottom: 1px solid var(--border);
  }
  dl[data-component="stats"] > div:nth-child(2) { border-right: none; }
  dl[data-component="stats"] > div:last-child { border-bottom: none; flex: 0 0 100%; }
}

div[data-component="game-grid"] {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 991px) {
  div[data-component="game-grid"] { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 575px) {
  div[data-component="game-grid"] {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
  }
  div[data-component="game-grid"]::-webkit-scrollbar { height: 4px; }
}

.game-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--gold);
  border-radius: 2px;
  text-decoration: none;
  color: var(--text);
  overflow: hidden;
  transition: all 0.15s ease;
  position: relative;
  flex-shrink: 0;
  width: 100%;
}
@media (max-width: 575px) {
  .game-card { width: 160px; scroll-snap-align: start; }
}
.game-card:hover {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand);
  color: var(--text);
}
.game-card:hover::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--primary);
  z-index: 2;
}

.game-card-img {
  position: relative;
  overflow: hidden;
  border-top: 2px solid var(--brand);
  aspect-ratio: 1/1;
}
.game-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.game-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 3px,
    rgba(0,0,0,0.07) 3px,
    rgba(0,0,0,0.07) 4px
  );
  pointer-events: none;
}

.game-card-body {
  padding: 10px 12px;
}
.game-card-body .game-tag {
  display: inline-block;
  background: var(--surface-alt);
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 0;
  margin-bottom: 4px;
}
.game-card-body h3 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 2px;
  color: var(--text);
  line-height: 1.3;
}
.game-card-body p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

ul[data-component="payments"] {
  list-style: none;
  margin: 0;
  padding: 0;
}

.payments-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.payments-table th {
  background: var(--brand);
  color: #fff;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.3px;
  text-align: left;
  border: none;
}
.payments-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--gold);
  vertical-align: middle;
  color: var(--text);
}
.payments-table tr:last-child td { border-bottom: none; }
.payments-table tr:nth-child(even) td { background: var(--surface-alt); }
.payments-table .method-name {
  font-weight: 600;
  color: var(--brand);
}

aside[data-component="bonus"] {
  background: var(--surface);
  border: 1px solid var(--gold);
  border-radius: 2px;
}

.bonus-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
@media (max-width: 767px) {
  .bonus-inner { grid-template-columns: 1fr; }
}

.bonus-left {
  padding: 28px 24px;
  border-right: 1px solid var(--gold);
}
@media (max-width: 767px) {
  .bonus-left { border-right: none; border-bottom: 1px solid var(--gold); }
}

.bonus-right {
  padding: 28px 24px;
}

.bonus-amount {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -1px;
}

.bonus-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.bonus-table th {
  background: var(--brand);
  color: #fff;
  padding: 8px 12px;
  text-align: left;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.3px;
}
.bonus-table td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--gold);
  color: var(--text);
}
.bonus-table tr:last-child td { border-bottom: none; }
.bonus-table tr:nth-child(even) td { background: var(--surface-alt); }

.wager-example {
  background: var(--surface-alt);
  border: 1px solid var(--gold);
  border-left: 3px solid var(--primary);
  border-radius: 2px;
  padding: 14px 16px;
  font-size: 14px;
  color: var(--text);
  margin-top: 16px;
}
.wager-example strong { color: var(--brand); }

ol[data-component="steps"] {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
ol[data-component="steps"] li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--surface-alt);
}
ol[data-component="steps"] li:last-child { border-bottom: none; }

.step-number {
  width: 52px;
  height: 52px;
  border: 2px solid var(--brand);
  border-radius: 2px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand);
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.step-content p {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0;
}

div[data-component="vip"] {
  overflow-x: auto;
}

.vip-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 600px;
}
.vip-table th {
  background: var(--brand);
  color: #fff;
  padding: 11px 14px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.3px;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.vip-table th:last-child { border-right: none; }
.vip-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--gold);
  border-right: 1px solid var(--surface-alt);
  vertical-align: middle;
  color: var(--text);
}
.vip-table td:last-child { border-right: none; }
.vip-table tr:last-child td { border-bottom: none; }
.vip-table tr:nth-child(even) td { background: var(--surface-alt); }
.vip-tier-name {
  font-weight: 700;
  color: var(--brand);
}

.vip-progress-bar {
  height: 8px;
  background: var(--surface-alt);
  border: 1px solid var(--gold);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 16px;
}
.vip-progress-fill {
  height: 100%;
  background: linear-gradient(to right, var(--brand), var(--gold));
}

section[data-component="faq"] {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: start;
}
@media (max-width: 767px) {
  section[data-component="faq"] { grid-template-columns: 1fr; }
}

.faq-groups {
  background: var(--surface);
  border: 1px solid var(--gold);
  border-radius: 2px;
  padding: 16px;
  position: sticky;
  top: 72px;
}
.faq-groups h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.faq-groups ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.faq-groups ul li a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  padding: 5px 0;
  text-decoration: none;
  border-bottom: 1px solid var(--surface-alt);
  transition: color 0.15s;
}
.faq-groups ul li:last-child a { border-bottom: none; }
.faq-groups ul li a:hover { color: var(--brand); }
@media (max-width: 767px) {
  .faq-groups { position: static; }
}

.faq-list details {
  border-bottom: 1px solid var(--gold);
}
.faq-list details:last-child { border-bottom: none; }
.faq-list summary {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  padding: 16px 36px 16px 0;
  cursor: pointer;
  list-style: none;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.15s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 400;
  color: var(--brand);
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  line-height: 1;
}
.faq-list details[open] summary::after { content: '−'; }
.faq-list summary:hover { color: var(--brand); }
.faq-list details > div {
  padding: 0 0 16px 0;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

.site-footer {
  background: var(--brand-dark);
  padding: 48px 0 24px;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr) auto;
  gap: 24px;
  align-items: start;
  margin-bottom: 32px;
}
@media (max-width: 1199px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-responsible { grid-column: span 3; max-width: 320px; }
}
@media (max-width: 767px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-brand { grid-column: span 2; }
  .footer-responsible { grid-column: span 2; max-width: 100%; }
}
@media (max-width: 575px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand, .footer-responsible { grid-column: span 1; }
}

.footer-brand .brand-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
}
.footer-brand p {
  font-size: 14px;
  color: #c8d8f0;
  line-height: 1.55;
  margin-bottom: 10px;
}

.footer-col-title {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  font-size: 14px;
  color: #c8d8f0;
  text-decoration: none;
  transition: color 0.15s;
  line-height: 1.4;
}
.footer-col ul li a:hover { color: #fff; }

.footer-responsible {
  border: 1px solid var(--gold);
  border-radius: 2px;
  background: rgba(179,147,70,0.08);
  padding: 16px;
  min-width: 160px;
}
.footer-responsible .age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--gold);
  border-radius: 2px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 10px;
}
.footer-responsible p {
  font-size: 13px;
  color: #fff;
  margin: 0;
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid var(--gold);
  padding-top: 20px;
  text-align: center;
  font-size: 12px;
  color: #8898aa;
}
.footer-bottom a { color: #8898aa; }
.footer-bottom a:hover { color: #fff; }

.breadcrumb-site {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 10px 0;
  font-size: 13px;
  color: var(--text-muted);
  gap: 4px;
  align-items: center;
}
.breadcrumb-site li + li::before {
  content: '/';
  color: var(--gold);
  margin-right: 4px;
}
.breadcrumb-site a { color: var(--text-muted); text-decoration: none; }
.breadcrumb-site a:hover { color: var(--brand); }
.breadcrumb-site .active { color: var(--text); font-weight: 600; }

.inner-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-top-line {
  border-top: 1px solid var(--gold);
}

.table-site {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.table-site th {
  background: var(--brand);
  color: #fff;
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.3px;
}
.table-site td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--gold);
  color: var(--text);
}
.table-site tr:last-child td { border-bottom: none; }
.table-site tr:nth-child(even) td { background: var(--surface-alt); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
:root{--site-repair:start}
.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{--qa-scroll:start}
:where(div[data-component="game-grid"]) > * { min-width: auto; }
:root{--qa-scroll:end}
