: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: #f7f3fc;
      --surface: #fdfbfe;
      --surface-alt: #ede9f2;
      --primary: #9d8b0e;
      --primary-text: #1a1a1a;
      --accent: #0f87bd;
      --text: #2d2d2d;
      --text-muted: #666666;
      --border: #b49121;
      --brand: #5d0991;
      --brand-dark: #410666;
    }

    * {
      box-sizing: border-box;
    }

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

    body {
      font-family: "Nunito", sans-serif;
      background-color: var(--bg);
      color: var(--text);
      line-height: 1.6;
      margin: 0;
      padding: 0;
    }

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

    h1, h2, h3, h4, h5, h6 {
      font-family: "Baloo 2", sans-serif;
      font-weight: 800;
      line-height: 1.2;
      letter-spacing: 0.05em;
      color: var(--text);
    }

    h1 {
      font-size: clamp(2rem, 5vw, 3.5rem);
      line-height: 1.15;
    }

    h2 {
      font-size: 3rem;
      line-height: 1.25;
      margin-bottom: 1.5rem;
    }

    h3 {
      font-size: 1.75rem;
      line-height: 1.3;
    }

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

    p {
      margin-bottom: 1rem;
      line-height: 1.7;
    }

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

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

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

    header {
      background-color: var(--bg);
      border-bottom: 2px solid var(--surface-alt);
      position: sticky;
      top: 0;
      z-index: 1000;
    }

    .navbar {
      padding: 0.75rem 0;
      height: 64px;
      display: flex;
      align-items: center;
    }

    .navbar-brand {
      display: flex;
      align-items: center;
      margin-right: 2rem;
      flex-shrink: 0;
    }

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

    .navbar-collapse {
      flex-grow: 1;
    }

    .nav-link {
      font-weight: 600;
      color: var(--brand) !important;
      font-size: 0.95rem;
      padding: 0.5rem 0.75rem !important;
      border-bottom: 3px solid transparent;
      transition: border-color 0.3s ease-out;
    }

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

    .nav-link.active {
      border-bottom-color: var(--border);
    }

    .btn-login {
      border: 3px solid var(--brand);
      color: var(--brand);
      background-color: transparent;
      font-weight: 600;
      padding: 10px 24px;
      border-radius: 4px;
      transition: all 0.3s ease-out;
    }

    .btn-login:hover {
      box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.3);
      transform: translate(-4px, -4px);
    }

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

    .btn-register {
      background-color: var(--primary);
      border: 3px solid var(--primary);
      color: var(--primary-text);
      font-weight: 600;
      padding: 10px 24px;
      border-radius: 4px;
      box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.65);
      transition: all 0.3s ease-out;
    }

    .btn-register:hover {
      background-color: #8a7a0a;
      border-color: #8a7a0a;
      box-shadow: 14px 14px 0 rgba(0, 0, 0, 0.75);
      transform: translate(-4px, -4px);
    }

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

    .btn-primary-cta {
      background-color: var(--primary);
      border: 3px solid var(--primary);
      color: var(--primary-text);
      font-family: "Baloo 2", sans-serif;
      font-weight: 600;
      font-size: 1rem;
      padding: 14px 32px;
      border-radius: 4px;
      box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.65);
      display: inline-block;
      text-decoration: none;
      transition: all 0.3s ease-out;
      cursor: pointer;
    }

    .btn-primary-cta:hover {
      background-color: #8a7a0a;
      border-color: #8a7a0a;
      box-shadow: 14px 14px 0 rgba(0, 0, 0, 0.75);
      transform: translate(-4px, -4px);
    }

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

    .btn-secondary-outline {
      background-color: transparent;
      border: 3px solid var(--brand);
      color: var(--brand);
      font-family: "Baloo 2", sans-serif;
      font-weight: 600;
      font-size: 1rem;
      padding: 14px 32px;
      border-radius: 4px;
      box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.65);
      display: inline-block;
      text-decoration: none;
      transition: all 0.3s ease-out;
      cursor: pointer;
      margin-left: 1rem;
    }

    .btn-secondary-outline:hover {
      box-shadow: 14px 14px 0 rgba(0, 0, 0, 0.75);
      transform: translate(-4px, -4px);
    }

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

    .card {
      background-color: var(--surface);
      border: 3px solid var(--border);
      border-radius: 6px;
      box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.65);
      transition: all 0.3s ease-out;
    }

    .card:hover {
      box-shadow: 14px 14px 0 rgba(0, 0, 0, 0.75);
      transform: translate(-4px, -4px);
    }

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

    .game-card {
      display: flex;
      flex-direction: column;
      background-color: var(--surface);
      border: 3px solid var(--border);
      border-radius: 6px;
      box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.65);
      overflow: hidden;
      text-decoration: none;
      color: var(--text);
      transition: all 0.3s ease-out;
      position: relative;
    }

    .game-card:hover {
      box-shadow: 14px 14px 0 rgba(0, 0, 0, 0.75);
      transform: translate(-4px, -4px);
    }

    .game-card img {
      width: 100%;
      height: auto;
      aspect-ratio: 1;
      object-fit: cover;
      border-bottom: 1px solid var(--surface-alt);
    }

    .game-card-content {
      padding: 1rem;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
    }

    .game-tag {
      display: inline-block;
      background-color: var(--brand);
      color: #ffffff;
      font-size: 0.75rem;
      font-weight: 600;
      padding: 4px 12px;
      border-radius: 2px;
      margin-bottom: 0.75rem;
      width: fit-content;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .game-card h3 {
      font-size: 1.25rem;
      margin: 0 0 0.5rem 0;
    }

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

    footer {
      background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%);
      color: #ffffff;
      padding: 3rem 2rem;
      margin-top: 4rem;
    }

    footer a {
      color: #ffffff;
      transition: color 0.3s ease-out;
    }

    footer a:hover {
      color: var(--border);
      text-decoration: none;
    }

    .footer-content {
      max-width: 1320px;
      margin: 0 auto;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 2rem;
      margin-bottom: 2rem;
    }

    .footer-section h4 {
      color: var(--border);
      font-size: 0.95rem;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      margin-bottom: 1rem;
    }

    .footer-section ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .footer-section li {
      margin-bottom: 0.75rem;
      font-size: 0.9rem;
    }

    .footer-bottom {
      border-top: 1px solid rgba(255, 255, 255, 0.2);
      padding-top: 2rem;
      text-align: center;
      font-size: 0.85rem;
    }

    .responsible-gaming-badge {
      display: inline-block;
      background-color: rgba(255, 255, 255, 0.1);
      padding: 0.5rem 1rem;
      border-radius: 4px;
      font-size: 0.85rem;
      margin-top: 1rem;
    }

    main {
      width: 100%;
    }

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

    .container-custom {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }

    [data-component="stats"] {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 2rem;
      margin-top: 2rem;
    }

    [data-component="stats"] > div {
      text-align: center;
    }

    [data-component="stats"] dt {
      font-size: 0.9rem;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.05em;
      margin-bottom: 0.5rem;
    }

    [data-component="stats"] dd {
      font-size: clamp(1.5rem, 4vw, 2.5rem);
      font-family: "Baloo 2", sans-serif;
      font-weight: 800;
      color: var(--brand);
      margin: 0;
    }

    [data-component="trust"] {
      display: flex;
      flex-wrap: wrap;
      gap: 2rem;
      justify-content: center;
      list-style: none;
      padding: 0;
      margin: 2rem 0 0 0;
      background-color: transparent;
    }

    [data-component="trust"] li {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      font-size: 0.9rem;
      font-weight: 500;
    }

    [data-component="trust"] i {
      font-size: 1.5rem;
      color: var(--brand);
    }

    [data-component="game-grid"] {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 1.5rem;
      margin: 2rem 0;
    }

    @media (min-width: 1024px) {
      [data-component="game-grid"] {
        grid-template-columns: repeat(4, 1fr);
      }
    }

    @media (min-width: 768px) and (max-width: 1023px) {
      [data-component="game-grid"] {
        grid-template-columns: repeat(3, 1fr);
      }
    }

    @media (max-width: 767px) {
      [data-component="game-grid"] {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    [data-component="bonus"] {
      background-color: #fffbf0;
      border: 3px solid var(--primary);
      border-radius: 6px;
      padding: 2rem;
      box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.65);
    }

    [data-component="bonus"] h3 {
      color: var(--primary-text);
      margin-top: 0;
    }

    [data-component="bonus"] .bonus-amount {
      font-size: clamp(2rem, 5vw, 3.5rem);
      font-family: "Baloo 2", sans-serif;
      font-weight: 800;
      color: var(--primary);
      line-height: 1.1;
      margin: 1rem 0;
    }

    [data-component="bonus"] .bonus-note {
      font-size: 0.9rem;
      color: var(--text-muted);
      margin-bottom: 1.5rem;
    }

    [data-component="bonus"] table {
      width: 100%;
      margin-bottom: 1.5rem;
      border-collapse: collapse;
    }

    [data-component="bonus"] td {
      padding: 0.75rem 0;
      border-bottom: 1px solid var(--border);
      font-size: 0.95rem;
    }

    [data-component="bonus"] td:first-child {
      font-weight: 600;
      color: var(--brand);
      width: 40%;
    }

    [data-component="vip"] {
      margin: 2rem 0;
    }

    [data-component="vip"] table {
      width: 100%;
      border-collapse: collapse;
      background-color: var(--surface);
    }

    [data-component="vip"] th,
    [data-component="vip"] td {
      padding: 1rem;
      text-align: left;
      border: 1px solid var(--surface-alt);
      font-size: 0.9rem;
    }

    [data-component="vip"] th {
      background-color: var(--brand);
      color: #ffffff;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    [data-component="vip"] tr:nth-child(even) {
      background-color: var(--surface-alt);
    }

    [data-component="steps"] {
      list-style: none;
      padding: 0;
      margin: 2rem 0;
      position: relative;
    }

    [data-component="steps"] li {
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 2rem;
      margin-bottom: 2rem;
      position: relative;
    }

    [data-component="steps"] li::before {
      content: '';
      position: absolute;
      left: 20px;
      top: 50px;
      width: 2px;
      height: calc(100% - 20px);
      background-color: var(--border);
    }

    [data-component="steps"] li:last-child::before {
      display: none;
    }

    [data-component="steps"] .step-number {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 48px;
      height: 48px;
      min-width: 48px;
      background-color: var(--brand);
      color: #ffffff;
      border-radius: 50%;
      font-family: "Baloo 2", sans-serif;
      font-weight: 800;
      font-size: 1.25rem;
    }

    [data-component="steps"] .step-content h4 {
      margin-top: 0;
      color: var(--brand);
    }

    [data-component="steps"] .step-content p {
      margin: 0.5rem 0 0 0;
      font-size: 0.95rem;
      color: var(--text-muted);
    }

    [data-component="payments"] {
      list-style: none;
      padding: 0;
      margin: 2rem 0;
    }

    [data-component="payments"] li {
      display: grid;
      grid-template-columns: 120px 1fr 1fr 1fr;
      gap: 1rem;
      padding: 1rem;
      background-color: var(--surface);
      border: 1px solid var(--surface-alt);
      border-radius: 4px;
      margin-bottom: 0.75rem;
      font-size: 0.9rem;
      align-items: center;
    }

    [data-component="payments"] li strong {
      display: block;
      margin-bottom: 0.25rem;
    }

    [data-component="payments"] li span {
      display: block;
      color: var(--text-muted);
      font-size: 0.85rem;
    }

    @media (max-width: 768px) {
      [data-component="payments"] li {
        grid-template-columns: 1fr;
        gap: 0.5rem;
      }
    }

    [data-component="faq"] {
      margin: 2rem 0;
    }

    [data-component="faq"] details {
      background-color: var(--surface);
      border: 3px solid var(--border);
      border-radius: 6px;
      padding: 0;
      margin-bottom: 1rem;
      box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.3);
    }

    [data-component="faq"] details[open] {
      background-color: #fff9f0;
    }

    [data-component="faq"] summary {
      padding: 1.25rem;
      cursor: pointer;
      font-weight: 600;
      color: var(--brand);
      user-select: none;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    [data-component="faq"] summary::marker {
      color: var(--brand);
      font-size: 1.5rem;
    }

    [data-component="faq"] summary:hover {
      background-color: var(--surface-alt);
    }

    [data-component="faq"] > div {
      padding: 0 1.25rem 1.25rem 1.25rem;
      font-size: 0.95rem;
      line-height: 1.7;
      color: var(--text);
    }

    @media (max-width: 768px) {
      .navbar {
        height: auto;
        padding: 0.5rem 0;
      }

      .navbar-brand img {
        height: 32px;
      }

      .nav-link {
        padding: 0.75rem 0.5rem !important;
        font-size: 0.85rem;
      }

      h1 {
        font-size: 1.75rem;
      }

      h2 {
        font-size: 1.75rem;
      }

      .btn-secondary-outline {
        margin-left: 0;
        margin-top: 0.75rem;
        display: block;
        width: 100%;
        text-align: center;
      }
    }

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