: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: #f4fbf4;
      --surface: #fcfefc;
      --surface-alt: #eaf1ea;
      --primary: #f21cb3;
      --primary-text: #1a1a1a;
      --accent: #e57b0f;
      --text: #2d2d2d;
      --text-muted: #666666;
      --border: #c1943a;
      --brand: #13802b;
      --brand-dark: #0d5a1e;
    }

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

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

    body {
      font-family: 'Inter', sans-serif;
      font-size: 1rem;
      font-weight: 400;
      line-height: 1.6;
      color: var(--text);
      background-color: var(--bg);
      overflow-x: hidden;
    }

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

    h1, h2, h3, h4, h5, h6 {
      font-family: 'Sora', sans-serif;
      font-weight: 700;
      line-height: 1.35;
      color: var(--primary-text);
    }

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

    h2 {
      font-size: 2.25rem;
      letter-spacing: -0.01em;
      margin-bottom: 1.5rem;
    }

    h3 {
      font-size: 1.5rem;
      font-weight: 600;
      margin-bottom: 1rem;
    }

    p {
      margin-bottom: 1rem;
      max-width: 75ch;
    }

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

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

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

    button, .btn {
      font-family: 'Inter', sans-serif;
      font-size: 1rem;
      font-weight: 600;
      letter-spacing: 0.5px;
      border: none;
      padding: 0;
      cursor: pointer;
      transition: all 0.2s ease-out;
      clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
      border-radius: 0;
    }

    .btn-primary-cta {
      background-color: var(--primary);
      color: white;
      padding: 12px 32px;
      border: 2px solid var(--primary);
      box-shadow: 0 0 12px rgba(242, 28, 179, 0.4), 0 0 0 2px var(--primary);
    }

    .btn-primary-cta:hover {
      background-color: #e015a0;
      box-shadow: 0 0 16px rgba(242, 28, 179, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.3);
    }

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

    .btn-secondary {
      background-color: transparent;
      color: var(--brand);
      padding: 10px 24px;
      border: 2px solid var(--brand);
      box-shadow: 0 0 0 2px var(--brand);
    }

    .btn-secondary:hover {
      box-shadow: 0 0 8px rgba(19, 128, 43, 0.4), 0 0 0 2px var(--brand);
    }

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

    .btn-accent {
      background-color: var(--accent);
      color: white;
      padding: 12px 32px;
      border: 2px solid var(--accent);
      box-shadow: 0 0 12px rgba(229, 123, 15, 0.3), 0 0 0 2px var(--accent);
    }

    .btn-accent:hover {
      background-color: #d4700a;
      box-shadow: 0 0 16px rgba(229, 123, 15, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.3);
    }

    header {
      background-color: var(--brand);
      color: white;
      height: 72px;
      box-shadow: 0 0 20px rgba(19, 128, 43, 0.3);
      position: sticky;
      top: 0;
      z-index: 100;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      box-shadow: inset 0 0 1px rgba(255, 255, 255, 0.3);
    }

    .navbar {
      height: 100%;
      padding: 0 2rem;
      background-color: transparent;
    }

    .navbar-brand {
      margin-right: 3rem;
    }

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

    .navbar-nav {
      gap: 0;
      flex-grow: 1;
    }

    .nav-item .nav-link {
      color: white;
      font-size: 1rem;
      font-weight: 400;
      padding: 0.5rem 1.25rem;
      border-bottom: 2px solid transparent;
      transition: all 0.2s ease-out;
    }

    .nav-item .nav-link:hover {
      border-bottom-color: var(--primary);
    }

    .nav-item .nav-link.active {
      border-bottom-color: var(--primary);
      font-weight: 600;
    }

    .navbar-nav.ms-auto {
      gap: 1rem;
      align-items: center;
    }

    .btn-nav-login {
      border: 2px solid white;
      color: white;
      background-color: transparent;
      padding: 8px 24px;
      font-size: 0.95rem;
      font-weight: 600;
    }

    .btn-nav-login:hover {
      background-color: rgba(255, 255, 255, 0.1);
    }

    .btn-nav-register {
      background-color: var(--primary);
      color: white;
      padding: 10px 28px;
      font-size: 0.95rem;
      font-weight: 600;
      border: 2px solid var(--primary);
    }

    .btn-nav-register:hover {
      background-color: #e015a0;
    }

    .navbar-toggler {
      border-color: white;
    }

    .navbar-toggler:focus {
      box-shadow: 0 0 0 0.25rem rgba(242, 28, 179, 0.25);
    }

    footer {
      background-color: var(--brand-dark);
      color: white;
      padding: clamp(28px, 3.5vw, 44px) 2rem;
      border-top: 1px solid var(--border);
      margin-top: auto;
    }

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

    .footer-section h4 {
      font-size: 1.1rem;
      font-weight: 600;
      margin-bottom: 1rem;
      color: white;
    }

    .footer-section ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
    }

    .footer-section a {
      color: var(--primary);
      text-decoration: none;
    }

    .footer-section a:hover {
      text-decoration: underline;
    }

    main {
      min-height: 100vh;
    }

    section {
      background-color: var(--bg);
      padding: clamp(28px, 3.5vw, 44px) 2rem;
    }

    section:nth-child(even) {
      background-color: var(--surface-alt);
    }

    section:nth-child(3n) {
      background-color: var(--surface);
    }

    .container, .container-lg, .container-md, .container-sm, .container-xl {
      max-width: 1320px;
      margin: 0 auto;
    }

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

    input, textarea, select {
      font-family: 'Inter', sans-serif;
      border-radius: 0;
      clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
      border: 2px solid var(--border);
      padding: 10px 16px;
      font-size: 1rem;
      transition: border-color 0.2s ease-out;
    }

    input:focus, textarea:focus, select:focus {
      outline: none;
      border-color: var(--brand);
      box-shadow: 0 0 8px rgba(19, 128, 43, 0.2);
    }

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

    @media (max-width: 768px) {
      h1 {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
      }
      h2 {
        font-size: 1.75rem;
      }
      .navbar {
        padding: 0 1rem;
      }
      .navbar-brand {
        margin-right: 1rem;
      }
      .nav-item .nav-link {
        padding: 0.5rem 0.75rem;
      }
    }

    @media (max-width: 576px) {
      section {
        padding: clamp(20px, 3vw, 28px) 1rem;
      }
      .navbar {
        padding: 0 0.75rem;
      }
      h1 {
        font-size: clamp(1.25rem, 6vw, 2rem);
      }
      p {
        font-size: 0.95rem;
      }
    }
