: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: #04190f;
  --surface: #0d3020;
  --surface-alt: #082417;
  --primary: #0f9d58;
  --primary-dark: #0a6b3a;
  --action: #ffc107;
  --action-hover: #e6ac00;
  --accent: #f56908;
  --accent-hover: #d45a06;
  --text: #f0ede4;
  --text-muted: #9bb89e;
  --border: #d4af37;
  --border-subtle: rgba(212,175,55,0.3);
  --border-faint: rgba(212,175,55,0.15);
  --radius-pill: 999px;
  --radius-card: 24px;
  --radius-panel: 20px;
  --radius-badge: 12px;
  --shadow-card: 0 8px 24px rgba(0,0,0,0.35);
  --shadow-card-hover: 0 16px 40px rgba(0,0,0,0.5), 0 0 0 1.5px #d4af37;
  --shadow-btn: 0 4px 16px rgba(255,193,7,0.35);
  --shadow-btn-hover: 0 6px 24px rgba(255,193,7,0.5);
  --shadow-nav: 0 2px 12px rgba(0,0,0,0.6);
  --shadow-panel: 0 12px 32px rgba(0,0,0,0.55);
}

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

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

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Noto Sans Bengali', sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cpath d='M0 60 Q30 40 60 60 Q90 80 120 60M60 0 Q80 30 60 60 Q40 90 60 120' fill='none' stroke='%23d4af37' stroke-width='0.6'/%3E%3Ccircle cx='60' cy='60' r='3' fill='none' stroke='%23d4af37' stroke-width='0.5'/%3E%3C/svg%3E");
  background-size: 120px 120px;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

main { position: relative; z-index: 1; }

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Tiro Bangla', serif;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.375rem); }
h4 { font-size: 1.125rem; }

p { line-height: 1.65; color: var(--text-muted); overflow-wrap: anywhere; }
a { color: var(--primary); text-decoration: none; text-underline-offset: 3px; }
a:hover { color: var(--text); }
img { max-width: 100%; height: auto; display: block; }

.section-divider {
  width: 100%;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 24' preserveAspectRatio='none'%3E%3Cpath d='M0 12 Q100 4 200 12 Q300 20 400 12 Q500 4 600 12 Q700 20 800 12 Q900 4 1000 12 Q1100 20 1200 12' fill='none' stroke='%23d4af37' stroke-width='1.5'/%3E%3Ccircle cx='200' cy='12' r='3' fill='%23d4af37'/%3E%3Ccircle cx='600' cy='12' r='3' fill='%23d4af37'/%3E%3Ccircle cx='1000' cy='12' r='3' fill='%23d4af37'/%3E%3Cpath d='M180 8 Q200 4 220 8 Q200 12 180 8Z' fill='%23d4af37' opacity='0.5'/%3E%3Cpath d='M580 8 Q600 4 620 8 Q600 12 580 8Z' fill='%23d4af37' opacity='0.5'/%3E%3Cpath d='M980 8 Q1000 4 1020 8 Q1000 12 980 8Z' fill='%23d4af37' opacity='0.5'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  opacity: 0.55;
  flex-shrink: 0;
}

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

.bg-surface-alt {
  background-color: var(--surface-alt);
  border-top: 1px solid var(--border-faint);
  border-bottom: 1px solid var(--border-faint);
}

.title-deco {
  display: inline-block;
  width: 32px;
  height: 3px;
  background: var(--border);
  border-radius: 999px;
  margin-top: 8px;
  margin-bottom: 16px;
}

.btn-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--action);
  color: #111;
  font-family: 'Noto Sans Bengali', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  border: none;
  box-shadow: var(--shadow-btn);
  cursor: pointer;
  transition: all 0.2s ease-out;
  text-decoration: none;
  line-height: 1.3;
}
.btn-action:hover {
  background: var(--action-hover);
  color: #111;
  box-shadow: var(--shadow-btn-hover);
  transform: translateY(-1px);
}
.btn-action:focus-visible {
  outline: 3px solid rgba(255,193,7,0.5);
  outline-offset: 2px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--primary);
  font-family: 'Noto Sans Bengali', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 13px 32px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--primary);
  cursor: pointer;
  transition: all 0.2s ease-out;
  text-decoration: none;
  line-height: 1.3;
}
.btn-ghost:hover {
  background: var(--primary);
  color: #fff;
}
.btn-ghost:focus-visible {
  outline: 3px solid rgba(15,157,88,0.4);
  outline-offset: 2px;
}

