: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: #fffffe;
  --surface: #ffffff;
  --surface-alt: #f5f5f4;
  --primary: #096782;
  --primary-dark: #06485b;
  --action: #909302;
  --action-dark: #7a7d02;
  --accent: #bd261e;
  --text: #1a1a1a;
  --text-muted: #555555;
  --border: #b89f2f;
  --nav-h: 60px;
  --radius-sm: 2px;
  --radius: 4px;
  --radius-lg: 6px;
  --shadow: 8px 8px 0 rgba(0,0,0,0.70);
  --shadow-hover: 12px 12px 0 rgba(0,0,0,0.75);
  --shadow-btn: 5px 5px 0 rgba(0,0,0,0.65);
  --shadow-btn-hover: 7px 7px 0 rgba(0,0,0,0.70);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: var(--primary) var(--surface-alt); }
body {
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  margin: 0;
  overflow-wrap: anywhere;
}
::selection { background: var(--border); color: var(--text); }
a { text-decoration-offset: 3px; color: var(--primary); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: 'Baloo 2', sans-serif; line-height: 1.2; }
h2 { font-size: 2.2rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 1.25rem; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin-bottom: 1rem; }
section, .section-block { padding: clamp(28px,3.5vw,44px) 0; }

.label-tag {
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.btn-main {
  display: inline-block;
  background: var(--action);
  color: #ffffff !important;
  border: none;
  border-radius: var(--radius);
  padding: 12px 28px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: var(--shadow-btn);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
  min-height: 44px;
  min-width: 44px;
}
.btn-main:hover {
  background: var(--action-dark);
  box-shadow: var(--shadow-btn-hover);
  transform: translate(-1px,-1px);
  color: #ffffff !important;
}
.btn-main:focus-visible {
  outline: 3px solid var(--border);
  outline-offset: 2px;
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--primary) !important;
  border: 3px solid var(--primary);
  border-radius: var(--radius);
  padding: 11px 26px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  min-height: 44px;
  min-width: 44px;
}
.btn-secondary:hover {
  background: var(--primary);
  color: #ffffff !important;
}
.btn-secondary:focus-visible {
  outline: 3px solid var(--border);
  outline-offset: 2px;
}

.btn-secondary-white {
  display: inline-block;
  background: transparent;
  color: #ffffff !important;
  border: 3px solid #ffffff;
  border-radius: var(--radius);
  padding: 11px 26px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  min-height: 44px;
}
.btn-secondary-white:hover {
  background: #ffffff;
  color: var(--primary) !important;
}

.section-heading {
  border-left: 4px solid var(--primary);
  padding-left: 14px;
}

.site-nav {
  background: var(--primary);
  height: var(--nav-h);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid var(--primary-dark);
}
.site-nav .navbar-brand img {
  height: 40px;
  width: auto;
}
.site-nav .nav-link {
  font-family: 'Nunito', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff !important;
  padding: 0.5rem 0.6rem;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.site-nav .nav-link:hover,
.site-nav .nav-link:focus-visible {
  color: var(--border) !important;
  border-bottom-color: var(--border);
}
.site-nav .nav-link.active {
  color: var(--border) !important;
  border-bottom: 3px solid var(--border);
}
.site-nav .navbar-toggler {
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: var(--radius);
  color: #ffffff;
  padding: 6px 10px;
}
.site-nav .navbar-toggler-icon {
  filter: invert(1);
}
.site-nav .navbar-collapse {
  background: var(--primary);
}

.nav-btn-login {
  border: 2px solid #ffffff;
  background: transparent;
  color: #ffffff !important;
  padding: 8px 20px;
  border-radius: var(--radius);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav-btn-login:hover { background: #ffffff; color: var(--primary) !important; }

.nav-btn-register {
  background: var(--action);
  color: #ffffff !important;
  padding: 9px 22px;
  border: none;
  border-radius: var(--radius);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.5);
  transition: background 0.15s, box-shadow 0.15s;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav-btn-register:hover {
  background: var(--action-dark);
  box-shadow: 6px 6px 0 rgba(0,0,0,0.6);
  color: #ffffff !important;
}

.site-footer {
  background: var(--primary-dark);
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 6px 6px;
  color: rgba(255,255,255,0.80);
  padding: clamp(28px,3.5vw,44px) 0 0;
}
.site-footer .footer-brand-name {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  color: #ffffff;
  line-height: 1.1;
}
.site-footer .footer-brand-sub {
  font-family: 'Nunito', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--border);
  margin-top: 4px;
}
.site-footer .footer-col-heading {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--border);
  margin-bottom: 0.75rem;
}
.site-footer a {
  color: rgba(255,255,255,0.80);
  text-decoration: none;
  font-size: 0.875rem;
  display: block;
  padding: 3px 0;
  min-height: 28px;
}
.site-footer a:hover { color: #ffffff; }
.footer-responsible {
  background: rgba(255,255,255,0.08);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: #ffffff;
  font-size: 0.9rem;
}
.footer-responsible .rg-badge {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--border);
  line-height: 1;
}
.footer-copyright {
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: clamp(20px,2.5vw,32px);
  padding: 14px 0 16px;
  color: rgba(255,255,255,0.55);
  font-size: 0.78rem;
  text-align: center;
}

[data-component="trust"] {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
[data-component="trust"] li {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.12);
  border: 2px solid rgba(255,255,255,0.30);
  border-radius: var(--radius);
  padding: 6px 12px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  min-height: 36px;
}
[data-component="trust"] li i {
  font-size: 1rem;
  color: var(--border);
}

[data-component="stats"] {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  padding: 0;
  border: 3px solid rgba(255,255,255,0.25);
  border-radius: var(--radius);
  overflow: hidden;
}
[data-component="stats"] > div {
  flex: 1 1 140px;
  padding: 14px 18px;
  border-right: 2px solid rgba(255,255,255,0.18);
  text-align: center;
}
[data-component="stats"] > div:last-child { border-right: none; }
[data-component="stats"] dt {
  font-family: 'Nunito', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255,255,255,0.72);
  margin: 0 0 4px;
}
[data-component="stats"] dd {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--border);
  margin: 0;
  line-height: 1.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"] { grid-template-columns: repeat(2, 1fr); }
}
.game-card {
  display: block;
  background: var(--surface);
  border: 3px solid var(--text);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  position: relative;
  transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}
