: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-main: #f8f3f1;
  --bg-alt: #eee9e7;
  --bg-card: #fdfbfb;
  --brand: #9e3b3d;
  --brand-dark: #6f292b;
  --action: #d26b1c;
  --action-hover: #b85a14;
  --accent-pink: #cd1c98;
  --gold: #ae932f;
  --text-dark: #1e1210;
  --text-mid: #3d2420;
  --text-muted: #5c3e3a;
  --border-gold: #ae932f;
  --clip-card: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  --clip-btn: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  --shadow-card: 0 10px 30px rgba(30, 10, 8, 0.12);
  --shadow-btn: 0 6px 18px rgba(210, 107, 28, 0.35);
}

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

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

body {
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-dark);
  background-color: var(--bg-main);
  margin: 0;
  overflow-x: hidden;
}

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

::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--brand); border-radius: 4px; }

a {
  color: var(--brand);
  text-underline-offset: 3px;
  transition: color 0.2s;
}
a:hover { color: var(--action); }
a:focus-visible {
  outline: 2px solid var(--action);
  outline-offset: 3px;
  border-radius: 2px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-dark);
  overflow-wrap: anywhere;
}

h2 { letter-spacing: -0.01em; }

p { max-width: 72ch; }

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

.text-gold { color: var(--gold); }
.text-brand { color: var(--brand); }
.text-action { color: var(--action); }

.btn-action {
  display: inline-block;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  background: var(--action);
  border: none;
  clip-path: var(--clip-btn);
  border-radius: 0;
  padding: 0.65rem 1.6rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  box-shadow: var(--shadow-btn);
  min-height: 44px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.btn-action:hover, .btn-action:focus-visible {
  background: var(--action-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(210, 107, 28, 0.45);
}
.btn-action:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.btn-secondary {
  display: inline-block;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--brand);
  background: transparent;
  border: 2px solid var(--brand);
  clip-path: var(--clip-btn);
  border-radius: 0;
  padding: 0.6rem 1.5rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  min-height: 44px;
  line-height: 1.3;
}
.btn-secondary:hover, .btn-secondary:focus-visible {
  background: var(--brand);
  color: #fff;
  transform: translateY(-1px);
}
.btn-secondary:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.site-navbar {
  background: var(--brand);
  padding: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(30,10,8,0.18);
}
.site-navbar .navbar-brand img {
  height: 40px;
  width: auto;
}
.site-navbar .nav-link {
  color: rgba(255,255,255,0.88) !important;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.55rem 0.65rem !important;
  transition: color 0.2s;
  white-space: nowrap;
}
.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
  color: #fff !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.site-navbar .navbar-toggler {
  border-color: rgba(255,255,255,0.4);
  min-width: 44px;
  min-height: 44px;
}
.site-navbar .navbar-toggler-icon {
  filter: invert(1);
}
.site-navbar .navbar-collapse {
  background: var(--brand);
}
.nav-btn-login {
  color: #fff !important;
  border: 1.5px solid rgba(255,255,255,0.6);
  clip-path: var(--clip-btn);
  padding: 0.4rem 1rem !important;
  font-weight: 700;
  transition: background 0.2s;
}
.nav-btn-login:hover { background: rgba(255,255,255,0.15) !important; }
.nav-btn-register {
  background: var(--action) !important;
  color: #fff !important;
  clip-path: var(--clip-btn);
  padding: 0.4rem 1rem !important;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(210,107,28,0.4);
}
.nav-btn-register:hover { background: var(--action-hover) !important; }

main > section, main > div.section-block {
  padding-top: clamp(28px, 3.5vw, 44px);
  padding-bottom: clamp(28px, 3.5vw, 44px);
}

.bg-main { background: var(--bg-main); }
.bg-alt { background: var(--bg-alt); }
.bg-brand-dark { background: var(--brand-dark); }
.bg-dark-banner {
  background: #1e1210;
  color: #f8f3f1;
}

.section-heading {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  color: var(--text-dark);
  margin-bottom: 0.25em;
  line-height: 1.25;
}
.section-heading-light {
  color: #fff;
}
.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 0;
}

.gold-rule {
  border: none;
  border-top: 2px solid var(--gold);
  opacity: 0.5;
  margin: 0;
}

ul[data-component="trust"] {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
}
ul[data-component="trust"] li {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
}
ul[data-component="trust"] li i {
  font-size: 1rem;
  color: var(--gold);
}

dl[data-component="stats"] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 0;
}
dl[data-component="stats"] > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 100px;
}
dl[data-component="stats"] dt {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0;
}
dl[data-component="stats"] dd {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--gold);
  margin: 0;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

div[data-component="game-grid"] {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@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;
  background: var(--bg-card);
  clip-path: var(--clip-card);
  border-radius: 0;
  text-decoration: none;
  color: var(--text-dark);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(174,147,47,0.18);
  transition: transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
  position: relative;
}
a.game-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(30,10,8,0.18);
  color: var(--text-dark);
}
a.game-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
}
.game-card-body {
  padding: 0.5rem 0.6rem 0.65rem;
}
a.game-card .game-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 0 0.35rem;
  margin-bottom: 0.2rem;
  line-height: 1.6;
}
a.game-card h3 {
  font-size: 0.9rem;
  font-weight: 800;
  margin: 0 0 0.1rem;
  line-height: 1.2;
  color: var(--text-dark);
}
a.game-card p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
  max-width: none;
}

