: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 > :not(:has([class*="container"])) { padding-inline: max(16px, calc((100% - 1320px) / 2)) !important; }
:where(main > :first-child > :not([class*="container"], :has([class*="container"]), img, picture, video, [style*="absolute"])) {
  padding-inline: max(16px, calc((100% - 1320px) / 2)); }  
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: #f56908;
  --primary-dark: #d45500;
  --primary-text: #0b1220;
  --accent: #ffab2d;
  --brand: #2f35a0;
  --brand-dark: #142590;
  --text: #111827;
  --text-muted: #4b5563;
  --border: #c9961e;
  --footer-bg: #111827;
  --radius: 4px;
  --shadow-card: 8px 8px 0 rgba(0,0,0,0.65);
  --shadow-btn: 6px 6px 0 rgba(0,0,0,0.6);
  --shadow-hover: 3px 3px 0 rgba(0,0,0,0.6);
}

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

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

body {
  font-family: 'Hind Siliguri', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 4px,
    rgba(0,0,0,0.035) 4px,
    rgba(0,0,0,0.035) 5px
  );
  overflow-wrap: anywhere;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Galada', sans-serif;
  line-height: 1.3;
  letter-spacing: -0.5px;
  color: var(--text);
}

.site-nav {
  background-color: var(--brand);
  box-shadow: 0 3px 0 var(--border);
  min-height: 60px;
  padding-top: 0;
  padding-bottom: 0;
}

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

.site-nav .nav-link {
  font-family: 'Hind Siliguri', sans-serif;
  font-size: 15px;
  color: #e5e8f3 !important;
  padding: 8px 10px;
  transition: color 0.15s;
  position: relative;
}

.site-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10px;
  right: 10px;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.15s;
}

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

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

.btn-nav-login {
  border: 2px solid #ffffff;
  background: transparent;
  color: #ffffff !important;
  border-radius: var(--radius);
  padding: 8px 20px;
  font-family: 'Hind Siliguri', sans-serif;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.15s;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.btn-nav-login:hover { background: rgba(255,255,255,0.12); color: #fff !important; }

.btn-nav-register {
  background: var(--primary);
  color: #ffffff !important;
  border: none;
  border-radius: var(--radius);
  padding: 8px 20px;
  font-family: 'Hind Siliguri', sans-serif;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 3px 3px 0 rgba(0,0,0,0.5);
  transition: background 0.15s, box-shadow 0.15s, transform 0.15s;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.btn-nav-register:hover {
  background: var(--primary-dark);
  box-shadow: 1px 1px 0 rgba(0,0,0,0.5);
  transform: translate(2px,2px);
  color: #fff !important;
}

.navbar-toggler {
  border-color: rgba(255,255,255,0.4);
  color: #fff;
  min-width: 44px;
  min-height: 44px;
}
.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(255,255,255,0.9)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.btn-primary-cta {
  background: var(--primary);
  color: #ffffff;
  font-family: 'Hind Siliguri', sans-serif;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius);
  border: 3px solid var(--primary-dark);
  box-shadow: var(--shadow-btn);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s ease-out;
  min-height: 44px;
}
.btn-primary-cta:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-hover);
  transform: translate(3px,3px);
  color: #ffffff;
}
.btn-primary-cta:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.btn-secondary-cta {
  background: transparent;
  color: var(--brand);
  font-family: 'Hind Siliguri', sans-serif;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius);
  border: 3px solid var(--brand);
  box-shadow: 4px 4px 0 var(--brand);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s ease-out;
  min-height: 44px;
}
.btn-secondary-cta:hover {
  background: var(--brand);
  color: #ffffff;
  box-shadow: 2px 2px 0 var(--brand);
  transform: translate(2px,2px);
}
.btn-secondary-cta:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.btn-accent-cta {
  background: var(--accent);
  color: var(--text);
  font-family: 'Hind Siliguri', sans-serif;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius);
  border: 3px solid var(--border);
  box-shadow: 4px 4px 0 rgba(0,0,0,0.5);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s ease-out;
  min-height: 44px;
}
.btn-accent-cta:hover {
  background: #e09a20;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.5);
  transform: translate(2px,2px);
  color: var(--text);
}

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

.section-label {
  display: inline-block;
  font-family: 'Hind Siliguri', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--border);
  margin-bottom: 8px;
}

.section-h2 {
  font-family: 'Galada', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1.3;
}

.section-h2 .accent { color: var(--primary); }

.section-accent-top {
  border-top: 4px solid var(--border);
}

.game-card {
  display: block;
  background: var(--surface);
  border: 3px solid var(--text);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: all 0.15s ease-out;
  position: relative;
}
.game-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 12px 12px 0 rgba(0,0,0,0.65);
  border-color: var(--primary);
  color: var(--text);
}
.game-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 0;
}
.game-card h3 {
  font-family: 'Galada', sans-serif;
  font-size: 18px;
  color: var(--text);
  padding: 10px 12px 4px;
  margin: 0;
}
.game-card p {
  font-family: 'Hind Siliguri', sans-serif;
  font-size: 12px;
  color: var(--text-muted);
  padding: 0 12px 10px;
  margin: 0;
}
.game-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--brand);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 2px;
  text-transform: uppercase;
}
.rtp-badge {
  display: inline-block;
  background: var(--brand);
  color: #ffffff;
  font-family: 'Hind Siliguri', sans-serif;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 2px;
  margin: 0 12px 10px;
}

