: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: #fcfcf0;
  --surface: #fefefa;
  --surface-alt: #f2f2e6;
  --primary: #10a53e;
  --primary-hover: #0d8a32;
  --primary-text: #0b1220;
  --accent: #c67911;
  --brand: #a75f23;
  --brand-dark: #754218;
  --text: #1a1208;
  --text-muted: #5a4a2a;
  --border: #b7a03b;
  --border-strong: #1a1208;
  --radius-sm: 4px;
  --radius-md: 8px;
  --shadow-card: 6px 6px 0 rgba(0,0,0,0.65);
  --shadow-hero: 10px 10px 0 rgba(0,0,0,0.65);
  --shadow-sm: 3px 3px 0 rgba(0,0,0,0.55);
  --font-display: 'Playfair Display', serif;
  --font-body: 'Source Sans 3', sans-serif;
}

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

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

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Crect width='60' height='60' fill='none'/%3E%3Cpath d='M30 0 L60 30 L30 60 L0 30 Z' fill='none' stroke='%23b7a03b' stroke-width='0.6'/%3E%3Ccircle cx='30' cy='30' r='6' fill='none' stroke='%23b7a03b' stroke-width='0.5'/%3E%3Ccircle cx='0' cy='0' r='3' fill='none' stroke='%23b7a03b' stroke-width='0.4'/%3E%3Ccircle cx='60' cy='0' r='3' fill='none' stroke='%23b7a03b' stroke-width='0.4'/%3E%3Ccircle cx='0' cy='60' r='3' fill='none' stroke='%23b7a03b' stroke-width='0.4'/%3E%3Ccircle cx='60' cy='60' r='3' fill='none' stroke='%23b7a03b' stroke-width='0.4'/%3E%3Cpath d='M30 18 L36 24 L30 30 L24 24 Z' fill='none' stroke='%23b7a03b' stroke-width='0.4'/%3E%3C/svg%3E");
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}

main, header, footer { position: relative; z-index: 1; }

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 0.5em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.125rem; font-weight: 700; font-family: var(--font-body); }
p { max-width: 70ch; }
a { color: var(--brand); }
a:hover { color: var(--brand-dark); }

.btn-primary-site {
  display: inline-block;
  background: var(--primary);
  color: var(--primary-text) !important;
  border: 3px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: var(--shadow-card);
  transition: all 0.12s ease;
  cursor: pointer;
}
.btn-primary-site:hover {
  background: var(--primary-hover);
  box-shadow: 4px 4px 0 rgba(0,0,0,0.65);
  transform: translate(2px, 2px);
  color: #fff !important;
}
.btn-primary-site:focus-visible {
  outline: 3px solid var(--border);
  outline-offset: 2px;
}

.btn-secondary-site {
  display: inline-block;
  background: var(--surface);
  color: var(--brand) !important;
  border: 3px solid var(--brand);
  border-radius: var(--radius-sm);
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 6px 6px 0 rgba(167,95,35,0.5);
  transition: all 0.12s ease;
  cursor: pointer;
}
.btn-secondary-site:hover {
  background: var(--brand);
  color: #fff !important;
  box-shadow: 4px 4px 0 rgba(167,95,35,0.5);
  transform: translate(2px, 2px);
}
.btn-secondary-site:focus-visible {
  outline: 3px solid var(--border);
  outline-offset: 2px;
}

.btn-ghost-site {
  display: inline-block;
  background: transparent;
  color: var(--surface) !important;
  border: 2.5px solid var(--surface);
  border-radius: var(--radius-sm);
  padding: 10px 22px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.12s ease;
}
.btn-ghost-site:hover {
  background: var(--surface);
  color: var(--brand) !important;
}

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

