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

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 > :first-child > :not([class*="container"], :has([class*="container"]), img, picture, video, [style*="absolute"]),
main > :not(:has([class*="container"])) { padding-inline: max(16px, calc((100% - 1320px) / 2)) !important; }  
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: #f8f7f5;
  --surface: #fdfdfc;
  --surface-alt: #eeedeb;
  --primary: #db1018;
  --primary-hover: #b80d13;
  --primary-text: #ffffff;
  --accent: #1257d9;
  --accent-hover: #0d45b5;
  --brand-dark: #343132;
  --brand-darker: #242223;
  --text: #1a1819;
  --text-muted: #5c5759;
  --border: #c08a2a;
  --border-light: #d9d7d4;
  --border-subtle: #eeedeb;
  --nav-link: #e8e6e4;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  margin: 0;
  overflow-x: hidden;
}

::selection {
  background: var(--border);
  color: #fff;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--surface-alt); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 0; }

a {
  color: var(--accent);
  text-underline-offset: 3px;
  text-decoration: none;
}
a:hover { color: var(--border); }
a:focus-visible {
  outline: 2px solid var(--border);
  outline-offset: 2px;
  border-radius: 2px;
}

h1, h2, h3, h4, h5 {
  font-family: 'Oswald', sans-serif;
  line-height: 1.2;
  color: var(--text);
  margin-top: 0;
  overflow-wrap: anywhere;
}

h1 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 700; letter-spacing: -0.5px; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; }
h3 { font-size: 1.375rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }

p { margin-bottom: 1em; overflow-wrap: anywhere; }

.text-muted-site { color: var(--text-muted); font-size: 14px; }
.label-upper {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.btn-primary-site {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 10px 28px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 120ms ease, box-shadow 120ms ease;
  text-decoration: none;
  line-height: 1.4;
}
.btn-primary-site:hover {
  background: var(--primary-hover);
  color: #fff;
  box-shadow: 2px 2px 0 0 rgba(0,0,0,0.18);
}
.btn-primary-site:focus-visible {
  outline: 2px solid var(--border);
  outline-offset: 2px;
}

.btn-secondary-site {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 10px 28px;
  background: transparent;
  color: var(--brand-dark);
  border: 2px solid var(--brand-dark);
  border-radius: 2px;
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease;
  text-decoration: none;
  line-height: 1.4;
}
.btn-secondary-site:hover {
  background: var(--brand-dark);
  color: #fff;
}
.btn-secondary-site:focus-visible {
  outline: 2px solid var(--border);
  outline-offset: 2px;
}

.btn-outline-light-site {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 8px 22px;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.7);
  border-radius: 2px;
  cursor: pointer;
  transition: border-color 120ms ease, color 120ms ease;
  text-decoration: none;
  line-height: 1.4;
}
.btn-outline-light-site:hover {
  border-color: var(--border);
  color: var(--border);
}
.btn-outline-light-site:focus-visible {
  outline: 2px solid var(--border);
  outline-offset: 2px;
}

.btn-accent-site {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 10px 28px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 120ms ease;
  text-decoration: none;
  line-height: 1.4;
}
.btn-accent-site:hover { background: var(--accent-hover); color: #fff; }

.site-navbar {
  background: var(--brand-dark);
  border-bottom: 2px solid var(--border);
  height: 56px;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.site-navbar .navbar-brand img {
  height: 40px;
  width: auto;
}
.site-navbar .nav-link {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--nav-link) !important;
  padding: 0 12px !important;
  line-height: 56px;
  transition: color 120ms ease;
  text-decoration: none;
  position: relative;
}
.site-navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--border);
  transform: scaleX(0);
  transition: transform 120ms ease;
}
.site-navbar .nav-link:hover { color: var(--border) !important; }
.site-navbar .nav-link:hover::after,
.site-navbar .nav-link.active::after { transform: scaleX(1); }
.site-navbar .nav-link.active { color: var(--border) !important; }

