: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: #e5f6fa;
  --surface: #f7fcfe;
  --surface-alt: #dcecf0;
  --primary: #2a7370;
  --primary-dark: #1d504e;
  --cta: #ea4812;
  --cta-dark: #c73a0e;
  --accent: #e40e52;
  --border-gold: #ad952e;
  --text: #0f2d2c;
  --text-muted: #3d6462;
  --white: #ffffff;
  --clip-card: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  --clip-sm: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  --shadow-card: 2px 2px 0px #ad952e, 0 4px 16px rgba(42,115,112,0.10);
  --shadow-card-hover: 3px 3px 0px #ea4812, 0 8px 24px rgba(42,115,112,0.18);
  --shadow-btn: 2px 2px 0px #1d504e, 0 2px 8px rgba(234,72,18,0.25);
  --shadow-btn-hover: 3px 3px 0px #ad952e, 0 4px 16px rgba(234,72,18,0.40);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-color: #2a7370 #dcecf0;
  scrollbar-width: thin;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #dcecf0; }
::-webkit-scrollbar-thumb { background: #2a7370; }

::selection { background: #2a7370; color: #ffffff; }

body {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  background-image: repeating-linear-gradient(180deg, transparent 0px, transparent 28px, rgba(42,115,112,0.06) 28px, rgba(42,115,112,0.06) 32px);
  margin: 0;
  overflow-wrap: anywhere;
  text-underline-offset: 3px;
  caret-color: #2a7370;
}

a { color: var(--primary); text-decoration-color: transparent; transition: color 0.2s, text-decoration-color 0.2s; }
a:hover { color: var(--cta); text-decoration-color: currentColor; }
a:focus-visible { outline: 2px solid var(--border-gold); outline-offset: 2px; border-radius: 0; }

h1, h2, h3, h4 { font-family: 'Righteous', sans-serif; color: var(--text); line-height: 1.2; }
h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); letter-spacing: -0.02em; line-height: 1.1; }
h2 { font-size: clamp(1.4rem, 3vw, 2.25rem); letter-spacing: -0.01em; line-height: 1.2; }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); line-height: 1.25; }
h4 { font-size: 1.125rem; font-family: 'Poppins', sans-serif; font-weight: 600; line-height: 1.3; }

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

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  border-radius: 0;
  background: var(--cta);
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 32px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow-btn);
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}
.btn-cta:hover {
  background: var(--cta-dark);
  color: #ffffff;
  box-shadow: var(--shadow-btn-hover);
  transform: translateY(-1px);
  text-decoration: none;
}
.btn-cta:focus-visible { outline: 2px solid var(--border-gold); outline-offset: 2px; }
.btn-cta:active { transform: translateY(0); box-shadow: var(--shadow-btn); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  border-radius: 0;
  background: var(--surface);
  color: var(--primary);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 28px;
  border: 2px solid var(--border-gold);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}
