: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: #edebf4;
  --surface: #faf9fc;
  --surface-alt: #e4e2ea;
  --primary: #2246a4;
  --primary-dark: #183173;
  --cta: #fd0c55;
  --cta-dark: #c90a44;
  --accent: #be821a;
  --border: #b28d42;
  --text: #0f0e1a;
  --text-muted: #4a4760;
  --text-light: #c8c4d8;
  --radius-sm: 2px;
  --radius: 4px;
  --radius-lg: 8px;
  --shadow-card: 6px 6px 0 rgba(0,0,0,0.65);
  --shadow-card-hover: 10px 10px 0 rgba(0,0,0,0.65);
  --shadow-btn: 4px 4px 0 rgba(0,0,0,0.70);
  --shadow-btn-hover: 6px 6px 0 rgba(0,0,0,0.70);
  --shadow-cta: 5px 5px 0 rgba(0,0,0,0.70);
  --shadow-cta-hover: 7px 7px 0 rgba(0,0,0,0.70);
}

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

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

body {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

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

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--surface-alt); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

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

h1, h2, h3, h4 {
  font-family: 'Sora', sans-serif;
  line-height: 1.25;
  color: var(--text);
  overflow-wrap: anywhere;
}
h1 { font-size: 56px; font-weight: 800; letter-spacing: -1px; }
h2 { font-size: 36px; font-weight: 700; letter-spacing: -0.5px; }
h3 { font-size: 24px; font-weight: 600; }
h4 { font-size: 18px; font-weight: 600; }

p { max-width: 72ch; margin-bottom: 1rem; }
img { max-width: 100%; height: auto; display: block; }

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cta);
  color: #fff;
  border: 3px solid var(--text);
  border-radius: var(--radius);
  padding: 12px 28px;
  font-family: 'Sora', sans-serif;
  font-size: 15px;
  font-weight: 700;
  box-shadow: var(--shadow-cta);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease-out, box-shadow 0.15s ease-out, transform 0.15s ease-out;
  min-height: 44px;
}
.btn-cta:hover {
  background: var(--cta-dark);
  color: #fff;
  box-shadow: var(--shadow-cta-hover);
  transform: translate(-2px, -2px);
}
.btn-cta:focus-visible {
  outline: 3px solid var(--border);
  outline-offset: 2px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--border);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 26px;
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.50);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease-out, color 0.15s ease-out, box-shadow 0.15s ease-out, transform 0.15s ease-out;
  min-height: 44px;
}
.btn-secondary:hover {
  background: var(--border);
  color: var(--text);
  transform: translate(-2px, -2px);
}
.btn-secondary:focus-visible {
  outline: 3px solid var(--border);
  outline-offset: 2px;
}

.btn-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--primary-dark);
  border-radius: var(--radius);
  padding: 10px 22px;
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-btn);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease-out, box-shadow 0.15s ease-out;
  min-height: 44px;
}
.btn-brand:hover {
  background: var(--primary-dark);
  color: #fff;
  box-shadow: var(--shadow-btn-hover);
}

