: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:          #f1f2ea;
  --surface:     #fbfbf9;
  --surface-alt: #e7e8e1;
  --primary:     #10817d;
  --primary-dk:  #0b5a58;
  --brand:       #879007;
  --brand-hover: #9fa80a;
  --accent:      #bf2156;
  --border:      #c0912a;
  --text:        #1a1f0e;
  --text-muted:  #4a5240;
  --nav-link:    #d4ede0;
  --footer-bg:   #1a1f0e;
  --footer-link: #a8b09a;
}

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

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

body {
  margin: 0;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  background-image: repeating-linear-gradient(
    180deg,
    transparent 0px, transparent 18px,
    rgba(16,129,125,0.06) 18px, rgba(16,129,125,0.06) 36px
  );
  overflow-wrap: anywhere;
}

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

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

a {
  color: var(--primary);
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: color 0.15s, text-decoration-color 0.15s;
}
a:hover { color: var(--primary-dk); text-decoration-color: var(--border); }

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.25;
  margin-top: 0;
}
h2 { font-size: 2rem; color: var(--text); margin-bottom: 1rem; }
h3 { font-size: 1.1rem; }
p { margin-bottom: 0.9rem; }
p:last-child { margin-bottom: 0; }

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

.btn-primary-site {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  border: 2px solid var(--border);
  box-shadow: 4px 4px 0 var(--primary-dk);
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 0;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.1s, box-shadow 0.1s, transform 0.1s;
}
.btn-primary-site:hover, .btn-primary-site:focus-visible {
  background: var(--brand-hover);
  box-shadow: 2px 2px 0 var(--primary-dk);
  transform: translate(2px, 2px);
  color: #fff;
}
.btn-primary-site:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.btn-secondary-site {
  display: inline-block;
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: 4px 4px 0 var(--border);
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 0;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.1s, box-shadow 0.1s, transform 0.1s, color 0.1s;
}
.btn-secondary-site:hover, .btn-secondary-site:focus-visible {
  background: var(--primary);
  color: #fff;
  box-shadow: 2px 2px 0 var(--border);
  transform: translate(2px, 2px);
}

.btn-danger-site {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--border);
  box-shadow: 4px 4px 0 var(--text);
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 0;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.1s, box-shadow 0.1s, transform 0.1s;
}
.btn-danger-site:hover {
  background: #d4235f;
  box-shadow: 2px 2px 0 var(--text);
  transform: translate(2px, 2px);
  color: #fff;
}

.site-nav {
  background: var(--primary);
  border-bottom: 3px solid var(--border);
  min-height: 56px;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.site-nav .navbar-brand img {
  height: 40px;
  width: auto;
}
.site-nav .nav-link {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nav-link) !important;
  padding: 8px 0 !important;
  margin: 0 12px;
  border-bottom: 3px solid transparent;
  transition: color 0.1s, border-color 0.1s;
  text-decoration: none;
}
.site-nav .nav-link:hover {
  color: #fff !important;
  border-bottom-color: var(--brand);
}
.site-nav .nav-link.active-nav {
  color: #fff !important;
  border-bottom-color: var(--border);
}
.site-nav .navbar-toggler {
  border: 2px solid var(--border);
  border-radius: 0;
  padding: 6px 10px;
}
.site-nav .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%28212,237,224,1%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.nav-btn-login {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff !important;
  border: 2px solid #fff;
  background: transparent;
  padding: 7px 18px;
  border-radius: 0;
  box-shadow: 3px 3px 0 var(--border);
  text-decoration: none;
  transition: background 0.1s, color 0.1s;
  display: inline-block;
}
.nav-btn-login:hover {
  background: #fff;
  color: var(--primary) !important;
}
.nav-btn-register {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff !important;
  background: var(--brand);
  border: 2px solid var(--border);
  padding: 7px 18px;
  border-radius: 0;
  box-shadow: 3px 3px 0 var(--primary-dk);
  text-decoration: none;
  transition: background 0.1s;
  display: inline-block;
}
.nav-btn-register:hover { background: var(--brand-hover); color: #fff !important; }

.section-light {
  background-color: var(--bg);
  background-image: repeating-linear-gradient(
    180deg, transparent 0px, transparent 18px,
    rgba(16,129,125,0.06) 18px, rgba(16,129,125,0.06) 36px
  );
  padding: clamp(28px,3.5vw,44px) 0;
}
.section-surface {
  background-color: var(--surface);
  padding: clamp(28px,3.5vw,44px) 0;
}
.section-alt {
  background-color: var(--surface-alt);
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(192,145,42,0.08) 0px, rgba(192,145,42,0.08) 1px,
      transparent 1px, transparent 60px
    );
  padding: clamp(28px,3.5vw,44px) 0;
}
.section-dark {
  background-color: var(--primary-dk);
  background-image: repeating-linear-gradient(
    180deg, transparent 0px, transparent 18px,
    rgba(255,255,255,0.03) 18px, rgba(255,255,255,0.03) 36px
  );
  border-top: 4px solid var(--border);
  padding: clamp(28px,3.5vw,44px) 0;
}
.section-divider { border-top: 3px solid var(--border); }