.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-family: 'Noto Sans Bengali', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease-out;
  text-decoration: none;
  line-height: 1.3;
}
.btn-accent:hover { background: var(--accent-hover); color: #fff; transform: translateY(-1px); }

.btn-sm {
  padding: 8px 20px;
  font-size: 0.875rem;
}

.site-nav {
  background-color: var(--bg);
  border-bottom: 1px solid rgba(212,175,55,0.25);
  box-shadow: var(--shadow-nav);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 64px;
}

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

.site-nav .nav-link {
  font-family: 'Noto Sans Bengali', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-muted) !important;
  padding: 4px 12px !important;
  position: relative;
  transition: color 0.2s;
  white-space: nowrap;
}

.site-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.2s ease-out;
}

.site-nav .nav-link:hover {
  color: var(--text) !important;
}
.site-nav .nav-link:hover::after { transform: scaleX(1); }
.site-nav .nav-link.active-link {
  color: var(--text) !important;
}
.site-nav .nav-link.active-link::after { transform: scaleX(1); }

.site-nav .navbar-toggler {
  border: 1.5px solid var(--border-subtle);
  border-radius: 8px;
  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='%23f0ede4' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
.site-nav .navbar-collapse {
  background: var(--surface-alt);
  border-radius: var(--radius-panel);
  padding: 12px;
  margin-top: 8px;
}
@media (min-width: 992px) {
  .site-nav .navbar-collapse {
    background: transparent;
    padding: 0;
    margin-top: 0;
  }
}

.site-footer {
  background-color: var(--bg);
  border-top: 1px solid var(--border-subtle);
  padding: 48px 0 24px;
  position: relative;
}

.site-footer .footer-logo {
  font-family: 'Tiro Bangla', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.site-footer .footer-col-title {
  font-family: 'Tiro Bangla', serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--border);
  margin-bottom: 12px;
}

.site-footer .footer-link {
  font-family: 'Noto Sans Bengali', sans-serif;
  font-size: 0.875rem;
  color: var(--text-muted);
  display: block;
  line-height: 2;
  transition: color 0.2s;
}
.site-footer .footer-link:hover { color: var(--text); }

.site-footer .footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
  margin-top: 32px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
}

.badge-18 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--border);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 44px;
  min-height: 44px;
  background: var(--surface);
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  font-size: 1rem;
  transition: all 0.2s;
}
.social-icon:hover { background: var(--primary); color: #fff; }

.game-card {
  display: block;
  background: var(--surface);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-faint);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.25s ease;
  text-decoration: none;
  position: relative;
}
.game-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border);
}
.game-card .card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/1;
}
.game-card .card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.game-card:hover .card-img-wrap img { transform: scale(1.05); }
.game-card .card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(13,48,32,0.9) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 16px;
  opacity: 0;
  transition: opacity 0.25s;
}
.game-card:hover .card-overlay { opacity: 1; }
.game-card .card-play-btn {
  background: var(--action);
  color: #111;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
}
.game-card .card-body {
  padding: 12px 16px;
}
.game-card .card-title {
  font-family: 'Tiro Bangla', serif;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.3;
}
.game-card .card-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.rtp-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(212,175,55,0.1);
  color: var(--border);
  border: 1px solid rgba(212,175,55,0.4);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
}

.game-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(4,25,15,0.85);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-faint);
  z-index: 1;
}

[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); gap: 10px; }
}

[data-component="trust"] {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
[data-component="trust"] li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}
[data-component="trust"] li i { color: var(--primary); font-size: 0.9rem; }

