:root {
  --header-footer-bg: #5abcfc;
  --button-bg: #76f9d4;
  --page-bg: #f9f8fd;
  --text-main: #183248;
  --card-bg: #ffffff;
  --border-soft: #d3e7f5;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-main);
  background: var(--page-bg);
  line-height: 1.5;
}

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

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

.section {
  padding: 2.5rem 0;
}

h1,
h2,
h3 {
  margin-top: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-footer-bg);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
}

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

.header-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-nav a {
  font-weight: 700;
  text-decoration: none;
  color: #073a5f;
}

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

.header-btn {
  border: 0;
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-weight: 700;
  color: #053247;
  background: var(--button-bg);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero {
  text-align: center;
}

.hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 1rem;
}

.hero-banner {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 12px 35px rgba(18, 63, 93, 0.15);
}

.hero-cta-wrap {
  margin-top: 1.25rem;
  display: flex;
  justify-content: center;
}

.hero-cta {
  background: var(--button-bg);
  color: #053247;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(118, 249, 212, 0.8);
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(118, 249, 212, 0.9);
  }

  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 16px rgba(118, 249, 212, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(118, 249, 212, 0);
  }
}

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

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

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

.seo-block ul,
.seo-block ol {
  padding-left: 1.25rem;
}

.seo-block article {
  margin-top: 2.1rem;
}

.seo-block > article:first-child {
  margin-top: 0;
}

.content-page h1 {
  margin-bottom: 1rem;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.seo-inline-image {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  margin: 0.7rem 0 1rem;
}

.form-card {
  margin: 1.2rem 0 1.8rem;
  padding: 1rem;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: #ffffff;
}

.site-form {
  display: grid;
  gap: 0.8rem;
}

.form-field {
  display: grid;
  gap: 0.35rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid #bdd4e6;
  border-radius: 8px;
  padding: 0.65rem 0.7rem;
  font: inherit;
  color: var(--text-main);
  background: #fff;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid #9ddcf9;
  border-color: #8cc6e4;
}

.form-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.95rem;
}

.form-link {
  color: #0f3d5c;
  font-weight: 600;
  text-decoration: none;
}

.form-submit {
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  width: fit-content;
  background: var(--button-bg);
  color: #053247;
  font-weight: 700;
  cursor: pointer;
}

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

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

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

th {
  background: #e8f4ff;
}

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

.logo-grid img {
  width: 100%;
  max-height: 48px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 0.6rem;
}

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

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

.faq-list {
  display: grid;
  gap: 0.7rem;
}

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

.faq-question {
  width: 100%;
  background: #fff;
  border: 0;
  padding: 0.9rem 1rem;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.24s ease;
  padding: 0 1rem;
}

.faq-item.open .faq-answer {
  max-height: 480px;
  padding: 0 1rem 0.9rem;
}

.page-updated {
  background: #edf7ff;
  border-top: 1px solid #c6dced;
  border-bottom: 1px solid #c6dced;
}

.page-updated p {
  margin: 0;
  padding: 0.9rem 0;
  font-weight: 600;
}

.site-footer {
  background: var(--header-footer-bg);
  padding: 1.4rem 0 1.2rem;
}

.footer-inner {
  display: grid;
  gap: 1.2rem;
}

.trust-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.trust-links a {
  display: inline-flex;
}

.trust-links img {
  width: 118px;
  height: 48px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  padding: 0.45rem;
  border: 1px solid #a8d7f6;
}

.footer-policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
}

.footer-policy-links a {
  color: #0f3d5c;
  text-decoration: none;
  font-weight: 600;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.social-links a {
  color: #0f3d5c;
  text-decoration: none;
  font-weight: 600;
}

.providers-block {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0.7rem;
}

.providers-block img {
  width: 100%;
  max-height: 40px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #a8d7f6;
  padding: 0.4rem;
}

.copyright {
  margin: 0;
  color: #0e3854;
  font-weight: 600;
}

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

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

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

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

@media (max-width: 768px) {
  .header-inner {
    min-height: 56px;
    gap: 0.5rem;
    padding: 0.35rem 0;
  }

  .logo {
    width: 105px;
  }

  .header-nav {
    display: none;
  }

  .header-actions {
    gap: 0.35rem;
  }

  .header-btn {
    padding: 0.4rem 0.65rem;
    font-size: 0.82rem;
  }

  .section {
    padding: 2rem 0;
  }

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

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

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

@media (max-width: 460px) {
  .header-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .header-btn {
    padding: 0.32rem 0.55rem;
    line-height: 1.2;
  }

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