: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:           #020530;
  --surface:      #0f1452;
  --surface-alt:  #080c40;
  --primary:      #ffdf1a;
  --primary-text: #020530;
  --accent:       #ffab2d;
  --brand-purple: #6a1fd0;
  --brand-dark:   #3b1a8f;
  --text:         #f0f0f8;
  --text-muted:   #9497c4;
  --border:       #e0b84a;
  --border-faint: rgba(224,184,74,0.2);
  --border-faint2:rgba(224,184,74,0.35);
}

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

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

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Roboto', sans-serif;
  font-size: 0.9375rem;
  line-height: 1.6;
  overflow-x: hidden;
  text-underline-offset: 3px;
}

body::-webkit-scrollbar { width: 6px; }
body::-webkit-scrollbar-track { background: var(--surface-alt); }
body::-webkit-scrollbar-thumb { background: var(--brand-purple); }

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', sans-serif;
  line-height: 1.2;
  color: var(--text);
}
h1 { font-weight: 700; }
h2 { font-size: 2.25rem; font-weight: 700; }
h3 { font-size: 1.375rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }

p { line-height: 1.6; color: var(--text); }
a { color: var(--primary); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

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

.btn-primary-gt {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: var(--primary-text);
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.5px;
  border: none;
  border-radius: 2px;
  padding: 12px 28px;
  cursor: pointer;
  transition: background 0.15s;
  position: relative;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary-gt::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 14px;
  border: 1px solid var(--primary-text);
  border-radius: 1px;
  flex-shrink: 0;
}
.btn-primary-gt:hover { background: var(--accent); color: var(--primary-text); }
.btn-primary-gt:focus-visible { box-shadow: 0 0 0 2px var(--primary); outline: none; }

.btn-secondary-gt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 0.9375rem;
  border-radius: 2px;
  padding: 12px 24px;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-secondary-gt:hover { border-color: var(--primary); color: var(--primary); }
.btn-secondary-gt:focus-visible { box-shadow: 0 0 0 2px var(--primary); outline: none; }

.btn-brand-gt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-purple);
  color: var(--text);
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.5px;
  border: none;
  border-radius: 2px;
  padding: 12px 28px;
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-brand-gt:hover { background: #7c2eee; color: var(--text); }
.btn-brand-gt:focus-visible { box-shadow: 0 0 0 2px var(--primary); outline: none; }

.gt-navbar {
  background: var(--brand-dark);
  height: 56px;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(224,184,74,0.15);
}
.gt-navbar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    180deg,
    rgba(106,31,208,0.08) 0px,
    rgba(106,31,208,0.08) 2px,
    transparent 2px,
    transparent 6px
  );
  pointer-events: none;
}
.gt-navbar .navbar-brand img {
  height: 40px;
  width: auto;
}
.gt-navbar .nav-link {
  font-family: 'Roboto', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text);
  padding: 0 14px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  line-height: 54px;
}
.gt-navbar .nav-link:hover { color: var(--accent); }
.gt-navbar .nav-link.active { color: var(--primary); border-bottom-color: var(--primary); }
.gt-navbar .navbar-toggler {
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--text);
}
.gt-navbar .navbar-toggler-icon {
  filter: invert(1);
}
.gt-navbar .nav-btn-login {
  border: 1px solid var(--text);
  background: transparent;
  color: var(--text);
  border-radius: 2px;
  padding: 8px 20px;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  transition: border-color 0.15s, color 0.15s;
  text-decoration: none;
  white-space: nowrap;
}
.gt-navbar .nav-btn-login:hover { border-color: var(--primary); color: var(--primary); }
.gt-navbar .nav-btn-register {
  background: var(--primary);
  color: var(--primary-text);
  border: none;
  border-radius: 2px;
  padding: 8px 22px;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  transition: background 0.15s;
  text-decoration: none;
  white-space: nowrap;
}
.gt-navbar .nav-btn-register:hover { background: var(--accent); color: var(--primary-text); }

.gt-section {
  padding-top: clamp(28px, 3.5vw, 44px);
  padding-bottom: clamp(28px, 3.5vw, 44px);
}
.gt-section-alt {
  background: var(--surface-alt);
  background-image: radial-gradient(circle, rgba(224,184,74,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
}
.gt-section-surface {
  background: var(--surface);
}

.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}
.section-subtitle {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

[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); }
}

.game-card {
  background: var(--surface);
  border: 1px solid var(--border-faint);
  border-radius: 2px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
  position: relative;
}
.game-card:hover {
  border-color: var(--border);
  transform: translateY(-2px);
  box-shadow: inset 0 0 12px rgba(106,31,208,0.4);
}
.game-card:hover .game-card-img-wrap::after {
  opacity: 1;
}
.game-card-img-wrap {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}
.game-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.game-card-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(106,31,208,0.15);
  opacity: 0;
  transition: opacity 0.15s;
}
.game-tag {
  display: inline-block;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  color: var(--border);
  font-size: 0.6875rem;
  padding: 2px 6px;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 4px;
}
.game-card-body {
  padding: 10px 12px;
}
.game-card-body h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
  line-height: 1.3;
}
.game-card-body p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

[data-component="trust"] {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
}
[data-component="trust"] li {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border-faint2);
  border-radius: 2px;
  padding: 6px 12px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  white-space: nowrap;
}
[data-component="trust"] li i {
  color: var(--accent);
  font-size: 0.9rem;
}

