: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: #f3f4f9;
  --surface: #ffffff;
  --surface-alt: #e5e8f3;
  --primary: #2f35a0;
  --primary-dark: #142590;
  --action: #ffab2d;
  --action-hover: #f56908;
  --accent: #f56908;
  --border-gold: #c9961e;
  --text: #1a1a2e;
  --text-muted: #4a4e6b;
  --nav-link: #c5caee;
  --radius: 2px;
  --section-py: clamp(28px, 3.5vw, 44px);
}

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

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

::selection { background: var(--primary); color: #ffffff; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--surface-alt); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 0; }

body {
  font-family: 'Hind Siliguri', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-wrap: anywhere;
  text-underline-offset: 3px;
  caret-color: var(--primary);
}

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

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

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

h1 { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.2; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 0.5em; }
h3 { font-size: clamp(1.1rem, 2vw, 1.375rem); font-weight: 600; }
h4 { font-size: 1.0625rem; font-weight: 600; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

small, .text-small { font-size: 13px; color: var(--text-muted); }

.btn-action {
  display: inline-block;
  background: var(--action);
  color: var(--text);
  border: none;
  border-radius: var(--radius);
  padding: 12px 28px;
  font-family: 'Hind Siliguri', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  line-height: 1.4;
}
.btn-action:hover { background: var(--action-hover); color: #ffffff; }
.btn-action:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  border-radius: var(--radius);
  padding: 11px 26px;
  font-family: 'Hind Siliguri', sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  line-height: 1.4;
}
.btn-secondary:hover { background: var(--primary); color: #ffffff; }
.btn-secondary:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.btn-outline-light {
  display: inline-block;
  background: transparent;
  color: #ffffff;
  border: 1.5px solid #ffffff;
  border-radius: var(--radius);
  padding: 8px 20px;
  font-family: 'Hind Siliguri', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  line-height: 1.4;
}
.btn-outline-light:hover { background: #ffffff; color: var(--primary); }

.site-nav {
  background: var(--primary);
  padding: 0 32px;
  min-height: 60px;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: none;
}

.nav-flag-bar {
  background: var(--primary-dark);
  height: 18px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.nav-flag-bar svg { display: block; }

.site-nav .navbar-brand {
  font-family: 'Anek Bangla', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  padding: 0;
  line-height: 1;
}
.site-nav .navbar-brand:hover { color: var(--action); }

.site-nav .nav-link {
  color: var(--nav-link) !important;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.2px;
  padding: 6px 12px !important;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.site-nav .nav-link:hover,
.site-nav .nav-link.active {
  color: #ffffff !important;
  border-bottom-color: var(--action);
}

.site-nav .navbar-toggler {
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: var(--radius);
  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='rgba%28255,255,255,0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-btn-group { display: flex; gap: 10px; align-items: center; }

.alpona-divider {
  height: 24px;
  width: 100%;
  overflow: hidden;
  opacity: 0.15;
  line-height: 0;
}
.alpona-divider svg { width: 100%; height: 24px; }

.alpona-section {
  position: relative;
  overflow: hidden;
}
.alpona-section::before,
.alpona-section::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='200'%3E%3Cg fill='none' stroke='%232f35a0' stroke-width='1' opacity='0.1'%3E%3Crect x='10' y='10' width='20' height='20' transform='rotate(45 20 20)'/%3E%3Ccircle cx='40' cy='30' r='8'/%3E%3Ccircle cx='40' cy='30' r='4'/%3E%3Crect x='50' y='50' width='20' height='20' transform='rotate(45 60 60)'/%3E%3Ccircle cx='20' cy='80' r='8'/%3E%3Ccircle cx='20' cy='80' r='3'/%3E%3Crect x='30' y='100' width='20' height='20' transform='rotate(45 40 110)'/%3E%3Ccircle cx='60' cy='140' r='8'/%3E%3Ccircle cx='60' cy='140' r='4'/%3E%3Crect x='10' y='160' width='20' height='20' transform='rotate(45 20 170)'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat-y;
  background-size: 80px 200px;
  pointer-events: none;
  z-index: 0;
}
.alpona-section::before { left: 0; }
.alpona-section::after { right: 0; }
.alpona-section > * { position: relative; z-index: 1; }

.site-footer {
  background: var(--primary-dark);
  color: #c5caee;
  padding: 48px 32px 24px;
}

.site-footer .footer-brand {
  font-family: 'Anek Bangla', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  display: block;
  margin-bottom: 6px;
}

.site-footer .footer-tagline { font-size: 13px; color: #c5caee; margin-bottom: 16px; }

.site-footer .footer-social { display: flex; gap: 12px; margin-bottom: 0; }
.site-footer .footer-social a {
  color: var(--action);
  font-size: 20px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}
.site-footer .footer-social a:hover { color: #ffffff; }

.site-footer .footer-col-title {
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 12px;
  font-family: 'Anek Bangla', sans-serif;
}

.site-footer .footer-links { list-style: none; padding: 0; margin: 0; }
.site-footer .footer-links li { margin-bottom: 6px; }
.site-footer .footer-links a {
  color: #c5caee;
  font-size: 14px;
  text-decoration: none;
}
.site-footer .footer-links a:hover { color: var(--action); }

.site-footer .footer-compliance {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 12px;
  text-align: center;
}
.site-footer .footer-compliance .compliance-badge {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  font-family: 'Anek Bangla', sans-serif;
  display: block;
  line-height: 1;
}
.site-footer .footer-compliance small { color: #c5caee; font-size: 12px; }

.site-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 16px;
  margin-top: 32px;
  text-align: center;
  color: #8890c4;
  font-size: 12px;
}

input, select, textarea {
  border-radius: var(--radius);
  border: 1px solid #c5caee;
  padding: 10px 14px;
  font-family: 'Hind Siliguri', sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--surface);
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(47,53,160,0.12);
}

[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: 6px;
  background: var(--surface);
  border: 1px solid var(--surface-alt);
  border-radius: var(--radius);
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
[data-component="trust"] li i { color: var(--primary); font-size: 15px; }

[data-component="stats"] {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0;
  padding: 0;
}
[data-component="stats"] > div {
  background: var(--surface);
  border: 1px solid var(--surface-alt);
  border-radius: var(--radius);
  padding: 12px 20px;
  min-width: 120px;
  text-align: center;
}
[data-component="stats"] dd {
  font-family: 'Anek Bangla', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
  line-height: 1.2;
}
[data-component="stats"] dt {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

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

.game-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--surface-alt);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.game-card:hover {
  border-color: var(--primary);
  border-bottom: 2px solid var(--action);
  box-shadow: 2px 2px 0 0 var(--primary);
  color: var(--text);
}
.game-card .game-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.game-card .game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s;
}
.game-card:hover .game-thumb img { transform: scale(1.03); }
.game-card .rtp-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--primary);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 0;
}
.game-card .game-info { padding: 10px 12px; }
.game-card .game-tag {
  display: inline-block;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 3px;
  background: var(--surface-alt);
  padding: 1px 6px;
  border-radius: 0;
}
.game-card h3 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 2px;
  line-height: 1.3;
}
.game-card p {
  font-size: 11px;
  color: var(--text-muted);
  margin: 0;
}

[data-component="payments"] {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 767px) {
  [data-component="payments"] { grid-template-columns: repeat(2, 1fr); }
}
[data-component="payments"] li {
  background: var(--surface);
  border: 1px solid var(--surface-alt);
  border-radius: var(--radius);
  padding: 16px 12px;
  text-align: center;
  transition: border-color 0.15s;
}
[data-component="payments"] li:hover { border-color: var(--border-gold); }
[data-component="payments"] .pay-name {
  display: block;
  font-weight: 700;
  font-size: 15px;
  color: var(--primary);
  margin-bottom: 6px;
  font-family: 'Anek Bangla', sans-serif;
}
[data-component="payments"] .pay-detail {
  font-size: 12px;
  color: var(--text-muted);
}

[data-component="steps"] {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}
[data-component="steps"]::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--surface-alt);
}
[data-component="steps"] li {
  position: relative;
  padding-left: 56px;
  margin-bottom: 24px;
}
[data-component="steps"] li:last-child { margin-bottom: 0; }
[data-component="steps"] .step-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: #ffffff;
  font-family: 'Anek Bangla', sans-serif;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--surface);
  z-index: 1;
}
[data-component="steps"] .step-title {
  font-family: 'Anek Bangla', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
[data-component="steps"] .step-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.vip-progress {
  display: flex;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--surface-alt);
  margin-bottom: 24px;
}
.vip-tier {
  flex: 1;
  padding: 16px 12px;
  text-align: center;
  background: var(--surface);
  border-right: 1px solid var(--surface-alt);
  position: relative;
  transition: background 0.15s;
}
.vip-tier:last-child { border-right: none; }
.vip-tier.featured { background: var(--primary); }
.vip-tier .tier-name {
  font-family: 'Anek Bangla', sans-serif;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}
