: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: #f4f6f4;
  --surface: #ffffff;
  --surface-alt: #e6ece8;
  --primary: #2f7d5c;
  --primary-dark: #1f5f45;
  --action: #ffb000;
  --action-hover: #f5a800;
  --accent: #f56908;
  --text: #1a2e1a;
  --text-muted: #4a6650;
  --border: #b8862b;
  --nav-height: 64px;
}

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

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

body {
  font-family: 'Noto Sans Bengali', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(47,125,92,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47,125,92,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

::selection {
  background: var(--action);
  color: #1a1a1a;
}

h1, h2, h3 { font-family: 'Baloo Da 2', sans-serif; line-height: 1.35; }
h4, h5, h6 { font-family: 'Noto Sans Bengali', sans-serif; font-weight: 600; line-height: 1.4; }

h1 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 800; letter-spacing: -0.5px; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 700; }
h4 { font-size: 1.125rem; }

p { max-width: 72ch; }

a { color: var(--primary); text-decoration-color: transparent; transition: color 120ms, text-decoration-color 120ms; }
a:hover { color: var(--primary-dark); text-decoration-color: currentColor; }
a:focus-visible { outline: 2px solid var(--action); outline-offset: 3px; border-radius: 0; }

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

.clip-card {
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  border-radius: 0 !important;
}
.clip-btn {
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  border-radius: 0 !important;
}
.clip-sm {
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  border-radius: 0 !important;
}

.btn-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--action);
  color: #1a1a1a;
  font-family: 'Noto Sans Bengali', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: none;
  padding: 14px 28px;
  cursor: pointer;
  text-decoration: none;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  border-radius: 0;
  transition: background 150ms ease-out, box-shadow 150ms ease-out, transform 150ms ease-out;
}
.btn-action:hover {
  background: var(--action-hover);
  color: #1a1a1a;
  box-shadow: 0 0 14px 4px rgba(255,176,0,0.55);
  transform: translateY(-1px);
}
.btn-action:focus-visible { outline: 2px solid var(--action); outline-offset: 3px; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  font-family: 'Noto Sans Bengali', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 1.5px solid var(--border);
  padding: 14px 28px;
  cursor: pointer;
  text-decoration: none;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  border-radius: 0;
  transition: background 150ms ease-out, border-color 150ms ease-out, box-shadow 150ms ease-out;
}
.btn-secondary:hover {
  background: rgba(184,134,43,0.12);
  border-color: var(--action);
  color: var(--text);
}
.btn-secondary:focus-visible { outline: 2px solid var(--action); outline-offset: 3px; }

.btn-secondary-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #ffffff;
  font-family: 'Noto Sans Bengali', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 1.5px solid #ffffff;
  padding: 14px 28px;
  cursor: pointer;
  text-decoration: none;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  border-radius: 0;
  transition: background 150ms ease-out;
}
.btn-secondary-light:hover {
  background: rgba(255,255,255,0.12);
  color: #ffffff;
}

.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #ffffff;
  font-family: 'Noto Sans Bengali', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: none;
  padding: 14px 28px;
  cursor: pointer;
  text-decoration: none;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  border-radius: 0;
  transition: box-shadow 150ms ease-out, transform 150ms ease-out;
}
.btn-accent:hover {
  color: #ffffff;
  box-shadow: 0 0 12px rgba(245,105,8,0.5);
  transform: translateY(-1px);
}

