: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: #000912;
  --surface: #0f1820;
  --surface-alt: #0a131b;
  --primary: #dc281a;
  --primary-hover: #b01e14;
  --accent: #07c4e9;
  --accent-dark: #0589a3;
  --accent2: #fd39d2;
  --border: #c2af58;
  --text: #e8f0f5;
  --text-muted: #7a9aad;
  --font-heading: 'Tiro Bangla', serif;
  --font-body: 'Noto Sans Bengali', sans-serif;
}

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

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

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  text-underline-offset: 3px;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cpath d='M40 4 L76 40 L40 76 L4 40 Z' fill='none' stroke='white' stroke-width='0.6'/%3E%3Ccircle cx='40' cy='40' r='4' fill='none' stroke='white' stroke-width='0.5'/%3E%3Ccircle cx='40' cy='4' r='2' fill='white' opacity='0.4'/%3E%3Ccircle cx='76' cy='40' r='2' fill='white' opacity='0.4'/%3E%3Ccircle cx='40' cy='76' r='2' fill='white' opacity='0.4'/%3E%3Ccircle cx='4' cy='40' r='2' fill='white' opacity='0.4'/%3E%3Cpath d='M40 15 L65 40 L40 65 L15 40 Z' fill='none' stroke='white' stroke-width='0.3' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.045;
  pointer-events: none;
  z-index: 0;
}

main, header, footer { position: relative; z-index: 1; }

::selection {
  background: var(--accent);
  color: #000912;
}

a {
  color: var(--accent);
  text-decoration: none;
  text-underline-offset: 3px;
}
a:hover { color: var(--border); text-decoration: underline; }
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.35;
  margin-top: 0;
  overflow-wrap: anywhere;
}

h1 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 700; letter-spacing: 0.03em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.75rem); font-weight: 700; letter-spacing: 0.03em; }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 700; letter-spacing: 0.02em; }
h4 { font-size: 1.125rem; font-weight: 700; }

p { max-width: 72ch; margin-bottom: 1rem; overflow-wrap: anywhere; }

.btn-primary-site {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--primary);
  padding: 14px 32px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  border-radius: 0;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--accent2);
  transition: all 0.1s steps(2);
  text-decoration: none;
  text-transform: uppercase;
}
.btn-primary-site:hover {
  background: var(--primary-hover);
  color: #fff;
  box-shadow: 6px 6px 0 var(--accent2);
  transform: translate(-2px, -2px);
  text-decoration: none;
}
.btn-primary-site:focus-visible {
  outline: 2px solid var(--accent2);
  outline-offset: 2px;
}

.btn-secondary-site {
  display: inline-block;
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
  padding: 14px 32px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.1s steps(2);
  text-decoration: none;
  text-transform: uppercase;
}
.btn-secondary-site:hover {
  background: var(--border);
  color: #000912;
  box-shadow: 4px 4px 0 var(--accent);
  text-decoration: none;
}
.btn-secondary-site:focus-visible {
  outline: 2px solid var(--border);
  outline-offset: 2px;
}

.btn-accent-site {
  display: inline-block;
  background: var(--accent);
  color: #000912;
  border: 2px solid var(--accent);
  padding: 14px 32px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.1s steps(2);
  text-decoration: none;
  text-transform: uppercase;
}
.btn-accent-site:hover {
  background: var(--accent-dark);
  color: #000912;
  box-shadow: 4px 4px 0 var(--border);
  text-decoration: none;
}

.section-divider {
  width: 100%;
  height: 24px;
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='24'%3E%3Cpath d='M30 4 L44 12 L30 20 L16 12 Z' fill='none' stroke='white' stroke-width='0.7' opacity='0.6'/%3E%3Ccircle cx='30' cy='12' r='2.5' fill='none' stroke='white' stroke-width='0.5' opacity='0.5'/%3E%3Ccircle cx='8' cy='12' r='1.5' fill='white' opacity='0.3'/%3E%3Ccircle cx='52' cy='12' r='1.5' fill='white' opacity='0.3'/%3E%3C/svg%3E");
  border-top: 2px solid var(--border);
  border-bottom: 2px solid var(--border);
  opacity: 1;
}

.festival-flags {
  width: 100%;
  height: 20px;
  background: var(--surface-alt);
  overflow: hidden;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  gap: 0;
  position: relative;
}
.festival-flags svg {
  display: block;
  width: 100%;
  height: 20px;
}

