: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: #f3f4f9;
  --surface: #ffffff;
  --surface-alt: #e5e8f3;
  --brand: #2f35a0;
  --brand-dark: #142590;
  --primary: #ffab2d;
  --accent: #f56908;
  --border: #c9961e;
  --text: #1a1d4e;
  --text-muted: #4a4f7a;
  --shadow-card: 4px 4px 0 #c9961e;
  --shadow-card-hover: 7px 7px 0 #c9961e;
  --shadow-btn: 4px 4px 0 #c9961e;
  --shadow-btn-hover: 6px 6px 0 #c9961e;
  --shadow-dark: 4px 4px 0 #ffab2d;
}

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

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

body {
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--text);
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cg fill='none' stroke='%232f35a0' stroke-width='0.8' opacity='0.06'%3E%3Crect x='5' y='5' width='50' height='50'/%3E%3Crect x='15' y='15' width='30' height='30'/%3E%3Ccircle cx='30' cy='30' r='8'/%3E%3Cpath d='M5 30h50M30 5v50'/%3E%3Cpath d='M5 5l50 50M55 5L5 55'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
  line-height: 1.6;
  overflow-x: hidden;
}

::selection { background: var(--primary); color: var(--text); }
* { caret-color: var(--primary); }
a { text-underline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: 'Baloo 2', sans-serif;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 0.5em;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

h4 {
  font-size: 1rem;
  font-weight: 700;
}

p { line-height: 1.7; max-width: 72ch; }
.text-muted-brand { color: var(--text-muted); }

.btn-primary-ku {
  display: inline-block;
  background: var(--primary);
  border: 2px solid var(--border);
  box-shadow: var(--shadow-btn);
  color: var(--text);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 12px 28px;
  border-radius: 0;
  text-decoration: none;
  transition: all 0.1s ease-out;
  cursor: pointer;
}

.btn-primary-ku:hover,
.btn-primary-ku:focus-visible {
  background: var(--accent);
  color: #ffffff;
  box-shadow: var(--shadow-btn-hover);
  transform: translate(-2px, -2px);
  text-decoration: none;
}

.btn-primary-ku:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.btn-secondary-ku {
  display: inline-block;
  background: transparent;
  border: 2px solid var(--brand);
  box-shadow: 4px 4px 0 var(--brand);
  color: var(--brand);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 12px 28px;
  border-radius: 0;
  text-decoration: none;
  transition: all 0.1s ease-out;
  cursor: pointer;
}

.btn-secondary-ku:hover,
.btn-secondary-ku:focus-visible {
  background: var(--brand);
  color: #ffffff;
  text-decoration: none;
}

.btn-secondary-ku:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}

.btn-ghost-light {
  display: inline-block;
  background: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 12px 28px;
  border-radius: 0;
  text-decoration: none;
  transition: all 0.1s ease-out;
}

.btn-ghost-light:hover {
  background: #ffffff;
  color: var(--brand);
  text-decoration: none;
}

.section-divider {
  height: 12px;
  background-color: var(--brand);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='12'%3E%3Cpath d='M0 6 Q5 0 10 6 Q15 12 20 6 Q25 0 30 6 Q35 12 40 6' fill='none' stroke='white' stroke-width='1.5' opacity='0.2'/%3E%3Ccircle cx='0' cy='6' r='1.5' fill='white' opacity='0.2'/%3E%3Ccircle cx='10' cy='6' r='1.5' fill='white' opacity='0.2'/%3E%3Ccircle cx='20' cy='6' r='1.5' fill='white' opacity='0.2'/%3E%3Ccircle cx='30' cy='6' r='1.5' fill='white' opacity='0.2'/%3E%3Ccircle cx='40' cy='6' r='1.5' fill='white' opacity='0.2'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 40px 12px;
}

.flags-band {
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    var(--primary) 0px, var(--primary) 16px,
    var(--accent) 16px, var(--accent) 32px,
    var(--brand) 32px, var(--brand) 48px
  );
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='8'%3E%3Cpolygon points='0,0 8,0 4,8' fill='%23ffab2d'/%3E%3Cpolygon points='16,0 24,0 20,8' fill='%23f56908'/%3E%3Cpolygon points='32,0 40,0 36,8' fill='%232f35a0'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 48px 8px;
  flex-shrink: 0;
}

