: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: #fefbf8;
--surface: #fffefd;
--surface-alt: #f4f1ee;
--primary: #de7201;
--primary-text: #0b1220;
--accent: #1053c3;
--text: #2b2418;
--text-muted: #6b5d4f;
--border: #ba9035;
--brand: #8e7b09;
--brand-dark: #635606;
}

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: "Source Sans 3", sans-serif;
font-weight: 400;
font-size: 16px;
line-height: 1.6;
color: var(--text);
background: var(--bg);
overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
font-family: "Playfair Display", serif;
font-weight: 700;
line-height: 1.35;
text-transform: uppercase;
letter-spacing: 0.05em;
}

h1 {
font-size: clamp(2rem, 4vw, 3.5rem);
}

h2 {
font-size: clamp(1.75rem, 3vw, 2.25rem);
}

h3 {
font-size: clamp(1.25rem, 2vw, 1.5rem);
}

a {
color: inherit;
text-decoration: none;
text-underline-offset: 2px;
}

a:hover {
color: var(--primary);
}

::selection {
background: var(--primary);
color: var(--primary-text);
}

::-moz-selection {
background: var(--primary);
color: var(--primary-text);
}

input, textarea {
caret-color: var(--primary);
}

::-webkit-scrollbar {
width: 10px;
}

::-webkit-scrollbar-track {
background: var(--surface-alt);
}

::-webkit-scrollbar-thumb {
background: var(--border);
border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
background: var(--brand);
}

.btn-primary {
background: var(--primary);
color: var(--primary-text);
font-weight: 700;
padding: 16px 32px;
border: 2px solid var(--primary);
border-radius: 0;
box-shadow: 4px 4px 0 var(--border);
text-transform: uppercase;
transition: all 0.2s ease-out;
display: inline-block;
}

.btn-primary:hover {
background: #c96401;
box-shadow: 2px 2px 0 var(--border);
transform: translate(2px, 2px);
color: var(--primary-text);
}

.btn-secondary {
background: transparent;
color: var(--brand);
font-weight: 700;
padding: 16px 32px;
border: 2px solid var(--brand);
border-radius: 0;
text-transform: uppercase;
transition: all 0.2s ease-out;
display: inline-block;
}

.btn-secondary:hover {
background: rgba(142, 123, 9, 0.1);
color: var(--brand);
}

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

header {
background: var(--brand);
position: sticky;
top: 0;
z-index: 1000;
box-shadow: 0 2px 8px rgba(43, 36, 24, 0.1);
}

.navbar {
padding: 0;
min-height: 64px;
}

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

.navbar-nav .nav-link {
color: var(--primary-text);
font-weight: 600;
padding: 8px 16px;
transition: color 0.2s ease-out;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
color: var(--border);
}

.navbar-toggler {
border: 2px solid var(--primary-text);
border-radius: 0;
padding: 8px 12px;
}

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

.nav-btn-login {
color: var(--primary-text);
border: 2px solid var(--primary-text);
padding: 8px 20px;
margin-left: 8px;
border-radius: 0;
transition: all 0.2s ease-out;
}

.nav-btn-login:hover {
background: rgba(255, 255, 255, 0.1);
color: var(--primary-text);
}

.nav-btn-signup {
background: var(--primary);
color: var(--primary-text);
border: none;
padding: 10px 24px;
margin-left: 8px;
border-radius: 0;
transition: background 0.2s ease-out;
}

.nav-btn-signup:hover {
background: #c96401;
color: var(--primary-text);
}

main {
display: flex;
flex-direction: column;
}

main > section,
main > div {
padding: clamp(28px, 3.5vw, 44px) 0;
}

.container,
.container-xl {
max-width: 1320px;
}

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

footer {
background: var(--brand-dark);
color: var(--primary-text);
padding: 48px 0 24px;
}

footer h4 {
font-size: 1rem;
font-weight: 700;
text-transform: uppercase;
margin-bottom: 16px;
}

footer ul {
list-style: none;
padding: 0;
}

footer ul li {
margin-bottom: 8px;
}

footer a {
color: var(--primary-text);
transition: color 0.2s ease-out;
}

footer a:hover {
color: var(--border);
}

.footer-bottom {
border-top: 1px solid rgba(255, 255, 255, 0.2);
margin-top: 32px;
padding-top: 24px;
text-align: center;
font-size: 14px;
}

.responsible-badge {
display: inline-block;
border: 2px solid var(--primary-text);
border-radius: 50%;
width: 48px;
height: 48px;
line-height: 44px;
text-align: center;
font-weight: 700;
margin-top: 16px;
}

[data-component="trust"] {
display: flex;
flex-wrap: wrap;
gap: 16px;
list-style: none;
padding: 0;
margin: 24px 0 0;
}

[data-component="trust"] li {
display: flex;
align-items: center;
gap: 8px;
padding: 8px 16px;
background: var(--surface);
border: 1px solid var(--border);
border-radius: 2px;
font-size: 14px;
font-weight: 600;
color: var(--text);
}

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

[data-component="stats"] {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 24px;
margin: 32px 0 0;
}

[data-component="stats"] div {
background: var(--surface);
padding: 20px;
border: 2px solid var(--border);
box-shadow: 4px 4px 0 var(--accent);
text-align: center;
}

[data-component="stats"] dd {
font-family: "Playfair Display", serif;
font-size: 2.5rem;
font-weight: 700;
color: var(--primary);
margin: 0;
}

[data-component="stats"] dt {
font-size: 14px;
text-transform: uppercase;
letter-spacing: 0.05em;
color: var(--text-muted);
margin-top: 8px;
}