.site-navbar .navbar-toggler {
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 2px;
  padding: 6px 10px;
}
.site-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(232,230,228,1)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
.site-navbar .navbar-collapse {
  background: var(--brand-dark);
}
@media (max-width: 991px) {
  .site-navbar .nav-link { line-height: 1.5; padding: 10px 16px !important; }
  .site-navbar .nav-link::after { display: none; }
  .site-navbar .navbar-collapse {
    border-top: 1px solid rgba(192,138,42,0.3);
    padding: 8px 0;
  }
}

.nav-btn-login {
  border: 1px solid var(--nav-link);
  background: transparent;
  color: #fff !important;
  padding: 6px 18px !important;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5 !important;
  transition: border-color 120ms ease, color 120ms ease;
  margin: auto 4px;
}
.nav-btn-login:hover { border-color: var(--border) !important; color: var(--border) !important; }

.nav-btn-signup {
  background: var(--primary);
  color: #fff !important;
  padding: 6px 20px !important;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5 !important;
  border: none;
  transition: background 120ms ease;
  margin: auto 4px;
}
.nav-btn-signup:hover { background: var(--primary-hover) !important; color: #fff !important; }

.section-divider {
  position: relative;
  border: none;
  border-top: 2px solid var(--border);
  margin: 0;
  overflow: visible;
}
.section-divider::before,
.section-divider::after {
  content: '';
  position: absolute;
  top: -9px;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='3' fill='none' stroke='%23c08a2a' stroke-width='1.5'/%3E%3Ccircle cx='8' cy='8' r='1' fill='%23c08a2a'/%3E%3Cpath d='M8 1v3M8 12v3M1 8h3M12 8h3' stroke='%23c08a2a' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}
.section-divider::before { left: 0; }
.section-divider::after { right: 0; }

.thin-divider {
  border: none;
  border-top: 1px solid var(--border-light);
  margin: 0;
}

.section-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.section-title-row h2 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-title-row h2 .title-ornament {
  display: inline-block;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M9 1C9 1 5 5 1 9s4 8 8 8 8-4 8-8-4-8-8-8z' fill='none' stroke='%23c08a2a' stroke-width='1.2'/%3E%3Ccircle cx='9' cy='9' r='2' fill='%23c08a2a'/%3E%3Cpath d='M9 4v2M9 12v2M4 9h2M12 9h2' stroke='%23c08a2a' stroke-width='1'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}
.section-title-row .view-all {
  margin-left: auto;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 4px;
}
.section-title-row .view-all:hover { color: var(--border); }

.corner-ornament {
  position: absolute;
  width: 48px;
  height: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M2 2 Q24 8 46 2 Q40 24 46 46 Q24 40 2 46 Q8 24 2 2Z' fill='none' stroke='%23c08a2a' stroke-width='1.5'/%3E%3Cpath d='M8 8 Q24 12 40 8' fill='none' stroke='%23c08a2a' stroke-width='1' stroke-dasharray='2,3'/%3E%3Ccircle cx='24' cy='6' r='2' fill='%23c08a2a'/%3E%3Ccircle cx='6' cy='24' r='2' fill='%23c08a2a'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
  opacity: 0.85;
}
.corner-tl { top: 8px; left: 8px; }
.corner-tr { top: 8px; right: 8px; transform: scaleX(-1); }
.corner-bl { bottom: 8px; left: 8px; transform: scaleY(-1); }
.corner-br { bottom: 8px; right: 8px; transform: scale(-1); }

.footer-floral-divider {
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 16' preserveAspectRatio='repeat'%3E%3Cpath d='M0 8 Q50 0 100 8 Q150 16 200 8 Q250 0 300 8 Q350 16 400 8 Q450 0 500 8 Q550 16 600 8 Q650 0 700 8 Q750 16 800 8 Q850 0 900 8 Q950 16 1000 8 Q1050 0 1100 8 Q1150 16 1200 8' fill='none' stroke='%23c08a2a' stroke-width='1.5'/%3E%3Ccircle cx='100' cy='8' r='2' fill='%23c08a2a'/%3E%3Ccircle cx='300' cy='8' r='2' fill='%23c08a2a'/%3E%3Ccircle cx='500' cy='8' r='2' fill='%23c08a2a'/%3E%3Ccircle cx='700' cy='8' r='2' fill='%23c08a2a'/%3E%3Ccircle cx='900' cy='8' r='2' fill='%23c08a2a'/%3E%3Ccircle cx='1100' cy='8' r='2' fill='%23c08a2a'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 1200px 16px;
  background-position: center;
}

input, select, textarea {
  border-radius: 0;
  border: 1px solid var(--border-light);
  background: var(--surface);
  color: var(--text);
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  padding: 10px 12px;
  transition: border-color 120ms ease;
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--border);
  caret-color: var(--border);
}
input.error { border-color: var(--primary); }

.site-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.site-table th {
  background: var(--surface-alt);
  font-weight: 600;
  font-family: 'Roboto', sans-serif;
  padding: 10px 12px;
  border: 1px solid var(--border-light);
  color: var(--text);
  text-align: left;
}
.site-table td {
  padding: 10px 12px;
  border: 1px solid var(--border-light);
  vertical-align: middle;
}
.site-table tr:nth-child(even) td { background: var(--bg); }
.site-table tr:nth-child(odd) td { background: var(--surface); }

.game-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 2px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: border-color 120ms ease, box-shadow 120ms ease, transform 120ms ease;
  position: relative;
}
.game-card:hover {
  border-color: var(--border);
  box-shadow: 2px 2px 0 0 var(--border);
  transform: translateY(-2px);
  color: var(--text);
}
.game-card .card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.game-card .card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.game-card .card-img-wrap .card-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 10px 8px;
  background: linear-gradient(to top, rgba(26,24,25,0.88) 0%, transparent 100%);
}
.game-card .card-overlay .game-name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 2px;
  line-height: 1.3;
}
.game-card .card-overlay .game-meta {
  font-size: 12px;
  color: #c9c7c5;
  margin: 0;
}
.game-card .rtp-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: var(--brand-dark);
  color: var(--border);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 2px;
  z-index: 2;
  line-height: 1.4;
}
.game-card .game-tag {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(18,87,217,0.85);
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 2px;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

[data-component="game-grid"] {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 991px) {
  [data-component="game-grid"] { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 575px) {
  [data-component="game-grid"] { grid-template-columns: repeat(2, 1fr); }
}

[data-component="trust"] {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
[data-component="trust"] li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(192,138,42,0.3);
  border-radius: 2px;
  text-align: center;
}
[data-component="trust"] li i {
  font-size: 20px;
  color: var(--border);
}
[data-component="trust"] li span {
  font-size: 11px;
  font-weight: 500;
  color: #c9c7c5;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  line-height: 1.3;
}
@media (max-width: 575px) {
  [data-component="trust"] { grid-template-columns: repeat(2, 1fr); }
}

[data-component="stats"] {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin: 0;
}
[data-component="stats"] > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
[data-component="stats"] dt {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #9e9c9a;
  margin: 0;
}
[data-component="stats"] dd {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--border);
  margin: 0;
  line-height: 1.2;
}

.site-footer {
  background: var(--brand-darker);
  color: #c9c7c5;
  padding: 48px 0 24px;
}
.site-footer .footer-col-title {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--border);
  margin-bottom: 14px;
}
.site-footer a {
  font-size: 13px;
  color: #9e9c9a;
  display: block;
  margin-bottom: 6px;
  text-decoration: none;
  transition: color 120ms ease;
}
.site-footer a:hover { color: var(--border); }
.site-footer .footer-brand-tagline {
  font-size: 13px;
  color: #9e9c9a;
  margin-top: 8px;
  line-height: 1.5;
}
.site-footer .copyright-row {
  border-top: 1px solid #3d3b3c;
  padding-top: 16px;
  margin-top: 24px;
  text-align: center;
  font-size: 12px;
  color: #6e6c6d;
}
.site-footer .responsible-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--border);
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--border);
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
  html { scroll-behavior: auto; }
}