[data-component="stats"] {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--surface-alt);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
}
@media (max-width: 575px) {
  [data-component="stats"] { grid-template-columns: repeat(2, 1fr); }
}
[data-component="stats"] > div {
  background: var(--surface-alt);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
[data-component="stats"] > div + div {
  border-left: 1px solid var(--border-subtle);
}
@media (max-width: 575px) {
  [data-component="stats"] > div:nth-child(2) { border-left: 1px solid var(--border-subtle); }
  [data-component="stats"] > div:nth-child(3) { border-left: none; border-top: 1px solid var(--border-subtle); }
  [data-component="stats"] > div:nth-child(4) { border-left: 1px solid var(--border-subtle); border-top: 1px solid var(--border-subtle); }
}
[data-component="stats"] dt { font-size: 0.75rem; color: var(--text-muted); line-height: 1.3; }
[data-component="stats"] dd {
  font-family: 'Tiro Bangla', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin: 0;
}
[data-component="stats"] .stat-icon { color: var(--border); font-size: 1.25rem; flex-shrink: 0; }

[data-component="faq"] details {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: border-color 0.2s;
}
[data-component="faq"] details[open] {
  border-color: var(--primary);
}
[data-component="faq"] summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  cursor: pointer;
  font-family: 'Tiro Bangla', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  list-style: none;
  transition: background 0.2s;
}
[data-component="faq"] summary::-webkit-details-marker { display: none; }
[data-component="faq"] details[open] summary {
  background: rgba(15,157,88,0.08);
}
[data-component="faq"] summary .faq-icon { color: var(--primary); font-size: 1.1rem; flex-shrink: 0; }
[data-component="faq"] summary .faq-arrow {
  margin-left: auto;
  color: var(--text-muted);
  transition: transform 0.2s;
  flex-shrink: 0;
}
[data-component="faq"] details[open] summary .faq-arrow { transform: rotate(180deg); }
[data-component="faq"] .faq-body {
  padding: 0 20px 18px 48px;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

[data-component="steps"] {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}
[data-component="steps"]::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 32px;
  bottom: 32px;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--border));
  border-radius: 2px;
}
[data-component="steps"] li {
  display: flex;
  gap: 20px;
  padding: 0 0 28px 0;
  position: relative;
}
[data-component="steps"] li:last-child { padding-bottom: 0; }
[data-component="steps"] .step-num {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-family: 'Tiro Bangla', serif;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(15,157,88,0.35);
  position: relative;
  z-index: 1;
}
[data-component="steps"] .step-content h3 {
  font-size: 1.125rem;
  margin-bottom: 6px;
  line-height: 1.35;
}
[data-component="steps"] .step-content p {
  font-size: 0.9375rem;
  margin: 0;
}

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

.vip-table-wrap { overflow-x: auto; border-radius: var(--radius-panel); }
[data-component="vip"] table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 580px;
}
[data-component="vip"] th {
  background: var(--surface);
  color: var(--text);
  font-family: 'Tiro Bangla', serif;
  font-size: 0.9375rem;
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
}
[data-component="vip"] th:first-child { text-align: left; }
[data-component="vip"] td {
  padding: 12px 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
  border-bottom: 1px solid var(--border-faint);
}
[data-component="vip"] td:first-child { text-align: left; color: var(--text); font-weight: 500; }
[data-component="vip"] tr:nth-child(odd) td { background: rgba(13,48,32,0.4); }
[data-component="vip"] .gold-col { background: rgba(212,175,55,0.08) !important; color: var(--border); font-weight: 600; }
[data-component="vip"] .tier-icon { color: var(--border); margin-right: 6px; }

.rules-wrap { overflow-x: auto; border-radius: var(--radius-panel); }
[data-component="rules"] {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 560px;
}
[data-component="rules"] th {
  background: var(--surface);
  color: var(--border);
  font-family: 'Tiro Bangla', serif;
  font-size: 0.875rem;
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}
[data-component="rules"] td {
  padding: 11px 14px;
  font-size: 0.875rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-faint);
}
[data-component="rules"] tr:nth-child(odd) td { background: rgba(13,48,32,0.35); }
[data-component="rules"] td:first-child { color: var(--text); font-weight: 500; }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

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

@media (max-width: 767px) {
  .btn-action, .btn-ghost, .btn-accent {
    padding: 12px 24px;
    font-size: 0.9375rem;
  }
}
