: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: #f4f9fe;
  --surface: #fcfdff;
  --surface-alt: #eaeff4;
  --primary: #d40810;
  --primary-dark: #a8060d;
  --brand: #0b6bd9;
  --brand-dark: #084b98;
  --accent: #0dda90;
  --gold: #ae8635;
  --text: #0d1f3c;
  --text-muted: #4a5c7a;
  --border: #ae8635;
  --white: #ffffff;
  --nav-h: 56px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scrollbar-color: var(--brand) var(--surface-alt); scrollbar-width: thin; }
body {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--text);
  background-color: var(--bg);
  background-image: radial-gradient(circle, #0b6bd920 1px, transparent 1px);
  background-size: 24px 24px;
  line-height: 1.7;
  overflow-x: hidden;
}
::selection { background: var(--brand); color: var(--white); }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--surface-alt); }
::-webkit-scrollbar-thumb { background: var(--brand); }
a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 { font-family: 'Sora', sans-serif; color: var(--text); line-height: 1.2; }
h1 { font-size: clamp(1.8rem, 4vw, 3.5rem); font-weight: 800; letter-spacing: 0.03em; }
h2 { font-size: clamp(1.3rem, 3vw, 1.75rem); font-weight: 700; letter-spacing: 0.02em; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 600; }
p { margin-bottom: 0.75rem; }
.label-sm {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.num-display {
  font-family: 'Sora', sans-serif;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

.btn-primary-site {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 12px 28px;
  border-radius: 0;
  border: 2px solid var(--primary);
  box-shadow: 4px 4px 0 var(--gold);
  text-decoration: none;
  transition: background 100ms linear, box-shadow 100ms linear, transform 100ms linear;
  cursor: pointer;
}
.btn-primary-site:hover {
  background: var(--primary-dark);
  color: var(--white);
  box-shadow: 6px 6px 0 var(--gold);
  transform: translateY(-2px);
}
.btn-primary-site:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.btn-brand-site {
  display: inline-block;
  background: var(--brand);
  color: var(--white);
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 12px 28px;
  border-radius: 0;
  border: 2px solid var(--brand);
  box-shadow: 4px 4px 0 var(--brand-dark);
  text-decoration: none;
  transition: background 100ms linear, box-shadow 100ms linear, transform 100ms linear;
  cursor: pointer;
}
.btn-brand-site:hover { background: var(--brand-dark); color: var(--white); box-shadow: 6px 6px 0 var(--brand-dark); }
.btn-brand-site:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.btn-ghost-site {
  display: inline-block;
  background: transparent;
  color: var(--white);
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 10px 24px;
  border-radius: 0;
  border: 2px solid var(--white);
  box-shadow: 3px 3px 0 var(--gold);
  text-decoration: none;
  transition: background 100ms linear, color 100ms linear;
  cursor: pointer;
}
.btn-ghost-site:hover { background: var(--white); color: var(--brand); }
.btn-ghost-site:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.btn-accent-site {
  display: inline-block;
  background: var(--accent);
  color: var(--text);
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 12px 28px;
  border-radius: 0;
  border: 2px solid var(--accent);
  box-shadow: 4px 4px 0 var(--gold);
  text-decoration: none;
  transition: opacity 100ms linear;
  cursor: pointer;
}
.btn-accent-site:hover { opacity: 0.88; color: var(--text); }

.site-nav {
  background: var(--brand);
  height: var(--nav-h);
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 999;
}
.site-nav .navbar-brand {
  font-family: 'Sora', sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 0;
}
.site-nav .navbar-brand:hover { color: var(--accent); }
.site-nav .nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white) !important;
  padding: 4px 2px !important;
  border-bottom: 3px solid transparent;
  transition: border-color 100ms, color 100ms;
  text-decoration: none;
}
.site-nav .nav-link:hover { border-bottom-color: var(--gold); color: var(--accent) !important; }
.site-nav .nav-link.active {
  background: var(--brand-dark);
  padding: 4px 12px !important;
  border-left: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  border-bottom: 3px solid transparent;
}
.site-nav .navbar-toggler { border: 2px solid var(--white); border-radius: 0; padding: 4px 8px; }
.site-nav .navbar-toggler-icon { filter: brightness(0) invert(1); }
.nav-btn-login {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  border: 2px solid var(--white);
  background: transparent;
  padding: 6px 16px;
  border-radius: 0;
  box-shadow: 3px 3px 0 var(--gold);
  text-decoration: none;
  transition: background 100ms, color 100ms;
  white-space: nowrap;
}
.nav-btn-login:hover { background: var(--white); color: var(--brand); }
.nav-btn-register {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  border: none;
  background: var(--primary);
  padding: 6px 16px;
  border-radius: 0;
  box-shadow: 4px 4px 0 var(--gold);
  text-decoration: none;
  transition: background 100ms;
  white-space: nowrap;
}
.nav-btn-register:hover { background: var(--primary-dark); color: var(--white); }

