: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: #052219;
  --surface: #142f27;
  --surface-alt: #0f2b22;
  --primary: #0d8330;
  --primary-dark: #095c22;
  --action: #e9e211;
  --action-text: #0a0a00;
  --accent: #fb6743;
  --text: #e8f0eb;
  --text-muted: #7fa890;
  --border: #bd9d43;
  --border-subtle: rgba(189,157,67,0.2);
  --border-faint: rgba(189,157,67,0.12);
  --radius: 2px;
  --nav-h: 56px;
}

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

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

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 0; }

::selection { background: var(--action); color: var(--action-text); }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  caret-color: var(--action);
  text-underline-offset: 3px;
  overflow-x: hidden;
}

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

a { color: var(--action); text-decoration: none; }
a:hover { color: #f5ef30; }
a:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; }

overflow-wrap { overflow-wrap: anywhere; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Sora', sans-serif;
  color: var(--text);
  line-height: 1.25;
  margin-top: 0;
  overflow-wrap: anywhere;
}

h1 { font-size: clamp(2rem, 3.5vw, 3.5rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); font-weight: 600; }
h3 { font-size: 1rem; font-weight: 600; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.btn-primary-action {
  display: inline-block;
  background: var(--action);
  color: var(--action-text);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  padding: 11px 28px;
  cursor: pointer;
  transition: background 0.15s ease-out, box-shadow 0.15s ease-out;
  text-decoration: none;
  position: relative;
}
.btn-primary-action::before {
  content: '';
  display: block;
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: var(--border);
}
.btn-primary-action:hover {
  background: #f5ef30;
  color: var(--action-text);
  box-shadow: 0 0 0 2px var(--action);
}
.btn-primary-action:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; }
.btn-primary-action:active { background: #cccb0f; }

.btn-secondary-action {
  display: inline-block;
  background: transparent;
  color: var(--border);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 28px;
  cursor: pointer;
  transition: border-color 0.15s ease-out, color 0.15s ease-out;
  text-decoration: none;
}
.btn-secondary-action:hover { border-color: var(--action); color: var(--action); }
.btn-secondary-action:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; }

.btn-nav-login {
  display: inline-block;
  background: transparent;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--text);
  border-radius: var(--radius);
  padding: 6px 18px;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.btn-nav-login:hover { border-color: var(--action); color: var(--action); }

.btn-nav-register {
  display: inline-flex;
  align-items: center;
  background: var(--action);
  color: var(--action-text);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  padding: 6px 18px;
  text-decoration: none;
  min-height: 44px;
  transition: background 0.15s;
}
.btn-nav-register:hover { background: #f5ef30; color: var(--action-text); }

.site-nav {
  background: var(--primary);
  height: var(--nav-h);
  border-bottom: 1px solid rgba(189,157,67,0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.site-nav .nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text) !important;
  letter-spacing: 0.01em;
  padding: 4px 0 !important;
  margin: 0 10px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.site-nav .nav-link:hover,
.site-nav .nav-link.active {
  color: var(--action) !important;
  border-bottom-color: var(--action);
}

.navbar-toggler {
  border: 1px solid rgba(232,240,235,0.4);
  border-radius: var(--radius);
  padding: 6px 10px;
  min-width: 44px;
  min-height: 44px;
}
.navbar-toggler:focus { box-shadow: 0 0 0 2px var(--action); }
.navbar-toggler-icon {
  filter: invert(1);
}

.section-bg { background: var(--bg); }
.section-surface { background: var(--surface); }
.section-alt { background: var(--surface-alt); border-top: 1px solid var(--border-subtle); }

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

.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 8px;
}

.section-label {
  font-family: 'Sora', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}

.view-all-link {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s;
}
.view-all-link:hover { color: var(--action); }

[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 rgba(189,157,67,0.25);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.15s ease-out, transform 0.15s ease-out;
  position: relative;
}
.game-card:hover {
  border-color: var(--border);
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.55);
}
.game-card:hover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(233,226,17,0.06);
  pointer-events: none;
}
.game-card .card-img-wrap {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}
.game-card .card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.game-card .card-body {
  padding: 10px 12px;
}
.game-card h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.game-card p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}
.game-tag {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: var(--radius);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.game-tag.tag-live { background: #c0392b; }

[data-component="trust"] {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
@media (max-width: 575px) {
  [data-component="trust"] { grid-template-columns: repeat(2, 1fr); }
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  min-height: 44px;
}
.trust-badge i {
  color: var(--border);
  font-size: 16px;
  flex-shrink: 0;
}

[data-component="stats"] {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
}
[data-component="stats"] > div {
  flex: 1 1 0;
  padding: 12px 16px;
  border-right: 1px solid var(--border-subtle);
  min-width: 120px;
}
[data-component="stats"] > div:last-child { border-right: none; }
[data-component="stats"] dt {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
[data-component="stats"] dd {
  font-family: 'Sora', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--action);
  margin: 0;
}

[data-component="steps"] {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}
[data-component="steps"]::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: repeating-linear-gradient(to bottom, var(--border) 0px, var(--border) 4px, transparent 4px, transparent 8px);
}
[data-component="steps"] li {
  display: flex;
  gap: 20px;
  padding: 0 0 28px 0;
  position: relative;
}
[data-component="steps"] li:last-child { padding-bottom: 0; }
.step-num {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--border);
  position: relative;
  z-index: 1;
}
.step-content h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}
.step-content p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

