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

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

    :root {
      --bg: #f4f6f4;
      --surface: #ffffff;
      --surface-alt: #e6ece8;
      --primary: #f56908;
      --primary-text: #0b1220;
      --accent: #ffb000;
      --text: #1a2e1f;
      --text-muted: #4a6352;
      --border: #b8862b;
      --dark-banner: #1f5f45;
      --nav-bg: #2f7d5c;
      --footer-bg: #1a2e1f;
      --footer-base: #111c14;
      --radius-sm: 2px;
      --radius-md: 4px;
      --shadow-md: 6px 6px 0 rgba(0,0,0,0.65);
      --shadow-lg: 10px 10px 0 rgba(0,0,0,0.65);
      --shadow-banner: 8px 8px 0 #1a2e1f;
    }

    html, body {
      scroll-behavior: smooth;
    }

    body {
      font-family: 'Poppins', sans-serif;
      font-size: 16px;
      font-weight: 400;
      line-height: 1.7;
      color: var(--text);
      background-color: var(--bg);
      background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%23b8862b' stroke-width='1' opacity='0.06' fill='none'%3E%3Cpath d='M0 0h40v40H0z'/%3E%3C/g%3E%3C/svg%3E");
      background-size: 40px 40px;
    }

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

    h1 {
      font-size: clamp(2rem, 7vw, 3.5rem);
      letter-spacing: -0.01em;
    }

    h2 {
      font-size: 2.25rem;
      letter-spacing: -0.5px;
    }

    h3 {
      font-size: 1.25rem;
      font-weight: 600;
    }

    p, li {
      margin-bottom: 1rem;
    }

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

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

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

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

    .navbar {
      background-color: var(--nav-bg) !important;
      height: 64px;
      box-shadow: none;
      border-bottom: none;
    }

    .navbar-brand {
      font-family: 'Righteous', sans-serif;
      font-size: 1.75rem;
      color: var(--primary-text) !important;
      position: relative;
      padding: 0;
      margin-right: 2rem;
    }

    .navbar-brand img {
      height: 48px;
      width: auto;
      display: block;
    }

    .nav-link {
      font-size: 0.94rem;
      font-weight: 600;
      color: var(--primary-text) !important;
      position: relative;
      padding: 0.5rem 1rem !important;
      transition: all 0.2s ease;
    }

    .nav-link::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 1rem;
      right: 1rem;
      height: 3px;
      background-color: var(--accent);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.2s ease;
    }

    .nav-link:hover::after {
      transform: scaleX(1);
    }

    .nav-link.active {
      color: var(--accent) !important;
    }

    .nav-link.active::after {
      transform: scaleX(1);
    }

    .btn-nav-login {
      border: 2px solid var(--primary-text);
      color: var(--primary-text);
      background-color: transparent;
      font-weight: 600;
      padding: 0.5rem 1.25rem;
      border-radius: var(--radius-md);
      transition: all 0.2s ease;
      font-size: 0.94rem;
      font-family: 'Poppins', sans-serif;
    }

    .btn-nav-login:hover {
      background-color: rgba(255, 255, 255, 0.15);
      color: var(--primary-text);
    }

    .btn-nav-signup {
      background-color: var(--primary);
      border: 2px solid var(--text);
      color: var(--primary-text);
      font-weight: 700;
      padding: 0.5rem 1.5rem;
      border-radius: var(--radius-md);
      box-shadow: 4px 4px 0 var(--text);
      transition: all 0.1s ease;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      font-family: 'Poppins', sans-serif;
      font-size: 0.94rem;
    }

    .btn-nav-signup:hover {
      box-shadow: 6px 6px 0 var(--text);
      transform: translateY(-2px) translateX(-2px);
      color: var(--primary-text);
      text-decoration: none;
    }

    .btn-primary-cta {
      background-color: var(--primary);
      border: 3px solid var(--text);
      color: var(--primary-text);
      font-weight: 700;
      font-size: 1rem;
      padding: 0.875rem 2rem;
      border-radius: var(--radius-md);
      box-shadow: 5px 5px 0 var(--text);
      text-transform: uppercase;
      letter-spacing: 0.05em;
      font-family: 'Poppins', sans-serif;
      transition: all 0.1s ease;
      display: inline-block;
      text-decoration: none;
      cursor: pointer;
    }

    .btn-primary-cta:hover {
      box-shadow: 8px 8px 0 var(--text);
      transform: translateY(-2px) translateX(-2px);
      color: var(--primary-text);
      text-decoration: none;
    }

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

    .btn-secondary-outline {
      background-color: var(--surface);
      border: 3px solid var(--nav-bg);
      color: var(--nav-bg);
      font-weight: 700;
      font-size: 1rem;
      padding: 0.875rem 2rem;
      border-radius: var(--radius-md);
      box-shadow: 5px 5px 0 var(--nav-bg);
      text-transform: uppercase;
      letter-spacing: 0.05em;
      font-family: 'Poppins', sans-serif;
      transition: all 0.1s ease;
      display: inline-block;
      text-decoration: none;
      cursor: pointer;
    }

    .btn-secondary-outline:hover {
      background-color: var(--surface-alt);
      box-shadow: 8px 8px 0 var(--nav-bg);
      transform: translateY(-2px) translateX(-2px);
      color: var(--nav-bg);
      text-decoration: none;
    }

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

    .card-base {
      border: 3px solid var(--border);
      border-radius: var(--radius-md);
      box-shadow: var(--shadow-md);
      transition: all 0.12s ease;
      background-color: var(--surface);
    }

    .card-base:hover {
      box-shadow: var(--shadow-lg);
      transform: translateY(-4px) translateX(-4px);
    }

    .game-card {
      display: block;
      text-decoration: none;
      color: inherit;
    }

    .game-card img {
      width: 100%;
      height: auto;
      aspect-ratio: 1;
      object-fit: cover;
      display: block;
    }

    .game-card-info {
      padding: 0.75rem;
    }

    .game-tag {
      display: inline-block;
      background-color: var(--accent);
      color: var(--text);
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      padding: 0.25rem 0.5rem;
      border: 2px solid var(--text);
      box-shadow: 3px 3px 0 var(--text);
      border-radius: var(--radius-sm);
      margin-bottom: 0.5rem;
    }

    .game-card h3 {
      font-size: 0.875rem;
      margin-bottom: 0.25rem;
    }

    .game-card p {
      font-size: 0.75rem;
      color: var(--text-muted);
      margin-bottom: 0;
    }

    footer {
      background-color: var(--footer-bg);
      color: var(--primary-text);
      padding-top: 3rem;
      border-top: 4px solid var(--border);
    }

    .footer-content {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 1.5rem 3rem;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 2rem;
    }

    .footer-col h4 {
      font-family: 'Righteous', sans-serif;
      font-size: 0.875rem;
      color: var(--accent);
      text-transform: uppercase;
      margin-bottom: 1rem;
      letter-spacing: 0.05em;
    }

    .footer-col p, .footer-col a {
      font-size: 0.8125rem;
      line-height: 1.8;
      color: #c8d8ce;
      text-decoration: none;
    }

    .footer-col a:hover {
      color: var(--primary-text);
    }

    .footer-base {
      background-color: var(--footer-base);
      padding: 1rem;
      text-align: center;
      font-size: 0.75rem;
      color: #6b8a72;
      border-top: 1px solid #2a3d33;
    }

    main {
      min-height: calc(100vh - 64px);
    }

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

    main > section.bg-alt {
      background-color: var(--surface-alt);
    }

    main > section.bg-white {
      background-color: var(--surface);
    }

    main > section.bg-light {
      background-color: var(--bg);
    }

    .container-content {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 1.5rem;
    }

    @media (max-width: 768px) {
      h1 {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
      }

      h2 {
        font-size: 1.75rem;
      }

      .navbar-brand {
        font-size: 1.25rem;
        margin-right: 1rem;
      }

      .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
      }
    }

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

    .border-bottom-thick {
      border-bottom: 3px solid var(--border);
    }

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

    @media (prefers-reduced-motion: reduce) {
      * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
      }
    }
