: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: #f4f1f6;
  --surface: #fcfbfc;
  --surface-alt: #eae7ec;
  --primary: #562693;
  --primary-dark: #3c1b67;
  --action: #dd5a15;
  --action-dark: #c24d10;
  --accent: #b0225d;
  --text: #1a1020;
  --text-muted: #5a4f66;
  --border: #bc9438;
  --nav-link: #e8d8ff;
  --nav-link-hover: #ffffff;
  --shadow: 6px 6px 0 rgba(0,0,0,0.65);
  --shadow-hover: 10px 10px 0 rgba(0,0,0,0.65);
  --shadow-gold: 6px 6px 0 rgba(188,148,56,0.7);
  --radius: 4px;
  --radius-sm: 2px;
}

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

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

body {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  overflow-x: hidden;
  background-image: repeating-linear-gradient(0deg, transparent, transparent 23px, rgba(188,148,56,0.08) 24px);
}

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

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

a {
  color: var(--primary);
  text-decoration-offset: 3px;
  text-underline-offset: 3px;
}

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

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.25;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 700; }

p { max-width: 72ch; }

.label-sm {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: 'Source Sans 3', sans-serif;
}

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

overflow-wrap { overflow-wrap: anywhere; }

.site-nav {
  background-color: var(--primary);
  min-height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--border);
}

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

.site-nav .nav-link {
  color: var(--nav-link);
  font-weight: 600;
  font-size: 0.92rem;
  font-family: 'Source Sans 3', sans-serif;
  padding: 0.4rem 0.75rem;
  text-underline-offset: 4px;
  transition: color 0.15s;
}

.site-nav .nav-link:hover,
.site-nav .nav-link:focus {
  color: var(--nav-link-hover);
  text-decoration: underline;
}

.site-nav .nav-link.active {
  color: #ffffff;
  border-bottom: 3px solid var(--border);
}

.site-nav .navbar-toggler {
  border: 2px solid rgba(255,255,255,0.5);
  color: #fff;
}

.site-nav .navbar-toggler-icon {
  filter: invert(1);
}

.btn-nav-login {
  background: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 7px 20px;
  border-radius: var(--radius);
  font-family: 'Source Sans 3', sans-serif;
  text-decoration: none;
  transition: background 0.15s;
  display: inline-block;
}

.btn-nav-login:hover, .btn-nav-login:focus {
  background: rgba(255,255,255,0.15);
  color: #ffffff;
}

.btn-nav-register {
  background: var(--action);
  border: 2px solid var(--action);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 7px 20px;
  border-radius: var(--radius);
  font-family: 'Source Sans 3', sans-serif;
  text-decoration: none;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.5);
  transition: all 0.15s;
  display: inline-block;
}

.btn-nav-register:hover, .btn-nav-register:focus {
  background: var(--action-dark);
  border-color: var(--action-dark);
  color: #ffffff;
  box-shadow: 6px 6px 0 rgba(0,0,0,0.5);
}

.btn-primary-action {
  background: var(--action);
  color: #ffffff;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border: 3px solid var(--action);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: all 0.15s ease-out;
  text-decoration: none;
  display: inline-block;
  line-height: 1.3;
}

.btn-primary-action:hover {
  background: var(--action-dark);
  border-color: var(--action-dark);
  color: #ffffff;
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hover);
}

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

.btn-secondary-action {
  background: var(--surface);
  color: var(--primary);
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 28px;
  border: 3px solid var(--primary);
  border-radius: var(--radius);
  box-shadow: 4px 4px 0 rgba(86,38,147,0.4);
  cursor: pointer;
  transition: all 0.15s ease-out;
  text-decoration: none;
  display: inline-block;
  line-height: 1.3;
}

.btn-secondary-action:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 rgba(86,38,147,0.5);
}

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

.btn-accent-action {
  background: var(--surface);
  color: var(--accent);
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 28px;
  border: 3px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: 4px 4px 0 rgba(176,34,93,0.4);
  cursor: pointer;
  transition: all 0.15s ease-out;
  text-decoration: none;
  display: inline-block;
  line-height: 1.3;
}

.btn-accent-action:hover {
  background: var(--accent);
  color: #ffffff;
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 rgba(176,34,93,0.5);
}

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

[data-component="trust"] {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

[data-component="trust"] li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  font-family: 'Source Sans 3', sans-serif;
}

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

[data-component="stats"] {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0;
  padding: 0;
}

[data-component="stats"] > div {
  display: flex;
  flex-direction: column;
  border-left: 3px solid var(--border);
  padding-left: 12px;
}

[data-component="stats"] dt {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  font-family: 'Source Sans 3', sans-serif;
  margin: 0;
}

[data-component="stats"] dd {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  font-family: 'Playfair Display', serif;
  margin: 0;
  line-height: 1.2;
}

[data-component="game-grid"] {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

@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); gap: 12px; }
}

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

.game-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-hover);
  color: var(--text);
}

.game-card-img {
  position: relative;
  overflow: hidden;
  height: 150px;
}

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

.game-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(26,16,32,0.85) 0%, transparent 100%);
  padding: 24px 10px 8px;
}

.game-card-body {
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  flex: 1;
}

.game-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 2px;
  font-family: 'Playfair Display', serif;
  color: var(--text);
  line-height: 1.2;
}

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

.game-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  color: #ffffff;
  white-space: nowrap;
  flex-shrink: 0;
}

