: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: #f7f7fa;
  --surface: #fdfdfe;
  --surface-alt: #ededf0;
  --primary: #cf2823;
  --primary-dark: #a81e1a;
  --brand-blue: #0f30ad;
  --brand-blue-dark: #0a2279;
  --accent: #ac691c;
  --border-gold: #b99a2c;
  --text: #111318;
  --text-muted: #4a4e5a;
  --nav-link: #d0d8f0;
  --shadow-hard: 6px 6px 0 rgba(0,0,0,0.65);
  --shadow-hard-hover: 8px 8px 0 rgba(0,0,0,0.70);
  --shadow-card: 4px 4px 0 rgba(0,0,0,0.55);
}

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

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

body {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.01em;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

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

:focus-visible {
  outline: 3px solid var(--border-gold);
  outline-offset: 3px;
}

a {
  color: var(--brand-blue);
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}
a:hover {
  color: var(--primary);
  text-decoration-color: var(--primary);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Sora', sans-serif;
  line-height: 1.2;
  color: var(--text);
  overflow-wrap: anywhere;
}
h1 { font-size: 40px; font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: 28px; font-weight: 700; }
h3 { font-size: 18px; font-weight: 600; }

p { line-height: 1.65; margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.btn-primary-cta {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  border: 3px solid var(--primary-dark);
  border-radius: 4px;
  padding: 14px 32px;
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: var(--shadow-hard);
  text-decoration: none;
  transition: all 0.15s ease-out;
  cursor: pointer;
}
.btn-primary-cta:hover {
  background: var(--primary-dark);
  color: #fff;
  box-shadow: var(--shadow-hard-hover);
  transform: translate(-2px, -2px);
  text-decoration: none;
}
.btn-primary-cta:focus-visible {
  outline: 3px solid var(--border-gold);
  outline-offset: 3px;
}

.btn-secondary-cta {
  display: inline-block;
  background: transparent;
  color: var(--brand-blue);
  border: 3px solid var(--brand-blue);
  border-radius: 4px;
  padding: 12px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.15s ease-out;
  cursor: pointer;
}
.btn-secondary-cta:hover {
  background: var(--brand-blue);
  color: #fff;
  box-shadow: 6px 6px 0 rgba(0,0,0,0.55);
  text-decoration: none;
}

.btn-gold-outline {
  display: inline-block;
  background: transparent;
  color: var(--border-gold);
  border: 3px solid var(--border-gold);
  border-radius: 4px;
  padding: 12px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.15s ease-out;
}
.btn-gold-outline:hover {
  background: var(--border-gold);
  color: var(--text);
  box-shadow: 6px 6px 0 rgba(0,0,0,0.55);
  text-decoration: none;
}

.site-navbar {
  background: var(--brand-blue-dark);
  box-shadow: 0 3px 0 var(--brand-blue);
  padding-top: 0;
  padding-bottom: 0;
  min-height: 60px;
  position: sticky;
  top: 0;
  z-index: 1030;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='4' height='4'><rect width='1' height='1' fill='white' opacity='0.08'/></svg>");
}

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

.site-navbar .nav-link {
  color: var(--nav-link) !important;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 8px 10px !important;
  border-bottom: 3px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.site-navbar .nav-link:hover {
  color: #fff !important;
  border-bottom-color: var(--border-gold);
}
.site-navbar .nav-link.active {
  color: #fff !important;
  border-bottom-color: var(--primary);
}

.nav-btn-login {
  border: 2px solid #fff;
  background: transparent;
  color: #fff !important;
  border-radius: 4px;
  padding: 6px 16px !important;
  margin-left: 6px;
  font-size: 13px !important;
  font-weight: 600 !important;
  transition: background 0.15s;
  border-bottom: 2px solid #fff !important;
}
.nav-btn-login:hover {
  background: rgba(255,255,255,0.12) !important;
}

.nav-btn-register {
  border: 2px solid var(--primary) !important;
  background: var(--primary) !important;
  color: #fff !important;
  border-radius: 4px;
  padding: 6px 16px !important;
  margin-left: 6px;
  font-size: 13px !important;
  font-weight: 600 !important;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.65);
  border-bottom: 2px solid var(--primary) !important;
  transition: background 0.15s;
}
.nav-btn-register:hover {
  background: var(--primary-dark) !important;
  border-color: var(--primary-dark) !important;
}

.navbar-toggler {
  border-color: rgba(255,255,255,0.4);
  min-width: 44px;
  min-height: 44px;
}
.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%28255,255,255,0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

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

.section-dark-banner {
  background: var(--brand-blue-dark);
  border-top: 4px solid var(--border-gold);
  border-bottom: 4px solid var(--border-gold);
  box-shadow: 6px 6px 0 rgba(0,0,0,0.70);
  padding: clamp(28px, 3.5vw, 44px) 0;
}

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

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 8px;
}
.section-header h2 { margin: 0; }
.view-all-link {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-blue);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.view-all-link:hover {
  color: var(--primary);
}
.view-all-link i { font-size: 11px; }

[data-component="game-grid"] {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@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); }
}

