: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: #f9e7f1;
  --surface: #fdf8fb;
  --surface-alt: #efdee7;
  --primary: #c06c0b;
  --primary-text: #0b1220;
  --brand: #c91454;
  --brand-dark: #8d0e3b;
  --accent: #13b24c;
  --text: #1a0a0f;
  --text-muted: #5a3a46;
  --border: #b59024;
  --shadow: 6px 6px 0 rgba(0,0,0,0.65);
  --shadow-btn: 5px 5px 0 rgba(0,0,0,0.65);
  --shadow-lg: 8px 8px 0 rgba(0,0,0,0.65);
  --radius: 4px;
}

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

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

body {
  font-family: 'Work Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 0h40v40H0z' fill='none'/%3E%3Cpath d='M0 10h40M0 20h40M0 30h40M10 0v40M20 0v40M30 0v40' stroke='%23c91454' stroke-width='0.5' opacity='0.06'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

body > * { position: relative; z-index: 1; }

::selection { background: var(--brand); color: #fff; }
a { text-underline-offset: 3px; }

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

h1, h2, h3, h4 { font-family: 'Bungee', sans-serif; font-weight: 400; color: var(--text); }
h1 { font-size: clamp(2rem, 5vw, 4rem); line-height: 1.1; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.625rem); line-height: 1.15; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.75rem); line-height: 1.2; }
h4 { font-size: 1.25rem; line-height: 1.3; }

p { max-width: 72ch; }
.text-brand { color: var(--brand); }
.text-gold { color: var(--border); }

.btn-primary-site {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary);
  color: #fff;
  border: 3px solid var(--text);
  border-radius: var(--radius);
  padding: 14px 28px;
  font-family: 'Work Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  box-shadow: var(--shadow-btn);
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary-site:hover {
  color: #fff;
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 rgba(0,0,0,0.65);
}
.btn-primary-site:focus-visible {
  outline: 3px solid var(--border);
  outline-offset: 2px;
}