section, .site-section {
  padding: clamp(28px, 3.5vw, 44px) 0;
}
.section-divider-gold { border-top: 4px solid var(--gold); }
.section-divider-brand { border-top: 4px solid var(--brand); }
.surface-alt-bg {
  background-color: var(--surface-alt);
  background-image: repeating-linear-gradient(0deg, transparent, transparent 31px, #ae863530 31px, #ae863530 32px);
}
.surface-bg { background-color: var(--surface); }
.dark-banner-bg {
  background-color: var(--brand-dark);
  background-image: repeating-linear-gradient(45deg, #ffffff08 0px, #ffffff08 2px, transparent 2px, transparent 10px);
}

.section-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
  margin-bottom: 0;
}
.section-title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  border-left: 4px solid var(--primary);
  padding-left: 12px;
}
.view-all-link {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand);
  text-decoration: none;
}
.view-all-link:hover { color: var(--primary); text-decoration: underline; }

[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"] { grid-template-columns: repeat(2, 1fr); } }

.game-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 2px solid var(--gold);
  box-shadow: 4px 4px 0 var(--brand);
  text-decoration: none;
  color: var(--text);
  transition: transform 100ms linear, box-shadow 100ms linear;
  position: relative;
  overflow: hidden;
}
.game-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 7px 7px 0 var(--brand);
  color: var(--text);
}
.game-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  image-rendering: auto;
}
.game-card:hover .game-card-img { filter: brightness(0.88); }
.game-card-play {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--primary);
  color: var(--white);
  font-family: 'Sora', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 8px;
  opacity: 0;
  transition: opacity 100ms;
}
.game-card:hover .game-card-play { opacity: 1; }
.game-card-info { padding: 8px 10px 10px; }
.game-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.game-card-info h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
  line-height: 1.3;
}
.game-card-info p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}
.game-rtp { color: var(--gold); font-weight: 700; }

[data-component="payments"] {
  list-style: none;
  padding: 0;
  margin: 0;
}
.payments-table { width: 100%; border-collapse: collapse; }
.payments-table th {
  background: var(--brand);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 10px 12px;
  border: 1px solid var(--gold);
}
.payments-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #ae863550;
  border-right: 1px solid #ae863530;
  font-size: 14px;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.payments-table tr:hover td { background: var(--surface-alt); }
.payments-table td:first-child { font-weight: 600; color: var(--brand); }

[data-component="steps"] { list-style: none; padding: 0; margin: 0; }
.step-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px;
  background: var(--surface);
  border: 2px solid var(--gold);
  box-shadow: 4px 4px 0 var(--brand);
  margin-bottom: 4px;
}
.step-num {
  font-family: 'Sora', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
  min-width: 48px;
  font-variant-numeric: tabular-nums;
}
.step-content h3 { font-size: 16px; margin-bottom: 6px; }
.step-content p { font-size: 14px; color: var(--text-muted); margin: 0; }

