:root {
  --bg-main: #1F2E2B;
  --bg-surface: #243833;
  --accent: #F5C542;
  --accent-hover: #FFD84D;
  --accent-dark: #E6A91E;
  --green: #4CAF50;
  --green-dark: #2E7D32;
  --text: #FFFFFF;
  --text-secondary: #CFCFCF;
  --neon: #B8FF5A;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 2.5rem;
  --radius: 12px;
  --shadow-neon: 0 0 20px rgba(184, 255, 90, 0.45), 0 0 40px rgba(184, 255, 90, 0.2);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, sans-serif;
  background: var(--bg-main);
  color: var(--text);
  line-height: 1.6;
  font-size: 1rem;
}

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

.wrap {
  width: min(100% - 2 * var(--space-md), 1120px);
  margin-inline: auto;
}

@media (min-width: 768px) {
  .wrap { width: min(100% - 2 * var(--space-xl), 1120px); }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(31, 46, 43, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--green-dark);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  min-height: 56px;
}

.logo {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
  text-shadow: 0 0 12px rgba(245, 197, 66, 0.25);
}

.logo span { color: var(--accent); }

@keyframes ctaGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(184, 255, 90, 0), 0 0 0 0 rgba(245, 197, 66, 0.25);
  }
  50% {
    box-shadow: 0 0 18px 2px rgba(184, 255, 90, 0.4), 0 0 28px 4px rgba(245, 197, 66, 0.2);
  }
}

@keyframes ctaPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.035); }
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.15rem;
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--bg-main);
  background: var(--accent);
  border: 2px solid var(--accent-dark);
  border-radius: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, filter 0.2s ease;
  white-space: nowrap;
  animation: ctaGlow 2.6s ease-in-out infinite, ctaPulse 2.2s ease-in-out infinite;
}

.btn-cta:hover {
  animation: none;
  background: var(--accent-hover);
  color: var(--bg-main);
  box-shadow: var(--shadow-neon);
  transform: translateY(-2px);
}

.btn-cta:focus-visible {
  animation: none;
  background: var(--accent-hover);
  color: var(--bg-main);
  box-shadow: var(--shadow-neon);
  transform: translateY(-2px);
  outline: 2px solid var(--neon);
  outline-offset: 2px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.breadcrumbs {
  padding: var(--space-md) 0 var(--space-sm);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.breadcrumbs a {
  color: var(--text-secondary);
  text-decoration: none;
}

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

.breadcrumbs li:not(:last-child)::after {
  content: ">";
  margin-left: 0.35rem;
  color: var(--green);
  font-weight: 700;
}

.hero {
  padding: var(--space-lg) 0 var(--space-2xl);
}

.hero__grid {
  display: flex;
  flex-direction: column-reverse;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 768px) {
  .hero__grid {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-2xl);
  }
}

.hero__content { flex: 1; min-width: 0; }

.hero__img-link {
  display: inline-block;
  line-height: 0;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.hero__img-link:hover .hero__img,
.hero__img-link:focus-visible .hero__img {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px var(--green-dark), 0 0 24px rgba(184, 255, 90, 0.35);
}

.hero__img-link:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 4px;
}

.hero__visual {
  flex-shrink: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__visual-btns {
  justify-content: center;
  margin-top: var(--space-md);
  width: 100%;
  max-width: 480px;
}

.hero__lead {
  margin: var(--space-md) 0 0;
  color: var(--text-secondary);
  font-size: 1.02rem;
}

.hero__img {
  max-width: 480px;
  width: 100%;
  height: auto;
  display: block;
  margin-inline: auto;
  border-radius: var(--radius);
  border: 2px solid var(--green);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px var(--green-dark);
  animation: floatY 4s ease-in-out infinite;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 767px) {
  .hero__img { max-width: min(100%, 380px); }
}

h1 {
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  line-height: 1.15;
  margin: 0 0 var(--space-md);
  color: var(--text);
  text-shadow: 0 0 24px rgba(184, 255, 90, 0.15);
}

h2 {
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  margin: var(--space-xl) 0 var(--space-md);
  color: var(--accent);
  border-left: 4px solid var(--green);
  padding-left: var(--space-md);
}

h3 {
  font-size: 1.1rem;
  margin: var(--space-lg) 0 var(--space-sm);
  color: var(--accent-hover);
}

.lead {
  color: var(--text-secondary);
  font-size: 1.02rem;
  margin-bottom: var(--space-md);
}

section {
  padding: var(--space-lg) 0;
}

section p {
  margin: 0 0 var(--space-md);
  color: var(--text-secondary);
}

section p:last-child { margin-bottom: 0; }

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: var(--space-md) 0;
  border-radius: var(--radius);
  border: 2px solid var(--green);
  background: var(--bg-surface);
}

table.facts caption {
  caption-side: top;
  text-align: left;
  padding: var(--space-sm) var(--space-md);
  font-weight: 800;
  font-size: 1rem;
  color: var(--accent);
  background: var(--bg-surface);
  border-bottom: 1px solid var(--green);
}

table.facts,
table.payments,
table.games {
  width: 100%;
  min-width: 280px;
  border-collapse: collapse;
  color: var(--text);
  font-size: 0.9rem;
}

table.games { min-width: 640px; }

table.payments { min-width: 920px; }

table.payments caption {
  caption-side: top;
  text-align: left;
  padding: var(--space-sm) var(--space-md);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--accent);
  background: var(--bg-surface);
  border-bottom: 1px solid var(--green);
}

