: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: #f56908;
  --action-dark: #d45a05;
  --accent: #ffc107;
  --border-gold: #d4af37;
  --text: #f0ede6;
  --text-muted: #9ab8a4;
  --footer-bg: #020f07;
  --radius-card: 10px 10px 2px 2px;
  --radius-btn: 6px;
  --shadow-card: 0 2px 8px rgba(0,0,0,0.55), 0 0 0 1px rgba(212,175,55,0.19);
  --shadow-card-hover: 0 6px 24px rgba(15,157,88,0.25), 0 0 0 1px #d4af37;
  --shadow-action: 0 4px 14px rgba(245,105,8,0.45);
}

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

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

body {
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320' viewBox='0 0 320 320'%3E%3Cg fill='none' stroke='%23d4af37' stroke-width='0.6' opacity='0.04'%3E%3Cellipse cx='160' cy='160' rx='60' ry='80'/%3E%3Cellipse cx='160' cy='160' rx='90' ry='120'/%3E%3Ccircle cx='160' cy='160' r='40'/%3E%3Cpath d='M160 80 Q200 120 160 160 Q120 120 160 80Z'/%3E%3Cpath d='M160 240 Q200 200 160 160 Q120 200 160 240Z'/%3E%3Cpath d='M80 160 Q120 120 160 160 Q120 200 80 160Z'/%3E%3Cpath d='M240 160 Q200 120 160 160 Q200 200 240 160Z'/%3E%3Ccircle cx='40' cy='40' r='20'/%3E%3Ccircle cx='280' cy='40' r='20'/%3E%3Ccircle cx='40' cy='280' r='20'/%3E%3Ccircle cx='280' cy='280' r='20'/%3E%3Cpath d='M30 160 Q50 140 70 160 Q50 180 30 160Z'/%3E%3Cpath d='M250 160 Q270 140 290 160 Q270 180 250 160Z'/%3E%3Cpath d='M160 30 Q140 50 160 70 Q180 50 160 30Z'/%3E%3Cpath d='M160 250 Q140 270 160 290 Q180 270 160 250Z'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 320px;
  color: var(--text);
  font-family: 'Noto Sans Bengali', sans-serif;
  font-size: 0.9rem;
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
}

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

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary-dark); border-radius: 3px; }

a {
  color: var(--accent);
  text-decoration-offset: 3px;
  transition: color 0.2s;
}
a:hover { color: var(--text); }
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

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

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

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
}

h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

p { max-width: 72ch; }

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

.section-divider {
  height: 28px;
  width: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='28' viewBox='0 0 1200 28'%3E%3Cline x1='0' y1='14' x2='480' y2='14' stroke='%23d4af37' stroke-width='1' opacity='0.45'/%3E%3Cpath d='M500 14 Q510 6 520 14 Q530 22 540 14 Q550 6 560 14 Q570 22 580 14 Q590 6 600 14 Q610 22 620 14 Q630 6 640 14 Q650 22 660 14 Q670 6 680 14 Q690 22 700 14' stroke='%23d4af37' stroke-width='1.2' fill='none' opacity='0.55'/%3E%3Ccircle cx='490' cy='14' r='4' fill='none' stroke='%23d4af37' stroke-width='1' opacity='0.55'/%3E%3Ccircle cx='710' cy='14' r='4' fill='none' stroke='%23d4af37' stroke-width='1' opacity='0.55'/%3E%3Cpath d='M490 14 Q492 8 496 14 Q492 20 490 14Z' fill='%23d4af37' opacity='0.4'/%3E%3Cpath d='M710 14 Q712 8 716 14 Q712 20 710 14Z' fill='%23d4af37' opacity='0.4'/%3E%3Cline x1='720' y1='14' x2='1200' y2='14' stroke='%23d4af37' stroke-width='1' opacity='0.45'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  pointer-events: none;
}

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

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.5rem;
}
.section-title h2 {
  margin: 0;
  position: relative;
}
.section-title-icon {
  color: var(--border-gold);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.section-title .view-all-link {
  margin-left: auto;
  font-size: 0.82rem;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.section-title .view-all-link:hover { color: var(--accent); }

.btn-action {
  background: var(--action);
  color: #fff;
  font-family: 'Noto Sans Bengali', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 11px 28px;
  border-radius: var(--radius-btn);
  border: none;
  box-shadow: var(--shadow-action);
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease-out;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1.4;
  min-height: 44px;
}
.btn-action:hover {
  background: var(--action-dark);
  box-shadow: 0 6px 20px rgba(245,105,8,0.6);
  transform: translateY(-1px);
  color: #fff;
}
.btn-action:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn-secondary {
  background: transparent;
  border: 1.5px dashed var(--border-gold);
  color: var(--text);
  font-family: 'Noto Sans Bengali', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 10px 24px;
  border-radius: var(--radius-btn);
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease-out;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1.4;
  min-height: 44px;
}
.btn-secondary:hover {
  background: rgba(212,175,55,0.1);
  border-style: solid;
  color: var(--text);
}
.btn-secondary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn-green {
  background: var(--primary);
  color: #fff;
  font-family: 'Noto Sans Bengali', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 24px;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease-out;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
}
.btn-green:hover { background: #0a8048; color: #fff; }

.ticket-card {
  background: var(--surface);
  border: 1px solid rgba(212,175,55,0.32);
  border-top: 2px solid var(--border-gold);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  overflow: hidden;
  position: relative;
}
.ticket-card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-gold);
  transform: translateY(-2px);
}

.ticket-punch::before,
.ticket-punch::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg);
  top: calc(50% - 6px);
  z-index: 2;
}
.ticket-punch::before { left: -6px; }
.ticket-punch::after { right: -6px; }

