: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: #fbf5f3;
  --surface: #fefcfb;
  --surface-alt: #f1ebe9;
  --primary: #a4140d;
  --primary-dark: #730e09;
  --action: #199e6b;
  --action-dark: #157a54;
  --accent: #c49e27;
  --accent-dark: #ba9835;
  --text: #1a1008;
  --text-muted: #6b5a52;
  --border: #ba9835;
  --nav-h: 56px;
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: var(--accent-dark) var(--surface-alt); }
body {
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  margin: 0;
  overflow-x: hidden;
}
::selection { background: var(--accent); color: var(--text); }
a { color: var(--primary); text-decoration-offset: 3px; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: 'Baloo 2', cursive; line-height: 1.25; margin-top: 0; }
h2 { font-size: 2rem; font-weight: 700; color: var(--text); }
h3 { font-size: 1.1rem; font-weight: 600; color: var(--text); }
p { margin-bottom: 1rem; overflow-wrap: anywhere; }

.font-display { font-family: 'Baloo 2', cursive; }
.text-accent { color: var(--accent); }
.text-muted-brand { color: var(--text-muted); }
.label-small {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.num-highlight {
  font-family: 'Baloo 2', cursive;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
}

.site-nav {
  background: var(--primary);
  height: var(--nav-h);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.site-nav .navbar-brand img {
  height: 40px;
  width: auto;
}
.site-nav .nav-link {
  color: rgba(255,255,255,0.88) !important;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 4px 10px !important;
  position: relative;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.site-nav .nav-link:hover {
  color: var(--accent) !important;
  border-bottom-color: var(--accent);
}
.site-nav .nav-link.active {
  color: #fff !important;
  border-bottom-color: #fff;
}
.site-nav .navbar-toggler {
  border: 1.5px solid rgba(255,255,255,0.6);
  border-radius: var(--radius);
  color: #fff;
  padding: 4px 8px;
}
.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%28255%2C255%2C255%2C0.9%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.btn-nav-login {
  border: 1.5px solid #fff;
  background: transparent;
  color: #fff;
  border-radius: var(--radius);
  padding: 6px 18px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
  display: inline-block;
}
.btn-nav-login:hover { background: rgba(255,255,255,0.15); color: #fff; }
.btn-nav-register {
  background: var(--action);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 6px 18px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
  display: inline-block;
}
.btn-nav-register:hover { background: var(--action-dark); color: #fff; }

.btn-primary-action {
  background: var(--action);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 12px 28px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.15s, box-shadow 0.15s;
}
.btn-primary-action:hover { background: var(--action-dark); box-shadow: 2px 2px 0 0 #0d5c3c; color: #fff; }
.btn-primary-action:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.btn-secondary-action {
  background: transparent;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  border-radius: var(--radius);
  padding: 12px 28px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.15s, color 0.15s;
}
.btn-secondary-action:hover { background: var(--primary); color: #fff; }
.btn-secondary-action:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.btn-gold-outline {
  background: transparent;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  border-radius: var(--radius);
  padding: 11px 26px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.15s, color 0.15s;
}
.btn-gold-outline:hover { background: var(--accent); color: var(--text); }
.btn-gold-outline:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

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

.section-heading {
  border-left: 3px solid var(--primary);
  padding-left: 14px;
  margin-bottom: 1.5rem;
}
.section-heading h2 { margin-bottom: 0.25rem; }

[data-component="game-grid"] {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@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;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: box-shadow 0.15s, border-color 0.15s, transform 0.15s;
  position: relative;
}
.game-card:hover {
  box-shadow: 2px 2px 0 0 var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
  color: var(--text);
}
.game-card .card-img-wrap { height: 160px; overflow: hidden; }
.game-card .card-img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.game-card .card-info { padding: 8px 10px; display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.game-card h3 { font-size: 0.9rem; font-weight: 700; margin: 0; color: var(--text); flex: 1; min-width: 0; overflow-wrap: anywhere; }
.game-card .game-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--text);
  padding: 2px 6px;
  border-radius: 0;
  white-space: nowrap;
  flex-shrink: 0;
}
.game-card .game-provider { font-size: 0.75rem; color: var(--text-muted); padding: 0 10px 8px; margin: 0; }

[data-component="trust"] {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
}
[data-component="trust"] li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}
[data-component="trust"] li i { font-size: 1rem; color: var(--accent); }

[data-component="stats"] {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid rgba(186,152,53,0.4);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 1rem;
}
[data-component="stats"] > div {
  flex: 1;
  min-width: 100px;
  padding: 12px 16px;
  border-right: 1px solid rgba(186,152,53,0.4);
  background: rgba(255,255,255,0.06);
}
[data-component="stats"] > div:last-child { border-right: none; }
[data-component="stats"] dt {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 2px;
}
[data-component="stats"] dd {
  font-family: 'Baloo 2', cursive;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0;
}

[data-component="payments"] {
  list-style: none;
  margin: 0;
  padding: 0;
}
[data-component="payments"] li {
  display: grid;
  grid-template-columns: 160px 1fr 1fr 1fr;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--surface-alt);
  background: var(--surface);
  font-size: 0.9rem;
}
[data-component="payments"] li:first-child { border-top: 1px solid var(--border); }
[data-component="payments"] li.pay-header {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
[data-component="payments"] li .pay-name {
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
[data-component="payments"] li .pay-name i { color: var(--primary); }
[data-component="payments"] li .pay-val { color: var(--text-muted); font-size: 0.88rem; }
@media (max-width: 575px) {
  [data-component="payments"] li {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  [data-component="payments"] li.pay-header { display: none; }
}

[data-component="bonus"] {
  background: var(--primary-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background-image: repeating-linear-gradient(135deg, transparent, transparent 5px, rgba(255,255,255,0.03) 6px);
}
.bonus-inner { padding: 28px 32px; }
.bonus-pct {
  font-family: 'Baloo 2', cursive;
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  display: block;
}
.bonus-label { color: rgba(255,255,255,0.9); font-size: 1.1rem; font-weight: 600; }
.bonus-table { width: 100%; border-collapse: collapse; margin-top: 16px; }
.bonus-table td {
  padding: 9px 12px;
  border: 1px solid rgba(186,152,53,0.3);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
}
.bonus-table td:first-child { color: rgba(255,255,255,0.6); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; }
.bonus-table td:last-child { font-weight: 700; color: #fff; text-align: right; }

[data-component="vip"] .vip-table { width: 100%; border-collapse: collapse; overflow-x: auto; }
[data-component="vip"] .vip-table th {
  background: var(--primary);
  color: #fff;
  padding: 10px 12px;
  font-size: 0.85rem;
  font-weight: 700;
  text-align: left;
  border: 1px solid var(--border);
}
[data-component="vip"] .vip-table td {
  padding: 9px 12px;
  border: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text);
}
[data-component="vip"] .vip-table tr:nth-child(even) td { background: var(--surface-alt); }
[data-component="vip"] .vip-table tr:nth-child(odd) td { background: var(--surface); }
.tier-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.tier-member { background: #e0d8d4; color: var(--text); }
.tier-star { background: #c0b8b0; color: var(--text); }
.tier-elite { background: var(--accent); color: var(--text); }
.tier-master { background: var(--primary); color: #fff; }
.tier-legend { background: var(--text); color: var(--accent); }

[data-component="steps"] {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: steps;
}
[data-component="steps"] li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
[data-component="steps"] li:last-child { border-bottom: none; }
.step-num {
  font-family: 'Baloo 2', cursive;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  min-width: 48px;
  flex-shrink: 0;
}
.step-body h3 { margin-bottom: 4px; font-size: 1rem; font-weight: 700; }
.step-body p { margin: 0; font-size: 0.9rem; color: var(--text-muted); }

[data-component="faq"] details {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
[data-component="faq"] details[open] {
  border-left: 3px solid var(--primary);
  background: var(--surface);
}
[data-component="faq"] summary {
  padding: 14px 16px;
  font-weight: 700;
  font-size: 0.95rem;
  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: '\F282';
  font-family: 'bootstrap-icons';
  font-size: 0.9rem;
  color: var(--accent-dark);
  transition: transform 0.2s;
  flex-shrink: 0;
}
[data-component="faq"] details[open] summary::after {
  content: '\F286';
}
[data-component="faq"] summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
[data-component="faq"] details > div {
  padding: 0 16px 14px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.site-footer {
  background: var(--text);
  padding: 48px 0 24px;
  border-top: 1px solid rgba(186,152,53,0.4);
}
.footer-brand-name {
  font-family: 'Baloo 2', cursive;
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.footer-slogan { color: rgba(255,255,255,0.55); font-size: 0.85rem; margin-top: 6px; }
.footer-col-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 6px; }
.footer-links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.82rem;
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--accent); }
.footer-badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-weight: 800;
  font-size: 0.8rem;
  margin-top: 12px;
}
.footer-pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.footer-pay-chip {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(186,152,53,0.3);
  border-radius: var(--radius);
  padding: 3px 10px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
}
.footer-copy {
  border-top: 1px solid rgba(186,152,53,0.2);
  margin-top: 32px;
  padding-top: 16px;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}

.resp-bar {
  background: var(--surface-alt);
  background-image: repeating-linear-gradient(0deg, transparent, transparent 23px, rgba(186,152,53,0.08) 24px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.resp-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.resp-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.72rem;
  color: var(--primary);
  flex-shrink: 0;
}

.overflow-x-auto { overflow-x: auto; }
.text-underline-offset { text-underline-offset: 3px; }
@media (max-width: 575px) {
  h2 { font-size: 1.5rem; }
}

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