[data-component="trust"] {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
[data-component="trust"] li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #e5e8f3;
  font-weight: 600;
}
[data-component="trust"] li i {
  color: var(--accent);
  font-size: 16px;
}

[data-component="stats"] {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  padding: 0;
}
[data-component="stats"] > div {
  flex: 1 1 120px;
  padding: 12px 16px;
  border-right: 2px solid rgba(255,255,255,0.2);
  text-align: center;
}
[data-component="stats"] > div:last-child { border-right: none; }
[data-component="stats"] dt {
  font-family: 'Hind Siliguri', sans-serif;
  font-size: 12px;
  color: #c5cae9;
  margin-bottom: 4px;
  font-weight: 600;
}
[data-component="stats"] dd {
  font-family: 'Galada', sans-serif;
  font-size: 26px;
  color: var(--accent);
  margin: 0;
  line-height: 1.15;
}

[data-component="payments"] {
  list-style: none;
  padding: 0;
  margin: 0;
}
[data-component="payments"] li {
  display: grid;
  grid-template-columns: 100px 1fr 1fr 1fr;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 2px solid var(--surface-alt);
  font-size: 14px;
  gap: 8px;
}
[data-component="payments"] li:last-child { border-bottom: none; }
[data-component="payments"] .pm-name {
  font-weight: 600;
  color: var(--brand);
  font-size: 15px;
}
[data-component="payments"] .pm-val {
  color: var(--text);
}
[data-component="payments"] .pm-head {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

[data-component="steps"] {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}
[data-component="steps"]::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: repeating-linear-gradient(to bottom, var(--border) 0, var(--border) 8px, transparent 8px, transparent 16px);
}
[data-component="steps"] li {
  display: flex;
  gap: 20px;
  padding-bottom: 32px;
  position: relative;
}
[data-component="steps"] li:last-child { padding-bottom: 0; }
.step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--brand-dark);
  color: var(--accent);
  font-family: 'Galada', sans-serif;
  font-size: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--border);
  position: relative;
  z-index: 1;
}
.step-body h4 {
  font-family: 'Galada', sans-serif;
  font-size: 20px;
  color: var(--brand);
  margin-bottom: 4px;
}
.step-body p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

[data-component="faq"] details {
  border: 3px solid var(--text);
  border-radius: var(--radius);
  margin-bottom: 8px;
  background: var(--surface);
}
[data-component="faq"] summary {
  font-family: 'Hind Siliguri', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
  min-height: 44px;
}
[data-component="faq"] summary::-webkit-details-marker { display: none; }
[data-component="faq"] summary::after {
  content: '\002B';
  font-size: 20px;
  color: var(--brand);
  flex-shrink: 0;
}
[data-component="faq"] details[open] summary::after { content: '\2212'; }
[data-component="faq"] details > div {
  padding: 0 16px 16px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  border-top: 2px solid var(--surface-alt);
}

[data-component="vip"] {
  overflow-x: auto;
}
[data-component="vip"] table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  min-width: 540px;
}
[data-component="vip"] thead tr {
  background: var(--brand);
}
[data-component="vip"] thead th {
  color: #ffffff;
  font-family: 'Hind Siliguri', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 12px;
  text-align: left;
}
[data-component="vip"] tbody td {
  padding: 10px 12px;
  font-size: 13px;
  border-bottom: 1px solid var(--surface-alt);
  color: var(--text);
}
[data-component="vip"] tbody tr:last-child td { border-bottom: none; }
[data-component="vip"] tbody tr:nth-child(even) { background: var(--surface-alt); }
.vip-tier-name {
  font-weight: 700;
  font-family: 'Galada', sans-serif;
  font-size: 15px;
}

.site-footer {
  background: var(--footer-bg);
  border-top: 4px solid var(--border);
  color: #9ca3af;
}
.site-footer .footer-logo {
  font-family: 'Galada', sans-serif;
  font-size: 24px;
  color: #ffffff;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
}
.site-footer .footer-tagline {
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 12px;
}
.site-footer .footer-col-title {
  font-family: 'Hind Siliguri', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--border);
  margin-bottom: 12px;
}
.site-footer .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer .footer-links li {
  margin-bottom: 6px;
}
.site-footer .footer-links a {
  font-size: 14px;
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.15s, border-left 0.15s;
  display: inline-block;
  padding-left: 0;
  border-left: 2px solid transparent;
}
.site-footer .footer-links a:hover {
  color: #ffffff;
  border-left: 2px solid var(--primary);
  padding-left: 6px;
}
.site-footer .footer-divider {
  border-color: #374151;
  margin: 24px 0 16px;
}
.site-footer .footer-copyright {
  font-size: 13px;
  color: #6b7280;
  text-align: center;
}
.badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 2px solid var(--border);
  border-radius: 50%;
  font-family: 'Hind Siliguri', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--border);
}

.form-control:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(47,53,160,0.2);
  outline: none;
}
.form-control.is-invalid { border-color: #dc2626; }

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