: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: #fdf9f5;
  --surface: #fefdfc;
  --surface-alt: #f3efeb;
  --primary: #8f1d1a;
  --primary-dark: #641412;
  --primary-deeper: #3d0c0b;
  --gold: #c28229;
  --gold-light: #f5d78e;
  --gold-border: #bc9622;
  --accent: #1094cc;
  --text: #1a1008;
  --text-muted: #5a4a35;
  --radius-card: 24px;
  --radius-pill: 999px;
  --radius-input: 16px;
  --shadow-card: 0 4px 16px rgba(143,29,26,0.07), 0 1px 4px rgba(0,0,0,0.06);
  --shadow-card-hover: 0 12px 32px rgba(143,29,26,0.18), 0 2px 8px rgba(0,0,0,0.10);
  --shadow-btn: 0 6px 20px rgba(194,130,41,0.35);
  --shadow-nav: 0 2px 12px rgba(0,0,0,0.10);
}

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

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

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

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

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--surface-alt); }
::-webkit-scrollbar-thumb { background: var(--gold-border); border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: 'Oswald', sans-serif;
  line-height: 1.2;
  color: var(--text);
  overflow-wrap: anywhere;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 600; }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.125rem; font-weight: 600; }

p { margin-bottom: 1rem; }
a { color: var(--accent); text-decoration-color: transparent; transition: text-decoration-color 0.2s; }
a:hover { text-decoration-color: currentColor; }
a:focus-visible { outline: 3px solid var(--gold-border); outline-offset: 2px; border-radius: 4px; }

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

.btn-primary-site {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 12px 32px;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-btn);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}
.btn-primary-site:hover {
  background: #a86f1f;
  box-shadow: 0 8px 24px rgba(194,130,41,0.5);
  transform: translateY(-1px);
  color: #fff;
}
.btn-primary-site:focus-visible { outline: 3px solid var(--gold-border); outline-offset: 2px; }

.btn-outline-site {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: var(--radius-pill);
  padding: 12px 32px;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn-outline-site:hover { background: var(--primary); color: #fff; }
.btn-outline-site:focus-visible { outline: 3px solid var(--gold-border); outline-offset: 2px; }

.btn-outline-gold {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  color: var(--gold-light);
  border: 2px solid var(--gold-border);
  border-radius: var(--radius-pill);
  padding: 12px 32px;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn-outline-gold:hover { background: var(--gold-border); color: #fff; }

.btn-sm-site {
  padding: 8px 20px;
  font-size: 0.875rem;
}

.site-nav {
  background: var(--primary);
  box-shadow: var(--shadow-nav);
  min-height: 64px;
  padding: 0;
}

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

.site-nav .nav-link {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 0.9375rem;
  color: #fff !important;
  letter-spacing: 0.3px;
  padding: 8px 12px !important;
  position: relative;
  transition: color 0.2s;
}
.site-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 12px; right: 12px;
  height: 2px;
  background: var(--gold-border);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
.site-nav .nav-link:hover::after,
.site-nav .nav-link.active::after { transform: scaleX(1); }
.site-nav .nav-link.active { color: var(--gold-light) !important; }
.site-nav .nav-link:hover { color: var(--gold-light) !important; }

.site-nav .navbar-toggler {
  border: none;
  color: var(--gold-light);
  font-size: 1.4rem;
  padding: 4px 8px;
}
.site-nav .navbar-toggler:focus { box-shadow: none; outline: 2px solid var(--gold-border); }

.nav-btn-login {
  border: 2px solid #fff;
  background: transparent;
  color: #fff !important;
  border-radius: var(--radius-pill);
  padding: 7px 22px !important;
  font-family: 'Oswald', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}
.nav-btn-login:hover { background: #fff; color: var(--primary) !important; }
.nav-btn-login::after { display: none !important; }

.nav-btn-register {
  background: var(--gold);
  color: #fff !important;
  border-radius: var(--radius-pill);
  padding: 7px 22px !important;
  font-family: 'Oswald', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(194,130,41,0.4);
  transition: background 0.2s;
}
.nav-btn-register:hover { background: #a86f1f; }
.nav-btn-register::after { display: none !important; }

.site-section {
  padding: clamp(28px, 3.5vw, 44px) 0;
}
.site-section-alt {
  background: var(--surface-alt);
  padding: clamp(28px, 3.5vw, 44px) 0;
}
.site-section-surface {
  background: var(--surface);
  padding: clamp(28px, 3.5vw, 44px) 0;
}
.site-section-brand {
  background: var(--primary);
  padding: clamp(28px, 3.5vw, 44px) 0;
}
.site-section-dark {
  background: var(--primary-dark);
  padding: clamp(28px, 3.5vw, 44px) 0;
}

.section-heading {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}
.section-heading-light {
  color: #fff;
}
.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.site-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  border: 1.5px solid rgba(188,150,34,0.18);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}
.site-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
  border-color: var(--gold-border);
}

[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); gap: 12px; }
}

.game-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  border: 1.5px solid rgba(188,150,34,0.18);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: block;
  text-decoration: none;
  transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
  position: relative;
}
.game-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
  border-color: var(--gold-border);
}
.game-card-img {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
}
.game-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.game-card:hover .game-card-img img { transform: scale(1.04); }
.game-card-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(26,8,0,0.88) 0%, rgba(26,8,0,0.4) 60%, transparent 100%);
  padding: 36px 14px 14px;
  color: #fff;
}
.game-tag {
  display: inline-block;
  background: var(--gold-border);
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-pill);
  padding: 2px 8px;
  margin-bottom: 4px;
}
.game-card-overlay h3 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  margin: 0 0 2px;
  line-height: 1.3;
}
.game-card-overlay p {
  font-size: 0.75rem;
  color: #e8d5b0;
  margin: 0;
  line-height: 1.4;
}

