: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: #f7f3f2;
  --surface: #ffffff;
  --surface-alt: #efe6e3;
  --primary: #b3261e;
  --primary-dark: #7f1d1d;
  --action: #ffb300;
  --action-hover: #f56908;
  --accent: #f56908;
  --text: #1a0a00;
  --text-muted: #5c3d2e;
  --border: #c9961e;
  --nav-link: #fff3e0;
  --footer-bg: #1a0a00;
  --footer-link: #d4b896;
  --radius: 2px;
  --font-heading: 'Atma', sans-serif;
  --font-body: 'Noto Serif Bengali', serif;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  background-image: repeating-linear-gradient(180deg, transparent 0px, transparent 23px, rgba(201,150,30,0.12) 24px);
  overflow-x: hidden;
}

::selection {
  background: var(--action);
  color: var(--text);
}

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

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

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

h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.5px; }
h2 { font-size: clamp(1.4rem, 2.5vw, 1.75rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2vw, 1.25rem); font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }

p { font-size: 15px; line-height: 1.7; color: var(--text); }

small { font-size: 13px; line-height: 1.55; }

.text-muted-brand { color: var(--text-muted); }

main > section, main > div[class*="section"], main > aside {
  padding-top: clamp(28px, 3.5vw, 44px);
  padding-bottom: clamp(28px, 3.5vw, 44px);
}

.section-divider {
  border: none;
  border-top: 2px solid var(--border);
  margin: 0;
}

.section-divider-light {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

.bg-surface { background-color: var(--surface); }

.bg-surface-alt {
  background-color: var(--surface-alt);
  background-image: radial-gradient(circle, rgba(179,38,30,0.06) 1px, transparent 1px);
  background-size: 8px 8px;
}

.bg-dark-brand {
  background-color: var(--primary-dark);
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.04) 0px, rgba(255,255,255,0.04) 1px, transparent 1px, transparent 6px);
}

.btn-primary-brand {
  background: var(--action);
  color: var(--text);
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radius);
  padding: 10px 28px;
  border: none;
  letter-spacing: 0.3px;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  transition: all 0.15s ease;
  font-family: var(--font-body);
  min-height: 44px;
  line-height: 1.4;
}
.btn-primary-brand:hover {
  background: var(--action-hover);
  color: #ffffff;
  box-shadow: 1px 1px 0px var(--primary);
}
.btn-primary-brand:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.btn-primary-brand:active {
  box-shadow: inset 1px 1px 0px rgba(0,0,0,0.2);
}

.btn-outline-brand {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: var(--radius);
  padding: 9px 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  transition: all 0.15s ease;
  font-family: var(--font-body);
  min-height: 44px;
  line-height: 1.4;
}
.btn-outline-brand:hover {
  background: var(--primary);
  color: #ffffff;
}
.btn-outline-brand:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.btn-accent-brand {
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radius);
  padding: 10px 28px;
  border: none;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  transition: all 0.15s ease;
  font-family: var(--font-body);
  min-height: 44px;
  line-height: 1.4;
}
.btn-accent-brand:hover {
  background: var(--primary);
  color: #ffffff;
}

.site-navbar {
  background-color: var(--primary) !important;
  height: 56px;
  border-bottom: 2px solid var(--border);
}

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

.site-navbar .nav-link {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--nav-link) !important;
  letter-spacing: 0.2px;
  padding: 4px 10px !important;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
  color: var(--action) !important;
  border-bottom-color: var(--action);
}
.site-navbar .nav-link:focus-visible {
  outline: 2px solid var(--action);
  outline-offset: 2px;
  border-radius: var(--radius);
}

.navbar-toggler {
  border-color: rgba(255,255,255,0.4) !important;
  min-width: 44px;
  min-height: 44px;
}
.navbar-toggler-icon {
  filter: invert(1);
}

.nav-btn-login {
  border: 1.5px solid #ffffff;
  background: transparent;
  color: #ffffff !important;
  border-radius: var(--radius);
  padding: 6px 18px !important;
  font-size: 14px;
  transition: all 0.15s;
  white-space: nowrap;
  min-height: 36px;
  line-height: 1.4;
}
.nav-btn-login:hover {
  background: #ffffff !important;
  color: var(--primary) !important;
}

.nav-btn-register {
  background: var(--action);
  color: var(--text) !important;
  font-weight: 700;
  border-radius: var(--radius);
  padding: 6px 20px !important;
  font-size: 14px;
  border: none;
  transition: all 0.15s;
  white-space: nowrap;
  min-height: 36px;
  line-height: 1.4;
}
.nav-btn-register:hover {
  background: var(--action-hover) !important;
  color: #ffffff !important;
}