.site-navbar {
  background: var(--primary-dark);
  height: 56px;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(212,175,55,0.25);
}

.site-navbar .navbar-brand {
  font-family: 'Tiro Bangla', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-navbar .navbar-brand img {
  height: 38px;
  width: auto;
}
.site-navbar .navbar-brand:hover { color: var(--accent); }

.site-navbar .nav-link {
  font-family: 'Noto Sans Bengali', sans-serif;
  font-size: 0.85rem;
  color: #d4f0dd;
  letter-spacing: 0.02em;
  padding: 6px 14px !important;
  border-radius: 4px;
  transition: color 0.2s;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.site-navbar .nav-link:hover {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}
.site-navbar .nav-link.active {
  color: var(--accent);
  background: rgba(212,175,55,0.12);
}

.site-navbar .navbar-toggler {
  border-color: rgba(212,175,55,0.4);
  min-width: 44px;
  min-height: 44px;
}
.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='%23d4f0dd' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-nav-btns {
  display: flex;
  align-items: center;
  gap: 8px;
}
.navbar-nav-btns .btn-login {
  border: 1.5px solid var(--border-gold);
  background: transparent;
  color: var(--text);
  border-radius: var(--radius-btn);
  padding: 6px 20px;
  font-family: 'Noto Sans Bengali', sans-serif;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.navbar-nav-btns .btn-login:hover { background: rgba(212,175,55,0.1); color: var(--text); }

.site-footer {
  background: var(--footer-bg);
  border-top: 1px solid rgba(212,175,55,0.25);
  padding-top: 8px;
}

.footer-peacock-bar {
  height: 32px;
  width: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='32' viewBox='0 0 1200 32'%3E%3Cline x1='0' y1='16' x2='1200' y2='16' stroke='%23d4af37' stroke-width='0.8' opacity='0.35'/%3E%3Cellipse cx='600' cy='16' rx='180' ry='10' stroke='%23d4af37' stroke-width='0.8' fill='none' opacity='0.4'/%3E%3Cpath d='M420 16 Q440 8 460 16 Q480 24 500 16 Q520 8 540 16 Q560 24 580 16 Q600 8 620 16 Q640 24 660 16 Q680 8 700 16 Q720 24 740 16 Q760 8 780 16' stroke='%23d4af37' stroke-width='0.8' fill='none' opacity='0.45'/%3E%3Ccircle cx='410' cy='16' r='3' fill='%23d4af37' opacity='0.45'/%3E%3Ccircle cx='790' cy='16' r='3' fill='%23d4af37' opacity='0.45'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  margin-bottom: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 40px 5% 28px;
}

.footer-brand-name {
  font-family: 'Tiro Bangla', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.footer-payment-tag {
  background: var(--surface);
  border: 1px solid rgba(212,175,55,0.25);
  color: var(--text-muted);
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 4px;
}

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--border-gold);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px dashed rgba(212,175,55,0.2);
  padding: 16px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copyright {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-responsible {
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge-18 {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--border-gold);
  flex-shrink: 0;
}

.footer-responsible-text {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.tag-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--border-gold);
  display: inline-block;
}

.rtp-badge {
  background: rgba(255,193,7,0.12);
  color: var(--accent);
  font-size: 0.68rem;
  padding: 1px 6px;
  border-radius: 3px;
  font-weight: 600;
  font-family: 'Noto Sans Bengali', sans-serif;
}

.brand-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.brand-table th {
  background: var(--surface);
  color: var(--accent);
  font-family: 'Tiro Bangla', serif;
  font-weight: 700;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(212,175,55,0.3);
  text-align: left;
}
.brand-table td {
  padding: 9px 14px;
  border-bottom: 1px dashed rgba(212,175,55,0.18);
  color: var(--text);
}
.brand-table tr:last-child td { border-bottom: none; }
.brand-table tr:hover td { background: var(--surface-alt); }

.faq-details {
  background: var(--surface);
  border: 1px solid rgba(212,175,55,0.25);
  border-top: 2px solid var(--border-gold);
  border-radius: var(--radius-card);
  margin-bottom: 10px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.faq-details[open] {
  background: var(--surface-alt);
  box-shadow: var(--shadow-card-hover);
}
.faq-summary {
  padding: 14px 18px;
  font-family: 'Tiro Bangla', serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--text);
  min-height: 44px;
}
.faq-summary::-webkit-details-marker { display: none; }
.faq-summary::after {
  content: '\F282';
  font-family: 'bootstrap-icons';
  font-size: 1rem;
  color: var(--accent);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.faq-details[open] .faq-summary::after {
  transform: rotate(180deg);
  content: '\F286';
}
.faq-body {
  padding: 0 18px 16px;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.75;
}

.steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}
.steps-list::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), rgba(15,157,88,0.1));
}
.step-item {
  display: flex;
  gap: 18px;
  margin-bottom: 28px;
  position: relative;
}
.step-item:last-child { margin-bottom: 0; }
.step-num {
  width: 40px;
  height: 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;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 3px rgba(15,157,88,0.2);
}
.step-content h3 {
  font-size: 1rem;
  margin: 0 0 4px;
  color: var(--text);
}
.step-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  max-width: 55ch;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
}
.trust-item {
  background: var(--surface);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 6px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.trust-item i {
  color: var(--primary);
  font-size: 1rem;
  flex-shrink: 0;
}

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

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}
@media (max-width: 575px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 28px 5% 20px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