.site-navbar {
  background: var(--brand);
  min-height: 64px;
  border-radius: 0;
}

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

.site-navbar .nav-link {
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff !important;
  padding: 8px 10px;
  border-bottom: 3px solid transparent;
  transition: border-color 0.15s, color 0.15s;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
  border-bottom: 3px solid var(--primary);
  color: var(--primary) !important;
}

.site-navbar .btn-nav-login {
  border: 2px solid #ffffff;
  background: transparent;
  color: #ffffff;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 0;
  text-decoration: none;
  transition: all 0.1s;
}

.site-navbar .btn-nav-login:hover {
  background: #ffffff;
  color: var(--brand);
}

.site-navbar .btn-nav-register {
  background: var(--primary);
  border: 2px solid var(--border);
  box-shadow: 3px 3px 0 var(--border);
  color: var(--text);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 0;
  text-decoration: none;
  transition: all 0.1s;
}

.site-navbar .btn-nav-register:hover {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 5px 5px 0 var(--border);
}

.navbar-toggler {
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 0;
  color: #ffffff;
}

.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(255,255,255,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.ku-card {
  background: var(--surface);
  border: 2px solid var(--border);
  box-shadow: var(--shadow-card);
  border-radius: 0;
  overflow: hidden;
  transition: transform 0.1s ease-out, box-shadow 0.1s ease-out, border-color 0.1s;
}

.ku-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--accent);
}

.game-card {
  display: block;
  text-decoration: none;
  background: var(--surface);
  border: 2px solid var(--border);
  box-shadow: var(--shadow-card);
  border-radius: 0;
  overflow: hidden;
  transition: transform 0.1s ease-out, box-shadow 0.1s ease-out, border-color 0.1s;
  color: var(--text);
}

.game-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--accent);
  color: var(--text);
  text-decoration: none;
}

.game-card .card-img-wrap {
  position: relative;
  height: 160px;
  overflow: hidden;
}

.game-card .card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.game-card .card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(20,37,144,0.92) 0%, transparent 100%);
  padding: 24px 10px 8px;
}

.game-card .card-body-ku {
  padding: 10px 12px;
}

.game-card h3 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 4px;
  font-family: 'Baloo 2', sans-serif;
}

.badge-type {
  display: inline-block;
  background: var(--brand);
  color: #ffffff;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  border-radius: 0;
  margin-right: 4px;
}

.badge-rtp {
  display: inline-block;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 0;
}

[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); }
}

[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;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 5px 12px;
  font-family: 'Nunito', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #ffffff;
}

[data-component="trust"] li i {
  font-size: 14px;
  color: var(--primary);
}

[data-component="stats"] {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  padding: 0;
}

[data-component="stats"] > div {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.20);
  padding: 12px 20px;
  text-align: center;
  min-width: 100px;
}

[data-component="stats"] dt {
  font-family: 'Nunito', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.75);
  margin: 0;
}

[data-component="stats"] dd {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0;
  line-height: 1.2;
}

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

[data-component="steps"] {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: steps;
}

@media (max-width: 767px) {
  [data-component="steps"] { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 399px) {
  [data-component="steps"] { grid-template-columns: 1fr; }
}

[data-component="steps"] li {
  background: var(--surface);
  border: 2px solid var(--border);
  box-shadow: var(--shadow-card);
  padding: 20px 16px;
  position: relative;
  counter-increment: steps;
}

[data-component="steps"] li::before {
  content: counter(steps);
  display: block;
  width: 36px;
  height: 36px;
  background: var(--brand);
  color: #ffffff;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 18px;
  line-height: 36px;
  text-align: center;
  border: 2px solid var(--border);
  box-shadow: 2px 2px 0 var(--border);
  margin-bottom: 10px;
}

[data-component="steps"] li:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -14px;
  top: 28px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 12px solid var(--primary);
  z-index: 2;
}

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