table.facts th,
table.facts td,
table.payments th,
table.payments td,
table.games th,
table.games td {
  padding: var(--space-sm) var(--space-md);
  text-align: left;
  border: 1px solid var(--green);
  vertical-align: top;
}

table.facts thead th,
table.payments thead th,
table.games thead th {
  background: var(--green-dark);
  color: var(--text);
  font-weight: 700;
}

table.facts tbody th {
  font-weight: 600;
  color: var(--text-secondary);
  width: 42%;
}

ol.steps {
  margin: 0 0 var(--space-md);
  padding-left: 1.25rem;
  color: var(--text-secondary);
}

ol.steps li { margin-bottom: var(--space-sm); }

ul.games {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text-secondary);
}

ul.games li { margin-bottom: var(--space-sm); }

.pay-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: var(--space-sm);
  margin: var(--space-lg) 0;
  padding: var(--space-md);
  background: var(--bg-surface);
  border-radius: var(--radius);
  border: 2px solid var(--green);
}

.pay-grid img {
  width: 100%;
  height: 48px;
  object-fit: contain;
  padding: var(--space-xs);
  background: rgba(36, 56, 51, 0.6);
  border-radius: 8px;
  border: 1px solid var(--green-dark);
}

.faq details {
  background: var(--bg-surface);
  border: 2px solid var(--green);
  border-radius: var(--radius);
  margin-bottom: var(--space-sm);
  overflow: hidden;
}

.faq summary {
  cursor: pointer;
  padding: var(--space-md);
  font-weight: 700;
  color: var(--text);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}

.faq summary .faq__summary-text {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.25rem;
  font-weight: 800;
}

.faq details[open] summary::after { content: "−"; }

.faq details[open] summary {
  border-bottom: 1px solid var(--green-dark);
  color: var(--accent-hover);
}

.faq .answer {
  padding: var(--space-md);
  color: var(--text-secondary);
  border-top: 1px solid var(--green-dark);
}

.faq .answer p {
  margin: 0;
}

.site-footer {
  margin-top: var(--space-2xl);
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--green-dark);
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
  justify-items: center;
  text-align: center;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: auto 1fr;
    justify-items: start;
    text-align: left;
  }

  .footer-copy {
    justify-self: end;
    text-align: right;
  }
}

.footer-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}

@media (min-width: 640px) {
  .footer-trust { justify-content: flex-start; }
}

.footer-trust a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  text-decoration: none;
}

.footer-trust a:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 4px;
  border-radius: 4px;
}

.footer-trust svg,
.footer-trust img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 200px;
  filter: opacity(0.88);
  transition: filter 0.2s ease, transform 0.2s ease;
}

.footer-trust a:hover svg,
.footer-trust a:hover img,
.footer-trust a:focus-visible svg,
.footer-trust a:focus-visible img {
  filter: opacity(1);
}

.footer-trust .trust-bga {
  height: 40px;
  width: auto;
  max-width: 200px;
}

.footer-trust .trust-gamcare {
  height: 40px;
  width: auto;
  max-width: 148px;
}

.footer-trust .trust-18 {
  height: 44px;
  width: 44px;
  max-width: none;
  border-radius: 50%;
}

.footer-copy p {
  margin: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
