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

.navbar:has(> div:empty):has(> :is([class*="container"], [class*="inner"])) { flex-direction: column; align-items: stretch; }
.navbar .navbar-brand { flex-shrink: 0; }
@media (min-width: 576px) {  
  .navbar :is(a, button)[class*="btn"] { flex-shrink: 0; }
  .navbar :is(.nav-link, a[class*="btn"], button[class*="btn"]) { white-space: nowrap; }
}

:is(.navbar, .navbar > *, .navbar :has(> .navbar-collapse)):has(.navbar-collapse:is(.show, .collapsing)) { height: auto !important; max-height: none !important; }

@media (min-width: 992px) {
  main .row > [class*="col"]:has(> img[data-role="section"]:only-child) { align-self: stretch; }
  main .row > [class*="col"] > img[data-role="section"]:only-child { height: 100% !important; object-fit: cover; }
}

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: #08091a;
  --surface: #171828;
  --surface-alt: #121323;
  --primary: #a5d829;
  --primary-text: #08091a;
  --accent: #eb623e;
  --brand: #6549db;
  --brand-dark: #473399;
  --text: #f0eef8;
  --text-muted: #9490b5;
  --border: #ddb948;
  --border-dim: #ddb94833;
  --border-mid: #ddb94844;
  --radius: 2px;
  --radius-tab: 3px;
  --shadow-card: 0 0 0 1px #ddb94833, 0 2px 8px 0 #00000066;
}

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

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

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: var(--brand); border-radius: 0; }

::selection { background: var(--brand); color: var(--primary-text); }

body {
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 20 L20 0 L40 20 L20 40 Z' fill='none' stroke='%23ddb948' stroke-width='0.5' opacity='0.07'/%3E%3C/svg%3E");
  background-repeat: repeat;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-family: 'Sora', sans-serif; line-height: 1.2; }
h2 { font-size: 1.75rem; font-weight: 700; margin-bottom: 0.5rem; }
h3 { font-size: 1.15rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 600; }

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

p { max-width: 72ch; line-height: 1.7; }

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

.btn-primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--primary-text);
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 14px;
  border: none;
  border-radius: var(--radius);
  padding: 11px 28px;
  cursor: pointer;
  transition: all 0.18s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary-cta:hover {
  background: #b8e832;
  box-shadow: 0 0 12px #a5d82966;
  color: var(--primary-text);
  text-decoration: none;
}
.btn-primary-cta:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.btn-secondary-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 24px;
  cursor: pointer;
  transition: all 0.18s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-secondary-cta:hover {
  background: #ddb94818;
  border-color: var(--border);
  color: var(--text);
  text-decoration: none;
}
.btn-secondary-cta:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.btn-accent-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 14px;
  border: none;
  border-radius: var(--radius);
  padding: 11px 28px;
  cursor: pointer;
  transition: all 0.18s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-accent-cta:hover { background: #f0734f; color: #fff; text-decoration: none; }

.site-nav {
  background: var(--bg);
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: 60px;
}

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

.site-nav .nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text) !important;
  padding: 8px 12px !important;
  position: relative;
  transition: color 0.18s ease;
}
.site-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.18s ease;
}
.site-nav .nav-link:hover { color: var(--text) !important; }
.site-nav .nav-link:hover::after { transform: scaleX(1); }
.site-nav .nav-link.active { color: var(--primary) !important; }
.site-nav .nav-link.active::after { transform: scaleX(1); }

.nav-btn-login {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  border-radius: var(--radius);
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.18s ease;
  text-decoration: none;
  white-space: nowrap;
}
.nav-btn-login:hover { background: #ddb94822; color: var(--text); text-decoration: none; }

.nav-btn-register {
  background: var(--primary);
  color: var(--primary-text);
  border: none;
  border-radius: var(--radius);
  padding: 8px 22px;
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.18s ease;
  text-decoration: none;
  white-space: nowrap;
}
.nav-btn-register:hover { background: #b8e832; box-shadow: 0 0 10px #a5d82977; color: var(--primary-text); text-decoration: none; }

.navbar-toggler {
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  padding: 6px 10px;
}
.navbar-toggler-icon { filter: invert(1); }

.section-divider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  margin: 0;
  overflow: hidden;
}
.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-mid);
}
.section-divider .divider-icon {
  flex-shrink: 0;
  width: 120px;
  display: flex;
  justify-content: center;
}

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

dl[data-component="stats"] {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
}
dl[data-component="stats"] > div {
  border: 1px solid var(--border-dim);
  background: var(--surface);
  padding: 12px 20px;
  min-width: 130px;
  flex: 1;
}
dl[data-component="stats"] > div:not(:last-child) { border-right: none; }
dl[data-component="stats"] dt {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
dl[data-component="stats"] dd {
  font-family: 'Sora', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--border);
  margin: 0;
  letter-spacing: 0;
}

ul[data-component="trust"] {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
}
ul[data-component="trust"] li {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border-dim);
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius);
}
ul[data-component="trust"] li i { color: var(--border); font-size: 14px; }

