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

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 > :first-child > :not([class*="container"], :has([class*="container"]), img, picture, video, [style*="absolute"]),
main > :not(:has([class*="container"])) { padding-inline: max(16px, calc((100% - 1320px) / 2)) !important; }  
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: #031b1b;
  --surface: #0a302e;
  --surface-alt: #052424;
  --primary: #04ac8b;
  --primary-cta: #50ddb8;
  --primary-text: #031b1b;
  --accent: #d92f2f;
  --text: #e8f5f2;
  --text-muted: #7ab8ad;
  --border: #d4b25a;
  --border-dim: rgba(212,178,90,0.27);
  --border-faint: rgba(212,178,90,0.13);
  --clip-card: polygon(12px 0,100% 0,100% calc(100% - 12px),calc(100% - 12px) 100%,0 100%,0 12px);
  --clip-btn: polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px);
  --clip-badge: polygon(6px 0,100% 0,100% calc(100% - 6px),calc(100% - 6px) 100%,0 100%,0 6px);
  --shadow-brand: 0 0 0 1px #04ac8b, 0 0 12px 2px rgba(4,172,139,0.35);
  --shadow-cta: 0 0 0 1px #50ddb8, 0 0 16px 4px rgba(80,221,184,0.45);
  --shadow-card-hover: 0 0 0 1px #d4b25a, 0 0 18px 3px rgba(212,178,90,0.28);
  --shadow-accent: 0 0 0 1px #d92f2f, 0 0 12px 3px rgba(217,47,47,0.38);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: #04ac8b #031b1b; scrollbar-width: thin; }
body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Noto Serif Bengali', serif;
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
  padding: 0;
  background-image:
    repeating-linear-gradient(0deg,transparent,transparent 39px,rgba(4,172,139,0.04) 40px),
    repeating-linear-gradient(90deg,transparent,transparent 39px,rgba(4,172,139,0.04) 40px);
  overflow-x: hidden;
}
::selection { background: rgba(4,172,139,0.35); color: #e8f5f2; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #031b1b; }
::-webkit-scrollbar-thumb { background: #04ac8b; }
a { color: var(--primary-cta); text-decoration: none; text-underline-offset: 3px; }
a:hover { color: var(--primary-cta); text-decoration: underline; }
img { max-width: 100%; height: auto; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Atma', sans-serif;
  color: var(--text);
  line-height: 1.3;
  margin-top: 0;
}
h1 { font-size: 40px; font-weight: 700; }
h2 { font-size: 28px; font-weight: 600; }
h3 { font-size: 20px; font-weight: 600; }
h4 { font-size: 16px; font-weight: 600; }
p { font-family: 'Noto Serif Bengali', serif; font-size: 14px; line-height: 1.7; }
.body-lg { font-size: 16px; line-height: 1.7; }
.caption { font-size: 12px; line-height: 1.5; letter-spacing: 0.3px; }
.label-tag { font-family: 'Atma', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }

.btn-primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  clip-path: var(--clip-btn);
  background: var(--primary-cta);
  color: var(--primary-text);
  font-family: 'Atma', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 28px;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-cta);
  transition: all 0.18s ease;
  text-decoration: none;
  border-radius: 0;
  white-space: nowrap;
}
.btn-primary-cta:hover {
  background: #6ae8c8;
  color: var(--primary-text);
  box-shadow: 0 0 0 1px #50ddb8, 0 0 20px 6px rgba(80,221,184,0.55);
  text-decoration: none;
  transform: translateY(-1px);
}
.btn-primary-cta:active { transform: translateY(1px); }
.btn-primary-cta:focus-visible { outline: 2px solid var(--primary-cta); outline-offset: 3px; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  clip-path: var(--clip-btn);
  background: transparent;
  color: var(--border);
  font-family: 'Atma', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 28px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.18s ease;
  text-decoration: none;
  border-radius: 0;
  white-space: nowrap;
}
.btn-secondary:hover {
  background: rgba(212,178,90,0.10);
  color: var(--border);
  text-decoration: none;
}
.btn-secondary:focus-visible { outline: 2px solid var(--border); outline-offset: 3px; }