[data-component="game-grid"] {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
gap: 24px;
}

.game-card {
background: var(--surface);
border: 2px solid var(--border);
box-shadow: 4px 4px 0 var(--accent);
padding: 16px;
transition: all 0.3s ease-out;
display: block;
position: relative;
}

.game-card:hover {
transform: translateY(-4px);
box-shadow: 6px 6px 0 var(--accent);
}

.game-card img {
width: 100%;
height: auto;
object-fit: cover;
image-rendering: auto;
margin-bottom: 12px;
}

.game-tag {
position: absolute;
top: 24px;
right: 24px;
background: var(--primary);
color: var(--primary-text);
padding: 4px 12px;
font-size: 12px;
font-weight: 700;
text-transform: uppercase;
border-radius: 2px;
}

.game-card h3 {
font-size: 1.125rem;
margin: 8px 0 4px;
}

.game-card p {
font-size: 14px;
color: var(--text-muted);
margin: 0;
}

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

[data-component="payments"] table {
width: 100%;
border-collapse: separate;
border-spacing: 0;
background: var(--surface);
border: 2px solid var(--border);
}

[data-component="payments"] th,
[data-component="payments"] td {
padding: 12px 16px;
text-align: left;
border-bottom: 1px solid var(--border);
}

[data-component="payments"] th {
background: var(--surface-alt);
font-weight: 700;
text-transform: uppercase;
font-size: 14px;
letter-spacing: 0.05em;
}

[data-component="payments"] tr:last-child td {
border-bottom: none;
}

[data-component="bonus"] {
background: var(--surface);
border: 3px solid var(--brand);
box-shadow: 6px 6px 0 var(--border);
padding: 32px;
margin: 32px 0;
}

[data-component="bonus"] h2 {
color: var(--brand);
margin-bottom: 24px;
}

[data-component="bonus"] .bonus-amount {
font-family: "Playfair Display", serif;
font-size: 3rem;
font-weight: 700;
color: var(--primary);
}

[data-component="bonus"] table {
width: 100%;
margin: 24px 0;
border-collapse: separate;
border-spacing: 0;
background: var(--bg);
border: 2px solid var(--border);
}

[data-component="bonus"] th,
[data-component="bonus"] td {
padding: 12px 16px;
border-bottom: 1px solid var(--border);
}

[data-component="bonus"] th {
text-align: left;
font-weight: 700;
text-transform: uppercase;
font-size: 14px;
letter-spacing: 0.05em;
background: var(--surface-alt);
}

[data-component="bonus"] tr:last-child td {
border-bottom: none;
}

[data-component="vip"] table {
width: 100%;
border-collapse: separate;
border-spacing: 0;
background: var(--surface);
border: 2px solid var(--border);
}

[data-component="vip"] th,
[data-component="vip"] td {
padding: 12px 16px;
text-align: left;
border-bottom: 1px solid var(--border);
}

[data-component="vip"] th {
background: var(--surface-alt);
font-weight: 700;
text-transform: uppercase;
font-size: 14px;
letter-spacing: 0.05em;
}

[data-component="vip"] tr:last-child td {
border-bottom: none;
}

[data-component="vip"] .tier-highlight {
background: rgba(222, 114, 1, 0.1);
}

[data-component="steps"] {
list-style: none;
counter-reset: step-counter;
padding: 0;
}

[data-component="steps"] li {
counter-increment: step-counter;
display: grid;
grid-template-columns: 80px 1fr;
gap: 24px;
margin-bottom: 32px;
align-items: start;
}

[data-component="steps"] li::before {
content: counter(step-counter);
font-family: "Playfair Display", serif;
font-size: 3rem;
font-weight: 700;
color: var(--primary);
display: block;
width: 80px;
height: 80px;
line-height: 76px;
text-align: center;
border: 2px solid var(--border);
box-shadow: 4px 4px 0 var(--accent);
background: var(--surface);
}

[data-component="steps"] h3 {
margin: 0 0 8px;
}

[data-component="steps"] p {
margin: 0;
color: var(--text-muted);
}

[data-component="faq"] details {
background: var(--surface);
border: 2px solid var(--border);
margin-bottom: 16px;
padding: 20px;
}

[data-component="faq"] summary {
font-weight: 700;
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: center;
list-style: none;
}

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

[data-component="faq"] summary::after {
content: "\F64D";
font-family: "bootstrap-icons";
font-size: 1.5rem;
color: var(--primary);
transition: transform 0.3s ease-out;
}

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

[data-component="faq"] .faq-answer {
margin-top: 16px;
padding-top: 16px;
border-top: 1px solid var(--border);
color: var(--text-muted);
}

@media (max-width: 768px) {
[data-component="stats"] {
grid-template-columns: 1fr;
}

[data-component="game-grid"] {
grid-template-columns: repeat(2, 1fr);
gap: 16px;
}

[data-component="steps"] li {
grid-template-columns: 60px 1fr;
gap: 16px;
}

[data-component="steps"] li::before {
font-size: 2rem;
width: 60px;
height: 60px;
line-height: 56px;
}

[data-component="bonus"] {
padding: 20px;
}

[data-component="bonus"] .bonus-amount {
font-size: 2rem;
}
}

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

.min-touch-target {
min-width: 44px;
min-height: 44px;
}

@media (max-width: 320px) {
body {
font-size: 14px;
}

h1 {
font-size: 1.75rem;
overflow-wrap: anywhere;
}

.btn-primary,
.btn-secondary {
padding: 12px 20px;
font-size: 14px;
}
}
