: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: #fefefe;
  --surface: #ffffff;
  --surface-alt: #f4f4f4;
  --primary: #ec5d08;
  --primary-hover: #d45007;
  --primary-text: #0b1220;
  --accent: #bd0f4e;
  --brand: #268730;
  --brand-dark: #1b5e22;
  --text: #1a1a1a;
  --text-muted: #555555;
  --border: #b59c24;
  --shadow-main: 6px 6px 0 rgba(0,0,0,0.70);
  --shadow-hover: 10px 10px 0 rgba(0,0,0,0.65);
  --shadow-btn: 5px 5px 0 rgba(0,0,0,0.65);
  --shadow-btn-hover: 2px 2px 0 rgba(0,0,0,0.65);
  --radius-card: 4px;
  --radius-btn: 4px;
  --radius-badge: 2px;
}

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

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

body {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  margin: 0;
  overflow-wrap: anywhere;
  text-underline-offset: 3px;
  caret-color: var(--brand);
}

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

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--surface-alt); }
::-webkit-scrollbar-thumb { background: var(--brand); border-radius: 0; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Righteous', sans-serif;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 0.5em;
}

h1 { font-size: clamp(2rem, 5vw, 5.5rem); font-weight: 900; letter-spacing: -1px; }
h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.4rem; font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; }

p { margin-bottom: 1rem; max-width: 72ch; }
small { font-size: 0.85rem; }

.font-righteous { font-family: 'Righteous', sans-serif; }
.tabular-nums {
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
}

.btn-primary-custom {
  display: inline-block;
  background: var(--primary);
  color: var(--primary-text);
  font-family: 'Righteous', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border: 3px solid var(--text);
  border-radius: var(--radius-btn);
  padding: 12px 28px;
  box-shadow: var(--shadow-btn);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.btn-primary-custom:hover {
  background: var(--primary-hover);
  color: var(--primary-text);
  box-shadow: var(--shadow-btn-hover);
  transform: translate(3px, 3px);
}
.btn-primary-custom:focus-visible {
  outline: 3px solid var(--border);
  outline-offset: 2px;
}
.btn-primary-custom:active {
  box-shadow: none;
  transform: translate(5px, 5px);
}

.btn-secondary-custom {
  display: inline-block;
  background: var(--surface);
  color: var(--brand);
  font-family: 'Righteous', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border: 3px solid var(--brand);
  border-radius: var(--radius-btn);
  padding: 12px 28px;
  box-shadow: var(--shadow-btn);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.btn-secondary-custom:hover {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-btn-hover);
  transform: translate(3px, 3px);
}
.btn-secondary-custom:focus-visible {
  outline: 3px solid var(--border);
  outline-offset: 2px;
}

.btn-accent-custom {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: 'Righteous', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border: 3px solid var(--text);
  border-radius: var(--radius-btn);
  padding: 12px 28px;
  box-shadow: var(--shadow-btn);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-accent-custom:hover {
  background: #a00d42;
  color: #fff;
  box-shadow: var(--shadow-btn-hover);
  transform: translate(3px, 3px);
}

.site-navbar {
  background-color: var(--brand);
  height: 64px;
  box-shadow: 0 3px 0 var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.site-navbar .nav-link {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff !important;
  padding: 8px 12px;
  position: relative;
  text-decoration: none;
  transition: color 0.15s ease;
}
.site-navbar .nav-link::after {
  content: '';
  display: block;
  height: 3px;
  background: transparent;
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  transition: background 0.15s ease;
}
.site-navbar .nav-link:hover::after { background: var(--border); }
.site-navbar .nav-link.active::after { background: #ffffff; }

.site-navbar .btn-nav-login {
  border: 2px solid #ffffff;
  background: transparent;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-btn);
  padding: 8px 20px;
  text-decoration: none;
  transition: all 0.15s ease;
}
.site-navbar .btn-nav-login:hover {
  background: #ffffff;
  color: var(--brand);
}
.site-navbar .btn-nav-signup {
  background: var(--primary);
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  border: 2px solid var(--primary);
  border-radius: var(--radius-btn);
  padding: 8px 20px;
  text-decoration: none;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.5);
  transition: all 0.15s ease;
}
.site-navbar .btn-nav-signup:hover {
  background: var(--primary-hover);
  box-shadow: 2px 2px 0 rgba(0,0,0,0.5);
}

.navbar-toggler {
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 4px;
  padding: 6px 10px;
}
.navbar-toggler-icon { filter: invert(1); }
.navbar-collapse { background-color: var(--brand-dark); }
@media (max-width: 991px) {
  .navbar-collapse {
    padding: 12px 16px;
    border-top: 2px solid var(--border);
  }
}

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

.section-border-top {
  border-top: 3px solid var(--border);
}

.brutalist-card {
  background: var(--surface);
  border: 3px solid var(--text);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-main);
  transition: all 0.15s ease;
}
.brutalist-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--brand);
}