.site-navbar {
  background: var(--surface-alt) !important;
  border-bottom: 2px solid var(--border);
  min-height: 64px;
  padding: 0 1rem;
}
.site-navbar .navbar-brand {
  color: var(--accent) !important;
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 700;
  padding: 0;
  line-height: 64px;
}
.site-navbar .navbar-brand img {
  height: 40px;
  width: auto;
  display: block;
}
.site-navbar .nav-link {
  color: var(--text) !important;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 0.6rem !important;
  position: relative;
  transition: color 0.1s;
}
.site-navbar .nav-link:hover {
  color: var(--accent) !important;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--accent);
}
.site-navbar .nav-link.active {
  color: var(--accent) !important;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--border);
}
.site-navbar .navbar-toggler {
  border: 2px solid var(--border);
  border-radius: 0;
  padding: 6px 10px;
}
.site-navbar .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='%23e8f0f5' stroke-linecap='square' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.nav-btn-login {
  background: transparent !important;
  border: 2px solid var(--border) !important;
  color: var(--text) !important;
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 0 !important;
  padding: 8px 16px !important;
  transition: all 0.1s steps(2) !important;
  text-decoration: none;
  display: inline-block;
  min-height: 44px;
  line-height: 28px;
}
.nav-btn-login:hover {
  background: var(--border) !important;
  color: #000912 !important;
  text-decoration: none;
}
.nav-btn-signup {
  background: var(--primary) !important;
  border: 2px solid var(--primary) !important;
  color: #fff !important;
  font-family: var(--font-body) !important;
  font-weight: 700 !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 0 !important;
  padding: 8px 16px !important;
  transition: all 0.1s steps(2) !important;
  text-decoration: none;
  display: inline-block;
  min-height: 44px;
  line-height: 28px;
}
.nav-btn-signup:hover {
  background: var(--primary-hover) !important;
  box-shadow: 4px 4px 0 var(--accent2) !important;
  color: #fff !important;
  text-decoration: none;
}

.site-footer {
  background: var(--bg);
  border-top: 2px solid var(--border);
  padding: clamp(28px, 3.5vw, 44px) 0 0;
}
.site-footer .footer-col-title {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--border);
  margin-bottom: 1rem;
  display: block;
}
.site-footer a {
  color: var(--text-muted);
  display: block;
  font-size: 0.875rem;
  line-height: 2;
  text-decoration: none;
}
.site-footer a:hover { color: var(--accent); }
.site-footer .footer-brand-name {
  color: var(--accent);
  font-size: 1.75rem;
  font-weight: 700;
  font-family: var(--font-body);
  letter-spacing: 0.05em;
}
.site-footer .footer-slogan {
  color: var(--text-muted);
  font-size: 0.8125rem;
  margin-top: 4px;
  margin-bottom: 0.75rem;
}
.footer-badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 2px solid var(--border);
  background: var(--surface);
  font-weight: 700;
  font-size: 1rem;
  color: var(--border);
  box-shadow: 4px 4px 0 var(--accent);
}
.footer-responsible {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-left: 10px;
}
.footer-copyright {
  border-top: 1px solid var(--surface-alt);
  padding: 16px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-top: 2rem;
}
.footer-email a {
  color: var(--accent);
  display: inline;
}

[data-component="trust"] {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
[data-component="trust"] li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px 12px;
  min-height: 44px;
  box-shadow: 2px 2px 0 var(--border);
}
[data-component="trust"] li i {
  color: var(--accent);
  font-size: 1rem;
}

[data-component="stats"] {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (max-width: 767px) {
  [data-component="stats"] { grid-template-columns: repeat(2, 1fr); }
}
[data-component="stats"] > div {
  background: var(--surface);
  border: 2px solid var(--border);
  box-shadow: 4px 4px 0 var(--border);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
[data-component="stats"] > div i {
  color: var(--accent);
  font-size: 1.5rem;
  flex-shrink: 0;
}
[data-component="stats"] dt {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin: 0;
  line-height: 1.3;
}
[data-component="stats"] dd {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  font-variant-numeric: tabular-nums;
}

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

.game-card {
  display: block;
  background: var(--surface);
  border: 2px solid var(--border);
  box-shadow: 4px 4px 0 var(--accent);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.1s steps(2);
}
.game-card:hover {
  border-color: var(--accent);
  box-shadow: 8px 8px 0 var(--accent2);
  transform: translate(-4px, -4px);
  text-decoration: none;
}
.game-card .game-img-wrap {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
}
.game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.game-card .game-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,9,18,0.95) 0%, rgba(0,9,18,0.5) 60%, transparent 100%);
  padding: 24px 10px 10px;
}
.game-card .game-tag {
  display: inline-block;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  color: var(--border);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  margin-bottom: 4px;
  text-transform: uppercase;
}
.game-card h3 {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 2px;
  line-height: 1.3;
  letter-spacing: 0.03em;
}
.game-card p {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin: 0;
  max-width: none;
}
.game-rtp-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--accent);
  color: #000912;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  letter-spacing: 0.04em;
}

