: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: #000612;
      --surface: #0f1520;
      --surface-alt: #0a101b;
      --primary: #d51117;
      --primary-text: #ffffff;
      --accent: #56f09c;
      --text: #e8e8e8;
      --text-muted: #a0a0a0;
      --border: #caa33d;
      --brand: #01cbf8;
      --brand-dark: #018eae;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

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

    body {
      font-family: "Work Sans", sans-serif;
      background: var(--bg);
      background-image: repeating-linear-gradient(
        0deg,
        rgba(255, 255, 255, 0.03) 0px,
        rgba(255, 255, 255, 0.03) 1px,
        transparent 1px,
        transparent 2px
      );
      color: var(--text);
      line-height: 1.6;
      overflow-x: hidden;
    }

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

    a {
      color: var(--brand);
      text-decoration: none;
      text-underline-offset: 0.3em;
      transition: color 0.2s ease-out;
    }

    a:hover {
      color: #00e6ff;
    }

    a:focus-visible {
      outline: 2px solid var(--accent);
      outline-offset: 0.25em;
    }

    h1, h2, h3, h4, h5, h6 {
      font-family: "Bungee", sans-serif;
      font-weight: 700;
      line-height: 1.35;
      margin-bottom: 0.5em;
    }

    h1 {
      font-size: clamp(2rem, 5vw, 3.5rem);
      letter-spacing: 0.5px;
    }

    h2 {
      font-size: clamp(2rem, 4vw, 2.875rem);
      letter-spacing: 0.3px;
    }

    h3 {
      font-size: clamp(1.5rem, 3vw, 2rem);
    }

    p {
      margin-bottom: 1em;
      max-width: 72ch;
    }

    small {
      font-size: 0.875rem;
    }

    nav.navbar {
      background: rgba(0, 6, 18, 0.95);
      backdrop-filter: blur(8px);
      border-bottom: 1px solid var(--border);
      height: 64px;
      padding: 0.75rem 0;
      position: sticky;
      top: 0;
      z-index: 100;
    }

    .navbar-brand img {
      height: 48px;
      width: auto;
      transition: opacity 0.2s ease-out;
    }

    .navbar-brand img:hover {
      opacity: 0.8;
    }

    .nav-link {
      color: var(--text) !important;
      font-weight: 500;
      font-size: 0.95rem;
      position: relative;
      transition: color 0.2s ease-out;
    }

    .nav-link:hover {
      color: var(--brand) !important;
    }

    .nav-link.active {
      color: var(--brand) !important;
      border-bottom: 2px solid var(--brand);
    }

    .btn-login {
      border: 2px solid var(--brand);
      color: var(--brand);
      background: transparent;
      font-weight: 600;
      padding: 0.5rem 1.25rem;
      transition: all 0.2s ease-out;
    }

    .btn-login:hover {
      box-shadow: 0 0 16px rgba(1, 203, 248, 0.5);
      color: var(--brand);
    }

    .btn-signup {
      background: var(--primary);
      color: var(--primary-text);
      border: 2px solid var(--primary);
      font-weight: 700;
      padding: 0.5rem 1.5rem;
      clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
      transition: all 0.2s ease-out;
    }

    .btn-signup:hover {
      background: #ff3333;
      border-color: #ff3333;
      box-shadow: 0 0 16px rgba(213, 17, 23, 0.6);
      color: var(--primary-text);
    }

    .btn-primary-arcade {
      background: var(--primary);
      color: var(--primary-text);
      border: 2px solid var(--primary);
      font-weight: 700;
      padding: 12px 32px;
      clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
      cursor: pointer;
      transition: all 0.2s ease-out;
      font-size: 0.95rem;
    }

    .btn-primary-arcade:hover {
      background: #ff3333;
      box-shadow: 0 0 16px rgba(213, 17, 23, 0.6);
    }

    .btn-primary-arcade:focus-visible {
      outline: 2px solid var(--accent);
      outline-offset: 2px;
    }

    .btn-secondary-arcade {
      background: transparent;
      border: 2px solid var(--brand);
      color: var(--brand);
      font-weight: 600;
      padding: 12px 32px;
      clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
      cursor: pointer;
      transition: all 0.2s ease-out;
      font-size: 0.95rem;
    }

    .btn-secondary-arcade:hover {
      box-shadow: 0 0 12px rgba(1, 203, 248, 0.5);
      background: rgba(1, 203, 248, 0.1);
      color: var(--brand);
    }

    .btn-secondary-arcade:focus-visible {
      outline: 2px solid var(--accent);
      outline-offset: 2px;
    }

    .arcade-card {
      background: var(--surface);
      border: 1px solid var(--border);
      clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
      box-shadow: 0 0 12px rgba(202, 163, 61, 0.4), inset 0 0 8px rgba(1, 203, 248, 0.2);
      padding: 16px;
      position: relative;
      overflow: hidden;
    }

    .arcade-card::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(1, 203, 248, 0.1) 0%, rgba(86, 240, 156, 0.05) 100%);
      pointer-events: none;
    }

    .game-card {
      display: flex;
      flex-direction: column;
      background: var(--surface);
      border: 1px solid var(--border);
      clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
      overflow: hidden;
      cursor: pointer;
      transition: all 0.3s ease-out;
      text-decoration: none;
      color: var(--text);
      height: 100%;
    }

    .game-card:hover {
      border-color: var(--brand);
      box-shadow: 0 0 16px rgba(1, 203, 248, 0.4);
      transform: translateY(-4px);
    }

    .game-card:focus-visible {
      outline: 2px solid var(--accent);
      outline-offset: 0;
    }

    .game-card img {
      width: 100%;
      height: 160px;
      object-fit: cover;
      display: block;
    }

    .game-info {
      padding: 12px;
      position: relative;
      z-index: 1;
    }

    .game-card h3 {
      font-size: 0.95rem;
      margin-bottom: 0.25em;
      color: var(--primary-text);
    }

    .game-meta {
      font-size: 0.8rem;
      color: var(--text-muted);
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .game-tag {
      display: inline-block;
      border: 1px solid var(--border);
      color: var(--text-muted);
      padding: 2px 6px;
      font-size: 0.7rem;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    main {
      background: var(--bg);
    }

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

    .section-divider {
      height: 2px;
      background: linear-gradient(
        to right,
        rgba(202, 163, 61, 0.3) 0%,
        rgba(202, 163, 61, 0.6) 50%,
        rgba(202, 163, 61, 0.3) 100%
      );
      margin: clamp(28px, 3.5vw, 44px) 0;
      opacity: 0.5;
    }

    footer {
      background: var(--bg);
      border-top: 1px solid var(--border);
      padding: clamp(28px, 3.5vw, 44px) 0;
    }

    footer .col {
      margin-bottom: 2rem;
    }

    footer h6 {
      font-size: 0.95rem;
      margin-bottom: 1rem;
      color: var(--text);
    }

    footer a {
      display: block;
      color: var(--text-muted);
      font-size: 0.9rem;
      margin-bottom: 0.75rem;
      transition: color 0.2s ease-out;
    }

    footer a:hover {
      color: var(--brand);
    }

    footer .social-icons {
      display: flex;
      gap: 1rem;
      margin: 1.5rem 0;
    }

    footer .social-icons a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      background: rgba(1, 203, 248, 0.1);
      border: 1px solid var(--border);
      clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
      color: var(--brand);
      font-size: 1rem;
      margin-bottom: 0;
    }

    footer .social-icons a:hover {
      background: rgba(1, 203, 248, 0.2);
      box-shadow: 0 0 12px rgba(1, 203, 248, 0.3);
    }

    footer .compliance {
      text-align: center;
      padding: 1.5rem 0;
      border-top: 1px solid rgba(202, 163, 61, 0.3);
      color: var(--text-muted);
      font-size: 0.9rem;
      margin-top: 2rem;
    }

    .compliance-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background: rgba(213, 17, 23, 0.15);
      padding: 0.75rem 1rem;
      clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
      border: 1px solid var(--primary);
      color: var(--primary);
      font-weight: 600;
      font-size: 0.9rem;
    }

    @media (max-width: 768px) {
      nav.navbar {
        height: auto;
      }

      .navbar-collapse {
        padding: 1rem 0;
      }

      h1 {
        font-size: clamp(1.5rem, 4vw, 2.5rem);
      }
    }

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