.game-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: var(--text);
  box-shadow: 1px 1px 0px var(--border);
  transition: all 0.15s ease;
  position: relative;
}
.game-card:hover {
  border-color: var(--primary);
  box-shadow: 2px 2px 0px var(--primary);
  transform: translateY(-2px);
  color: var(--text);
}
.game-card .game-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/1;
}
.game-card .game-img-wrap 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(26,10,0,0.85) 0%, transparent 100%);
  padding: 28px 8px 8px;
}
.game-card .game-overlay .game-name {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  display: block;
  line-height: 1.3;
  margin-bottom: 2px;
}
.game-card .game-overlay .game-meta {
  font-size: 12px;
  color: rgba(255,243,224,0.85);
  display: block;
}
.game-card .game-badge {
  position: absolute;
  top: 6px; left: 6px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 0px;
  font-family: var(--font-body);
  font-weight: 600;
  z-index: 2;
}
.game-card .rtp-tag {
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 0px;
  background: rgba(255,255,255,0.9);
  position: absolute;
  top: 6px; right: 6px;
  z-index: 2;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

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

[data-component="trust"] {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
[data-component="trust"] li {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(201,150,30,0.4);
  border-radius: var(--radius);
  padding: 4px 10px;
  font-size: 13px;
  color: var(--text);
  font-family: var(--font-body);
  white-space: nowrap;
}
[data-component="trust"] li i {
  color: var(--border);
  font-size: 14px;
}

[data-component="stats"] {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
[data-component="stats"] > div {
  padding: 10px 14px;
  border-right: 1px solid var(--border);
  text-align: center;
}
[data-component="stats"] > div:last-child { border-right: none; }
[data-component="stats"] dt {
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-body);
  margin-bottom: 2px;
  font-weight: 400;
}
[data-component="stats"] dd {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-heading);
  margin: 0;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 575px) {
  [data-component="stats"] { grid-template-columns: repeat(2, 1fr); }
  [data-component="stats"] > div:nth-child(2) { border-right: none; }
  [data-component="stats"] > div:nth-child(3) { border-top: 1px solid var(--border); }
  [data-component="stats"] > div:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }
}

[data-component="steps"] {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}
[data-component="steps"]::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 40px;
  width: 2px;
  background: repeating-linear-gradient(180deg, var(--border) 0px, var(--border) 6px, transparent 6px, transparent 12px);
}
[data-component="steps"] li {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  position: relative;
}
[data-component="steps"] .step-num {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  border: 2px solid var(--border);
  position: relative;
  z-index: 1;
}
[data-component="steps"] .step-body h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text);
}
[data-component="steps"] .step-body p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

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

.payments-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 14px;
}
.payments-table th {
  background: var(--surface-alt);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 12px;
  border: 1px solid var(--border);
  text-align: left;
  font-family: var(--font-heading);
}
.payments-table td {
  padding: 10px 12px;
  border: 1px solid rgba(201,150,30,0.3);
  line-height: 32px;
  height: 32px;
  vertical-align: middle;
  color: var(--text);
}
.payments-table tr:nth-child(even) td { background: var(--surface-alt); }
.payments-table tr:hover td { background: rgba(255,179,0,0.07); }

[data-component="bonus"] {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 1px 1px 0px var(--border);
}

[data-component="faq"] details {
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
[data-component="faq"] details[open] {
  background: rgba(255,179,0,0.06);
  border-left: 2px solid var(--primary);
}
[data-component="faq"] summary {
  cursor: pointer;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  user-select: none;
  min-height: 44px;
  line-height: 1.4;
}
[data-component="faq"] summary::-webkit-details-marker { display: none; }
[data-component="faq"] summary::after {
  content: '\F4FE';
  font-family: 'bootstrap-icons';
  color: var(--primary);
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 0.15s;
}
[data-component="faq"] details[open] summary::after {
  content: '\F2EA';
}
[data-component="faq"] summary:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
}
[data-component="faq"] > details > div {
  padding: 0 16px 14px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}

.vip-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 13px;
}
.vip-table th {
  background: var(--primary);
  color: #fff;
  padding: 10px 10px;
  border: 1px solid var(--border);
  font-family: var(--font-heading);
  font-size: 13px;
  text-align: center;
}
.vip-table td {
  padding: 9px 10px;
  border: 1px solid rgba(201,150,30,0.3);
  height: 32px;
  vertical-align: middle;
  text-align: center;
  color: var(--text);
}
.vip-table tr:nth-child(even) td { background: var(--surface-alt); }
.vip-tier-bronze { color: #8a6050; font-weight: 700; }
.vip-tier-silver { color: #7b8fa1; font-weight: 700; }
.vip-tier-gold { color: #b3840a; font-weight: 700; }
.vip-tier-platinum { color: #4a7fa5; font-weight: 700; }
.vip-tier-diamond { color: #5b4fa5; font-weight: 700; }

.site-footer {
  background-color: var(--footer-bg);
  border-top: 2px solid var(--border);
  color: var(--footer-link);
}
.site-footer .footer-col-title {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--border);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}
.site-footer a {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--footer-link);
  text-decoration: none;
  line-height: 28px;
  display: block;
  transition: color 0.15s;
}
.site-footer a:hover { color: var(--action); }
.site-footer .footer-copyright {
  border-top: 1px solid #3a1a0a;
  padding-top: 16px;
  font-size: 12px;
  color: #8a6050;
  text-align: center;
  font-family: var(--font-body);
}
.footer-18plus {
  display: inline-block;
  border: 2px solid var(--border);
  color: var(--border);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius);
}

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

@media (max-width: 991px) {
  .site-navbar {
    height: auto;
    min-height: 56px;
  }
  .navbar-collapse {
    background: var(--primary);
    padding: 8px 0;
    border-top: 1px solid rgba(255,255,255,0.15);
  }
  .site-navbar .nav-link {
    border-bottom: none !important;
    padding: 10px 16px !important;
  }
  .nav-btn-login, .nav-btn-register {
    margin: 4px 16px;
    display: inline-block;
  }
}