.site-nav {
  background: var(--primary);
  border-bottom: 2px solid var(--primary-dark);
  height: var(--nav-height);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.site-nav .navbar-brand img {
  height: 40px;
  width: auto;
}
.site-nav .nav-link {
  font-family: 'Noto Sans Bengali', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #e6ece8 !important;
  padding: 0 14px !important;
  position: relative;
  min-height: 44px;
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.site-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--action);
  transform: scaleX(0);
  transition: transform 150ms ease-out;
}
.site-nav .nav-link:hover::after,
.site-nav .nav-link.active::after { transform: scaleX(1); }
.site-nav .nav-link:hover { color: #ffffff !important; }
.site-nav .nav-link.active { color: var(--action) !important; }

.nav-btn-login {
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  border: 1.5px solid #ffffff;
  background: transparent;
  color: #ffffff !important;
  font-family: 'Noto Sans Bengali', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 18px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  transition: background 150ms;
}
.nav-btn-login:hover { background: rgba(255,255,255,0.12); color: #ffffff !important; }

.nav-btn-register {
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  border: none;
  background: var(--action);
  color: #1a1a1a !important;
  font-family: 'Noto Sans Bengali', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 18px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  transition: background 150ms, box-shadow 150ms;
}
.nav-btn-register:hover {
  background: var(--action-hover);
  color: #1a1a1a !important;
  box-shadow: 0 0 12px rgba(255,176,0,0.6);
}

.navbar-toggler {
  border: 1.5px solid rgba(255,255,255,0.5);
  padding: 6px 10px;
  min-width: 44px;
  min-height: 44px;
}
.navbar-toggler-icon { filter: invert(1); }
.navbar-toggler:focus { box-shadow: 0 0 0 2px var(--action); }

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

.section-title-line {
  width: 48px;
  height: 4px;
  background: var(--border);
  margin-bottom: 12px;
}

[data-component="trust"] {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
}
[data-component="trust"] li {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #e6ece8;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
[data-component="trust"] li i { font-size: 15px; color: var(--action); }

[data-component="stats"] {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
[data-component="stats"] > div {
  flex: 1 1 120px;
  padding: 12px 16px;
  border-left: 2px solid rgba(255,176,0,0.3);
}
[data-component="stats"] > div:first-child { border-left: none; }
[data-component="stats"] dt {
  font-size: 12px;
  color: rgba(230,236,232,0.8);
  font-weight: 400;
  margin-bottom: 2px;
}
[data-component="stats"] dd {
  font-family: 'Baloo Da 2', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--action);
  margin: 0;
  line-height: 1.2;
}

[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;
  text-decoration: none;
  background: var(--surface);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  border: 1.5px solid #e6ece8;
  box-shadow: 2px 2px 0 0 var(--border);
  overflow: hidden;
  transition: box-shadow 120ms ease-out, transform 120ms ease-out;
  position: relative;
}
.game-card:hover {
  box-shadow: 4px 4px 0 0 var(--border);
  transform: translate(-2px, -2px);
  text-decoration: none;
}
.game-card:hover .game-card-img img { filter: brightness(1.08); }
.game-card:focus-visible { outline: 2px solid var(--action); outline-offset: 3px; }

.game-card-img {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.game-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 120ms ease-out;
}
.game-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 10px 10px;
  background: linear-gradient(to top, rgba(26,46,26,0.92) 0%, transparent 100%);
}
.game-card-overlay .game-name {
  font-family: 'Noto Sans Bengali', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  display: block;
  margin-bottom: 4px;
  line-height: 1.3;
}
.game-card-overlay .game-meta {
  font-size: 11px;
  color: rgba(230,236,232,0.8);
}
.rtp-badge {
  display: inline-block;
  background: var(--primary);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  padding: 2px 7px;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  margin-bottom: 3px;
}
.game-type-tag {
  font-size: 11px;
  color: rgba(230,236,232,0.7);
  display: block;
}

[data-component="payments"] {
  list-style: none;
  padding: 0;
  margin: 0;
}
[data-component="payments"] li {
  display: grid;
  grid-template-columns: 120px 1fr 1fr 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--surface-alt);
  font-size: 14px;
}
[data-component="payments"] li:last-child { border-bottom: none; }
[data-component="payments"] .pay-name {
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
}
[data-component="payments"] .pay-name i { color: var(--primary); font-size: 16px; }
[data-component="payments"] .pay-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 2px;
}
[data-component="payments"] .pay-value { color: var(--text); font-weight: 600; }
@media (max-width: 575px) {
  [data-component="payments"] li { grid-template-columns: 1fr 1fr; gap: 8px; }
  [data-component="payments"] .pay-name { grid-column: 1 / -1; }
}