[data-component="stats"] {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
[data-component="stats"] > div {
  background: var(--surface);
  border: 1px solid var(--border-faint2);
  border-radius: 2px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 130px;
}
[data-component="stats"] i {
  color: var(--accent);
  font-size: 1.25rem;
}
[data-component="stats"] dt {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.2;
}
[data-component="stats"] dd {
  font-family: 'Oswald', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  line-height: 1.2;
}

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

[data-component="steps"] {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}
[data-component="steps"]::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--brand-purple), var(--primary));
}
[data-component="steps"] li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 24px;
  position: relative;
}
[data-component="steps"] li:last-child { margin-bottom: 0; }
.step-num {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--brand-purple);
  border: 2px solid var(--primary);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--primary);
  position: relative;
  z-index: 1;
}
.step-content h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  margin-top: 8px;
}
.step-content p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

[data-component="faq"] details {
  border: 1px solid var(--border-faint);
  border-radius: 2px;
  margin-bottom: 8px;
  background: var(--surface);
  transition: border-color 0.15s;
}
[data-component="faq"] details[open] {
  border-left: 2px solid var(--brand-purple);
}
[data-component="faq"] summary {
  padding: 14px 16px;
  cursor: pointer;
  font-family: 'Roboto', sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  min-height: 44px;
}
[data-component="faq"] summary::after {
  content: '\F282';
  font-family: 'bootstrap-icons';
  color: var(--accent);
  font-size: 0.875rem;
  transition: transform 0.2s;
  flex-shrink: 0;
}
[data-component="faq"] details[open] summary::after {
  transform: rotate(180deg);
}
[data-component="faq"] summary::-webkit-details-marker { display: none; }
[data-component="faq"] .faq-answer {
  padding: 0 16px 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.vip-table-wrap { overflow-x: auto; }
.vip-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.vip-table th {
  background: var(--surface-alt);
  color: var(--border);
  font-family: 'Oswald', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 14px;
  border: 1px solid var(--border-faint);
  text-align: left;
  white-space: nowrap;
}
.vip-table td {
  padding: 10px 14px;
  border: 1px solid var(--border-faint);
  color: var(--text-muted);
  white-space: nowrap;
}
.vip-table tr:hover td { background: rgba(15,20,82,0.5); }
.vip-table .vip-name { color: var(--text); font-weight: 500; }
.vip-table .highlighted-row td { background: rgba(106,31,208,0.12); }
.vip-table .highlighted-row .vip-name { color: var(--primary); }

.gt-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.gt-table th {
  background: var(--surface-alt);
  color: var(--border);
  font-family: 'Oswald', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 14px;
  border: 1px solid var(--border-faint);
  text-align: left;
}
.gt-table td {
  padding: 10px 14px;
  border: 1px solid var(--border-faint);
  color: var(--text-muted);
}
.gt-table td strong { color: var(--text); }
.gt-table tr:hover td { background: rgba(15,20,82,0.5); }

input, select, textarea {
  background: var(--surface);
  border: 1px solid var(--border-faint);
  border-radius: 2px;
  color: var(--text);
  padding: 10px 14px;
  font-family: 'Roboto', sans-serif;
  font-size: 0.9375rem;
  width: 100%;
  transition: border-color 0.15s;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--brand-purple);
  outline: none;
  box-shadow: 0 0 0 2px rgba(106,31,208,0.3);
}
input::placeholder { color: var(--text-muted); }

.gt-footer {
  background: var(--bg);
  border-top: 1px solid rgba(224,184,74,0.25);
}
.gt-footer-grid {
  display: grid;
  grid-template-columns: 22% 1fr 1fr 1fr 1fr 12%;
  gap: 24px;
  padding: clamp(28px,3.5vw,44px) 0;
}
@media (max-width: 991px) {
  .gt-footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .gt-footer-brand { grid-column: 1/-1; }
  .gt-footer-18 { grid-column: 1/-1; justify-self: center; }
}
@media (max-width: 575px) {
  .gt-footer-grid { grid-template-columns: 1fr 1fr; }
}
.gt-footer-brand .brand-logo {
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.gt-footer-brand p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.gt-footer-social { display: flex; gap: 10px; }
.gt-footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid var(--border-faint);
  border-radius: 2px;
  color: var(--border);
  font-size: 1rem;
  transition: border-color 0.15s, color 0.15s;
  text-decoration: none;
}
.gt-footer-social a:hover { border-color: var(--primary); color: var(--primary); }
.gt-footer-col h5 {
  font-family: 'Oswald', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--border);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.gt-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.gt-footer-col ul li { margin-bottom: 7px; }
.gt-footer-col ul li a {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.gt-footer-col ul li a:hover { color: var(--text); }
.gt-footer-18 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.badge-18 {
  width: 52px; height: 52px;
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--border);
}
.gt-footer-18 p {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 100px;
  line-height: 1.4;
}
.gt-footer-copy {
  background: var(--surface-alt);
  padding: 12px 0;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-faint);
}

.text-primary-gt { color: var(--primary) !important; }
.text-accent-gt  { color: var(--accent) !important; }
.text-muted-gt   { color: var(--text-muted) !important; }
.border-faint    { border-color: var(--border-faint) !important; }
.bg-surface      { background: var(--surface); }
.bg-surface-alt  { background: var(--surface-alt); }

.section-label {
  display: inline-block;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--border);
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 0;
  margin-bottom: 10px;
}

.view-all-link {
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s;
}
.view-all-link:hover { color: var(--accent); }

.inner-divider { border-top: 1px solid var(--border-faint); margin: 24px 0; }

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

h1, h2, h3, p, a, li, td, th { overflow-wrap: anywhere; }
