: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: #efefef;
      --surface: #fafafa;
      --surface-alt: #e5e5e5;
      --primary: #0d5bbb;
      --primary-dark: #0a4499;
      --primary-text: #ffffff;
      --accent: #de5012;
      --text: #2d2d2d;
      --text-muted: #666666;
      --border: #b09639;
      --nav-bg: #4d4848;
      --nav-dark: #363232;
    }

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

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

    body {
      font-family: 'Poppins', sans-serif;
      background-color: var(--bg);
      color: var(--text);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

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

    h1 {
      font-size: clamp(2rem, 3.5vw, 3.5rem);
      font-weight: 700;
    }

    h2 {
      font-size: 2rem;
      font-weight: 700;
      margin-top: 1.5rem;
      margin-bottom: 0.75rem;
    }

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

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

    p {
      font-size: 1rem;
      line-height: 1.6;
      max-width: 75ch;
    }

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

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

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

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

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

    button, [type="button"], [type="submit"] {
      caret-color: var(--primary);
    }

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

    .container, .container-lg, .container-xl {
      max-width: 1200px !important;
      padding-left: clamp(1rem, 5vw, 2rem) !important;
      padding-right: clamp(1rem, 5vw, 2rem) !important;
    }

    section {
      padding: clamp(1.75rem, 3.5vw, 2.75rem) 0;
    }

    section + section {
      border-top: 1px dashed var(--border);
    }

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

    .navbar {
      background-color: var(--nav-bg);
      height: 64px;
      padding: 0 clamp(1rem, 5vw, 2rem);
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .navbar-brand {
      font-size: 1.5rem;
      font-weight: 700;
      color: white !important;
      margin-right: auto;
    }

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

    .nav-link {
      font-size: 1rem;
      font-weight: 500;
      color: #fafafa !important;
      margin: 0 1rem;
      position: relative;
      transition: color 0.2s ease-out;
    }

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

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

    .nav-link.active::after {
      content: '';
      position: absolute;
      bottom: -8px;
      left: 0;
      right: 0;
      height: 2px;
      background-color: var(--border);
    }

    .btn-login {
      border: 2px solid white;
      color: var(--nav-bg);
      background-color: transparent;
      font-weight: 600;
      border-radius: 8px;
      padding: 0.5rem 1.25rem;
      margin-left: 0.5rem;
      transition: all 0.2s ease-out;
    }

    .btn-login:hover {
      background-color: white;
      color: var(--nav-bg);
    }

    .btn-register {
      background-color: var(--primary);
      color: white;
      font-weight: 600;
      border-radius: 8px;
      padding: 0.75rem 1.5rem;
      margin-left: 0.5rem;
      border: none;
      transition: background-color 0.2s ease-out;
    }

    .btn-register:hover {
      background-color: var(--primary-dark);
      color: white;
    }

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

    .navbar-toggler:focus {
      box-shadow: none;
      outline: 2px solid var(--border);
    }

    .btn-primary-cta {
      background-color: var(--primary);
      color: white;
      border: none;
      border-radius: 10px 10px 2px 2px;
      padding: 12px 28px;
      font-size: 1rem;
      font-weight: 600;
      font-family: 'Poppins', sans-serif;
      transition: all 0.2s ease-out;
      display: inline-block;
      text-decoration: none;
      cursor: pointer;
    }

    .btn-primary-cta:hover {
      background-color: var(--primary-dark);
      box-shadow: 0 8px 16px rgba(13, 91, 187, 0.2);
      transform: translateY(-2px);
      color: white;
    }

    .btn-primary-cta:active {
      box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
      transform: translateY(0);
    }

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

    .btn-secondary-cta {
      background-color: transparent;
      color: var(--primary);
      border: 2px solid var(--primary);
      border-radius: 10px 10px 2px 2px;
      padding: 10px 26px;
      font-size: 1rem;
      font-weight: 600;
      font-family: 'Poppins', sans-serif;
      transition: all 0.2s ease-out;
      display: inline-block;
      text-decoration: none;
      cursor: pointer;
    }

    .btn-secondary-cta:hover {
      background-color: rgba(13, 91, 187, 0.1);
      color: var(--primary-dark);
      border-color: var(--primary-dark);
    }

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

    .card-base {
      background-color: var(--surface);
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
      transition: all 0.2s ease-out;
      border: none;
    }

    .card-base:hover {
      box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
      transform: translateY(-4px);
    }

    .game-card {
      display: flex;
      flex-direction: column;
      background-color: var(--surface);
      border-radius: 8px;
      overflow: hidden;
      text-decoration: none;
      color: inherit;
      transition: all 0.2s ease-out;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    .game-card:hover {
      box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
      transform: translateY(-4px);
      text-decoration: none;
      color: inherit;
    }

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

    .game-card-body {
      padding: 1rem;
    }

    .game-tag {
      display: inline-block;
      background-color: var(--border);
      color: white;
      font-size: 0.875rem;
      font-weight: 500;
      border-radius: 4px;
      padding: 0.25rem 0.75rem;
      margin-bottom: 0.5rem;
    }

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

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

    footer {
      background-color: var(--nav-dark);
      color: #fafafa;
      padding: 3rem clamp(1rem, 5vw, 2rem);
      margin-top: clamp(1.75rem, 3.5vw, 2.75rem);
    }

    footer h4 {
      color: #fafafa;
      font-size: 1.125rem;
      margin-bottom: 1.25rem;
    }

    footer a {
      color: #fafafa;
      text-decoration: none;
    }

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

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

    footer li {
      margin-bottom: 0.75rem;
      font-size: 0.95rem;
    }

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

    .footer-logo {
      font-family: 'Righteous', sans-serif;
      font-size: 1.5rem;
      font-weight: 700;
      margin-bottom: 0.5rem;
    }

    .footer-tagline {
      font-size: 0.95rem;
      color: rgba(250, 250, 250, 0.8);
      margin-bottom: 1.5rem;
    }

    .responsible-badge {
      border: 2px solid var(--border);
      border-radius: 50%;
      width: 80px;
      height: 80px;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      font-size: 0.75rem;
      font-weight: 600;
      color: var(--border);
      text-transform: uppercase;
    }

    footer p {
      font-size: 0.9rem;
      color: rgba(250, 250, 250, 0.7);
      margin-top: 1.5rem;
      max-width: 100%;
    }

    .breadcrumb {
      background-color: transparent;
      padding: 0;
      font-size: 0.95rem;
      margin: 0;
    }

    .breadcrumb-item.active {
      color: var(--text);
    }

    .breadcrumb-item a {
      color: var(--primary);
    }

    table {
      width: 100%;
      border-collapse: collapse;
      background-color: var(--surface);
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    thead {
      background-color: var(--surface-alt);
    }

    th {
      padding: 1rem;
      text-align: left;
      font-weight: 600;
      font-size: 0.95rem;
      color: var(--primary-text);
    }

    td {
      padding: 1rem;
      border-top: 1px solid #e0e0e0;
      font-size: 0.95rem;
    }

    tbody tr:nth-child(even) {
      background-color: #fafafa;
    }

    tbody tr:nth-child(odd) {
      background-color: var(--surface);
    }

    details {
      background-color: var(--surface);
      border-radius: 8px;
      margin-bottom: 0.75rem;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
      overflow: hidden;
    }

    details[open] {
      box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
      background-color: var(--primary);
      color: white;
    }

    summary {
      padding: 1.25rem;
      cursor: pointer;
      font-weight: 600;
      user-select: none;
      display: list-item;
      transition: background-color 0.2s ease-out;
    }

    summary::marker {
      color: var(--text-muted);
    }

    details[open] summary::marker {
      color: white;
    }

    summary:hover {
      background-color: var(--surface-alt);
    }

    details[open] summary:hover {
      background-color: rgba(255, 255, 255, 0.1);
    }

    details > div {
      padding: 0 1.25rem 1.25rem;
      font-size: 0.95rem;
      line-height: 1.6;
    }

    [data-component="trust"] {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      list-style: none;
      padding: 0;
      margin: 0;
    }

    [data-component="trust"] li {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.9rem;
      font-weight: 500;
      color: var(--text);
    }

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

    [data-component="stats"] {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
      gap: 1rem;
      list-style: none;
      padding: 0;
      margin: 0;
    }

    [data-component="stats"] > div {
      background-color: var(--surface);
      padding: 1.5rem 1rem;
      border-radius: 8px;
      text-align: center;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    [data-component="stats"] dt {
      font-size: 0.875rem;
      color: var(--text-muted);
      font-weight: 500;
      margin-bottom: 0.5rem;
    }

    [data-component="stats"] dd {
      font-family: 'Righteous', sans-serif;
      font-size: 1.75rem;
      font-weight: 700;
      color: var(--primary);
      margin: 0;
    }

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

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

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

    [data-component="payments"] {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
      gap: 1rem;
      list-style: none;
      padding: 0;
      margin: 0;
    }

    [data-component="payments"] li {
      background-color: var(--surface);
      padding: 1.5rem 1rem;
      border-radius: 8px;
      text-align: center;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
      font-weight: 500;
      font-size: 0.95rem;
      border-top: 2px dashed var(--border);
    }

    [data-component="steps"] {
      display: grid;
      gap: 2rem;
      list-style: none;
      padding: 0;
      margin: 0;
      counter-reset: step-counter;
    }

    [data-component="steps"] li {
      display: grid;
      grid-template-columns: 50px 1fr;
      gap: 1.5rem;
      position: relative;
      counter-increment: step-counter;
    }

    [data-component="steps"] li::before {
      content: counter(step-counter);
      display: flex;
      align-items: center;
      justify-content: center;
      width: 50px;
      height: 50px;
      background-color: var(--primary);
      color: white;
      border-radius: 50%;
      font-family: 'Righteous', sans-serif;
      font-weight: 700;
      font-size: 1.25rem;
      flex-shrink: 0;
    }

    [data-component="steps"] li:not(:last-child)::after {
      content: '';
      position: absolute;
      left: 24px;
      top: 50px;
      width: 2px;
      height: calc(100% + 2rem);
      background-color: var(--border);
      z-index: -1;
    }

    [data-component="steps"] h4 {
      margin-bottom: 0.5rem;
    }

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

    [data-component="vip"] table {
      margin-top: 1rem;
    }

    [data-component="bonus"] {
      background-color: var(--surface);
      border: 2px dashed var(--border);
      border-radius: 10px 10px 2px 2px;
      padding: 2rem;
      margin: 2rem 0;
    }

    [data-component="bonus"] h3 {
      margin-bottom: 1rem;
    }

    [data-component="bonus"] .bonus-value {
      font-family: 'Righteous', sans-serif;
      font-size: 2.5rem;
      font-weight: 700;
      color: var(--primary);
      margin-bottom: 0.5rem;
    }

    [data-component="bonus"] table {
      margin: 1.5rem 0;
    }

    [data-component="bonus"] table td:first-child {
      font-weight: 600;
      width: 40%;
    }

    [data-component="bonus"] .btn-primary-cta {
      margin-top: 1rem;
    }

    [data-component="faq"] {
      display: grid;
      gap: 0.75rem;
    }

    [data-component="app"] {
      background-color: var(--surface);
      border-radius: 8px;
      padding: 2rem;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    .app-mockup {
      width: 200px;
      height: 400px;
      background: linear-gradient(135deg, var(--primary) 0%, #0a4499 100%);
      border-radius: 20px;
      padding: 8px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
      position: relative;
      overflow: hidden;
    }

    .app-mockup::before {
      content: '';
      position: absolute;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 120px;
      height: 25px;
      background-color: rgba(0, 0, 0, 0.3);
      border-radius: 0 0 20px 20px;
      z-index: 10;
    }

    .app-screen {
      width: 100%;
      height: 100%;
      background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
      border-radius: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 0.75rem;
      text-align: center;
      padding: 1rem;
    }

    .app-qr {
      max-width: 160px;
      height: auto;
    }

    @media (max-width: 768px) {
      .app-qr {
        display: none;
      }
    }

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

      h2 {
        font-size: 1.5rem;
      }

      .btn-login, .btn-register {
        margin-left: 0.25rem;
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
      }

      [data-component="stats"] {
        grid-template-columns: repeat(2, 1fr);
      }

      [data-component="payments"] {
        grid-template-columns: repeat(2, 1fr);
      }

      [data-component="trust"] {
        gap: 0.75rem;
      }

      [data-component="trust"] li {
        font-size: 0.8rem;
      }

      [data-component="steps"] li {
        grid-template-columns: 40px 1fr;
      }

      [data-component="steps"] li::before {
        width: 40px;
        height: 40px;
        font-size: 1rem;
      }

      [data-component="steps"] li:not(:last-child)::after {
        left: 19px;
      }
    }

    @media (max-width: 576px) {
      .navbar {
        height: auto;
        padding: 0.5rem clamp(0.75rem, 5vw, 1rem);
      }

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

      .btn-login {
        margin-left: 0.25rem;
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
      }

      .btn-register {
        margin-left: 0.25rem;
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
      }

      h1 {
        font-size: clamp(1.25rem, 2vw, 2rem);
        line-height: 1.3;
      }

      h2 {
        font-size: 1.25rem;
      }

      [data-component="bonus"] {
        padding: 1.5rem 1rem;
      }

      [data-component="bonus"] .bonus-value {
        font-size: 2rem;
      }

      [data-component="app"] {
        padding: 1.5rem 1rem;
      }
    }

:root{--site-repair:start}
main > section:has(> [class*="container"]:only-child) { grid-template-columns: 1fr !important; }

.sr-email { overflow-wrap: anywhere; word-break: break-word; }

.navbar-nav .nav-link[href="/"] { white-space: nowrap !important; }

@media (min-width: 992px) { .navbar-expand-lg .navbar-toggler { display: none !important; } }
@media (min-width: 1200px) { .navbar-expand-xl .navbar-toggler { display: none !important; } }
@media (min-width: 1400px) { .navbar-expand-xxl .navbar-toggler { display: none !important; } }

[data-component="steps"] > li > * { grid-column: 2; }
[data-component="steps"] > li::before { grid-row: span 2; }
:root{--site-repair:end}
