: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: #f4f6f5;
  --surface: #fcfcfc;
  --surface-alt: #eaeceb;
  --primary: #1a7d66;
  --primary-dark: #125847;
  --action: #d3161c;
  --action-hover: #b01218;
  --accent: #25bd3f;
  --accent-hover: #1ea033;
  --gold: #b69223;
  --text: #1a1f1e;
  --text-muted: #4d5755;
  --border: #d0d4d2;
  --nav-h: 56px;
}

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

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

body {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  text-underline-offset: 3px;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, h5 {
  font-family: 'Righteous', sans-serif;
  line-height: 1.2;
}

h2 { font-size: 28px; font-weight: 700; }
h3 { font-size: 16px; font-weight: 600; }

p { max-width: 72ch; }

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

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

.font-righteous { font-family: 'Righteous', sans-serif; }
.text-muted-custom { color: var(--text-muted); }
.text-gold { color: var(--gold); }
.text-primary-brand { color: var(--primary); }

.btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--action);
  color: #fff;
  border: none;
  border-radius: 2px;
  padding: 0 28px;
  height: 44px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.btn-action:hover {
  background: var(--action-hover);
  color: #fff;
  transform: translateY(-1px);
  text-decoration: none;
}
.btn-action:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.btn-action:active { box-shadow: inset 1px 1px 0 rgba(0,0,0,0.3); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 2px;
  padding: 0 28px;
  height: 44px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.btn-secondary:hover {
  background: var(--primary);
  color: #fff;
  text-decoration: none;
}
.btn-secondary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.btn-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 2px;
  padding: 0 28px;
  height: 44px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
}
.btn-accent:hover { background: var(--accent-hover); color: #fff; text-decoration: none; }

.btn-sm-action {
  height: 36px;
  padding: 0 18px;
  font-size: 13px;
}

.site-nav {
  background: var(--primary);
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 40px);
  border-top: 1px solid var(--primary-dark);
  height: var(--nav-h);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.site-nav .nav-link {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.85) !important;
  padding: 0 12px !important;
  text-decoration: none;
  position: relative;
  line-height: var(--nav-h);
  display: inline-block;
}
.site-nav .nav-link:hover { color: #fff !important; }
.site-nav .nav-link.active {
  color: #fff !important;
}
.site-nav .nav-link.active::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--gold);
}

.nav-btn-login {
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  border-radius: 2px;
  height: 32px;
  padding: 0 14px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.nav-btn-login:hover { background: rgba(255,255,255,0.12); color: #fff; text-decoration: none; }
.nav-btn-login:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.nav-btn-signup {
  background: var(--action);
  color: #fff;
  border: none;
  border-radius: 2px;
  height: 32px;
  padding: 0 14px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
}
.nav-btn-signup:hover { background: var(--action-hover); color: #fff; text-decoration: none; }
.nav-btn-signup:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

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

section {
  padding: clamp(28px, 3.5vw, 44px) 0;
}

.section-alt { background: var(--surface-alt); }
.section-surface { background: var(--surface); }
.section-dark {
  background: var(--primary-dark);
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 40px);
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
}

.section-title {
  font-family: 'Righteous', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
}

[data-component="game-grid"] {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.game-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  text-decoration: none;
  color: var(--text);
  border: none;
  transition: all 0.15s ease;
  position: relative;
}
.game-card:hover {
  border-color: var(--gold);
  box-shadow: 2px 2px 0 0 var(--gold);
  transform: translateY(-2px);
  z-index: 1;
  text-decoration: none;
  color: var(--text);
}
.game-card .game-thumb {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 0;
  border-bottom: 1px solid var(--border);
  display: block;
}
.game-card .game-info {
  padding: 10px 12px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.game-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  line-height: 1.3;
}
.game-card .game-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}
.game-card .game-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin: 4px 0 0;
  line-height: 1.5;
}
.game-tag {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 0;
  letter-spacing: 0.2px;
  align-self: flex-start;
}

[data-component="trust"] {
  list-style: none;
  padding: 0;
  margin: 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: 12px;
  font-weight: 500;
  color: var(--text-muted);
}
[data-component="trust"] li i {
  color: var(--primary);
  font-size: 15px;
}