.section-divider {
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='16'%3E%3Cpath d='M0 8 Q15 0 30 8 Q45 16 60 8 Q75 0 90 8 Q105 16 120 8' fill='none' stroke='%23b7a03b' stroke-width='1.5'/%3E%3Ccircle cx='30' cy='8' r='2' fill='%23b7a03b'/%3E%3Ccircle cx='60' cy='8' r='2' fill='%23b7a03b'/%3E%3Ccircle cx='90' cy='8' r='2' fill='%23b7a03b'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: center;
  opacity: 0.7;
  margin: 0;
}

.flag-banner {
  height: 20px;
  background: transparent;
  overflow: hidden;
  line-height: 0;
}
.flag-banner svg { display: block; width: 100%; height: 20px; }

.site-navbar {
  background-color: var(--brand) !important;
  min-height: 64px;
  padding: 0;
  border-bottom: none;
}

.site-navbar .navbar-brand {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: #fff !important;
  text-decoration: none;
  line-height: 1;
  padding: 0;
}
.site-navbar .navbar-brand img {
  height: 40px;
  width: auto;
}

.site-navbar .nav-link {
  color: var(--surface) !important;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 8px 10px !important;
  text-decoration: none;
  position: relative;
  white-space: nowrap;
}
.site-navbar .nav-link:hover {
  color: #fff !important;
}
.site-navbar .nav-link:hover::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 10px;
  right: 10px;
  height: 3px;
  background: var(--border);
}
.site-navbar .nav-link.active-nav {
  background: var(--brand-dark);
  padding: 4px 10px !important;
  border-radius: var(--radius-sm);
}

.site-navbar .navbar-toggler {
  border: 2px solid rgba(255,255,255,0.6);
  color: #fff;
}
.site-navbar .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,0.9)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.site-navbar .nav-btn-login {
  background: transparent;
  color: var(--surface) !important;
  border: 2.5px solid var(--surface);
  border-radius: var(--radius-sm);
  padding: 7px 18px !important;
  font-size: 15px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: all 0.12s ease;
}
.site-navbar .nav-btn-login:hover {
  background: var(--surface);
  color: var(--brand) !important;
}

.site-navbar .nav-btn-register {
  background: var(--primary) !important;
  color: #fff !important;
  border: 2.5px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 7px 18px !important;
  font-size: 15px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: all 0.12s ease;
}
.site-navbar .nav-btn-register:hover {
  background: var(--primary-hover) !important;
  border-color: var(--primary-hover);
}

.navbar-collapse.show,
.navbar-collapse.collapsing {
  background: var(--brand-dark);
  padding: 12px 16px;
}

ul[data-component="trust"] {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
}
ul[data-component="trust"] li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}
ul[data-component="trust"] li i {
  color: var(--border);
  font-size: 15px;
}

dl[data-component="stats"] {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
  border: 3px solid var(--border-strong);
  box-shadow: var(--shadow-card);
}
dl[data-component="stats"] > div {
  padding: 16px 20px;
  border-right: 2px solid var(--border);
  text-align: center;
  background: var(--surface);
}
dl[data-component="stats"] > div:last-child { border-right: none; }
dl[data-component="stats"] dt {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
dl[data-component="stats"] dd {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--brand);
  margin: 0;
}

[data-component="game-grid"] {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@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); }
}

a.game-card {
  display: block;
  background: var(--surface);
  border: 3px solid var(--border-strong);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: all 0.15s ease;
}
a.game-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 10px 10px 0 rgba(0,0,0,0.65);
  border-color: var(--brand);
}
a.game-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
a.game-card .game-card-body {
  padding: 10px 12px;
}
a.game-card .game-tag {
  display: inline-block;
  background: var(--border);
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 0;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.5);
  margin-bottom: 4px;
}
a.game-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 2px;
  line-height: 1.3;
}
a.game-card p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
  max-width: none;
}

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