.score-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.9rem;
}
.score-table th {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 14px;
  border: 2px solid var(--border);
  font-size: 0.82rem;
}
.score-table td {
  padding: 9px 14px;
  border: 2px solid var(--border);
  color: var(--text);
  vertical-align: middle;
}
.score-table tr:nth-child(odd) td { background: var(--surface); }
.score-table tr:nth-child(even) td { background: var(--surface-alt); }
.score-table tr:hover td { background: #e0e1d8; }

.vip-highlight td { border-left: 4px solid var(--border) !important; }

[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;
  text-decoration: none;
  background: var(--surface);
  border: 2px solid var(--border);
  box-shadow: 4px 4px 0 var(--border);
  border-radius: 0;
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.1s steps(2), transform 0.1s steps(2), border-color 0.1s steps(2);
  color: var(--text);
}
.game-card:hover {
  box-shadow: 6px 6px 0 var(--accent);
  transform: translate(-2px, -2px);
  border-color: var(--accent);
}
.game-card .gc-img-wrap {
  position: relative;
  height: 140px;
  overflow: hidden;
}
.game-card .gc-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.game-card .gc-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, rgba(10,30,20,0.85) 0%, transparent 100%);
  padding: 28px 10px 8px;
}
.game-card .game-tag {
  display: inline-block;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary);
  padding: 2px 6px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.game-card h3 {
  font-size: 0.88rem;
  color: #fff;
  margin: 4px 0 2px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.25;
}
.game-card .gc-meta {
  font-size: 0.75rem;
  color: #c8d8c8;
}
.game-card .gc-body {
  padding: 8px 12px 10px;
}
.game-card .gc-body h3 { color: var(--text); font-size: 0.88rem; margin-bottom: 2px; }
.game-card .gc-body p { font-size: 0.78rem; color: var(--text-muted); margin: 0; }

[data-component="steps"] {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: steps;
}
[data-component="steps"] li {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
  align-items: flex-start;
}
[data-component="steps"] li::before {
  counter-increment: steps;
  content: counter(steps);
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border);
  box-shadow: 3px 3px 0 var(--border);
}
[data-component="steps"] li .step-title {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 4px;
}
[data-component="steps"] li .step-body {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

[data-component="faq"] details {
  border: 2px solid var(--border);
  margin-bottom: 10px;
  background: var(--surface);
  box-shadow: 3px 3px 0 var(--border);
}
[data-component="faq"] details summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
[data-component="faq"] details summary::-webkit-details-marker { display: none; }
[data-component="faq"] details summary .faq-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}
[data-component="faq"] details summary .faq-icon {
  margin-left: auto;
  font-size: 1.1rem;
  color: var(--border);
  transition: transform 0.15s;
}
[data-component="faq"] details[open] summary .faq-icon { transform: rotate(45deg); }
[data-component="faq"] details div {
  padding: 0 16px 16px 56px;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

[data-component="trust"] {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
}
[data-component="trust"] li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--nav-link);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
[data-component="trust"] li i { font-size: 1rem; color: var(--border); }

[data-component="stats"] {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border: 2px solid var(--border);
  box-shadow: 4px 4px 0 var(--border);
}
[data-component="stats"] > div {
  flex: 1 1 120px;
  padding: 14px 20px;
  border-right: 2px solid var(--border);
  background: rgba(255,255,255,0.08);
  text-align: center;
}
[data-component="stats"] > div:last-child { border-right: none; }
[data-component="stats"] dt {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nav-link);
  margin-bottom: 4px;
}
[data-component="stats"] dd {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--border);
  margin: 0;
  line-height: 1.1;
}

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

[data-component="bonus"] .bonus-big {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: clamp(3rem, 7vw, 5rem);
  color: var(--border);
  line-height: 1;
  letter-spacing: 0.02em;
}

[data-component="vip"] .vip-table th:first-child { background: var(--primary-dk); }

.site-footer {
  background: var(--footer-bg);
  border-top: 4px solid var(--border);
  padding: clamp(28px,3.5vw,44px) 0 0;
}
.site-footer h4 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
}
.site-footer a {
  display: block;
  font-size: 0.85rem;
  color: var(--footer-link);
  text-decoration: none;
  margin-bottom: 7px;
  min-height: 28px;
  line-height: 1.4;
}
.site-footer a:hover { color: var(--border); }
.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer-copy-bar {
  border-top: 2px solid #2d3320;
  background: #111508;
  padding: 14px 0;
  margin-top: 32px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-copy-bar a { color: var(--border); font-size: 0.8rem; display: inline; margin: 0 6px; }
.rg-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary-dk);
  border: 2px solid var(--border);
  padding: 10px 16px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 12px;
}
.rg-badge .rg-18 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--border);
}

.section-rule {
  display: block;
  width: 48px;
  height: 4px;
  background: var(--border);
  margin-bottom: 10px;
}

.text-brand { color: var(--brand); }
.text-primary-site { color: var(--primary); }
.text-border { color: var(--border); }
.text-muted-site { color: var(--text-muted); }
.border-site { border: 2px solid var(--border); }
.hard-shadow { box-shadow: 4px 4px 0 var(--border); }
.hard-shadow-accent { box-shadow: 6px 6px 0 var(--accent); }
.fw-700 { font-weight: 700; }
.uppercase { text-transform: uppercase; }
.ls-wide { letter-spacing: 0.08em; }

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