.vip-tier.featured .tier-name { color: #ffffff; }
.vip-tier .tier-cb {
  font-size: 20px;
  font-weight: 700;
  font-family: 'Anek Bangla', sans-serif;
  color: var(--primary);
}
.vip-tier.featured .tier-cb { color: var(--action); }
.vip-tier .tier-detail { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.vip-tier.featured .tier-detail { color: rgba(255,255,255,0.75); }

[data-component="faq"] details {
  background: var(--surface);
  border-left: 3px solid var(--primary);
  border-top: 1px solid var(--surface-alt);
  border-right: 1px solid var(--surface-alt);
  border-bottom: 1px solid var(--surface-alt);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 8px;
  overflow: hidden;
}
[data-component="faq"] summary {
  padding: 14px 18px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
}
[data-component="faq"] summary::-webkit-details-marker { display: none; }
[data-component="faq"] summary::before {
  content: '';
  display: inline-block;
  width: 22px;
  min-width: 22px;
  height: 22px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  line-height: 22px;
}
[data-component="faq"] details:nth-child(1) summary::before { content: '১'; }
[data-component="faq"] details:nth-child(2) summary::before { content: '২'; }
[data-component="faq"] details:nth-child(3) summary::before { content: '৩'; }
[data-component="faq"] details:nth-child(4) summary::before { content: '৪'; }
[data-component="faq"] details:nth-child(5) summary::before { content: '৫'; }
[data-component="faq"] details:nth-child(6) summary::before { content: '৬'; }
[data-component="faq"] details:nth-child(7) summary::before { content: '৭'; }
[data-component="faq"] details:nth-child(8) summary::before { content: '৮'; }
[data-component="faq"] details:nth-child(9) summary::before { content: '৯'; }
[data-component="faq"] summary i { color: var(--action); margin-left: auto; flex-shrink: 0; }
[data-component="faq"] details[open] summary i { transform: rotate(180deg); }
[data-component="faq"] .faq-body {
  padding: 4px 18px 16px 50px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 8px;
}
.section-header h2 { margin: 0; }
.section-header a {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.section-header a:hover { color: var(--action-hover); }

.section-label {
  display: inline-block;
  background: var(--surface-alt);
  border: 1px solid var(--border-gold);
  border-radius: 0;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

@media (max-width: 991px) {
  .site-nav { padding: 0 16px; }
}
@media (max-width: 767px) {
  .site-footer { padding: 32px 16px 20px; }
}

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