ul[data-component="payments"] {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.75rem;
}
ul[data-component="payments"] li {
  background: var(--bg-card);
  clip-path: var(--clip-card);
  border: 1px solid rgba(174,147,47,0.25);
  padding: 0.9rem 0.75rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(30,10,8,0.07);
}
ul[data-component="payments"] li .pay-name {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--brand);
  display: block;
  margin-bottom: 0.3rem;
}
ul[data-component="payments"] li .pay-detail {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.4;
}

ol[data-component="steps"] {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
ol[data-component="steps"]::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), var(--brand));
  opacity: 0.4;
}
ol[data-component="steps"] li {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  position: relative;
}
ol[data-component="steps"] li:last-child { margin-bottom: 0; }
.step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--brand);
  color: #fff;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: var(--clip-card);
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(158,59,61,0.3);
}
.step-content h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--brand);
  margin: 0 0 0.25rem;
  line-height: 1.25;
}
.step-content p {
  font-size: 0.9rem;
  color: var(--text-mid);
  margin: 0;
  max-width: 55ch;
}

section[data-component="faq"] details {
  background: var(--bg-card);
  clip-path: var(--clip-card);
  border: 1px solid rgba(174,147,47,0.2);
  margin-bottom: 0.65rem;
  box-shadow: 0 4px 14px rgba(30,10,8,0.07);
}
section[data-component="faq"] details summary {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 0.97rem;
  color: var(--text-dark);
  padding: 0.9rem 1.1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  min-height: 44px;
}
section[data-component="faq"] details summary::after {
  content: '\f282';
  font-family: 'bootstrap-icons';
  font-size: 1rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.2s;
}
section[data-component="faq"] details[open] summary::after {
  transform: rotate(180deg);
}
section[data-component="faq"] details summary::-webkit-details-marker { display: none; }
section[data-component="faq"] details .faq-body {
  padding: 0 1.1rem 1rem;
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.65;
  border-top: 1px solid rgba(174,147,47,0.15);
}
.faq-num {
  color: var(--gold);
  font-weight: 800;
  margin-right: 0.4rem;
}

div[data-component="vip"] .vip-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
div[data-component="vip"] table {
  width: 100%;
  border-collapse: collapse;
  min-width: 650px;
  font-size: 0.85rem;
}
div[data-component="vip"] th {
  background: var(--brand-dark);
  color: #fff;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  padding: 0.65rem 0.8rem;
  text-align: center;
  white-space: nowrap;
}
div[data-component="vip"] td {
  padding: 0.6rem 0.8rem;
  text-align: center;
  border-bottom: 1px solid rgba(174,147,47,0.15);
  color: var(--text-mid);
  font-variant-numeric: tabular-nums;
}
div[data-component="vip"] tr:nth-child(even) td { background: rgba(238,233,231,0.5); }
div[data-component="vip"] tr.vip-highlight td {
  background: rgba(174,147,47,0.1);
  font-weight: 700;
  color: var(--text-dark);
}
.tier-badge {
  display: inline-block;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.1rem 0.5rem;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
.tier-copper { background: #b87333; color: #fff; }
.tier-silver { background: #9ba7af; color: #fff; }
.tier-gold { background: var(--gold); color: #fff; }
.tier-platinum { background: #7f8fa6; color: #fff; }
.tier-titanium { background: var(--brand); color: #fff; }
.tier-royal { background: var(--brand-dark); color: var(--gold); }

aside[data-component="bonus"] .bonus-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.bonus-card {
  background: var(--bg-card);
  clip-path: var(--clip-card);
  border: 1px solid rgba(174,147,47,0.25);
  padding: 1.2rem;
  box-shadow: var(--shadow-card);
  text-align: center;
}
.bonus-card-featured {
  background: var(--brand-dark);
  color: #fff;
}
.bonus-card-featured h3,
.bonus-card-featured p,
.bonus-card-featured small { color: rgba(255,255,255,0.9); }
.bonus-pct {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--gold);
  line-height: 1;
  display: block;
}
.bonus-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.bonus-card-featured .bonus-label { color: rgba(255,255,255,0.65); }
.bonus-card h3 {
  font-size: 1rem;
  margin: 0.4rem 0 0.3rem;
}

.rules-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table[data-component="rules"] {
  width: 100%;
  border-collapse: collapse;
  min-width: 540px;
  font-size: 0.84rem;
  font-variant-numeric: tabular-nums;
}
table[data-component="rules"] th {
  background: var(--brand);
  color: #fff;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  padding: 0.6rem 0.8rem;
  text-align: left;
  white-space: nowrap;
}
table[data-component="rules"] td {
  padding: 0.55rem 0.8rem;
  border-bottom: 1px solid rgba(174,147,47,0.15);
  color: var(--text-mid);
}
table[data-component="rules"] tr:nth-child(even) td { background: rgba(238,233,231,0.5); }

.site-footer {
  background: #1a0d0b;
  color: rgba(255,255,255,0.75);
  padding: clamp(28px,4vw,52px) 0 0;
  font-size: 0.85rem;
}
.site-footer h4 {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.site-footer a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.83rem;
  transition: color 0.2s;
}
.site-footer a:hover { color: var(--gold); }
.footer-bottom {
  background: #120806;
  margin-top: 2rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(174,147,47,0.2);
}
.footer-bottom p {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  text-align: center;
  max-width: none;
}
.responsible-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--brand-dark);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.3rem 0.75rem;
  clip-path: var(--clip-btn);
}

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