[data-component="bonus"] {
  background: var(--surface);
  border: 2px solid var(--border);
  box-shadow: 6px 6px 0 var(--accent);
}
.bonus-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
@media (max-width: 575px) {
  .bonus-cards-grid { grid-template-columns: 1fr; }
}
.bonus-card-item {
  background: var(--surface-alt);
  border: 2px solid var(--border);
  padding: 20px;
  box-shadow: 4px 4px 0 var(--border);
}
.bonus-card-item .bonus-pct {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--border);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  font-family: var(--font-heading);
}
.bonus-card-item .bonus-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.bonus-card-item .bonus-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

[data-component="vip"] {
  overflow-x: auto;
}
.vip-track {
  display: flex;
  gap: 0;
  min-width: 600px;
}
.vip-tier {
  flex: 1;
  border: 2px solid var(--border);
  border-right: none;
  background: var(--surface);
  padding: 16px 12px;
  position: relative;
}
.vip-tier:last-child { border-right: 2px solid var(--border); }
.vip-tier .tier-name {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--border);
  margin-bottom: 8px;
}
.vip-tier .tier-cashback {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.vip-tier .tier-detail {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.4;
}
.vip-progress-bar {
  height: 8px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  margin-top: 10px;
  position: relative;
}
.vip-progress-bar .vip-fill {
  height: 100%;
  background: var(--border);
  transition: width 0.3s;
}

[data-component="steps"] {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: steps-counter;
}
@media (max-width: 767px) {
  [data-component="steps"] { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 400px) {
  [data-component="steps"] { grid-template-columns: 1fr; }
}
[data-component="steps"] li {
  background: var(--surface);
  border: 2px solid var(--border);
  border-right: none;
  padding: 20px 16px;
  position: relative;
  counter-increment: steps-counter;
}
[data-component="steps"] li:last-child { border-right: 2px solid var(--border); }
[data-component="steps"] li::before {
  content: counter(steps-counter);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: #000912;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 10px;
  font-family: var(--font-body);
}
[data-component="steps"] li .step-arrow {
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 12px solid var(--border);
  z-index: 2;
}
[data-component="steps"] li:last-child .step-arrow { display: none; }
[data-component="steps"] li h4 {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 6px;
}
[data-component="steps"] li p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0;
  max-width: none;
}

[data-component="payments"] {
  overflow-x: auto;
}
[data-component="payments"] table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 0.875rem;
}
[data-component="payments"] table th {
  background: var(--accent);
  color: #000912;
  font-weight: 700;
  padding: 10px 14px;
  text-align: left;
  border: 1px solid var(--border);
  letter-spacing: 0.04em;
}
[data-component="payments"] table td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  color: var(--text);
}
[data-component="payments"] table tr:nth-child(even) td {
  background: var(--surface-alt);
}
[data-component="payments"] table tr:nth-child(odd) td {
  background: var(--bg);
}

[data-component="faq"] details {
  border-bottom: 1px solid var(--border);
}
[data-component="faq"] details:first-of-type {
  border-top: 1px solid var(--border);
}
[data-component="faq"] summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  list-style: none;
  font-family: var(--font-body);
}
[data-component="faq"] summary::-webkit-details-marker { display: none; }
[data-component="faq"] summary::after {
  content: '\F282';
  font-family: 'bootstrap-icons';
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
  transition: transform 0.2s;
}
[data-component="faq"] details[open] summary::after {
  transform: rotate(180deg);
}
[data-component="faq"] .faq-answer {
  padding: 0 0 16px;
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.7;
}
.faq-num {
  color: var(--accent);
  font-weight: 700;
  margin-right: 8px;
  font-variant-numeric: tabular-nums;
}

.section-heading {
  margin-bottom: 1.5rem;
}
.section-heading h2 {
  color: var(--text);
  margin-bottom: 0.25rem;
}
.section-heading .section-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
}
h2 .accent-word { color: var(--accent); }
h2 .primary-word { color: var(--primary); }

