: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: #f56908;
  --action-hover: #d45500;
  --accent: #ffab2d;
  --border-gold: #c9961e;
  --text: #111827;
  --text-muted: #4b5563;
  --radius-card: 24px;
  --radius-pill: 999px;
  --shadow-card: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-card-hover: 0 12px 32px rgba(0,0,0,0.18);
  --shadow-nav: 0 2px 12px rgba(47,53,160,0.10);
  --shadow-btn: 0 6px 20px rgba(245,105,8,0.35);
  --shadow-btn-hover: 0 8px 24px rgba(245,105,8,0.45);
  --shadow-modal: 0 16px 48px rgba(0,0,0,0.25);
}

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

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

body {
  font-family: 'Hind Siliguri', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  margin: 0;
  padding: 0;
  overflow-wrap: anywhere;
}

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

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--surface-alt); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 999px; }

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

h1, h2, h3, h4 {
  font-family: 'Galada', sans-serif;
  line-height: 1.35;
  margin-top: 0;
}

h2 { font-size: 2rem; color: var(--text); }
h3 { font-size: 1.125rem; font-family: 'Hind Siliguri', sans-serif; font-weight: 600; }

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

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

.btn-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--action);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 12px 28px;
  font-family: 'Hind Siliguri', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: var(--shadow-btn);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-action:hover {
  background: var(--action-hover);
  color: #fff;
  box-shadow: var(--shadow-btn-hover);
  transform: translateY(-1px);
  text-decoration: none;
}
.btn-action:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: var(--radius-pill);
  padding: 11px 26px;
  font-family: 'Hind Siliguri', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  text-decoration: none;
}
.btn-outline:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--text);
  border: none;
  border-radius: var(--radius-pill);
  padding: 10px 24px;
  font-family: 'Hind Siliguri', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-accent:hover {
  background: #e09620;
  color: var(--text);
  text-decoration: none;
}

.site-navbar {
  background: var(--surface);
  box-shadow: var(--shadow-nav);
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
}

.site-navbar .navbar-brand {
  font-family: 'Galada', sans-serif;
  font-size: 1.75rem;
  color: var(--primary);
  text-decoration: none;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-navbar .navbar-brand:hover { color: var(--primary); }

.site-navbar .nav-link {
  font-family: 'Hind Siliguri', sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.2px;
  color: var(--text);
  padding: 0.5rem 0.75rem;
  position: relative;
  transition: color 0.2s;
}
.site-navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0.75rem;
  right: 0.75rem;
  height: 3px;
  background: var(--action);
  border-radius: 999px;
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
.site-navbar .nav-link:hover { color: var(--primary); }
.site-navbar .nav-link.active { color: var(--primary); }
.site-navbar .nav-link.active::after { transform: scaleX(1); }

.site-navbar .navbar-nav .nav-link:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.navbar-toggler {
  border: 2px solid var(--primary);
  border-radius: 12px;
  padding: 6px 10px;
  min-width: 44px;
  min-height: 44px;
}
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(47,53,160,0.25); }
.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='%232f35a0' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

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

.section-title {
  font-family: 'Galada', sans-serif;
  font-size: 2rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

[data-component="trust"] {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
}
[data-component="trust"] li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
}
[data-component="trust"] li i {
  font-size: 1rem;
  color: var(--primary);
}

[data-component="stats"] {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 0;
  padding: 0;
}
[data-component="stats"] > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
[data-component="stats"] dd {
  font-family: 'Galada', sans-serif;
  font-size: 1.75rem;
  color: var(--primary);
  margin: 0;
  line-height: 1.2;
}
[data-component="stats"] dt {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  margin: 0;
  order: 1;
}

[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"] {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }
}

