: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: #08091e;
  --surface: #17182c;
  --surface-alt: #121327;
  --primary: #95e52b;
  --primary-text: #0b1220;
  --accent: #fad94f;
  --text: #e8e8e8;
  --text-muted: #a0a0a0;
  --border: #d9bc61;
  --brand-blue: #5458b9;
  --brand-blue-dark: #3b3e82;
}

* {
  box-sizing: border-box;
}

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

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Righteous', sans-serif;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
  margin-bottom: 0.5em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-top: 0;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
  font-size: 1.5rem;
}

p {
  margin: 0 0 1em 0;
}

a {
  color: var(--primary);
  text-decoration: none;
  text-underline-offset: 4px;
  transition: color 0.2s ease-out;
}

a:hover {
  color: var(--accent);
}

a:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  border-radius: 2px;
}

button, .btn {
  font-family: 'Poppins', sans-serif;
  border-radius: 4px;
  transition: all 0.2s ease-out;
  cursor: pointer;
  border: 3px solid;
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 24px;
  display: inline-block;
  text-align: center;
  line-height: 1.4;
  min-height: 48px;
  min-width: 44px;
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--bg);
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.65);
}

.btn-primary:hover, .btn-primary:focus-visible {
  background-color: var(--bg);
  color: var(--primary);
  border-color: var(--primary);
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.85);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--border);
  color: var(--border);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.65);
}

.btn-secondary:hover, .btn-secondary:focus-visible {
  background-color: var(--surface-alt);
  border-color: var(--border);
  color: var(--border);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.75);
}

.btn:disabled {
  background-color: transparent;
  border-color: #505050;
  color: #505050;
  cursor: not-allowed;
  box-shadow: none;
}

header {
  background-color: var(--bg);
  border-bottom: 1px solid #505050;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  padding: 0.75rem 0;
  background-color: var(--bg);
}

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

.navbar-brand {
  font-family: 'Righteous', sans-serif;
  font-size: 1.5rem;
  color: var(--text) !important;
  margin-right: 2rem;
}

.nav-link {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--text) !important;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  padding: 0.5rem 0.75rem !important;
  border-radius: 0;
  transition: color 0.2s ease-out;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--brand-blue) !important;
  background-color: rgba(84, 88, 185, 0.1);
}

.navbar-toggler {
  border-color: var(--text);
}

.navbar-toggler:focus {
  box-shadow: none;
  border-color: var(--primary);
}

main {
  flex: 1;
}

footer {
  background-color: var(--bg);
  border-top: 1px solid #505050;
  padding: 3rem 0;
}

.container, .container-lg, .container-xl {
  max-width: 1200px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

main > section {
  padding: clamp(28px, 3.5vw, 44px) 0;
}

.text-muted {
  color: var(--text-muted) !important;
}

.section-divider {
  height: 1px;
  background-color: #505050;
  margin: 0;
}

.breadcrumb {
  background-color: transparent;
  padding: 0.75rem 0;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--brand-blue);
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: var(--text-muted);
  padding: 0 0.5rem;
}

.breadcrumb-item.active {
  color: var(--text);
}

.breadcrumb-item a {
  color: var(--primary);
}

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

[data-role="hero"] {
  fetchpriority: high;
  width: 100%;
}

[data-role="tile"], [data-role="section"] {
  loading: lazy;
  decoding: async;
}

:root{--site-repair:start}
footer {
  background-color: var(--bg);
  padding: 3rem 0 1.5rem 0;
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-col h4 {
  font-family: 'Righteous', sans-serif;
  font-size: 1rem;
  color: var(--primary-text);
  margin-bottom: 1rem;
  font-weight: 700;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col ul li {
  margin-bottom: 0.5rem;
}
.footer-col a {
  color: var(--text);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s ease-out;
}
.footer-col a:hover {
  color: var(--primary);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  border-top: 1px solid #505050;
  padding-top: 2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 575.98px) { footer :is(div, ul, section, nav) { min-width: 0; } footer :is(a, h3, h4, h5, h6, p, li) { overflow-wrap: anywhere; } }

main > section:has(> [class*="container"]:only-child) { grid-template-columns: 1fr !important; }

.sr-email { overflow-wrap: anywhere; word-break: break-word; }

.navbar-nav .nav-link[href="/"] { white-space: nowrap !important; }

@media (min-width: 992px) { .navbar-expand-lg .navbar-toggler { display: none !important; } }
@media (min-width: 1200px) { .navbar-expand-xl .navbar-toggler { display: none !important; } }
@media (min-width: 1400px) { .navbar-expand-xxl .navbar-toggler { display: none !important; } }
:root{--site-repair:end}