.section-alt {
  background-color: var(--surface-alt);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cpath d='M40 4 L76 40 L40 76 L4 40 Z' fill='none' stroke='white' stroke-width='0.6'/%3E%3Ccircle cx='40' cy='40' r='4' fill='none' stroke='white' stroke-width='0.5'/%3E%3Ccircle cx='40' cy='4' r='2' fill='white' opacity='0.4'/%3E%3Ccircle cx='76' cy='40' r='2' fill='white' opacity='0.4'/%3E%3Ccircle cx='40' cy='76' r='2' fill='white' opacity='0.4'/%3E%3Ccircle cx='4' cy='40' r='2' fill='white' opacity='0.4'/%3E%3C/svg%3E");
  background-size: 80px 80px;
}

.site-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.site-table th {
  background: var(--accent);
  color: #000912;
  font-weight: 700;
  padding: 10px 14px;
  border: 1px solid var(--border);
  text-align: left;
}
.site-table td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  color: var(--text);
}
.site-table tr:nth-child(even) td { background: var(--surface-alt); }
.site-table tr:nth-child(odd) td { background: var(--bg); }

@media (max-width: 575px) {
  p { max-width: 100%; }
  .btn-primary-site, .btn-secondary-site, .btn-accent-site { width: 100%; text-align: center; }
}

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

.site-section {
  padding: clamp(28px, 3.5vw, 44px) 0;
}


/* site-fix 2026-11-05：只有一个子元素（container）的版块不分栏（AI 把 hero 写成两栏 grid，内容只占左半边） */
main > section:has(> [class*="container"]:only-child) { grid-template-columns: 1fr !important; }

/* unify-site:start */
/* 首页定义、site.css 没有的 CSS 变量 */
:root { --primary-text: #ffffff; --accent3: #0589a3; }

/* 页脚：从首页样式复制（内页原来没有这些规则） */
.site-footer {
  background-color: var(--bg);
  border-top: 2px solid var(--border);
  padding: 2rem 0 1rem;
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 1.5rem;
}
.footer-col h5 {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--border);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.footer-brand img {
  height: 40px;
  width: auto;
  margin-bottom: 0.5rem;
}
.footer-slogan {
  font-size: 0.9rem;
  font-weight: 600;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col ul li {
  margin-bottom: 0.5rem;
}
.footer-col ul a {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.1s steps(2);
}
.footer-col ul a:hover {
  color: var(--accent);
}
.footer-legal {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.legal-badge {
  background: var(--surface);
  border: 2px solid var(--border);
  padding: 8px 12px;
  text-align: center;
  width: fit-content;
}
.footer-divider {
  height: 1px;
  background: var(--surface-alt);
  margin: 1.5rem 0;
}
.footer-bottom {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.footer-bottom a {
  color: var(--text-muted);
}
@media (max-width: 767px) {
  .footer-content { grid-template-columns: 1fr; }
}

/* 组件统一（参考页：{"details": "index.html", "summary": "index.html", "answer": "index.html", "th": "index.html", "td": "index.html", "h2": "index.html", "container": "index.html"}） */
main details:not(.toc-card):not([class*=toc]) { border-top: 1px solid rgb(194, 175, 88) !important; border-right: 0px none rgb(232, 240, 245) !important; border-bottom: 1px solid rgb(194, 175, 88) !important; border-left: 0px none rgb(232, 240, 245) !important; background-color: rgb(15, 24, 32) !important; border-radius: 0px !important; padding: 0px !important; margin-bottom: 0px !important; box-shadow: none !important; }
main details:not(.toc-card):not([class*=toc]) > summary { font-size: 15.2px !important; font-weight: 600 !important; padding: 20px !important; color: rgb(232, 240, 245) !important; line-height: 24.32px !important; }
main details:not(.toc-card):not([class*=toc]) > summary ~ * { font-size: 14px !important; color: rgb(122, 154, 173) !important; padding: 0px 0px 16px !important; line-height: 23.8px !important; }
main table { width: 100%; border-collapse: collapse !important; }
main table th { background-color: rgb(7, 196, 233) !important; color: rgb(232, 240, 245) !important; padding: 12px !important; font-size: 14.4px !important; font-weight: 700 !important; text-align: left !important; border-bottom: 1px solid rgb(194, 175, 88) !important; }
main table td { padding: 12px !important; font-size: 14.4px !important; border-bottom: 1px solid rgb(194, 175, 88) !important; color: rgb(232, 240, 245) !important; }
main section > h2, main section > [class*=container] > h2, main section > [class*=container] > [class*=head] > h2, main section > [class*=container] > [class*=title] > h2, main section > div > h2 { font-size: 39.6px !important; line-height: 53.46px !important; }
/* unify-site:end */