.btn-secondary:hover {
  background: var(--surface-alt);
  border-color: var(--cta);
  color: var(--cta);
  transform: translateY(-1px);
  text-decoration: none;
}
.btn-secondary:focus-visible { outline: 2px solid var(--border-gold); outline-offset: 2px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  border-radius: 0;
  background: transparent;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 10px 20px;
  border: 2px solid #ffffff;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); color: #ffffff; text-decoration: none; }

.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  border-radius: 0;
  background: var(--accent);
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 32px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow-btn);
  transition: background 0.2s, transform 0.15s;
}
.btn-accent:hover { background: #c20b45; color: #ffffff; transform: translateY(-1px); text-decoration: none; }

.site-navbar {
  background-color: #2a7370;
  box-shadow: 0 2px 0px #ad952e;
  min-height: 64px;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.site-navbar .navbar-brand img {
  height: 40px;
  width: auto;
}
.site-navbar .nav-link {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.9375rem;
  color: #e0f4f3 !important;
  padding: 8px 12px;
  position: relative;
  transition: color 0.2s;
}
.site-navbar .nav-link:hover { color: #ffffff !important; }
.site-navbar .nav-link.active {
  color: #ffffff !important;
}
.site-navbar .nav-link.active::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  height: 3px;
  background: #ad952e;
}
.site-navbar .navbar-toggler {
  border-color: rgba(255,255,255,0.4);
  color: #ffffff;
  min-width: 44px;
  min-height: 44px;
}
.site-navbar .navbar-toggler-icon {
  filter: invert(1);
}
.site-navbar .navbar-collapse {
  background: #2a7370;
}

.section-divider {
  border: none;
  border-top: 2px solid var(--border-gold);
  margin: 0;
}

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

.section-alt {
  background-color: var(--surface-alt);
  background-image:
    repeating-linear-gradient(180deg, transparent 0px, transparent 28px, rgba(42,115,112,0.06) 28px, rgba(42,115,112,0.06) 32px),
    repeating-linear-gradient(90deg, transparent 0, transparent 60px, rgba(173,149,46,0.04) 60px, rgba(173,149,46,0.04) 62px);
}
.section-surface {
  background-color: var(--surface);
  background-image: repeating-linear-gradient(180deg, transparent 0px, transparent 28px, rgba(42,115,112,0.06) 28px, rgba(42,115,112,0.06) 32px);
}
.section-dark {
  background-color: var(--primary-dark);
  background-image: repeating-linear-gradient(180deg, rgba(255,255,255,0.03) 0, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 20px);
}

.clip-card {
  clip-path: var(--clip-card);
  border-radius: 0;
  background: var(--surface);
  border: 2px solid var(--border-gold);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.clip-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
  border-color: var(--cta);
}
.clip-tag {
  clip-path: var(--clip-sm);
  border-radius: 0;
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  padding: 2px 10px;
  background: var(--surface-alt);
  color: var(--primary);
  border: 1px solid var(--border-gold);
}
.clip-badge {
  clip-path: var(--clip-sm);
  border-radius: 0;
  background: var(--primary);
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

[data-component="trust"] {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
}
[data-component="trust"] li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--surface);
}
[data-component="trust"] li i {
  font-size: 1rem;
  color: var(--border-gold);
}

[data-component="stats"] {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0;
  margin: 0;
}
[data-component="stats"] > div {
  padding: 14px 20px;
  border-right: 1px solid rgba(173,149,46,0.3);
  text-align: center;
}
[data-component="stats"] > div:last-child { border-right: none; }
[data-component="stats"] dt {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  margin-bottom: 2px;
}
[data-component="stats"] dd {
  font-family: 'Righteous', sans-serif;
  font-size: 1.5rem;
  color: var(--primary);
  margin: 0;
  line-height: 1.1;
}

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

a.game-card {
  display: block;
  text-decoration: none;
  clip-path: var(--clip-card);
  border-radius: 0;
  background: var(--surface);
  border: 2px solid var(--border-gold);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  position: relative;
}
a.game-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
  border-color: var(--cta);
  text-decoration: none;
}
.game-card .game-img-wrap {
  position: relative;
  overflow: hidden;
}
.game-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.game-card:hover img { transform: scale(1.04); }
.game-card .game-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(29,80,78,0.75) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 10px;
  opacity: 0;
  transition: opacity 0.2s;
}
.game-card:hover .game-overlay { opacity: 1; }
.game-card .game-play-icon {
  width: 44px;
  height: 44px;
  background: rgba(234,72,18,0.9);
  clip-path: var(--clip-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.game-card .game-play-icon i { color: #fff; font-size: 1.25rem; }
.game-card .game-info {
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.game-card h3 {
  font-size: 0.85rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}
.game-card .game-tag {
  clip-path: var(--clip-sm);
  background: var(--surface-alt);
  color: var(--primary);
  border: 1px solid var(--border-gold);
  font-size: 0.65rem;
  font-weight: 600;
  padding: 2px 7px;
  white-space: nowrap;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.04em;
}
.game-card p {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin: 0 0 6px;
  padding: 0 10px;
  line-height: 1.3;
  max-width: 100%;
}

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

[data-component="bonus"] {
  clip-path: var(--clip-card);
  border: 2px solid var(--border-gold);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  padding: 28px;
}

[data-component="vip"] {
  overflow-x: auto;
}

[data-component="steps"] {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
@media (max-width: 767px) {
  [data-component="steps"] { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  [data-component="steps"] .step-arrow { display: none; }
}
@media (max-width: 400px) { [data-component="steps"] { grid-template-columns: 1fr; } }

[data-component="faq"] details {
  border-bottom: 2px solid var(--border-gold);
}
[data-component="faq"] details:first-of-type { border-top: 2px solid var(--border-gold); }
[data-component="faq"] summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  list-style: none;
  user-select: none;
}
[data-component="faq"] summary::-webkit-details-marker { display: none; }
[data-component="faq"] summary::after {
  content: '\F4FE';
  font-family: 'bootstrap-icons';
  margin-left: auto;
  font-size: 1.1rem;
  color: var(--border-gold);
  flex-shrink: 0;
  transition: transform 0.2s;
}
[data-component="faq"] details[open] summary::after {
  content: '\F2EA';
}
[data-component="faq"] details > div {
  padding: 0 0 16px 36px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}
[data-component="faq"] summary:focus-visible { outline: 2px solid var(--border-gold); outline-offset: 2px; }

.site-footer {
  background-color: #0f2d2c;
  background-image: repeating-linear-gradient(180deg, rgba(255,255,255,0.015) 0, rgba(255,255,255,0.015) 1px, transparent 1px, transparent 20px);
  border-top: 2px solid var(--border-gold);
  color: #9ecfcc;
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
}
.site-footer a { color: #9ecfcc; text-decoration: none; }
.site-footer a:hover { color: #ffffff; }
.site-footer .footer-col-title {
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--border-gold);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.site-footer .footer-brand {
  font-family: 'Righteous', sans-serif;
  font-size: 1.5rem;
  color: #ffffff;
}
.site-footer .footer-copyright {
  border-top: 1px solid rgba(173,149,46,0.3);
  font-size: 0.75rem;
  color: #3d6462;
  text-align: center;
  padding: 16px 0;
  margin-top: 32px;
}

.scoreboard-card {
  background: #0f2d2c;
  clip-path: var(--clip-card);
  border: 2px solid var(--border-gold);
  padding: 16px 20px;
  color: var(--border-gold);
  font-family: 'Righteous', sans-serif;
}
.scoreboard-card .score-big {
  font-size: 2.2rem;
  color: #ffffff;
  line-height: 1;
}
.scoreboard-card .score-label {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--border-gold);
  text-transform: uppercase;
}

.pp-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
}
.pp-table thead tr {
  background: var(--primary);
  color: #ffffff;
}
.pp-table thead th {
  padding: 10px 14px;
  font-weight: 600;
  text-align: left;
  border: none;
}
.pp-table tbody tr:nth-child(odd) { background: var(--surface); }
.pp-table tbody tr:nth-child(even) { background: var(--surface-alt); }
.pp-table tbody td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(173,149,46,0.2);
  color: var(--text);
}
.pp-table tbody tr:hover td { background: rgba(42,115,112,0.06); }

.section-h2 {
  position: relative;
  padding-left: 16px;
}
.section-h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.1em;
  bottom: 0.1em;
  width: 4px;
  background: var(--border-gold);
}

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