[data-component="vip"] table {
  width: 100%;
  border-collapse: collapse;
}

[data-component="vip"] th {
  background: var(--brand);
  color: #ffffff;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.2);
}

[data-component="vip"] th.highlight {
  background: var(--primary);
  color: var(--text);
}

[data-component="vip"] td {
  padding: 9px 12px;
  font-size: 13px;
  border: 1px solid var(--surface-alt);
  font-family: 'Nunito', sans-serif;
}

[data-component="vip"] tr:nth-child(even) td { background: var(--surface-alt); }
[data-component="vip"] td:first-child { font-weight: 600; }

[data-component="faq"] details {
  border-bottom: 2px solid var(--surface-alt);
}

[data-component="faq"] details:last-child {
  border-bottom: none;
}

[data-component="faq"] summary {
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  padding: 16px 40px 16px 16px;
  cursor: pointer;
  list-style: none;
  position: relative;
  transition: background 0.1s;
}

[data-component="faq"] summary::-webkit-details-marker { display: none; }

[data-component="faq"] summary::after {
  content: '\F282';
  font-family: 'Bootstrap Icons';
  font-size: 16px;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand);
  transition: transform 0.2s;
}

[data-component="faq"] details[open] summary::after {
  transform: translateY(-50%) rotate(180deg);
}

[data-component="faq"] details[open] summary {
  background: var(--surface-alt);
  color: var(--brand);
}

[data-component="faq"] details[open] > div {
  background: var(--surface-alt);
  padding: 4px 16px 16px;
  font-size: 14px;
  line-height: 1.7;
}

.section-label {
  display: inline-block;
  width: 4px;
  height: 1.2em;
  background: var(--primary);
  margin-right: 10px;
  vertical-align: middle;
  flex-shrink: 0;
}

.inner-hero {
  background: var(--brand-dark);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cg fill='none' stroke='white' stroke-width='0.8' opacity='0.12'%3E%3Crect x='5' y='5' width='50' height='50'/%3E%3Crect x='15' y='15' width='30' height='30'/%3E%3Ccircle cx='30' cy='30' r='8'/%3E%3C/g%3E%3C/svg%3E");
  padding: clamp(28px,3.5vw,44px) 0;
  min-height: 240px;
  display: flex;
  align-items: center;
}

.inner-hero h1 { color: #ffffff; }
.breadcrumb-item, .breadcrumb-item a {
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  font-family: 'Nunito', sans-serif;
}
.breadcrumb-item.active { color: var(--primary); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.5); }

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

.rg-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand);
  color: #ffffff;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.site-footer {
  background: #1a1d4e;
  border-top: 4px solid var(--primary);
  padding: 48px 0 0;
  overflow-wrap: anywhere;
}

.site-footer .footer-col-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 14px;
}

.site-footer a {
  color: #a0a8d0;
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  text-decoration: none;
  display: block;
  margin-bottom: 6px;
  transition: color 0.1s;
}

.site-footer a:hover { color: #ffffff; }

.site-footer .footer-brand {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: #ffffff;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
}

.site-footer .footer-brand:hover { color: var(--primary); }

.site-footer .footer-desc {
  font-size: 13px;
  color: #a0a8d0;
  line-height: 1.6;
  margin-bottom: 12px;
}

.site-footer .footer-copyright {
  border-top: 1px solid #2f35a0;
  padding: 16px 0;
  text-align: center;
  color: #a0a8d0;
  font-size: 12px;
  font-family: 'Nunito', sans-serif;
  margin-top: 32px;
}

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

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

@media (max-width: 320px) {
  body { overflow-wrap: anywhere; }
  .btn-primary-ku, .btn-secondary-ku, .btn-ghost-light {
    padding: 10px 16px;
    font-size: 12px;
  }
}

.sidebar-card {
  background: var(--surface);
  border: 2px solid var(--border);
  box-shadow: var(--shadow-card);
  padding: 20px;
  margin-bottom: 20px;
}
