: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: #0e1221;
  --surface: #1c202e;
  --surface-alt: #181b2a;
  --primary: #e5704e;
  --primary-text: #0b1220;
  --accent: #f84a9a;
  --brand: #235183;
  --brand-dark: #18395c;
  --text: #f0f2f8;
  --text-muted: #8b92a8;
  --border: #d6a239;
  --clip-card: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  --clip-btn: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  --clip-sm: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  --shadow-card: 0 0 0 1px #d6a239, 0 4px 24px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 12px rgba(229,112,78,0.45), 0 0 32px rgba(229,112,78,0.18);
  --shadow-secondary: 0 0 0 1px rgba(214,162,57,0.3), 0 2px 12px rgba(0,0,0,0.5);
}

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

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

body {
  background-color: var(--bg);
  background-image: radial-gradient(circle, rgba(35,81,131,0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  color: var(--text);
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
  overflow-x: hidden;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Baloo 2', sans-serif;
  color: var(--text);
  line-height: 1.25;
  margin-top: 0;
}
h1 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.125rem; font-weight: 600; }

p { overflow-wrap: anywhere; }

.section-label {
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--border);
  display: block;
  margin-bottom: 0.5rem;
}

.btn-primary-cta {
  background: var(--primary);
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 14px 32px;
  border: none;
  clip-path: var(--clip-btn);
  border-radius: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  min-height: 48px;
}
.btn-primary-cta:hover {
  color: #fff;
  filter: brightness(1.1);
  box-shadow: 0 0 18px rgba(229,112,78,0.6);
  transform: translateY(-1px);
}
.btn-primary-cta:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.btn-primary-cta:active { filter: brightness(0.9); transform: translateY(0); }

.btn-secondary-cta {
  background: transparent;
  color: var(--border);
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 14px 32px;
  border: 1.5px solid var(--border);
  clip-path: var(--clip-btn);
  border-radius: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  min-height: 48px;
}
.btn-secondary-cta:hover {
  color: var(--border);
  background: rgba(214,162,57,0.1);
  box-shadow: 0 0 12px rgba(214,162,57,0.3);
}
.btn-secondary-cta:focus-visible { outline: 2px solid var(--border); outline-offset: 3px; }

.btn-accent-cta {
  background: var(--accent);
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 14px 32px;
  border: none;
  clip-path: var(--clip-btn);
  border-radius: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  min-height: 48px;
}
.btn-accent-cta:hover {
  color: #fff;
  box-shadow: 0 0 18px rgba(248,74,154,0.55);
  transform: translateY(-1px);
}

.site-nav {
  background: var(--surface-alt);
  border-bottom: 1px solid rgba(214,162,57,0.35);
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 64px;
}
.site-nav .navbar-brand {
  font-family: 'Baloo 2', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  text-shadow: 0 0 8px rgba(229,112,78,0.6);
  text-decoration: none;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-nav .navbar-brand img {
  height: 40px;
  width: auto;
}
.site-nav .navbar-brand:hover { color: var(--primary); }
.site-nav .nav-link {
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  padding: 6px 12px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.site-nav .nav-link:hover {
  color: var(--border);
  border-bottom-color: var(--border);
}
.site-nav .nav-link.active {
  color: var(--border);
  background: var(--brand);
  clip-path: var(--clip-sm);
  border-bottom-color: transparent;
}
.site-nav .navbar-toggler {
  border: 1.5px solid rgba(214,162,57,0.5);
  border-radius: 0;
  padding: 6px 10px;
  min-width: 44px;
  min-height: 44px;
}
.site-nav .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(240,242,248,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.site-nav .nav-btn-login {
  border: 1.5px solid var(--text);
  background: transparent;
  color: var(--text);
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 18px;
  clip-path: var(--clip-sm);
  border-radius: 0;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}
.site-nav .nav-btn-login:hover { background: var(--surface); color: var(--text); }
.site-nav .nav-btn-signup {
  background: var(--primary);
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 18px;
  clip-path: var(--clip-sm);
  border-radius: 0;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}
.site-nav .nav-btn-signup:hover {
  color: #fff;
  filter: brightness(1.1);
  box-shadow: 0 0 14px rgba(229,112,78,0.55);
}

.section-alt {
  background-color: var(--surface-alt);
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 1px, transparent 1px, transparent 8px);
}
.section-divider {
  border: none;
  border-top: 1px solid rgba(214,162,57,0.2);
  margin: 0;
}
section {
  padding-top: clamp(28px, 3.5vw, 44px);
  padding-bottom: clamp(28px, 3.5vw, 44px);
}

.game-card {
  background: var(--surface);
  clip-path: var(--clip-card);
  border-radius: 0;
  border: 1px solid rgba(214,162,57,0.25);
  overflow: hidden;
  display: block;
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}
.game-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--border);
  box-shadow: 0 0 0 1px var(--border), 0 8px 32px rgba(0,0,0,0.7), 0 0 20px rgba(214,162,57,0.2);
  color: var(--text);
}
.game-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.game-card-body {
  padding: 12px 14px 14px;
  background: linear-gradient(0deg, var(--surface) 0%, rgba(28,32,46,0.92) 100%);
}
.game-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 4px;
  font-family: 'Baloo 2', sans-serif;
}
.game-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  font-family: 'Nunito', sans-serif;
}
.game-tag {
  display: inline-block;
  background: var(--brand);
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  clip-path: var(--clip-sm);
  margin-bottom: 4px;
  font-family: 'Nunito', sans-serif;
  letter-spacing: 0.04em;
}
.live-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  clip-path: var(--clip-sm);
  letter-spacing: 0.05em;
}