[data-component="bonus"] {
  background: var(--primary-dark);
  border: 1px solid rgba(189,157,67,0.35);
  border-radius: var(--radius);
  overflow: hidden;
}
.bonus-inner {
  padding: 28px 32px;
}
.bonus-pct {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--action);
  line-height: 1;
  margin-bottom: 4px;
}
.bonus-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-size: 13px;
}
.bonus-table th {
  font-family: 'Sora', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--border);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 10px;
  border-bottom: 1px solid var(--border-subtle);
  text-align: left;
}
.bonus-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--border-faint);
  color: var(--text-muted);
  vertical-align: top;
}
.bonus-table td:first-child { color: var(--text); font-weight: 600; }
.bonus-table tr:last-child td { border-bottom: none; }

[data-component="payments"] {
  list-style: none;
  padding: 0;
  margin: 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(--border-faint);
  font-size: 13px;
}
[data-component="payments"] li:last-child { border-bottom: none; }
[data-component="payments"] .pm-name {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  color: var(--text);
  font-size: 14px;
}
[data-component="payments"] .pm-val {
  color: var(--text-muted);
}
[data-component="payments"] .pm-val strong { color: var(--text); font-weight: 600; }
.pm-header {
  display: grid;
  grid-template-columns: 160px 1fr 1fr 1fr;
  gap: 8px;
  padding: 8px 16px;
  font-size: 11px;
  font-weight: 600;
  color: var(--border);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--border-subtle);
}
@media (max-width: 575px) {
  [data-component="payments"] li,
  .pm-header {
    grid-template-columns: 1fr 1fr;
    font-size: 12px;
  }
  [data-component="payments"] li .pm-name { grid-column: 1 / -1; }
  .pm-header span:nth-child(n+3) { display: none; }
  [data-component="payments"] li .pm-val:nth-child(n+4) { display: none; }
}

[data-component="vip"] { overflow-x: auto; }
.vip-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}
.vip-table th, .vip-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-faint);
  font-size: 13px;
  text-align: center;
}
.vip-table th {
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border-subtle);
}
.vip-table th.highlight { color: var(--border); }
.vip-table td:first-child {
  text-align: left;
  color: var(--text-muted);
  font-size: 13px;
}
.vip-table td { color: var(--text-muted); }
.vip-check { color: var(--primary); font-size: 16px; }
.vip-dash { color: var(--text-muted); opacity: 0.4; }
.vip-col-highlight {
  background: rgba(189,157,67,0.05);
  border-left: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
}

[data-component="faq"] details {
  background: var(--surface);
  border: 1px solid var(--border-faint);
  border-radius: var(--radius);
  margin-bottom: 8px;
  overflow: hidden;
  transition: background 0.15s;
}
[data-component="faq"] details[open] {
  background: var(--surface-alt);
  border-color: var(--border-subtle);
}
[data-component="faq"] summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  min-height: 44px;
  transition: color 0.15s;
}
[data-component="faq"] summary::-webkit-details-marker { display: none; }
[data-component="faq"] summary:hover { color: var(--action); }
[data-component="faq"] summary .faq-q-icon {
  color: var(--border);
  font-size: 16px;
  flex-shrink: 0;
}
[data-component="faq"] summary .faq-arrow {
  margin-left: auto;
  color: var(--text-muted);
  font-size: 16px;
  transition: transform 0.15s;
  flex-shrink: 0;
}
[data-component="faq"] details[open] summary .faq-arrow {
  transform: rotate(90deg);
}
[data-component="faq"] .faq-answer {
  padding: 0 16px 14px 44px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 40px 0 24px;
}
.footer-brand-name {
  font-family: 'Sora', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}
.footer-slogan {
  font-size: 13px;
  color: var(--text-muted);
  margin: 4px 0 12px;
}
.footer-col-title {
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--border);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--text); }
.footer-responsible {
  border: 1px solid rgba(189,157,67,0.3);
  padding: 12px;
  border-radius: var(--radius);
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
}
.footer-responsible strong { color: var(--border); display: block; margin-bottom: 4px; }
.footer-copyright {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--border-faint);
}

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