:root {
  --header-footer-bg: #0a0f26;
  --btn-green: #69f73b;
  --main-bg: #151e3c;
  --card-bg: #1d2850;
  --text-main: #f3f6ff;
  --text-soft: #cfd8ff;
  --border-soft: rgba(255, 255, 255, 0.15);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Montserrat", "Segoe UI", "Tahoma", sans-serif;
  background:
    radial-gradient(circle at 10% 0%, #233368 0%, transparent 35%),
    radial-gradient(circle at 85% 15%, #294084 0%, transparent 30%),
    var(--main-bg);
  color: var(--text-main);
  line-height: 1.5;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: var(--header-footer-bg);
  border-bottom: 1px solid var(--border-soft);
}

.header-inner {
  width: 100%;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  flex-shrink: 0;
}

.brand img {
  width: 130px;
  height: auto;
}

.header-nav {
  margin-right: auto;
  margin-left: 18px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-nav a {
  font-weight: 700;
  color: var(--text-soft);
  transition: color 0.2s ease;
}

.header-nav a:hover {
  color: #ffffff;
}

.auth-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
  color: #0e142c;
  background: var(--btn-green);
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.btn.secondary {
  opacity: 0.9;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px 50px;
}

.hero {
  padding: 28px;
  background: linear-gradient(140deg, rgba(16, 26, 59, 0.96), rgba(27, 40, 83, 0.95));
  border: 1px solid var(--border-soft);
  border-radius: 22px;
}

.hero-copy {
  text-align: center;
  margin-bottom: 16px;
}

.hero h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.1;
}

.hero p {
  margin: 0;
  color: var(--text-soft);
}

.hero-banner {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--border-soft);
  min-height: 230px;
  object-fit: cover;
}

.hero-cta-wrap {
  margin-top: 18px;
  text-align: center;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: var(--btn-green);
  color: #091128;
  font-weight: 900;
  font-size: 1.02rem;
  border-radius: 999px;
  padding: 14px 30px;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(105, 247, 59, 0.35);
  animation: pulse 1.6s infinite;
  text-decoration: none;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(105, 247, 59, 0.45);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 18px rgba(105, 247, 59, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(105, 247, 59, 0);
  }
}

section {
  margin-top: 36px;
}

section h2 {
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.game-card {
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  background: #111936;
}

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

.seo-section {
  background: rgba(17, 26, 55, 0.65);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 22px;
}

.seo-section h3 {
  margin: 6px 0 10px;
  color: #e6ecff;
}

.seo-section p,
.seo-section li {
  color: #e3e9ff;
}

.seo-section ul,
.seo-section ol {
  margin: 10px 0;
  padding-left: 22px;
}

.seo-source > * + * {
  margin-top: 14px;
}

.page-article h1 {
  margin: 0;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  line-height: 1.2;
}

.seo-inline-image {
  margin: 14px 0;
}

.seo-inline-image img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--border-soft);
}

.source-review,
.source-faq-item {
  background: rgba(15, 24, 49, 0.72);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 14px;
}

.source-review p,
.source-faq-item p {
  margin: 0;
}

.source-review p + p,
.source-faq-item h3 + p {
  margin-top: 8px;
}

.source-faq-item h3 {
  margin: 0;
}

.site-form {
  margin: 18px 0;
  padding: 16px;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  background: rgba(9, 15, 34, 0.62);
}

.site-form h2 {
  margin: 0 0 12px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.form-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-field {
  display: grid;
  gap: 6px;
}

.form-field span {
  font-weight: 700;
  color: #e9efff;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  color: #ebf2ff;
  background: rgba(21, 30, 60, 0.95);
}

.form-field textarea {
  resize: vertical;
}

.form-check {
  margin-top: 12px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.form-check input {
  margin-top: 3px;
}

.form-actions {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.inline-link {
  color: #cbe0ff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}

th,
td {
  border: 1px solid var(--border-soft);
  padding: 10px;
  text-align: left;
}

th {
  background: rgba(105, 247, 59, 0.14);
}

.payments-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px;
}

.payments-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  border-radius: 12px;
  background: #f6f8ff;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.review-card {
  background: var(--card-bg);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 18px;
}

.review-card h3 {
  margin: 0 0 8px;
}

.review-card p {
  margin: 0;
  color: var(--text-soft);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(15, 24, 49, 0.8);
}

.faq-question {
  width: 100%;
  text-align: left;
  border: none;
  color: #ffffff;
  font-weight: 700;
  background: transparent;
  padding: 15px 16px;
  cursor: pointer;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  margin: 0;
  color: #deE6ff;
  padding: 0 16px 16px;
}

.faq-item.active .faq-answer {
  max-height: 180px;
}

.page-updated {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  text-align: center;
  background: rgba(10, 15, 38, 0.55);
  padding: 12px 16px;
}

.page-updated p {
  margin: 0;
  font-weight: 700;
}

.site-footer {
  background: var(--header-footer-bg);
  padding: 28px 20px;
}

.site-footer h2 {
  margin-top: 0;
}

.footer-top,
.footer-links,
.providers-wrap,
.copyright {
  max-width: 1200px;
  margin: 0 auto;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  align-items: center;
}

.trust-grid a {
  min-height: 64px;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.2s ease;
}

.trust-grid a:hover {
  background: rgba(255, 255, 255, 0.11);
}

.trust-grid img {
  max-height: 40px;
  width: auto;
}

.trust-text-link {
  color: #f0f4ff;
  font-weight: 700;
  padding: 8px;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin-top: 20px;
}

.footer-links a {
  color: #e7eeff;
  border-bottom: 1px solid transparent;
}

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

.providers-wrap {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.providers-wrap img {
  width: 100%;
  height: 52px;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.93);
  padding: 8px;
}

.copyright {
  margin-top: 16px;
  color: var(--text-soft);
  font-size: 0.95rem;
}

@media (max-width: 960px) {
  .games-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .payments-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .providers-wrap {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .header-inner {
    padding: 8px 12px;
    gap: 8px;
  }

  .brand img {
    width: 82px;
  }

  .header-nav {
    display: none;
  }

  .auth-buttons {
    margin-left: auto;
    gap: 6px;
  }

  .btn {
    padding: 7px 11px;
    font-size: 0.78rem;
  }

  main {
    padding: 18px 12px 36px;
  }

  .hero {
    padding: 14px;
    border-radius: 15px;
  }

  .hero-banner {
    min-height: 0;
    height: auto;
    object-fit: contain;
    background: rgba(9, 15, 34, 0.7);
  }

  .games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .payments-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .providers-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