[data-component="bonus"] { }
.bonus-table { width: 100%; border-collapse: collapse; }
.bonus-table th, .bonus-table td {
  padding: 10px 14px;
  font-size: 14px;
  text-align: left;
  border-bottom: 1px solid var(--surface-alt);
}
.bonus-table th {
  font-weight: 700;
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: var(--surface-alt);
}
.bonus-table td:first-child { color: var(--text-muted); }
.bonus-table td:last-child { font-weight: 600; color: var(--text); }

[data-component="steps"] {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
[data-component="steps"] li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
[data-component="steps"] .step-num {
  font-family: 'Baloo Da 2', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--action);
  line-height: 1;
  min-width: 48px;
  text-shadow: 1px 1px 0 rgba(184,134,43,0.4);
}
[data-component="steps"] .step-body h4 { margin-bottom: 6px; color: var(--text); }
[data-component="steps"] .step-body p { font-size: 15px; color: var(--text-muted); max-width: 55ch; }

[data-component="vip"] { overflow-x: auto; }
.vip-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.vip-table th {
  background: var(--primary-dark);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 14px;
  text-align: center;
}
.vip-table td {
  padding: 10px 14px;
  font-size: 13px;
  text-align: center;
  border-bottom: 1px solid var(--surface-alt);
  color: var(--text);
}
.vip-table tr:nth-child(even) td { background: rgba(230,236,232,0.5); }
.vip-table .vip-name { font-weight: 700; }
.vip-highlight td { background: rgba(47,125,92,0.08) !important; border-top: 2px solid var(--primary); border-bottom: 2px solid var(--primary); }
.vip-badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 700;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

[data-component="faq"] details {
  background: var(--surface);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  border: 1.5px solid #e6ece8;
  box-shadow: 2px 2px 0 0 var(--border);
  margin-bottom: 12px;
  transition: box-shadow 120ms;
}
[data-component="faq"] details[open] {
  box-shadow: 3px 3px 0 0 var(--primary);
  border-color: var(--primary);
}
[data-component="faq"] summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
[data-component="faq"] summary::-webkit-details-marker { display: none; }
[data-component="faq"] .faq-num {
  font-family: 'Baloo Da 2', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary);
  min-width: 28px;
}
[data-component="faq"] summary .faq-chevron { margin-left: auto; font-size: 16px; color: var(--text-muted); transition: transform 200ms; }
[data-component="faq"] details[open] summary .faq-chevron { transform: rotate(180deg); }
[data-component="faq"] .faq-body {
  padding: 0 18px 16px 58px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}
@media (max-width: 575px) { [data-component="faq"] .faq-body { padding-left: 18px; } }

.site-footer {
  background: var(--primary-dark);
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.03) 0, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 8px);
  color: #e6ece8;
  padding: clamp(28px, 3.5vw, 44px) 0 0;
}
.site-footer .footer-brand-name {
  font-family: 'Baloo Da 2', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 1px 1px 0 var(--primary-dark);
  text-decoration: none;
}
.site-footer .footer-tagline { font-size: 13px; color: rgba(230,236,232,0.7); margin-top: 4px; }
.site-footer .footer-heading { font-size: 13px; font-weight: 700; color: #ffffff; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 12px; }
.site-footer .footer-links { list-style: none; padding: 0; }
.site-footer .footer-links li { margin-bottom: 8px; }
.site-footer .footer-links a { color: #e6ece8; font-size: 14px; text-decoration: none; transition: color 120ms; }
.site-footer .footer-links a:hover { color: var(--action); }
.site-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: clamp(20px, 2vw, 32px);
  padding: 16px 0;
  text-align: center;
  font-size: 12px;
  color: rgba(230,236,232,0.7);
}
.responsible-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1.5px solid var(--border);
  background: rgba(0,0,0,0.2);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  font-size: 13px;
  font-weight: 600;
  color: #e6ece8;
}
.responsible-badge i { color: var(--action); font-size: 18px; }

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