.game-card {
  display: block;
  background: var(--surface);
  border: 3px solid var(--text);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-main);
  text-decoration: none;
  color: var(--text);
  overflow: hidden;
  transition: all 0.15s ease;
  position: relative;
}
.game-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--brand);
  color: var(--text);
}
.game-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
}
.game-card .game-tag {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--primary);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.game-card .game-info {
  padding: 10px 12px 12px;
  border-top: 2px solid var(--border);
}
.game-card h3 {
  font-size: 1rem;
  margin-bottom: 2px;
  color: var(--text);
  line-height: 1.3;
}
.game-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
  max-width: none;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 4px;
}
.status-dot.green { background: var(--brand); }
.status-dot.gold { background: var(--border); }
.status-dot.red { background: var(--accent); }

.site-footer {
  background: #1a1a1a;
  border-top: 4px solid var(--brand);
  padding: 48px 0 24px;
}
.site-footer .footer-col-title {
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--border);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.site-footer a {
  color: #cccccc;
  text-decoration: none;
  font-size: 0.875rem;
  display: block;
  margin-bottom: 6px;
  transition: color 0.15s ease;
}
.site-footer a:hover {
  color: #ffffff;
  border-bottom: 2px solid var(--primary);
}
.site-footer .footer-brand-desc {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  color: #999;
  margin-top: 8px;
  max-width: 200px;
}
.site-footer .badge-18 {
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: var(--radius-card);
  padding: 8px 12px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-block;
}
.site-footer .footer-bottom {
  border-top: 1px solid #333;
  margin-top: 32px;
  padding-top: 16px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  color: #666;
}
.site-footer .footer-bottom a {
  color: var(--border);
  display: inline;
  margin: 0 4px;
}
.site-footer .footer-bottom a:hover { color: #fff; border-bottom: none; }

.breadcrumb-item a { color: var(--brand); }
.breadcrumb-item.active { color: var(--text-muted); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--border); content: ">"; }

ul[data-component="trust"] {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
ul[data-component="trust"] li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--surface-alt);
  border: 2px solid var(--border);
  border-radius: var(--radius-badge);
  padding: 4px 10px;
  min-height: 44px;
}
ul[data-component="trust"] li i {
  color: var(--brand);
  font-size: 1rem;
}

dl[data-component="stats"] {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}
dl[data-component="stats"] > div {
  background: var(--surface-alt);
  border: 2px solid var(--border);
  border-radius: var(--radius-card);
  padding: 10px 16px;
  min-width: 120px;
  text-align: center;
}
dl[data-component="stats"] dt {
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
dl[data-component="stats"] dd {
  font-family: 'Righteous', sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--brand);
  margin: 0;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
}