[data-component="faq"] details {
  background: var(--surface);
  border: 2px solid var(--gold);
  box-shadow: 4px 4px 0 var(--brand);
  margin-bottom: 6px;
  transition: background 100ms;
}
[data-component="faq"] details[open] { background: #eef5ff; box-shadow: 4px 4px 0 var(--primary); }
[data-component="faq"] summary {
  font-family: 'Sora', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
[data-component="faq"] summary::after {
  content: '\f282';
  font-family: 'bootstrap-icons';
  font-size: 14px;
  color: var(--brand);
  transition: transform 100ms;
}
[data-component="faq"] details[open] summary::after { transform: rotate(180deg); }
[data-component="faq"] summary::-webkit-details-marker { display: none; }
[data-component="faq"] > details > div {
  padding: 0 16px 14px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

[data-component="vip"] { overflow-x: auto; }
.vip-table { width: 100%; border-collapse: collapse; min-width: 580px; }
.vip-table th {
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 10px 14px;
  border: 2px solid var(--gold);
}
.vip-table td {
  padding: 9px 14px;
  border-bottom: 1px solid #ae863550;
  border-right: 1px solid #ae863530;
  font-size: 13px;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.vip-table tr:hover td { background: var(--surface-alt); }
.vip-th-bronze { background: #cd7f32; color: var(--white); }
.vip-th-silver { background: #9ea7b0; color: var(--white); }
.vip-th-gold { background: var(--gold); color: var(--white); }
.vip-th-platinum { background: var(--brand-dark); color: var(--white); }
.vip-th-diamond { background: #1a1a2e; color: var(--accent); }
.vip-row-label { font-weight: 600; color: var(--text-muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; background: var(--surface-alt); }
.check-yes { color: var(--accent); font-weight: 700; }
.check-no { color: var(--text-muted); }

[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;
  font-weight: 600;
  color: var(--white);
  background: rgba(0,0,0,0.25);
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,0.3);
  min-height: 36px;
}
[data-component="trust"] li i { font-size: 16px; color: var(--accent); }

[data-component="stats"] {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
[data-component="stats"] > div {
  flex: 1 1 120px;
  padding: 10px 16px;
  border-right: 2px solid rgba(255,255,255,0.25);
  border-top: 2px solid rgba(255,255,255,0.15);
}
[data-component="stats"] > div:last-child { border-right: none; }
[data-component="stats"] dt {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 2px;
}
[data-component="stats"] dd {
  font-family: 'Sora', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  margin: 0;
}

.site-footer {
  background: #0d1f3c;
  border-top: 4px solid var(--gold);
  padding: 48px 0 24px;
}
.footer-brand-name {
  font-family: 'Sora', sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.06em;
}
.footer-tagline { font-size: 13px; color: #a0b4cc; margin-top: 4px; }
.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 6px; }
.footer-links a {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #a0b4cc;
  text-decoration: none;
  transition: color 100ms;
}
.footer-links a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent); }
.footer-responsible {
  border: 2px solid var(--gold);
  padding: 12px 14px;
  display: inline-block;
}
.footer-responsible .age-badge {
  font-family: 'Sora', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.footer-bottom {
  border-top: 1px solid #ae863550;
  margin-top: 32px;
  padding-top: 16px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

input, select, textarea {
  border-radius: 0 !important;
  border: 2px solid var(--gold);
  background: var(--surface);
  color: var(--text);
  padding: 10px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  caret-color: var(--brand);
  transition: border-color 100ms, box-shadow 100ms;
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 3px 3px 0 var(--brand);
}
input.error { border-color: var(--primary); box-shadow: 3px 3px 0 var(--primary); }

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

@media (max-width: 575px) {
  .btn-primary-site, .btn-brand-site, .btn-ghost-site, .btn-accent-site { padding: 11px 18px; font-size: 13px; }
}