.site-nav {
  background: var(--primary);
  border-bottom: 2px solid var(--border);
  min-height: 60px;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.site-nav .navbar-brand img {
  height: 40px;
  width: auto;
}
.site-nav .nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #fff !important;
  padding: 8px 12px;
  border-bottom: 3px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.site-nav .nav-link:hover { color: #e4e2ea !important; }
.site-nav .nav-link.active {
  color: var(--border) !important;
  border-bottom: 3px solid var(--cta);
}
.site-nav .navbar-toggler {
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: var(--radius);
  color: #fff;
  min-width: 44px;
  min-height: 44px;
}
.site-nav .navbar-toggler-icon {
  filter: invert(1);
}
.nav-btn-login {
  border: 2px solid #fff;
  background: transparent;
  color: #fff !important;
  border-radius: var(--radius);
  padding: 8px 20px;
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav-btn-login:hover {
  background: rgba(255,255,255,0.15);
  color: #fff !important;
}
.nav-btn-signup {
  background: var(--cta);
  border: 2px solid var(--cta);
  color: #fff !important;
  border-radius: var(--radius);
  padding: 8px 20px;
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 3px 3px 0 rgba(0,0,0,0.5);
  text-decoration: none;
  transition: background 0.15s, box-shadow 0.15s;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav-btn-signup:hover {
  background: var(--cta-dark);
  color: #fff !important;
}

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

.section-bg-main { background: var(--bg); }
.section-bg-surface { background: var(--surface); }
.section-bg-alt { background: var(--surface-alt); }
.section-bg-dark { background: var(--primary-dark); }

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

.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  display: inline-block;
}
.section-title-bar {
  border-left: 5px solid var(--cta);
  padding-left: 12px;
  margin-bottom: 24px;
}

ul[data-component="trust"] {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
ul[data-component="trust"] li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius);
  padding: 6px 12px;
  min-height: 36px;
}
ul[data-component="trust"] li i {
  color: var(--border);
  font-size: 14px;
}

dl[data-component="stats"] {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}
dl[data-component="stats"] > div {
  background: rgba(255,255,255,0.10);
  border: 2px solid rgba(178,141,66,0.50);
  border-radius: var(--radius);
  padding: 10px 16px;
  min-width: 110px;
  flex: 1;
}
dl[data-component="stats"] dt {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 2px;
}
dl[data-component="stats"] dd {
  font-family: 'Sora', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

div[data-component="game-grid"] {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@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); }
}

.game-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 3px solid var(--text);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: var(--text);
  overflow: hidden;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;
  position: relative;
}
.game-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: var(--shadow-card-hover);
  color: var(--text);
}
.game-card:hover .game-card__img::after {
  opacity: 1;
}
.game-card__img {
  position: relative;
  overflow: hidden;
  height: 0;
  padding-bottom: 65%;
}
.game-card__img img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.game-card__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(253,12,85,0.15);
  opacity: 0;
  transition: opacity 0.15s;
}
.game-card__body {
  padding: 10px 12px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.game-tag {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}
.game-card h3 {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  font-family: 'Sora', sans-serif;
  color: var(--text);
}
.game-card p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
  max-width: none;
}

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

aside[data-component="bonus"] {
  background: var(--surface);
  border: 3px solid var(--text);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

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

ol[data-component="steps"] {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}
ol[data-component="steps"]::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
  z-index: 0;
}
ol[data-component="steps"] li {
  display: flex;
  gap: 20px;
  padding-bottom: 32px;
  position: relative;
  z-index: 1;
}
ol[data-component="steps"] li:last-child { padding-bottom: 0; }
.step-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  border: 3px solid var(--text);
  border-radius: 50%;
  font-family: 'Sora', sans-serif;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 3px 3px 0 rgba(0,0,0,0.5);
  position: relative;
  z-index: 2;
}
.step-content h4 {
  margin-bottom: 6px;
  font-size: 17px;
}
.step-content p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  max-width: 60ch;
}

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

.site-table {
  width: 100%;
  border-collapse: collapse;
  border: 2px solid var(--border);
  font-size: 14px;
}
.site-table th {
  background: var(--primary);
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 10px 14px;
  border: 1px solid var(--primary-dark);
  text-align: left;
}
.site-table td {
  padding: 10px 14px;
  border: 1px solid rgba(178,141,66,0.3);
  color: var(--text);
}
.site-table tr:nth-child(even) td { background: var(--surface-alt); }
.site-table tr:hover td { background: rgba(34,70,164,0.06); }

.site-footer {
  background: var(--primary-dark);
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255,255,255,0.03) 0,
    rgba(255,255,255,0.03) 1px,
    transparent 0,
    transparent 50%
  );
  background-size: 8px 8px;
  pointer-events: none;
}
.site-footer .footer-col-title {
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--border);
  margin-bottom: 14px;
}
.site-footer a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 13px;
  display: block;
  padding: 3px 0;
  transition: color 0.15s;
}
.site-footer a:hover { color: #fff; }
.site-footer .footer-divider {
  border-top: 1px solid rgba(178,141,66,0.4);
  margin: 24px 0 16px;
}
.site-footer .copyright {
  font-size: 12px;
  color: #6e6a8a;
}
.footer-responsible {
  border: 2px solid var(--border);
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 16px 20px;
  text-align: center;
  color: #fff;
  font-size: 13px;
}
.footer-responsible strong {
  font-family: 'Sora', sans-serif;
  font-size: 20px;
  color: var(--border);
  display: block;
  margin-bottom: 4px;
}

@media (max-width: 991px) {
  h1 { font-size: 40px; }
  h2 { font-size: 28px; }
}
@media (max-width: 575px) {
  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
  dl[data-component="stats"] > div { min-width: 90px; }
}

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