:root {
  --bg: #f6f6f6;
  --navy: #172447;
  --navy-border: #2f3a5a;
  --text: #1c2540;
  --card: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Barlow', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

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

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

.site-header,
.site-footer {
  background: var(--navy);
  color: #f6f6f6;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--navy-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
  gap: 1rem;
}

.logo {
  width: 170px;
  height: auto;
}

.header-actions {
  display: flex;
  gap: 0.75rem;
}

.action-btn {
  text-decoration: none;
  background: #f6f6f6;
  color: var(--navy);
  border: 1px solid #f6f6f6;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
}

.hero {
  padding: 3rem 0 2.25rem;
  text-align: center;
}

.page-content {
  padding: 2.2rem 0 2.6rem;
}

h1,
h2,
h3 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.04em;
  margin-top: 0;
  color: var(--navy);
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  margin-bottom: 0.5rem;
}

.hero-banner {
  width: min(920px, 100%);
  margin: 0 auto;
  border-radius: 22px;
  border: 4px solid var(--navy-border);
  box-shadow: 0 16px 30px rgba(23, 36, 71, 0.12);
}

.cta-btn {
  display: inline-block;
  margin-top: 1.4rem;
  background: var(--navy);
  color: #f6f6f6;
  text-decoration: none;
  padding: 0.95rem 2.3rem;
  font-weight: 700;
  border-radius: 12px;
  border: 2px solid var(--navy-border);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(23, 36, 71, 0.5);
  }

  70% {
    transform: scale(1.03);
    box-shadow: 0 0 0 16px rgba(23, 36, 71, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(23, 36, 71, 0);
  }
}

.games-section,
.seo-section,
.payments-section,
.reviews-section,
.faq-section {
  margin-bottom: 2.4rem;
}

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

.game-card {
  background: var(--card);
  border: 1px solid #d8dbe5;
  border-radius: 12px;
  padding: 0.75rem;
  text-align: center;
}

.game-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 0.65rem;
}

.game-card h3 {
  font-family: 'Barlow', sans-serif;
  font-size: 1rem;
  margin: 0;
  letter-spacing: 0;
}

.seo-section p,
.seo-section li,
.seo-section td,
.seo-section th {
  font-size: 1rem;
}

.seo-section ul,
.seo-section ol {
  padding-left: 1.1rem;
}

.seo-section section {
  margin-top: 2rem;
}

.games-selection-image {
  width: min(640px, 100%);
  margin-top: 1rem;
  border-radius: 14px;
  border: 2px solid var(--navy-border);
}

.seo-section .review,
.seo-section .faq {
  background: var(--card);
  border: 1px solid #d8dbe5;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 0.9rem;
}

.seo-section .review h3,
.seo-section .faq h3 {
  font-family: 'Barlow', sans-serif;
  letter-spacing: 0;
  font-size: 1.1rem;
}

.contact-form-section {
  margin-top: 2rem;
  background: var(--card);
  border: 1px solid #d8dbe5;
  border-radius: 14px;
  padding: 1rem;
}

.contact-form {
  display: grid;
  gap: 0.7rem;
}

.contact-form label {
  font-weight: 700;
  color: var(--navy);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #c7ccdb;
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  font: inherit;
  color: var(--text);
  background: #fff;
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form button {
  justify-self: start;
  background: var(--navy);
  color: #f6f6f6;
  border: 2px solid var(--navy-border);
  border-radius: 10px;
  padding: 0.7rem 1.25rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.contact-form button:hover,
.contact-form button:focus-visible {
  filter: brightness(1.08);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid #d8dbe5;
}

th,
td {
  border: 1px solid #d8dbe5;
  padding: 0.75rem;
  text-align: left;
}

th {
  background: #ecedf2;
}

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

.payments-grid img {
  width: 100%;
  height: 58px;
  object-fit: contain;
  background: #fff;
  border: 1px solid #d8dbe5;
  border-radius: 10px;
  padding: 0.5rem;
}

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

.review-card {
  background: var(--card);
  border: 1px solid #d8dbe5;
  border-radius: 12px;
  padding: 1rem;
}

.faq-section details {
  background: var(--card);
  border: 1px solid #d8dbe5;
  border-radius: 10px;
  margin-bottom: 0.8rem;
  padding: 0.85rem 0.95rem;
}

.faq-section summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
}

.updated-block {
  border-top: 1px solid #dde0ea;
  border-bottom: 1px solid #dde0ea;
  background: #eff1f6;
  color: var(--navy);
}

.updated-block p {
  margin: 0;
  padding: 0.9rem 0;
}

.site-footer {
  padding: 2rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.trust-grid img {
  width: 100%;
  height: 74px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  padding: 0.4rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  margin-bottom: 0.9rem;
}

.footer-links a {
  color: #f6f6f6;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  border-bottom-color: #f6f6f6;
}

.copyright {
  margin: 0;
  font-size: 0.95rem;
}

@media (max-width: 980px) {
  .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: 1fr;
  }
}

@media (max-width: 620px) {
  .header-inner {
    flex-direction: column;
  }

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

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

  .action-btn {
    padding: 0.55rem 0.8rem;
    font-size: 0.9rem;
  }
}