.game-card {
  display: block;
  background: var(--surface);
  border: 3px solid var(--text);
  border-radius: 0;
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: var(--text);
  transition: all 0.15s ease;
  position: relative;
  overflow: hidden;
}
.game-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 10px 10px 0 rgba(0,0,0,0.65);
  border-color: var(--brand-blue);
  color: var(--text);
  text-decoration: none;
}

.game-card-img {
  position: relative;
  width: 100%;
  padding-top: 100%;
  overflow: hidden;
  border-bottom: 3px solid var(--text);
}
.game-card-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
}
.game-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.80) 0%, rgba(0,0,0,0) 100%);
  padding: 20px 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.game-tag {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--brand-blue);
  padding: 2px 7px;
  border-radius: 0;
  margin-bottom: 4px;
}
.game-tag.live-tag {
  background: var(--primary);
}
.game-tag.crash-tag {
  background: var(--accent);
}
.game-tag.fishing-tag {
  background: #0a6e4e;
}

.rtp-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--border-gold);
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 0;
  z-index: 2;
}

.game-card-body {
  padding: 10px 12px;
}
.game-card-body h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 2px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.game-card-body p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

[data-component="trust"] {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 10px;
  justify-content: flex-start;
  flex-wrap: wrap;
}
@media (max-width: 575px) {
  [data-component="trust"] {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }
}
[data-component="trust"] li {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(0,0,0,0.45);
  border: 2px solid rgba(185,154,44,0.5);
  border-radius: 4px;
  padding: 6px 12px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  min-height: 44px;
}
[data-component="trust"] li i {
  color: var(--border-gold);
  font-size: 16px;
}

[data-component="stats"] {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}
[data-component="stats"] > div {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0,0,0,0.55);
  border: 3px solid rgba(185,154,44,0.6);
  border-radius: 4px;
  padding: 10px 16px;
  min-height: 44px;
  min-width: 120px;
}
[data-component="stats"] dt {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin: 0;
  line-height: 1.2;
}
[data-component="stats"] dd {
  font-family: 'Sora', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin: 0;
  line-height: 1;
}
[data-component="stats"] i {
  font-size: 22px;
  color: var(--border-gold);
  flex-shrink: 0;
}

[data-component="steps"] {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}
[data-component="steps"]::before {
  content: '';
  position: absolute;
  left: 21px;
  top: 44px;
  bottom: 44px;
  width: 3px;
  background: var(--border-gold);
}
[data-component="steps"] li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 28px;
  position: relative;
}
[data-component="steps"] li:last-child { margin-bottom: 0; }

.step-number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--primary-dark);
  border-radius: 4px;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.55);
  position: relative;
  z-index: 1;
}

.step-content {
  flex: 1;
  border: 3px solid var(--brand-blue);
  border-radius: 4px;
  padding: 14px 18px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.step-content h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--brand-blue);
}
.step-content p { font-size: 14px; color: var(--text-muted); margin: 0; }