aside[data-component="bonus"] {
  background: var(--brand-dark);
  border: 3px solid var(--border-strong);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-hero);
  padding: clamp(24px, 3vw, 40px);
  position: relative;
  overflow: hidden;
}
aside[data-component="bonus"]::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M30 0 L60 30 L30 60 L0 30 Z' fill='none' stroke='%23ffffff' stroke-width='0.5'/%3E%3Ccircle cx='30' cy='30' r='6' fill='none' stroke='%23ffffff' stroke-width='0.4'/%3E%3C/svg%3E");
  opacity: 0.06;
  pointer-events: none;
}

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

.step-item {
  background: var(--surface);
  border: 3px solid var(--border-strong);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  padding: 24px 20px;
  position: relative;
}
.step-item:not(:last-child)::after {
  content: '›';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  font-weight: 700;
  color: var(--brand);
  z-index: 2;
}
@media (max-width: 767px) {
  .step-item:not(:last-child)::after { display: none; }
}
.step-number {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 8px;
}
.step-item h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.step-item p { font-size: 14px; color: var(--text-muted); max-width: none; margin: 0; }

[data-component="vip"] .vip-tier {
  background: var(--surface);
  border: 3px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  padding: 20px 16px;
  text-align: center;
  transition: all 0.15s ease;
}
[data-component="vip"] .vip-tier.active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand-dark);
}
[data-component="vip"] .vip-tier.active h4,
[data-component="vip"] .vip-tier.active .vip-stat { color: #fff; }

[data-component="faq"] details {
  border: 3px solid var(--border-strong);
  border-radius: 0;
  margin-bottom: 8px;
  background: var(--surface);
}
[data-component="faq"] details[open] {
  background: var(--surface-alt);
}
[data-component="faq"] summary {
  padding: 16px 20px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
}
[data-component="faq"] summary::-webkit-details-marker { display: none; }
[data-component="faq"] summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 700;
  color: var(--brand);
  flex-shrink: 0;
  margin-left: 12px;
}
[data-component="faq"] details[open] summary::after { content: '−'; }
[data-component="faq"] details > div {
  padding: 0 20px 16px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 8px;
}
.section-header h2 { margin: 0; }
.section-header a {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
}
.section-header a:hover { text-decoration: underline; }

.site-table {
  width: 100%;
  border-collapse: collapse;
  border: 3px solid var(--border-strong);
  font-size: 15px;
}
.site-table th {
  background: var(--brand);
  color: #fff;
  padding: 12px 16px;
  font-weight: 700;
  text-align: left;
  font-size: 14px;
  letter-spacing: 0.03em;
}
.site-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.site-table tr:last-child td { border-bottom: none; }
.site-table tr:nth-child(even) td { background: var(--surface-alt); }

.site-footer {
  background: var(--text);
  color: var(--surface);
  padding: 48px 0 24px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M30 0 L60 30 L30 60 L0 30 Z' fill='none' stroke='%23b7a03b' stroke-width='0.6'/%3E%3Ccircle cx='30' cy='30' r='5' fill='none' stroke='%23b7a03b' stroke-width='0.4'/%3E%3C/svg%3E");
  opacity: 0.06;
  pointer-events: none;
}
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  position: relative;
  z-index: 1;
}
@media (max-width: 991px) {
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575px) {
  .site-footer .footer-grid { grid-template-columns: 1fr; }
}
.site-footer .footer-col-title {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--border);
  margin-bottom: 12px;
}
.site-footer .footer-brand-name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--surface);
  margin-bottom: 8px;
}
.site-footer .footer-tagline {
  font-size: 14px;
  color: var(--border);
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 8px; }
.site-footer ul li a {
  color: var(--surface);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.15s;
}
.site-footer ul li a:hover { color: var(--border); }
.site-footer .footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 32px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}
.badge-18 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 2px solid var(--border);
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--border);
  border-radius: var(--radius-sm);
  margin-top: 12px;
}

@media (max-width: 575px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  dl[data-component="stats"] { grid-template-columns: repeat(2, 1fr); }
  dl[data-component="stats"] > div:nth-child(2) { border-right: none; }
}

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