.game-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translate(-3px,-3px);
  border-color: var(--primary);
  color: var(--text);
}
.game-card:focus-visible {
  outline: 3px solid var(--border);
  outline-offset: 2px;
}
.game-card-img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
}
.game-card-body {
  padding: 10px 12px;
}
.game-card-body h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 3px;
  font-family: 'Nunito', sans-serif;
}
.game-card-body p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}
.game-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  color: #ffffff;
  pointer-events: none;
}
.game-badge--hot { background: var(--accent); }
.game-badge--new { background: var(--primary); }
.game-badge--live { background: var(--accent); }
.game-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--primary);
  background: rgba(9,103,130,0.08);
  border-radius: var(--radius-sm);
  padding: 1px 6px;
  margin-bottom: 3px;
}

[data-component="payments"] {
  list-style: none;
  padding: 0;
  margin: 0;
}
[data-component="payments"] li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 2px solid rgba(9,103,130,0.12);
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
}
[data-component="payments"] li:last-child { border-bottom: none; }
[data-component="payments"] .pm-name {
  font-weight: 700;
  color: var(--text);
  min-width: 100px;
}
[data-component="payments"] .pm-detail {
  font-size: 0.82rem;
  color: var(--text-muted);
}

[data-component="bonus"] {
  background: var(--surface);
  border: 3px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 28px;
}

[data-component="vip"] {
  overflow-x: auto;
}
[data-component="vip"] table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
}
[data-component="vip"] th {
  background: var(--primary);
  color: #ffffff;
  padding: 10px 14px;
  text-align: left;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 2px solid var(--primary-dark);
}
[data-component="vip"] td {
  padding: 9px 14px;
  border: 2px solid rgba(9,103,130,0.14);
  color: var(--text);
  vertical-align: top;
}
[data-component="vip"] tr:nth-child(even) td { background: var(--surface-alt); }
[data-component="vip"] tr.vip-highlight td {
  background: rgba(144,147,2,0.10);
  font-weight: 700;
  border-color: var(--action);
}

[data-component="steps"] {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  counter-reset: step-counter;
}
[data-component="steps"] > li {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 2px solid rgba(184,159,47,0.3);
}
[data-component="steps"] > li:last-child { border-bottom: none; }
.step-number {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: var(--primary);
  color: #ffffff;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  border: 3px solid var(--primary-dark);
  box-shadow: 4px 4px 0 rgba(0,0,0,0.45);
}
.step-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 6px;
}
.step-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}

[data-component="faq"] details {
  border-bottom: 2px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  margin-bottom: 8px;
  overflow: hidden;
  transition: box-shadow 0.15s;
}
[data-component="faq"] details[open] {
  box-shadow: var(--shadow);
  border-color: var(--primary);
}
[data-component="faq"] summary {
  padding: 15px 18px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 44px;
}
[data-component="faq"] summary::-webkit-details-marker { display: none; }
[data-component="faq"] summary::after {
  content: '\f282';
  font-family: 'bootstrap-icons';
  font-size: 1rem;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
[data-component="faq"] details[open] summary::after {
  transform: rotate(180deg);
}
[data-component="faq"] summary:focus-visible {
  outline: 3px solid var(--border);
  outline-offset: -3px;
}
[data-component="faq"] > details > div {
  padding: 0 18px 16px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
}
.data-table th {
  background: var(--primary);
  color: #ffffff;
  padding: 9px 14px;
  text-align: left;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.data-table td {
  padding: 9px 14px;
  border-bottom: 1px solid rgba(9,103,130,0.12);
  color: var(--text);
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:nth-child(even) td { background: var(--surface-alt); }
.table-wrap { overflow-x: auto; }

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

:root{--grid-single:start}
:root body main div.app-game-grid.mb-4:not(:has(> :nth-child(3))) { grid-template-columns: minmax(0, 1fr) !important; }
:root{--grid-single:end}

:root{--site-repair:start}
main > section:has(> [class*="container"]:only-child) { grid-template-columns: 1fr !important; }

.sr-email { overflow-wrap: anywhere; word-break: break-word; }

.navbar-nav .nav-link[href="/"] { white-space: nowrap !important; }

@media (min-width: 992px) { .navbar-expand-lg .navbar-toggler { display: none !important; } }
@media (min-width: 1200px) { .navbar-expand-xl .navbar-toggler { display: none !important; } }
@media (min-width: 1400px) { .navbar-expand-xxl .navbar-toggler { display: none !important; } }
:root{--site-repair:end}