[data-component="stats"] {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
[data-component="stats"] > div {
  flex: 1 1 120px;
  padding: 16px 20px;
  border-right: 1px solid var(--border);
  background: var(--surface);
}
[data-component="stats"] > div:last-child { border-right: none; }
[data-component="stats"] dt {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.2px;
  text-transform: uppercase;
}
[data-component="stats"] dd {
  font-family: 'Righteous', sans-serif;
  font-size: 22px;
  color: var(--primary);
  margin: 2px 0 0;
}

[data-component="payments"] {
  list-style: none;
  padding: 0;
  margin: 0;
}
[data-component="payments"] li {
  display: grid;
  grid-template-columns: 140px 1fr 1fr 1fr;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  gap: 8px;
}
[data-component="payments"] li:first-child {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 12px;
}
[data-component="payments"] li:nth-child(even):not(:first-child) { background: var(--surface-alt); }
[data-component="payments"] .pay-name {
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
}
[data-component="payments"] li:first-child .pay-name { color: #fff; }

[data-component="bonus"] {
  background: var(--surface);
  border: 1px solid var(--border);
}

[data-component="steps"] {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  overflow: hidden;
}
.step-card {
  background: var(--surface);
  padding: 24px 20px;
  border-right: 1px solid var(--border);
  position: relative;
}
.step-card:last-child { border-right: none; }
.step-num {
  font-family: 'Righteous', sans-serif;
  font-size: 32px;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 12px;
}
.step-title {
  font-family: 'Righteous', sans-serif;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 8px;
}
.step-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 100%;
}
.step-arrow {
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: var(--gold);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  z-index: 2;
  border-radius: 0;
}
.step-card:last-child .step-arrow { display: none; }

[data-component="vip"] table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
[data-component="vip"] th {
  background: var(--primary);
  color: #fff;
  padding: 10px 12px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 12px;
  text-align: left;
  border: 1px solid var(--primary-dark);
}
[data-component="vip"] td {
  padding: 10px 12px;
  border: 1px solid var(--border);
  color: var(--text);
  vertical-align: middle;
}
[data-component="vip"] tr:nth-child(even) td { background: var(--surface-alt); }
[data-component="vip"] tr:nth-child(odd) td { background: var(--surface); }
.vip-tier-badge {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

[data-component="faq"] details {
  border-bottom: 1px solid var(--border);
  padding: 0;
}
[data-component="faq"] summary {
  padding: 16px 0;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
[data-component="faq"] summary::-webkit-details-marker { display: none; }
[data-component="faq"] summary::after {
  content: '\F282';
  font-family: 'bootstrap-icons';
  font-size: 16px;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.15s ease;
}
[data-component="faq"] details[open] summary::after {
  transform: rotate(180deg);
}
[data-component="faq"] details > div {
  padding: 0 0 16px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.site-footer {
  background: #1a1f1e;
  color: #e8eae9;
  padding: 48px 64px 24px;
}
.site-footer h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 14px;
}
.site-footer a {
  color: #e8eae9;
  font-size: 13px;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  transition: color 0.12s;
}
.site-footer a:hover { color: #fff; }
.site-footer .footer-brand {
  font-family: 'Righteous', sans-serif;
  font-size: 20px;
  color: #fff;
  margin-bottom: 8px;
}
.site-footer .footer-desc {
  font-size: 12px;
  color: rgba(232,234,233,0.6);
  line-height: 1.6;
  max-width: 220px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 32px;
  padding-top: 16px;
  text-align: center;
  font-size: 12px;
  color: rgba(232,234,233,0.5);
}

@media (max-width: 991px) {
  [data-component="game-grid"] { grid-template-columns: repeat(3, 1fr); }
  [data-component="steps"] { grid-template-columns: repeat(2, 1fr); }
  .step-card:nth-child(2) { border-right: none; }
  .step-card:nth-child(2) .step-arrow { display: none; }
  .step-card:nth-child(3) { border-top: 1px solid var(--border); }
  .step-card:nth-child(4) { border-top: 1px solid var(--border); }
  .site-footer { padding: 40px 24px 20px; }
}

@media (max-width: 767px) {
  [data-component="game-grid"] { grid-template-columns: repeat(2, 1fr); }
  [data-component="payments"] li { grid-template-columns: 1fr 1fr; gap: 4px; }
  [data-component="payments"] li:first-child { display: none; }
  [data-component="steps"] { grid-template-columns: 1fr; }
  .step-card { border-right: none; border-bottom: 1px solid var(--border); }
  .step-card:last-child { border-bottom: none; }
  .step-arrow { display: none !important; }
  [data-component="stats"] > div { flex: 1 1 50%; }
  .site-nav .nav-link { line-height: 40px; }
}

@media (max-width: 480px) {
  .site-footer { padding: 32px 16px 20px; }
  [data-component="stats"] > div { flex: 1 1 100%; border-right: none; border-bottom: 1px solid var(--border); }
}

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