[data-component="payments"] {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
@media (max-width: 767px) {
  [data-component="payments"] { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 479px) {
  [data-component="payments"] { grid-template-columns: repeat(2, 1fr); }
}
[data-component="payments"] li {
  background: var(--surface);
  border: 3px solid var(--border-gold);
  border-radius: 4px;
  padding: 16px 10px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: all 0.15s ease;
}
[data-component="payments"] li:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(0,0,0,0.55);
}
.payment-name {
  font-family: 'Sora', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  display: block;
  margin-bottom: 6px;
}
.payment-detail {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  display: block;
}

[data-component="faq"] details {
  border-bottom: 3px solid var(--surface-alt);
  padding: 0;
}
[data-component="faq"] summary {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  padding: 16px 40px 16px 4px;
  cursor: pointer;
  list-style: none;
  position: relative;
  user-select: none;
}
[data-component="faq"] summary::-webkit-details-marker { display: none; }
[data-component="faq"] summary::after {
  content: '\F282';
  font-family: 'bootstrap-icons';
  font-size: 18px;
  color: var(--brand-blue);
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}
[data-component="faq"] details[open] summary::after {
  transform: translateY(-50%) rotate(180deg);
}
[data-component="faq"] .faq-answer {
  background: var(--surface-alt);
  padding: 14px 16px;
  margin-bottom: 0;
  font-size: 14px;
  color: var(--text-muted);
  border-left: 4px solid var(--brand-blue);
}

[data-component="vip"] .vip-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 3px solid var(--text);
  box-shadow: var(--shadow-card);
}
[data-component="vip"] .vip-table th {
  background: var(--brand-blue);
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 12px 10px;
  text-align: left;
  border-right: 2px solid rgba(255,255,255,0.15);
  border-bottom: 3px solid var(--text);
  letter-spacing: 0.03em;
  white-space: nowrap;
}
[data-component="vip"] .vip-table td {
  font-size: 13px;
  padding: 11px 10px;
  border-right: 2px solid rgba(0,0,0,0.08);
  border-bottom: 2px solid rgba(0,0,0,0.08);
  vertical-align: middle;
  white-space: nowrap;
}
[data-component="vip"] .vip-table tr:nth-child(odd) td { background: var(--surface); }
[data-component="vip"] .vip-table tr:nth-child(even) td { background: var(--surface-alt); }
[data-component="vip"] .vip-table tr:last-child td { border-bottom: none; }

.tier-bronze { color: #cd7f32; font-weight: 700; }
.tier-silver { color: #a8a9ad; font-weight: 700; }
.tier-gold { color: #d4a017; font-weight: 700; }
.tier-platinum { color: #5f9ea0; font-weight: 700; }
.tier-diamond { color: #4fc3f7; font-weight: 700; }

.site-footer {
  background: var(--brand-blue-dark);
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='4' height='4'><rect width='1' height='1' fill='white' opacity='0.08'/></svg>");
  padding: 64px 0 0;
  color: #a0aec8;
}

.footer-logo-text {
  font-family: 'Sora', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  border-bottom: 3px solid var(--border-gold);
  display: inline-block;
  line-height: 1;
  padding-bottom: 2px;
}
.footer-logo-text:hover { color: var(--border-gold); }

.footer-tagline {
  font-size: 13px;
  color: #a0aec8;
  margin-top: 10px;
}

.responsible-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 2px solid var(--border-gold);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  margin-top: 14px;
  letter-spacing: 0.04em;
}
.responsible-badge i { font-size: 18px; color: var(--border-gold); }

.footer-col-title {
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--border-gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer ul li { margin-bottom: 8px; }
.site-footer ul a {
  font-size: 13px;
  color: #a0aec8;
  text-decoration: none;
  transition: color 0.15s;
}
.site-footer ul a:hover { color: #fff; }

.footer-bottom {
  border-top: 2px solid rgba(255,255,255,0.12);
  padding: 24px 0;
  margin-top: 48px;
  text-align: center;
  font-size: 12px;
  color: #6b7ba0;
}

.section-img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border: 3px solid var(--text);
  box-shadow: var(--shadow-card);
  border-radius: 0;
  object-fit: cover;
}

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