@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@400;500;600;700;800&display=swap');

:root {
  --bg-main: #0d3032;
  --bg-panel: #153d40;
  --bg-header-footer: #24353d;
  --text-main: #e9f8f6;
  --text-muted: #b9d8d2;
  --accent: #40a88b;
  --login: #1f3035;
  --border: #2f5558;
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: 'Lexend', sans-serif;
  background: radial-gradient(circle at top right, #155558 0%, var(--bg-main) 42%) fixed;
  color: var(--text-main);
  line-height: 1.6;
}

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

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

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

.site-header,
.site-footer {
  background: var(--bg-header-footer);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}

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

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

.main-nav a {
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

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

.header-actions {
  display: flex;
  gap: 10px;
}

.btn {
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-login {
  background: #1f3035;
}

.btn-register {
  background: #40a88b;
  color: #082b2d;
}

.hero {
  padding: 56px 0 28px;
}

.hero-content {
  text-align: center;
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(2rem, 3vw, 3.1rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-banner {
  width: min(980px, 100%);
  border-radius: 18px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

.hero-text-block {
  margin: 18px auto 0;
  max-width: 900px;
}

.hero-text-block p {
  margin: 8px 0;
  color: #d4ebe7;
}

.cta-btn {
  display: inline-block;
  margin-top: 22px;
  padding: 14px 34px;
  background: #40a88b;
  color: #07292a;
  font-size: 1.1rem;
  font-weight: 800;
  border-radius: 999px;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(64, 168, 139, 0.6);
  }
  70% {
    transform: scale(1.03);
    box-shadow: 0 0 0 16px rgba(64, 168, 139, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(64, 168, 139, 0);
  }
}

section {
  padding: 38px 0;
}

.content-main {
  padding: 38px 0 20px;
}

.section-illustration {
  width: min(900px, 100%);
  margin: 10px 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.page-content h1 {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 2.7vw, 2.6rem);
}

.page-content p {
  color: #d4ebe7;
}

.page-content ul,
.page-content ol {
  padding-left: 24px;
}

.page-content table {
  margin-top: 12px;
}

.form-card {
  margin: 18px 0 28px;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(9, 33, 35, 0.45);
}

.form-grid {
  display: grid;
  gap: 12px;
}

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

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

.form-field span {
  color: #d6ebe8;
  font-weight: 600;
  font-size: 0.95rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid #2f6164;
  background: #102f33;
  color: #eaf9f6;
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #40a88b;
  box-shadow: 0 0 0 3px rgba(64, 168, 139, 0.2);
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 14px;
  color: #d4ebe7;
}

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

.form-submit {
  border: 0;
  background: #40a88b;
  color: #07292a;
  font: inherit;
  font-weight: 800;
  border-radius: 10px;
  padding: 12px 18px;
  cursor: pointer;
}

.form-submit:hover {
  filter: brightness(1.05);
}

.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.form-link {
  color: #8dd9c4;
  font-weight: 600;
}

.form-link:hover {
  color: #b5efe0;
}

.app-download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 20px;
}

.store-download-btn {
  display: inline-block;
  padding: 11px 18px;
  border-radius: 10px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.ios-btn {
  background: #1f3035;
  color: #eaf9f6;
}

.android-btn {
  background: #40a88b;
  color: #062a2b;
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(1.5rem, 2.2vw, 2.2rem);
}

h3 {
  margin: 24px 0 10px;
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
}

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

.game-card {
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

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

.seo-content {
  background: linear-gradient(145deg, rgba(26, 73, 78, 0.8), rgba(17, 54, 58, 0.88));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px;
}

.seo-content p,
.seo-content li,
.seo-content td,
.seo-content th {
  color: #d4ebe7;
}

.seo-content ul,
.seo-content ol {
  padding-left: 24px;
}

.table-wrapper {
  margin-top: 12px;
  overflow-x: auto;
}

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

th,
td {
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px;
  text-align: left;
}

th {
  background: rgba(64, 168, 139, 0.18);
}

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

.payment-item {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  padding: 12px;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-item img {
  max-height: 46px;
  width: auto;
  object-fit: contain;
}

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

.review-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}

.review-card h3 {
  margin-top: 0;
}

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

.faq-list details {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
}

.updated-section {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #173f42;
}

.updated-inner {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-footer {
  padding: 28px 0;
}

.footer-inner {
  display: grid;
  gap: 16px;
}

.trust-badges {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.trust-badges img {
  height: 38px;
  width: auto;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  padding: 4px 8px;
}

.providers-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
}

.providers-footer p {
  margin: 0;
  flex-basis: 100%;
  font-weight: 700;
  color: var(--text-muted);
}

.providers-footer img {
  height: 28px;
  width: auto;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4px 8px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.footer-links a {
  color: var(--text-muted);
}

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

.copyright {
  margin: 0;
  color: var(--text-muted);
}

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

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

@media (max-width: 820px) {
  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
  }

  .main-nav,
  .header-actions {
    width: 100%;
    justify-content: center;
  }

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

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

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

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

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

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

  .payment-item {
    min-height: 72px;
  }
}