[data-component="trust"] {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
[data-component="trust"] li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: #c8b89a;
  font-weight: 500;
}
[data-component="trust"] li i { font-size: 1rem; color: var(--gold-light); }

[data-component="stats"] {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
[data-component="stats"] div {
  display: flex;
  flex-direction: column;
}
[data-component="stats"] dt {
  font-size: 0.75rem;
  font-weight: 500;
  color: #c8b89a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.4;
}
[data-component="stats"] dd {
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-light);
  margin: 0;
  line-height: 1.2;
}

[data-component="payments"] {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}
[data-component="payments"] li {
  background: var(--surface);
  border-radius: var(--radius-card);
  border: 1.5px solid rgba(188,150,34,0.2);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow-card);
}
[data-component="payments"] li strong {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}
[data-component="payments"] li span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

[data-component="vip"] { overflow-x: auto; }
[data-component="vip"] table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}
[data-component="vip"] th {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  color: #fff;
  background: var(--primary);
  padding: 12px 16px;
  text-align: left;
}
[data-component="vip"] td {
  padding: 11px 16px;
  font-size: 0.9rem;
  color: var(--text);
  border-bottom: 1px solid rgba(188,150,34,0.15);
  vertical-align: middle;
}
[data-component="vip"] tr:nth-child(even) td { background: rgba(243,239,235,0.5); }
[data-component="vip"] tr:last-child td { border-bottom: none; }
.vip-tier-name {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 1rem;
}

[data-component="steps"] {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
@media (max-width: 767px) {
  [data-component="steps"] { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 400px) {
  [data-component="steps"] { grid-template-columns: 1fr; }
}
.step-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  border: 1.5px solid rgba(188,150,34,0.18);
  box-shadow: var(--shadow-card);
  padding: 24px 20px;
  position: relative;
  text-align: center;
}
.step-num {
  width: 40px; height: 40px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 12px;
  flex-shrink: 0;
}
.step-icon {
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 10px;
  display: block;
}
.step-card h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}
.step-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}

[data-component="faq"] {
  max-width: 760px;
  margin: 0 auto;
}
[data-component="faq"] details {
  background: var(--surface);
  border-radius: var(--radius-card);
  border: 1.5px solid rgba(188,150,34,0.18);
  box-shadow: var(--shadow-card);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
}
[data-component="faq"] details[open] {
  border-color: var(--gold-border);
  box-shadow: var(--shadow-card-hover);
}
[data-component="faq"] summary {
  padding: 18px 24px;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  user-select: none;
  transition: color 0.2s;
}
[data-component="faq"] summary::-webkit-details-marker { display: none; }
[data-component="faq"] details[open] summary { color: var(--primary); }
[data-component="faq"] summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--gold-border);
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 12px;
}
[data-component="faq"] details[open] summary::after {
  content: '−';
}
[data-component="faq"] details > div {
  padding: 0 24px 20px;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

[data-component="bonus"] table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}
[data-component="bonus"] th {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--gold-light);
  background: var(--primary);
  padding: 10px 14px;
  text-align: left;
}
[data-component="bonus"] td {
  padding: 9px 14px;
  font-size: 0.875rem;
  color: var(--text);
  border-bottom: 1px solid rgba(188,150,34,0.15);
}
[data-component="bonus"] tr:last-child td { border-bottom: none; }
[data-component="bonus"] tr:nth-child(even) td { background: rgba(243,239,235,0.6); }

.site-footer {
  background: var(--primary-dark);
  padding: 56px 0 0;
  border-top: 1px solid rgba(188,150,34,0.3);
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 0L20 10L10 20L0 10Z' fill='%23bc9622' opacity='0.05'/%3E%3C/svg%3E");
  background-size: 20px 20px;
  pointer-events: none;
}
.footer-logo {
  font-family: 'Oswald', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold-light);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 12px;
}
.footer-about {
  font-size: 0.875rem;
  color: #e8c9a0;
  line-height: 1.65;
  max-width: 220px;
}
.footer-heading {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-light);
  margin-bottom: 14px;
}
.footer-links {
  list-style: none;
  margin: 0; padding: 0;
}
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  font-size: 0.875rem;
  color: #c8a87a;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }
.footer-rg {
  font-size: 0.875rem;
  color: #c8a87a;
  line-height: 1.6;
}
.footer-badge-18 {
  width: 44px; height: 44px;
  border: 2px solid var(--gold-border);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--gold-border);
  margin-bottom: 10px;
  flex-shrink: 0;
}
.footer-copyright {
  background: var(--primary-deeper);
  padding: 14px 0;
  margin-top: 40px;
  text-align: center;
  font-size: 0.8125rem;
  color: #9a7a5a;
  position: relative;
}

@media (max-width: 575px) {
  .hide-xs { display: none !important; }
}

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