.styled-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
}
.styled-table th {
  background: var(--brand-dark);
  color: var(--border);
  font-weight: 700;
  padding: 10px 14px;
  text-align: left;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(214,162,57,0.3);
}
.styled-table td {
  padding: 10px 14px;
  color: var(--text);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  vertical-align: middle;
}
.styled-table tr:nth-child(odd) td { background: var(--surface); }
.styled-table tr:nth-child(even) td { background: var(--surface-alt); }
.styled-table tr:hover td { background: rgba(255,255,255,0.04); }
.table-scroll { overflow-x: auto; }

.faq-item {
  background: var(--surface-alt);
  border: 1px solid rgba(214,162,57,0.2);
  clip-path: var(--clip-card);
  margin-bottom: 8px;
  overflow: hidden;
}
.faq-item summary {
  padding: 16px 20px;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-num {
  color: var(--border);
  font-family: 'Baloo 2', sans-serif;
  font-size: 16px;
  font-weight: 700;
  min-width: 24px;
}
.faq-item summary .faq-icon {
  margin-left: auto;
  color: var(--border);
  font-size: 18px;
  transition: transform 0.2s ease;
}
.faq-item[open] summary .faq-icon { transform: rotate(45deg); }
.faq-item[open] {
  background: var(--surface);
  border-color: rgba(214,162,57,0.4);
}
.faq-answer {
  padding: 0 20px 16px 56px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

.site-footer {
  background: var(--bg);
  border-top: 2px solid rgba(214,162,57,0.3);
  padding: 48px 0 0;
}
.site-footer .footer-brand {
  font-family: 'Baloo 2', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  text-shadow: 0 0 8px rgba(229,112,78,0.5);
  display: block;
  margin-bottom: 8px;
}
.site-footer .footer-tagline {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 16px;
}
.site-footer .footer-col-title {
  font-family: 'Nunito', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--border);
  margin-bottom: 12px;
  display: block;
}
.site-footer .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer .footer-links li { margin-bottom: 8px; }
.site-footer .footer-links a {
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.site-footer .footer-links a:hover { color: var(--border); }
.site-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 16px 0;
  margin-top: 32px;
}
.site-footer .footer-copy {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}
.badge-18 {
  background: var(--surface-alt);
  border: 1.5px solid var(--border);
  clip-path: var(--clip-sm);
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--border);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Nunito', sans-serif;
}
.social-icons { display: flex; gap: 12px; margin-top: 12px; }
.social-icons a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  clip-path: var(--clip-sm);
  color: var(--text-muted);
  font-size: 18px;
  transition: all 0.2s;
}
.social-icons a:hover { background: var(--brand); color: var(--text); }

input, select, textarea {
  background: var(--surface);
  border: 1.5px solid rgba(214,162,57,0.3);
  color: var(--text);
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  padding: 10px 14px;
  clip-path: var(--clip-sm);
  border-radius: 0;
  width: 100%;
  outline: none;
  transition: border-color 0.2s;
  caret-color: var(--primary);
}
input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(229,112,78,0.2);
}

.text-gold { color: var(--border); }
.text-primary-c { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-muted-c { color: var(--text-muted); }
.neon-pink { color: var(--accent); text-shadow: 0 0 16px rgba(248,74,154,0.7); }
.neon-orange { color: var(--primary); text-shadow: 0 0 12px rgba(229,112,78,0.6); }
.max-read { max-width: 72ch; }

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

:root{--qa-nav:compact}
@media (min-width: 992px) {
  .navbar .nav-link { padding-left: 6px !important; padding-right: 6px !important; letter-spacing: 0 !important; white-space: normal !important; text-align: center; }
  .navbar .navbar-nav { gap: 0 !important; min-width: 0; flex-shrink: 1; }
  .navbar .navbar-collapse { min-width: 0; }
}