.game-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: 20px 20px 16px 16px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
  flex-shrink: 0;
}
@media (max-width: 575px) {
  .game-card {
    width: 160px;
    scroll-snap-align: start;
  }
}
.game-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  text-decoration: none;
  color: inherit;
}
.game-card:hover .game-card__img img {
  transform: scale(1.04);
}
.game-card__img {
  height: 130px;
  overflow: hidden;
}
.game-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.game-card__body {
  padding: 12px 14px;
  flex: 1;
}
.game-card__name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 2px;
  font-family: 'Hind Siliguri', sans-serif;
  line-height: 1.3;
}
.game-card__meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0 0 6px;
}
.game-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--border-gold);
  background: #fff7ed;
  border: 1px solid var(--border-gold);
  border-radius: 999px;
  padding: 2px 8px;
}

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

[data-component="bonus"] {
  background: var(--primary-dark);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-gold);
  padding: 2rem;
  color: #fff;
  box-shadow: var(--shadow-modal);
}

[data-component="steps"] {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: steps-counter;
}
[data-component="steps"] li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--surface-alt);
  counter-increment: steps-counter;
}
[data-component="steps"] li:last-child { border-bottom: none; }
[data-component="steps"] .step-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-family: 'Galada', sans-serif;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(47,53,160,0.3);
}
[data-component="steps"] li:nth-child(odd) .step-num {
  background: var(--action);
  box-shadow: var(--shadow-btn);
}
[data-component="steps"] .step-content h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text);
}
[data-component="steps"] .step-content p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0;
}

[data-component="vip"] {
  overflow-x: auto;
}

[data-component="faq"] details {
  border-bottom: 1px solid var(--surface-alt);
  padding: 4px 0;
}
[data-component="faq"] details:last-child { border-bottom: none; }
[data-component="faq"] summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  line-height: 1.4;
}
[data-component="faq"] summary::-webkit-details-marker { display: none; }
[data-component="faq"] summary .faq-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface-alt);
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
[data-component="faq"] summary .faq-icon {
  margin-left: auto;
  font-size: 1.1rem;
  color: var(--primary);
  transition: transform 0.2s;
}
[data-component="faq"] details[open] summary .faq-icon {
  transform: rotate(45deg);
}
[data-component="faq"] details > div {
  padding: 0 0 16px 40px;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.site-footer {
  background: var(--primary-dark);
  color: #fff;
  padding: 48px 0 24px;
}
.site-footer .footer-logo {
  font-family: 'Galada', sans-serif;
  font-size: 1.75rem;
  color: #fff;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 8px;
}
.site-footer .footer-logo:hover { color: var(--accent); }
.site-footer p { font-size: 0.875rem; color: rgba(255,255,255,0.65); }
.site-footer h4 {
  font-family: 'Hind Siliguri', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.site-footer .footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer .footer-links li { margin-bottom: 8px; }
.site-footer .footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.2s;
}
.site-footer .footer-links a:hover { color: var(--accent); }
.site-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 32px;
  padding-top: 16px;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}
.badge-18 {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--border-gold);
  border-radius: 12px;
  padding: 4px 10px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--border-gold);
  gap: 4px;
}

.felt-bg {
  position: relative;
  background-color: var(--bg);
  overflow: hidden;
}
.felt-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, #1a5c30 0%, #0f3d20 100%);
  opacity: 0.08;
  pointer-events: none;
}

.custom-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9375rem;
}
.custom-table th {
  background: var(--surface-alt);
  color: var(--primary);
  font-weight: 600;
  padding: 12px 16px;
  text-align: left;
  font-family: 'Hind Siliguri', sans-serif;
}
.custom-table th:first-child { border-radius: 12px 0 0 0; }
.custom-table th:last-child { border-radius: 0 12px 0 0; }
.custom-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--surface-alt);
  color: var(--text);
  vertical-align: middle;
}
.custom-table tr:last-child td { border-bottom: none; }
.custom-table tr:nth-child(even) td { background: #f8f9fc; }

.pattern-bg {
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Cline x1='0' y1='32' x2='32' y2='0' stroke='%232f35a0' stroke-width='0.5' opacity='0.03'/%3E%3C/svg%3E");
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
:root{--qa-scroll:start}
:where([data-component="game-grid"]) > * { min-width: auto; }
:root{--qa-scroll:end}
