: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; }

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 > :first-child > :not([class*="container"], :has([class*="container"]), img, picture, video, [style*="absolute"]),
main > :not(:has([class*="container"])) { padding-inline: max(16px, calc((100% - 1320px) / 2)) !important; }  
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: #151b1f;
  --surface: #23292c;
  --surface-alt: #1e2428;
  --primary: #fbb629;
  --primary-text: #0f0f0f;
  --accent: #f14197;
  --brand: #267d68;
  --brand-dark: #1b5849;
  --text: #e8ede9;
  --text-muted: #8fa396;
  --border: #cdb26c;
  --neon-cyan: #00e5c8;
  --radius-card: 24px;
  --radius-pill: 999px;
  --radius-input: 12px;
  --shadow-card: 0 12px 32px rgba(0,0,0,0.30);
  --shadow-card-hover: 0 20px 48px rgba(0,0,0,0.45);
  --shadow-btn-primary: 0 6px 20px rgba(251,182,41,0.35);
  --shadow-btn-accent: 0 6px 20px rgba(241,65,151,0.30);
  --shadow-nav: 0 2px 16px rgba(0,0,0,0.40);
}

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

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

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

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

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

a {
  color: var(--brand);
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
a:hover {
  color: var(--primary);
  text-decoration-color: var(--primary);
}
a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
  margin-top: 0;
}
h1 { font-size: clamp(2rem, 5vw, 4.5rem); font-weight: 800; line-height: 1.1; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 700; line-height: 1.3; }
h4 { font-size: 1.125rem; font-family: 'Source Sans 3', sans-serif; font-weight: 600; line-height: 1.4; }

p { margin-bottom: 1rem; overflow-wrap: anywhere; }
small { font-size: 13px; line-height: 1.5; }

.btn-primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--primary-text);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 16px;
  border: none;
  border-radius: var(--radius-pill);
  padding: 14px 36px;
  box-shadow: var(--shadow-btn-primary);
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary-cta:hover {
  background: #fcd45a;
  box-shadow: 0 10px 28px rgba(251,182,41,0.50);
  transform: translateY(-1px);
  color: var(--primary-text);
}
.btn-primary-cta:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.btn-secondary-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--border);
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius-pill);
  padding: 13px 32px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-secondary-cta:hover {
  background: rgba(205,178,108,0.10);
  color: var(--text);
  border-color: var(--border);
}
.btn-secondary-cta:focus-visible {
  outline: 2px solid var(--border);
  outline-offset: 3px;
}

.btn-accent-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #ffffff;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  font-size: 15px;
  border: none;
  border-radius: var(--radius-pill);
  padding: 13px 32px;
  box-shadow: var(--shadow-btn-accent);
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}
.btn-accent-cta:hover {
  background: #f4619f;
  box-shadow: 0 10px 28px rgba(241,65,151,0.45);
  transform: translateY(-1px);
  color: #fff;
}

.site-nav {
  background-color: var(--brand);
  box-shadow: var(--shadow-nav);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: 64px;
}
.site-nav .navbar-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 28px;
  color: var(--primary);
  text-decoration: none;
  padding: 0;
  display: flex;
  align-items: center;
}
.site-nav .navbar-brand img {
  height: 40px;
  width: auto;
}
.site-nav .nav-link {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text);
  padding: 8px 10px;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.site-nav .nav-link:hover { color: var(--primary); }
.site-nav .nav-link.active {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
}
.site-nav .navbar-toggler {
  border: 1.5px solid rgba(232,237,233,0.5);
  padding: 6px 10px;
}
.site-nav .navbar-toggler-icon {
  filter: brightness(0) invert(1);
}
.site-nav .nav-btn-login {
  border: 1.5px solid var(--text);
  background: transparent;
  color: var(--text);
  border-radius: var(--radius-pill);
  padding: 9px 22px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.site-nav .nav-btn-login:hover {
  background: rgba(255,255,255,0.12);
  color: var(--text);
}
.site-nav .nav-btn-register {
  background: var(--primary);
  color: var(--primary-text);
  border: none;
  border-radius: var(--radius-pill);
  padding: 9px 22px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.site-nav .nav-btn-register:hover {
  background: #fcd45a;
  box-shadow: 0 6px 20px rgba(251,182,41,0.45);
  color: var(--primary-text);
}

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

.section-label {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--border);
  margin-bottom: 8px;
  display: block;
}
.section-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 12px;
  flex-wrap: wrap;
}
.section-heading-row h2 { margin-bottom: 0; }
.view-all-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--neon-cyan);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.view-all-link:hover { color: var(--primary); }

.game-card {
  display: block;
  background: var(--surface);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid rgba(205,178,108,0.12);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  transition: all 0.25s ease;
  position: relative;
}
.game-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(205,178,108,0.35);
}
.game-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.game-card-body {
  padding: 14px 16px 16px;
}
.game-card h3 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: 0;
  line-height: 1.4;
}
.game-card p {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1.4;
}
.game-tag {
  display: inline-block;
  background: rgba(38,125,104,0.20);
  color: var(--brand);
  border: 1px solid var(--brand);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

.info-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 24px 28px;
  border: 1px solid rgba(205,178,108,0.12);
  box-shadow: var(--shadow-card);
}

.border-gold {
  border-top: 1px solid rgba(205,178,108,0.25);
}

.site-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.site-table th {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--border);
  padding: 12px 16px;
  border-bottom: 1px solid rgba(205,178,108,0.20);
  text-align: left;
  background: var(--surface);
}
.site-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(205,178,108,0.10);
  color: var(--text);
  vertical-align: middle;
}
.site-table tr:last-child td { border-bottom: none; }
.site-table tr:hover td { background: rgba(38,125,104,0.07); }
.table-wrap { overflow-x: auto; border-radius: var(--radius-card); border: 1px solid rgba(205,178,108,0.15); }

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  padding: 16px 20px;
  background: var(--surface);
  border-radius: var(--radius-card);
  border: 1px solid rgba(205,178,108,0.12);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}
.trust-item i { color: var(--border); font-size: 16px; }

.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.stat-item {
  flex: 1 1 140px;
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 16px 20px;
  border: 1px solid rgba(205,178,108,0.12);
  text-align: center;
}
.stat-item dd {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--primary);
  margin: 0 0 2px;
  line-height: 1.1;
}
.stat-item dt {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.site-footer {
  background: #0d1215;
  padding: clamp(28px, 3.5vw, 48px) 0 24px;
}
.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
}
.footer-tagline {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}
.footer-col-title {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--border);
  margin-bottom: 14px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--text); }
.responsible-badge {
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  color: var(--border);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer-bottom {
  border-top: 1px solid rgba(205,178,108,0.15);
  margin-top: 28px;
  padding-top: 18px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

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

@media (max-width: 767px) {
  .site-nav { padding: 0 12px; }
  .stats-row { gap: 10px; }
  .trust-strip { padding: 12px 14px; gap: 10px 14px; }
}