.tag-slots { background: var(--border); }
.tag-lottery { background: var(--primary); }
.tag-sports { background: var(--text); }
.tag-fishing { background: #1a6e3c; }
.tag-cards { background: var(--accent); }
.tag-crash { background: #c24d10; }
.tag-live { background: var(--accent); }
.tag-new { background: var(--primary); }
.tag-hot { background: var(--action); }

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

[data-component="steps"]::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: repeating-linear-gradient(to bottom, var(--border) 0, var(--border) 8px, transparent 8px, transparent 14px);
}

[data-component="steps"] li {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
  position: relative;
}

[data-component="steps"] li:last-child { margin-bottom: 0; }

.step-num {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border: 3px solid var(--primary);
  background: var(--surface);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary);
  position: relative;
  z-index: 1;
  box-shadow: 3px 3px 0 rgba(86,38,147,0.3);
}

.step-body {
  border-bottom: 2px dashed var(--border);
  padding-bottom: 20px;
  flex: 1;
}

[data-component="steps"] li:last-child .step-body {
  border-bottom: none;
  padding-bottom: 0;
}

.step-body h3 {
  font-size: 1.1rem;
  margin: 0 0 6px;
  color: var(--primary);
}

.step-body p { margin: 0; font-size: 0.95rem; max-width: 60ch; }

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

[data-component="bonus"] {
  border: 3px solid var(--text);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: var(--surface);
}

[data-component="vip"] table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

[data-component="vip"] th {
  background: var(--primary);
  color: #ffffff;
  padding: 10px 12px;
  text-align: left;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

[data-component="vip"] td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--surface-alt);
  color: var(--text);
  vertical-align: middle;
}

[data-component="vip"] tr:nth-child(even) td { background: var(--bg); }
[data-component="vip"] tr:hover td { background: rgba(86,38,147,0.05); }

[data-component="faq"] details {
  border: 3px solid var(--text);
  border-radius: var(--radius);
  box-shadow: 4px 4px 0 rgba(0,0,0,0.5);
  margin-bottom: 14px;
  background: var(--surface);
  overflow: hidden;
}

[data-component="faq"] summary {
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 600;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  user-select: none;
}

[data-component="faq"] summary::-webkit-details-marker { display: none; }

[data-component="faq"] summary::before {
  content: '';
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary);
  min-width: 28px;
}

[data-component="faq"] details:nth-child(1) summary::before { content: '1.'; }
[data-component="faq"] details:nth-child(2) summary::before { content: '2.'; }
[data-component="faq"] details:nth-child(3) summary::before { content: '3.'; }
[data-component="faq"] details:nth-child(4) summary::before { content: '4.'; }
[data-component="faq"] details:nth-child(5) summary::before { content: '5.'; }
[data-component="faq"] details:nth-child(6) summary::before { content: '6.'; }
[data-component="faq"] details:nth-child(7) summary::before { content: '7.'; }
[data-component="faq"] details:nth-child(8) summary::before { content: '8.'; }
[data-component="faq"] details:nth-child(9) summary::before { content: '9.'; }

[data-component="faq"] summary .faq-arrow {
  margin-left: auto;
  color: var(--action);
  transition: transform 0.2s ease-out;
}

[data-component="faq"] details[open] summary .faq-arrow {
  transform: rotate(180deg);
}

[data-component="faq"] details[open] summary {
  border-bottom: 2px solid var(--surface-alt);
}

[data-component="faq"] .faq-body {
  padding: 16px 20px 16px 60px;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.site-footer {
  background: var(--text);
  color: #e8d8ff;
  padding: 48px clamp(1.5rem, 6vw, 6rem) 24px;
  border-top: 4px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr;
  gap: 32px;
}

@media (max-width: 991px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-col-logo { grid-column: 1 / -1; }
}

@media (max-width: 575px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-col-logo { grid-column: 1 / -1; }
  .footer-col-legal { grid-column: 1 / -1; }
}

.footer-logo {
  color: #a788e0;
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 1.8rem;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 10px;
}

.footer-col-title {
  color: var(--border);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: 'Source Sans 3', sans-serif;
  margin-bottom: 10px;
  display: block;
}

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

.footer-links li { margin-bottom: 2px; }

.footer-links a {
  color: #a788e0;
  font-size: 0.88rem;
  line-height: 2;
  text-decoration: none;
  font-family: 'Source Sans 3', sans-serif;
  transition: color 0.15s;
}

.footer-links a:hover { color: #ffffff; }

.badge-18 {
  width: 56px;
  height: 56px;
  border: 2px solid var(--action);
  color: var(--action);
  font-weight: 900;
  font-size: 1.1rem;
  font-family: 'Playfair Display', serif;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(188,148,56,0.3);
  margin-top: 32px;
  padding-top: 16px;
  font-size: 0.8rem;
  color: rgba(232,216,255,0.6);
  font-family: 'Source Sans 3', sans-serif;
}

.bg-alt {
  background-color: var(--surface-alt);
  background-image: repeating-linear-gradient(0deg, transparent, transparent 23px, rgba(188,148,56,0.08) 24px);
}

.bg-surface {
  background-color: var(--surface);
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.section-heading h2 { margin: 0; }

.section-heading a {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.brut-card {
  background: var(--surface);
  border: 3px solid var(--text);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;
}

.brut-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hover);
}

.bonus-banner {
  background: var(--primary-dark);
  border-top: 4px solid var(--border);
  border-bottom: 4px solid var(--border);
  position: relative;
  overflow: hidden;
}

.bonus-banner::before {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle at 92% 50%, rgba(86,38,147,0.18) 0%, transparent 60%);
  pointer-events: none;
}

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

@media (max-width: 575px) {
  h1 { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  h2 { font-size: clamp(1.4rem, 5vw, 1.9rem); }
  .btn-primary-action, .btn-secondary-action { padding: 12px 22px; font-size: 0.95rem; }
}