.btn-secondary-site {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  color: var(--brand);
  border: 3px solid var(--brand);
  border-radius: var(--radius);
  padding: 14px 28px;
  font-family: 'Work Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.5);
  transition: background 0.15s ease-out, color 0.15s ease-out;
  cursor: pointer;
  white-space: nowrap;
}
.btn-secondary-site:hover { background: var(--brand); color: #fff; }
.btn-secondary-site:focus-visible { outline: 3px solid var(--border); outline-offset: 2px; }

.btn-accent-site {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent);
  color: #fff;
  border: 3px solid var(--text);
  border-radius: var(--radius);
  padding: 14px 28px;
  font-family: 'Work Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  box-shadow: var(--shadow-btn);
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;
  cursor: pointer;
}
.btn-accent-site:hover { color: #fff; transform: translate(-2px,-2px); box-shadow: 7px 7px 0 rgba(0,0,0,0.65); }
.btn-accent-site:focus-visible { outline: 3px solid var(--border); outline-offset: 2px; }

.site-nav {
  background: var(--brand);
  border-bottom: 4px solid var(--border);
  min-height: 64px;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.site-nav .navbar-brand img { height: 40px; width: auto; }
.site-nav .nav-link {
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #fff !important;
  padding: 6px 10px;
  border-bottom: 3px solid transparent;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.site-nav .nav-link:hover { color: #ffd97a !important; border-bottom-color: var(--border); }
.site-nav .nav-link.active { color: #fff !important; border-bottom-color: var(--border); background: var(--brand-dark); border-radius: 4px 4px 0 0; }
.site-nav .navbar-toggler { border: 2px solid #fff; }
.site-nav .navbar-toggler-icon { filter: invert(1); }

.nav-btn-login {
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #fff !important;
  border: 2px solid #fff;
  border-radius: 4px;
  padding: 7px 16px;
  background: transparent;
  box-shadow: 3px 3px 0 rgba(0,0,0,0.5);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.nav-btn-login:hover { background: #fff; color: var(--brand) !important; }

.nav-btn-register {
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #fff !important;
  background: var(--primary);
  border: 2px solid var(--text);
  border-radius: 4px;
  padding: 7px 16px;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.65);
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}
.nav-btn-register:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 rgba(0,0,0,0.65); color: #fff !important; }

.section-divider {
  width: 100%;
  height: 20px;
  overflow: hidden;
  line-height: 0;
}
.section-divider svg { display: block; width: 100%; }

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

.section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.section-heading::before {
  content: '';
  display: block;
  width: 6px;
  min-height: 36px;
  background: var(--brand);
  flex-shrink: 0;
  align-self: stretch;
}

ul[data-component="trust"] {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
ul[data-component="trust"] li {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 4px;
  padding: 6px 12px;
  font-family: 'Work Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  box-shadow: 3px 3px 0 rgba(0,0,0,0.3);
}
ul[data-component="trust"] li i { color: var(--brand); font-size: 15px; }

dl[data-component="stats"] {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
}
dl[data-component="stats"] > div {
  background: var(--surface);
  border: 3px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px 20px;
  min-width: 110px;
  flex: 1;
}
dl[data-component="stats"] dt {
  font-family: 'Work Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}
dl[data-component="stats"] dd {
  font-family: 'Bungee', sans-serif;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  color: var(--brand);
  margin: 0;
  line-height: 1.1;
}

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

a.game-card {
  display: block;
  text-decoration: none;
  background: var(--surface);
  border: 3px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;
}
a.game-card:hover { transform: translate(-3px,-3px); box-shadow: 9px 9px 0 rgba(0,0,0,0.65); }
a.game-card:hover .game-name-bar { background: var(--brand-dark); }
a.game-card .game-img-wrap { position: relative; aspect-ratio: 1/1; overflow: hidden; }
a.game-card .game-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
a.game-card .rtp-tag {
  position: absolute;
  top: 6px; right: 6px;
  background: var(--text);
  color: var(--border);
  font-family: 'Work Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 2px;
  letter-spacing: 0.03em;
}
a.game-card .game-name-bar {
  background: var(--brand);
  padding: 6px 10px;
  transition: background 0.15s;
}
a.game-card .game-name-bar h3 {
  font-family: 'Bungee', sans-serif;
  font-size: 14px;
  color: #fff;
  margin: 0;
  line-height: 1.2;
}
a.game-card .game-meta {
  padding: 8px 10px;
  font-family: 'Work Sans', sans-serif;
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}
a.game-card .game-tag {
  display: inline-block;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 1px 6px;
  margin-bottom: 4px;
}

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

aside[data-component="bonus"] {
  background: var(--brand-dark);
  border: 4px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  color: #fff;
}

div[data-component="vip"] { }

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

ol[data-component="steps"] li {
  counter-increment: steps;
  background: var(--surface);
  border: 3px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 16px 20px 16px;
  position: relative;
  margin-right: -3px;
}
ol[data-component="steps"] li:last-child { margin-right: 0; }
ol[data-component="steps"] li::before {
  content: counter(steps);
  font-family: 'Bungee', sans-serif;
  font-size: 2.5rem;
  color: var(--brand);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
ol[data-component="steps"] li .step-arrow {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--border);
  font-size: 20px;
  z-index: 2;
}
@media (max-width: 767px) { ol[data-component="steps"] li .step-arrow { display: none; } }

ol[data-component="steps"] li h4 {
  font-family: 'Bungee', sans-serif;
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--text);
}
ol[data-component="steps"] li p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  max-width: none;
  line-height: 1.55;
}

section[data-component="faq"] details {
  background: var(--surface);
  border: 3px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 10px;
  overflow: hidden;
  transition: box-shadow 0.15s;
}
section[data-component="faq"] details[open] {
  box-shadow: var(--shadow-lg);
  border-color: var(--brand);
}
section[data-component="faq"] summary {
  font-family: 'Work Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  padding: 16px 20px;
  cursor: pointer;
  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';
  font-size: 18px;
  color: var(--brand);
  flex-shrink: 0;
  transition: transform 0.2s;
}
section[data-component="faq"] details[open] summary::after { transform: rotate(180deg); }
section[data-component="faq"] summary:focus-visible { outline: 3px solid var(--border); outline-offset: 2px; }
section[data-component="faq"] > details > div {
  padding: 0 20px 16px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
  border-top: 2px solid var(--surface-alt);
  margin-top: 0;
  padding-top: 14px;
}

.site-footer {
  background: var(--text);
  color: #efdee7;
  border-top: 4px solid var(--border);
  padding-top: 48px;
  padding-bottom: 24px;
}
.site-footer .footer-col-title {
  font-family: 'Bungee', sans-serif;
  font-size: 14px;
  color: var(--border);
  text-transform: uppercase;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}
.site-footer a {
  color: #efdee7;
  text-decoration: none;
  font-size: 13px;
  line-height: 2;
  display: block;
  transition: color 0.15s;
}
.site-footer a:hover { color: #ffd97a; }
.site-footer .footer-divider { border-color: var(--border); opacity: 1; margin: 24px 0; }
.site-footer .footer-copy {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}
.site-footer .responsible-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-dark);
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.breadcrumb-site {
  background: var(--surface-alt);
  border-bottom: 2px solid var(--border);
  padding: 10px 0;
}
.breadcrumb { margin: 0; background: transparent; padding: 0; }
.breadcrumb-item { font-size: 13px; color: var(--text-muted); }
.breadcrumb-item a { color: var(--brand); text-decoration: none; }
.breadcrumb-item.active { color: var(--text-muted); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--border); }

.hard-shadow { box-shadow: var(--shadow); }
.hard-shadow-lg { box-shadow: var(--shadow-lg); }
.border-gold { border-color: var(--border) !important; }
.border-brand { border-color: var(--brand) !important; }
.bg-surface { background: var(--surface); }
.bg-surface-alt { background: var(--surface-alt); }
.bg-brand { background: var(--brand); }
.bg-brand-dark { background: var(--brand-dark); }

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

h1, h2, h3, h4, p, a { overflow-wrap: anywhere; }