div[data-component="game-grid"] {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
@media (max-width: 991px) { div[data-component="game-grid"] { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575px) { div[data-component="game-grid"] { grid-template-columns: repeat(2, 1fr); } }

a.game-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
  box-shadow: var(--shadow-card);
  position: relative;
}
a.game-card:hover {
  border-color: var(--border);
  transform: translateY(-2px);
  text-decoration: none;
}
a.game-card:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
a.game-card .game-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
}
a.game-card .game-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}
a.game-card:hover .game-img-wrap img { transform: scale(1.03); }
a.game-card .game-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, #08091acc 0%, transparent 100%);
  padding: 32px 10px 8px;
}
a.game-card .game-tag {
  display: inline-block;
  background: var(--brand-dark);
  color: var(--text);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.4px;
  padding: 2px 6px;
  border-radius: var(--radius);
  text-transform: uppercase;
  margin-bottom: 4px;
}
a.game-card h3 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 2px;
  line-height: 1.3;
}
a.game-card p {
  font-size: 11px;
  color: var(--text-muted);
  margin: 0;
  max-width: none;
}
a.game-card .game-desc {
  padding: 8px 10px;
  border-top: 1px solid var(--border-dim);
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

ul[data-component="payments"] {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
ul[data-component="payments"] li {
  display: grid;
  grid-template-columns: 140px 1fr 1fr 1fr;
  gap: 16px;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-dim);
  font-size: 13px;
}
ul[data-component="payments"] li:last-child { border-bottom: none; }
ul[data-component="payments"] li:nth-child(even) { background: #12132322; }
ul[data-component="payments"] .pm-name { font-weight: 600; color: var(--text); }
ul[data-component="payments"] .pm-label {
  font-size: 11px;
  color: var(--text-muted);
  display: block;
}
ul[data-component="payments"] .pm-val { font-family: 'Sora', sans-serif; font-size: 13px; color: var(--border); font-weight: 600; }
@media (max-width: 575px) {
  ul[data-component="payments"] li { grid-template-columns: 1fr 1fr; gap: 8px; }
  ul[data-component="payments"] li .pm-name { grid-column: 1/-1; }
}

aside[data-component="bonus"] {
  background: var(--surface-alt);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius);
  overflow: hidden;
}

div[data-component="vip"] .vip-table-wrap { overflow-x: auto; }
div[data-component="vip"] table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 640px;
}
div[data-component="vip"] th {
  background: var(--surface);
  border: 1px solid var(--border-dim);
  padding: 10px 12px;
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--border);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
div[data-component="vip"] td {
  border: 1px solid var(--border-dim);
  padding: 10px 12px;
  text-align: center;
  color: var(--text-muted);
  vertical-align: middle;
}
div[data-component="vip"] tr.active-tier td { background: #17182888; color: var(--text); border-color: var(--primary); }
div[data-component="vip"] .tier-name { font-family: 'Sora', sans-serif; font-weight: 700; color: var(--border); }

ol[data-component="steps"] {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
@media (max-width: 767px) { ol[data-component="steps"] { grid-template-columns: 1fr 1fr; } }
@media (max-width: 400px) { ol[data-component="steps"] { grid-template-columns: 1fr; } }

ol[data-component="steps"] li {
  background: var(--surface);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  padding: 20px 16px;
  position: relative;
  margin: 4px;
}
ol[data-component="steps"] li .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--brand);
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 16px;
  font-weight: 800;
  border-radius: 50%;
  margin-bottom: 12px;
  flex-shrink: 0;
}
ol[data-component="steps"] li h4 { font-size: 14px; margin-bottom: 6px; color: var(--text); }
ol[data-component="steps"] li p { font-size: 13px; color: var(--text-muted); max-width: none; }
ol[data-component="steps"] li .step-arrow {
  position: absolute;
  top: 28px;
  right: -14px;
  color: var(--border);
  font-size: 18px;
  z-index: 2;
}
@media (max-width: 767px) { ol[data-component="steps"] li .step-arrow { display: none; } }

section[data-component="faq"] details {
  background: var(--surface);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  margin-bottom: 6px;
  overflow: hidden;
  transition: border-color 0.18s ease;
}
section[data-component="faq"] details[open] { border-color: var(--border); }
section[data-component="faq"] summary {
  padding: 14px 16px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
section[data-component="faq"] summary::-webkit-details-marker { display: none; }
section[data-component="faq"] summary::after {
  content: '\f282';
  font-family: 'bootstrap-icons';
  color: var(--border);
  font-size: 14px;
  flex-shrink: 0;
  transition: transform 0.18s ease;
}
section[data-component="faq"] details[open] summary::after { transform: rotate(180deg); }
section[data-component="faq"] details > div {
  padding: 0 16px 16px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.7;
  border-top: 1px solid var(--border-dim);
  margin-top: 0;
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.section-heading h2 { margin: 0; }
.section-heading a {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
}

.surface-card {
  background: var(--surface);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-card);
}

.site-footer {
  background: #060712;
  border-top: 2px solid var(--border);
  padding: 40px 0 20px;
}
.site-footer .footer-col-title {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--border);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 12px;
  display: block;
}
.site-footer a {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 7px;
  transition: color 0.15s ease;
}
.site-footer a:hover { color: var(--text); }
.site-footer .footer-brand {
  font-family: 'Sora', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--brand);
  display: block;
  margin-bottom: 4px;
}
.site-footer .footer-tagline { font-size: 12px; color: var(--text-muted); }
.site-footer .footer-badge-18 {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 12px 16px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}
.site-footer .footer-badge-18 .badge-num {
  font-family: 'Sora', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--border);
  display: block;
}
.site-footer .footer-copyright {
  border-top: 1px solid #ddb94822;
  margin-top: 24px;
  padding-top: 16px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

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