div[data-component="game-grid"] {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 991px) {
  div[data-component="game-grid"] { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 576px) {
  div[data-component="game-grid"] { grid-template-columns: repeat(2, 1fr); }
}

.payments-table { width: 100%; border-collapse: collapse; }
.payments-table th {
  background: var(--brand);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 14px;
  text-align: left;
  border: 2px solid var(--brand-dark);
}
.payments-table td {
  padding: 10px 14px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  border: 1px solid var(--surface-alt);
  vertical-align: middle;
}
.payments-table tr:nth-child(even) td { background: var(--surface-alt); }
.payments-table tr:nth-child(odd) td { background: var(--surface); }
.payments-table td:first-child { font-weight: 600; color: var(--text); }

section[data-component="faq"] details {
  border: 2px solid var(--surface-alt);
  border-radius: var(--radius-card);
  margin-bottom: 8px;
  transition: border-color 0.15s ease;
  background: var(--surface);
}
section[data-component="faq"] details[open] {
  border-color: var(--brand);
  background: #f9fff9;
}
section[data-component="faq"] summary {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 44px;
}
section[data-component="faq"] summary::-webkit-details-marker { display: none; }
section[data-component="faq"] summary::after {
  content: '\F282';
  font-family: 'bootstrap-icons';
  font-size: 1.1rem;
  color: var(--brand);
  transition: transform 0.2s ease;
}
section[data-component="faq"] details[open] summary::after {
  transform: rotate(180deg);
}
section[data-component="faq"] details > div {
  padding: 0 16px 14px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

ol[data-component="steps"] {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}
ol[data-component="steps"]::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--border);
}
ol[data-component="steps"] li {
  position: relative;
  padding-left: 60px;
  margin-bottom: 28px;
}
ol[data-component="steps"] li:last-child { margin-bottom: 0; }
ol[data-component="steps"] .step-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 42px;
  height: 42px;
  background: var(--primary);
  color: #fff;
  font-family: 'Righteous', sans-serif;
  font-size: 1.1rem;
  border: 3px solid var(--text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
ol[data-component="steps"] .step-title {
  font-family: 'Righteous', sans-serif;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 4px;
}
ol[data-component="steps"] .step-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 56ch;
  margin: 0;
}

table[data-component="vip"] {
  width: 100%;
  border-collapse: collapse;
}
table[data-component="vip"] th {
  background: var(--brand);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 10px 12px;
  border: 2px solid var(--brand-dark);
  white-space: nowrap;
}
table[data-component="vip"] td {
  padding: 10px 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  border: 1px solid var(--surface-alt);
  vertical-align: middle;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
}
table[data-component="vip"] tr:nth-child(even) td { background: var(--surface-alt); }
table[data-component="vip"] tr:nth-child(odd) td { background: var(--surface); }
table[data-component="vip"] .vip-recommended td {
  background: #f0fff0 !important;
  border-color: var(--brand);
  font-weight: 600;
}

aside[data-component="bonus"] {
  background: var(--surface);
  border: 3px solid var(--text);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-main);
  overflow: hidden;
}
aside[data-component="bonus"] .bonus-header {
  background: var(--brand-dark);
  padding: 20px 24px;
  background-image: repeating-linear-gradient(90deg,rgba(255,255,255,0.03) 0px,rgba(255,255,255,0.03) 1px,transparent 1px,transparent 24px);
}
aside[data-component="bonus"] .bonus-percent {
  font-family: 'Righteous', sans-serif;
  font-size: clamp(3rem, 8vw, 5rem);
  color: var(--border);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
}
aside[data-component="bonus"] table {
  width: 100%;
  border-collapse: collapse;
}
aside[data-component="bonus"] table td {
  padding: 8px 12px;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--surface-alt);
}
aside[data-component="bonus"] table td:first-child {
  font-weight: 600;
  color: var(--text);
  width: 45%;
}
aside[data-component="bonus"] table td:last-child { color: var(--text-muted); }

@media (max-width: 576px) {
  h1 { font-size: clamp(2rem, 8vw, 3.5rem); }
  h2 { font-size: clamp(1.4rem, 5vw, 2rem); }
  .hide-mobile { display: none !important; }
}

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