.btn-login-nav {
  display: inline-flex;
  align-items: center;
  clip-path: var(--clip-btn);
  background: transparent;
  color: var(--primary);
  font-family: 'Atma', sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 20px;
  border: 1px solid var(--primary);
  cursor: pointer;
  transition: all 0.18s ease;
  text-decoration: none;
  border-radius: 0;
}
.btn-login-nav:hover {
  background: rgba(4,172,139,0.1);
  color: var(--primary);
  text-decoration: none;
}
.btn-login-nav:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  clip-path: var(--clip-btn);
  background: var(--accent);
  color: #fff;
  font-family: 'Atma', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 28px;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-accent);
  transition: all 0.18s ease;
  text-decoration: none;
  border-radius: 0;
}
.btn-accent:hover {
  background: #f03a3a;
  color: #fff;
  box-shadow: 0 0 12px 4px rgba(217,47,47,0.45);
  text-decoration: none;
}
.btn-accent:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.site-navbar {
  background: var(--bg);
  border-bottom: 1px solid var(--border-faint);
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.site-navbar .navbar-brand img {
  height: 40px;
  width: auto;
}
.site-navbar .nav-link {
  font-family: 'Noto Serif Bengali', serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text) !important;
  padding: 8px 12px !important;
  transition: all 0.18s ease;
  border-radius: 0;
  overflow-wrap: anywhere;
}
.site-navbar .nav-link:hover {
  color: var(--primary-cta) !important;
  box-shadow: inset 0 -2px 0 var(--primary);
}
.site-navbar .nav-link.active {
  color: var(--primary) !important;
  box-shadow: inset 0 -2px 0 var(--primary);
}
.site-navbar .navbar-toggler {
  border: 1px solid var(--border-dim);
  color: var(--text);
  background: transparent;
  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='rgba(232,245,242,0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.section-divider-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(212,178,90,0.44), transparent);
  border: none;
  margin: 0;
}
section, .site-section {
  padding-top: clamp(28px, 3.5vw, 44px);
  padding-bottom: clamp(28px, 3.5vw, 44px);
}

.arcade-card {
  clip-path: var(--clip-card);
  background: var(--surface);
  border: 1px solid var(--border-faint);
  border-radius: 0;
  transition: all 0.18s ease;
  position: relative;
  overflow: hidden;
}
.arcade-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 60%);
  pointer-events: none;
}
.arcade-card:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-card-hover);
}

[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 {
  clip-path: var(--clip-card);
  background: var(--surface);
  border: 1px solid var(--border-faint);
  border-radius: 0;
  display: block;
  text-decoration: none;
  overflow: hidden;
  transition: all 0.18s ease;
  position: relative;
}
.game-card:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-card-hover);
  text-decoration: none;
}
.game-card:hover .game-card-img img {
  transform: scale(1.04);
}
.game-card-img {
  position: relative;
  overflow: hidden;
  height: 160px;
}
.game-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease-out;
  clip-path: var(--clip-card);
}
.game-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 10px 10px;
  background: linear-gradient(to top, rgba(3,27,27,0.92) 0%, transparent 100%);
}
.game-card-body {
  padding: 10px 12px 12px;
}
.game-card h3 {
  font-family: 'Atma', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 4px;
  line-height: 1.4;
}
.game-card p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
  font-family: 'Noto Serif Bengali', serif;
}
.rtp-badge {
  clip-path: var(--clip-badge);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  color: var(--border);
  font-family: 'Atma', sans-serif;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  display: inline-block;
  margin-top: 4px;
}
.game-tag {
  clip-path: var(--clip-badge);
  background: rgba(4,172,139,0.15);
  border: 1px solid rgba(4,172,139,0.4);
  color: var(--primary-cta);
  font-family: 'Atma', sans-serif;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  display: inline-block;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

[data-component="trust"] {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
[data-component="trust"] li {
  clip-path: var(--clip-badge);
  background: var(--surface-alt);
  border: 1px solid var(--border-dim);
  color: var(--text-muted);
  font-family: 'Noto Serif Bengali', serif;
  font-size: 12px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
}
[data-component="trust"] li i { color: var(--primary); font-size: 14px; }

[data-component="stats"] {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0;
  padding: 0;
}
[data-component="stats"] > div {
  display: flex;
  flex-direction: column;
  min-width: 90px;
}
[data-component="stats"] dt {
  font-family: 'Noto Serif Bengali', serif;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 2px;
  font-weight: 400;
}
[data-component="stats"] dd {
  font-family: 'Atma', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-cta);
  margin: 0;
  line-height: 1.2;
}

[data-component="payments"] {
  list-style: none;
  padding: 0;
  margin: 0;
}
[data-component="payments"] li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-faint);
  font-family: 'Noto Serif Bengali', serif;
  font-size: 14px;
  color: var(--text);
}
[data-component="payments"] li:last-child { border-bottom: none; }
[data-component="payments"] .pay-name {
  font-family: 'Atma', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-cta);
  min-width: 80px;
}
[data-component="payments"] .pay-detail { color: var(--text-muted); font-size: 12px; }

