:root {
  --header-footer-color: #002223;
  --header-btn-color: #002223;
  --cta-color: #002223;
  --main-bg: #091010;
  --text-primary: #f2fbfb;
  --text-secondary: #c2d8d8;
  --card-bg: #0f1b1b;
  --line-soft: #1e3434;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: var(--main-bg);
  color: var(--text-primary);
}

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

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  background: var(--header-footer-color);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid #0f3d3f;
}

.header-inner {
  width: min(1200px, 94%);
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
}

.logo {
  width: 170px;
  max-height: 58px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.main-nav a {
  color: #d3ecec;
  font-weight: 600;
  font-size: 0.96rem;
  transition: color 0.2s ease;
}

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

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

.header-btn {
  background: var(--header-btn-color);
  border: 1px solid #3d6969;
  color: #f2fbfb;
  padding: 9px 16px;
  border-radius: 9px;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease;
}

.header-btn:hover {
  transform: translateY(-1px);
  background: #003335;
}

main section {
  padding: 44px 0;
}

.hero {
  padding-top: 38px;
}

h1,
h2,
h3 {
  line-height: 1.2;
}

h1 {
  text-align: center;
  margin: 0 0 22px;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.hero-banner {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--line-soft);
  max-height: 500px;
  object-fit: cover;
}

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

.cta-btn {
  display: inline-block;
  background: var(--cta-color);
  color: #f2fbfb;
  font-size: 1.07rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  padding: 14px 34px;
  border-radius: 12px;
  border: 1px solid #417878;
  animation: pulseCta 1.8s infinite;
}

@keyframes pulseCta {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 34, 35, 0.6);
  }
  70% {
    transform: scale(1.045);
    box-shadow: 0 0 0 16px rgba(0, 34, 35, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 34, 35, 0);
  }
}

.games-section h2,
.seo-section h2,
.payments-section h2,
.reviews-section h2,
.faq-section h2 {
  margin-top: 0;
  margin-bottom: 18px;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

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

.game-card {
  background: var(--card-bg);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 10px;
  text-align: center;
  min-height: 182px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.game-card img {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.game-card p {
  margin: 10px 0 0;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.seo-section p,
.seo-section li {
  color: var(--text-secondary);
}

.content-page {
  padding-top: 36px;
}

.source-content {
  max-width: 980px;
  margin: 0 auto;
}

.source-content h1 {
  margin: 0 0 18px;
  font-size: clamp(1.6rem, 2.7vw, 2.35rem);
}

.source-content h2 {
  margin-top: 28px;
}

.source-content h3 {
  margin-top: 20px;
  margin-bottom: 10px;
}

.source-content p,
.source-content li {
  color: var(--text-secondary);
}

.source-content a {
  color: #bceaea;
}

.source-content .section {
  margin-bottom: 20px;
}

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

.source-content .card,
.source-content .official-badge,
.source-content .responsible {
  border: 1px solid var(--line-soft);
  background: var(--card-bg);
  border-radius: 12px;
  padding: 16px;
}

.source-content table {
  display: block;
  width: 100%;
  overflow-x: auto;
}

.source-content table thead,
.source-content table tbody {
  display: table;
  width: 100%;
  min-width: 620px;
}

.form-panel {
  border: 1px solid var(--line-soft);
  background: var(--card-bg);
  border-radius: 12px;
  padding: 18px;
  margin: 14px 0 24px;
}

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

.site-form {
  display: grid;
  gap: 10px;
}

.site-form label {
  font-weight: 600;
  color: #ddf1f1;
}

.site-form input,
.site-form select,
.site-form textarea {
  width: 100%;
  border: 1px solid #355959;
  border-radius: 8px;
  background: #0b1414;
  color: #eaf7f7;
  padding: 10px 12px;
  font: inherit;
}

.site-form input:focus,
.site-form select:focus,
.site-form textarea:focus {
  outline: 2px solid #4e8686;
  outline-offset: 0;
}

.form-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 6px 0;
}

.checkbox-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.checkbox-inline input {
  width: auto;
  margin: 0;
}

.form-submit {
  border: 0;
  cursor: pointer;
}

.seo-section h2 {
  margin-top: 30px;
}

.seo-section h3 {
  margin-top: 24px;
  margin-bottom: 10px;
}

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

.content-image-wrap {
  margin: 14px 0 18px;
}

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

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
}

table {
  border-collapse: collapse;
  width: 100%;
  min-width: 620px;
}

caption {
  text-align: left;
  padding: 14px;
  font-weight: 700;
  color: #ffffff;
}

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

th {
  color: #eef9f9;
}

td {
  color: var(--text-secondary);
}

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

.payments-grid img {
  background: #ffffff;
  border-radius: 10px;
  padding: 10px;
  width: 100%;
  aspect-ratio: 1.9 / 1;
  object-fit: contain;
}

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

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

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

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

.faq-item {
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--card-bg);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  color: #f4fcfc;
  border: 0;
  font-size: 1rem;
  font-weight: 700;
  padding: 16px;
  cursor: pointer;
}

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

.faq-answer p {
  margin: 0;
  padding: 0 16px 16px;
  color: var(--text-secondary);
}

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

.updated-strip {
  background: #0b1616;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  text-align: center;
  padding: 14px 10px;
  color: #d7eeee;
}

.updated-strip p {
  margin: 0;
  font-weight: 600;
}

.site-footer {
  background: var(--header-footer-color);
  padding: 28px 0 24px;
}

.trust-badges,
.providers-grid {
  display: grid;
  gap: 12px;
}

.trust-badges {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 18px;
}

.trust-badges a {
  background: #f7ffff;
  border-radius: 10px;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.trust-badges img {
  max-height: 44px;
  object-fit: contain;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.footer-links a {
  color: #d7eeee;
  font-weight: 600;
  font-size: 0.94rem;
}

.providers-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-bottom: 20px;
}

.providers-grid img {
  background: #ffffff;
  border-radius: 10px;
  padding: 10px;
  width: 100%;
  aspect-ratio: 2.2 / 1;
  object-fit: contain;
}

.copyright {
  margin: 0;
  text-align: center;
  color: #d7eeee;
  font-size: 0.9rem;
}

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

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

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

@media (max-width: 780px) {
  .header-inner {
    min-height: 56px;
    padding: 6px 0;
    gap: 8px;
  }

  .main-nav {
    display: none;
  }

  .logo {
    width: 106px;
    max-height: 32px;
  }

  .header-buttons {
    gap: 6px;
  }

  .header-btn {
    padding: 6px 10px;
    font-size: 0.8rem;
    border-radius: 7px;
  }

  main section {
    padding: 34px 0;
  }

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

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

  .source-content .cards {
    grid-template-columns: 1fr;
  }

  .form-meta {
    flex-direction: column;
    align-items: flex-start;
  }

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

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

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

@media (max-width: 460px) {
  .payments-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