[data-component="steps"] {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: steps;
}
[data-component="steps"] li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 24px;
  counter-increment: steps;
}
[data-component="steps"] li:last-child { margin-bottom: 0; }
.step-num {
  font-family: 'Atma', sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  min-width: 48px;
  text-align: center;
  flex-shrink: 0;
}
.step-content h4 {
  font-family: 'Atma', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.step-content p {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0;
}

[data-component="faq"] details {
  border-bottom: 1px solid var(--border-faint);
  padding: 14px 0;
}
[data-component="faq"] details:first-of-type { border-top: 1px solid var(--border-faint); }
[data-component="faq"] summary {
  font-family: 'Noto Serif Bengali', serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 4px 0;
}
[data-component="faq"] summary::-webkit-details-marker { display: none; }
[data-component="faq"] summary::after {
  content: '\F282';
  font-family: 'Bootstrap Icons';
  color: var(--primary);
  font-size: 16px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
[data-component="faq"] details[open] summary::after { transform: rotate(180deg); }
[data-component="faq"] details > div {
  padding: 12px 0 4px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}
.faq-num {
  font-family: 'Atma', sans-serif;
  font-weight: 700;
  color: var(--border);
  margin-right: 8px;
  flex-shrink: 0;
}

[data-component="bonus"] table,
[data-component="rules"] table,
.site-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Noto Serif Bengali', serif;
  font-size: 13px;
}
[data-component="bonus"] table th,
[data-component="rules"] table th,
.site-table th {
  background: var(--surface-alt);
  color: var(--border);
  font-family: 'Atma', sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 10px 12px;
  text-align: left;
  letter-spacing: 0.5px;
}
[data-component="bonus"] table td,
[data-component="rules"] table td,
.site-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-faint);
  color: var(--text-muted);
  vertical-align: top;
}
[data-component="bonus"] table tr:hover td,
[data-component="rules"] table tr:hover td,
.site-table tr:hover td {
  background: rgba(4,172,139,0.04);
}
.table-responsive-wrap { overflow-x: auto; }

[data-component="vip"] .vip-track {
  display: flex;
  gap: 0;
  position: relative;
  margin: 20px 0;
}
[data-component="vip"] .vip-tier {
  flex: 1;
  padding: 14px 10px;
  background: var(--surface-alt);
  border: 1px solid var(--border-faint);
  border-right: none;
  text-align: center;
  position: relative;
  transition: all 0.18s ease;
}
[data-component="vip"] .vip-tier:last-child { border-right: 1px solid var(--border-faint); }
[data-component="vip"] .vip-tier:hover { background: var(--surface); border-color: var(--border-dim); }
[data-component="vip"] .vip-name {
  font-family: 'Atma', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--border);
  display: block;
}
[data-component="vip"] .vip-stat {
  font-size: 11px;
  color: var(--text-muted);
  display: block;
  margin-top: 4px;
}
[data-component="vip"] .vip-icon {
  font-size: 20px;
  color: var(--border);
  display: block;
  margin-bottom: 6px;
}

.section-heading {
  font-family: 'Atma', sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  border-left: 3px solid var(--primary);
  padding-left: 14px;
}
.section-subheading {
  font-family: 'Noto Serif Bengali', serif;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 0;
}
.view-all-link {
  font-family: 'Atma', sans-serif;
  font-size: 13px;
  color: var(--primary-cta);
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  transition: all 0.18s ease;
}
.view-all-link:hover { color: var(--border); text-decoration: none; }

.site-footer {
  background: var(--bg);
  border-top: 1px solid rgba(212,178,90,0.2);
  padding-top: clamp(28px, 3.5vw, 44px);
}
.footer-brand-name {
  font-family: 'Atma', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
}
.footer-col-title {
  font-family: 'Atma', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--border);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  font-family: 'Noto Serif Bengali', serif;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.18s ease;
}
.footer-links a:hover { color: var(--text); }
.footer-copyright {
  background: var(--surface-alt);
  text-align: center;
  padding: 14px 20px;
  font-family: 'Noto Serif Bengali', serif;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: clamp(28px, 3.5vw, 44px);
}
.badge-18 {
  clip-path: var(--clip-badge);
  background: var(--accent);
  color: #fff;
  font-family: 'Atma', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 12px;
  display: inline-block;
}
.responsible-note {
  font-family: 'Noto Serif Bengali', serif;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 767px) {
  h1 { font-size: 28px; }
  h2 { font-size: 22px; }
  [data-component="stats"] { gap: 14px; }
  [data-component="stats"] dd { font-size: 18px; }
  [data-component="vip"] .vip-track { overflow-x: auto; }
  [data-component="vip"] .vip-tier { min-width: 90px; }
}
@media (max-width: 480px) {
  .btn-primary-cta, .btn-secondary, .btn-accent { font-size: 14px; padding: 11px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
:root{--qa-scroll:start}
:where([data-component="vip"] .vip-track) > * { min-width: auto; }
:root{--qa-scroll:end}
