:root {
  --header-footer-bg: #13153f;
  --btn-color: #4caf51;
  --main-bg: #1b1d4a;
  --text: #f2f4ff;
  --muted: #c4caef;
  --card-bg: #232865;
  --line: rgba(255, 255, 255, 0.15);
  --glow: rgba(76, 175, 81, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  font-family: "Avenir Next", "Century Gothic", "Gill Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 15%, rgba(85, 94, 193, 0.45), transparent 35%),
    radial-gradient(circle at 85% 10%, rgba(76, 175, 81, 0.2), transparent 30%),
    linear-gradient(165deg, #1b1d4a 0%, #161943 55%, #111337 100%);
  line-height: 1.55;
}

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

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

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

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

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

.logo-link {
  flex: 0 0 auto;
}

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

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.main-nav a,
.footer-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.main-nav a:hover,
.footer-links a:hover {
  color: #9ad49d;
}

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

.header-btn {
  background: var(--btn-color);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.62rem 0.96rem;
  border-radius: 9px;
  transition: transform 0.18s ease, filter 0.18s ease;
  white-space: nowrap;
}

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

main section {
  padding: 2.7rem 0;
}

h1,
h2,
h3 {
  font-family: "Trebuchet MS", "Gill Sans", "Verdana", sans-serif;
  margin-top: 0;
  color: #fff;
}

h1 {
  text-align: center;
  font-size: clamp(1.9rem, 3.7vw, 3rem);
  margin-bottom: 1.2rem;
}

h2 {
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.03rem, 1.8vw, 1.22rem);
}

.hero-content {
  animation: intro 0.7s ease both;
}

.hero-banner {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

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

.cta-btn {
  background: var(--btn-color);
  color: #fff;
  text-decoration: none;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 0.88rem 2rem;
  border-radius: 999px;
  box-shadow: 0 0 0 0 var(--glow);
  animation: pulse 1.8s infinite;
}

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

.game-card {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 16px;
  background: var(--card-bg);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  animation: rise 0.75s ease both;
}

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

.game-card:nth-child(1) { animation-delay: 0.04s; }
.game-card:nth-child(2) { animation-delay: 0.08s; }
.game-card:nth-child(3) { animation-delay: 0.12s; }
.game-card:nth-child(4) { animation-delay: 0.16s; }
.game-card:nth-child(5) { animation-delay: 0.2s; }
.game-card:nth-child(6) { animation-delay: 0.24s; }
.game-card:nth-child(7) { animation-delay: 0.28s; }
.game-card:nth-child(8) { animation-delay: 0.32s; }
.game-card:nth-child(9) { animation-delay: 0.36s; }
.game-card:nth-child(10) { animation-delay: 0.4s; }

.seo-section,
.payments-section,
.reviews-section,
.faq-section,
.page-updated {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.seo-section p,
.seo-section li,
.seo-section td,
.seo-section th,
.review-card p,
.accordion-content p {
  color: var(--muted);
}

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

.seo-subsection h2 {
  margin-bottom: 0.65rem;
}

.seo-subsection ul {
  margin-top: 0.55rem;
}

.seo-image {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
  margin: 0.55rem 0 1rem;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

.seo-lists {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem 2rem;
}

ul,
ol {
  margin: 0;
  padding-left: 1.15rem;
}

.table-wrap {
  overflow-x: auto;
  margin-top: 1.2rem;
}

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

th,
td {
  border: 1px solid var(--line);
  padding: 0.7rem;
  text-align: left;
}

th {
  color: #fff;
  background: rgba(76, 175, 81, 0.18);
}

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

.payments-grid img {
  width: 100%;
  height: 62px;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
  padding: 0.55rem;
}

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

.review-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  background: rgba(26, 30, 79, 0.8);
}

.review-card h3 {
  margin: 0.65rem 0 0;
}

.review-rating {
  font-size: 1.1rem;
  margin: 0 0 0.4rem;
}

.review-author {
  margin: 0.8rem 0 0;
  color: #e0e4ff;
}

.accordion-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: rgba(24, 28, 74, 0.9);
}

.accordion-trigger {
  width: 100%;
  border: 0;
  background: transparent;
  color: #fff;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  padding: 1rem;
  cursor: pointer;
}

.accordion-trigger[aria-expanded="true"] {
  color: #9ad49d;
}

.accordion-content {
  padding: 0 1rem 1rem;
}

.page-updated {
  text-align: center;
  font-weight: 600;
  font-size: 1.02rem;
}

.site-footer {
  padding: 2rem 0 1.35rem;
  margin-top: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-block h2,
.providers-block h2 {
  margin-bottom: 0.75rem;
}

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

.trust-grid a {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  padding: 0.6rem;
}

.trust-grid img {
  width: 100%;
  height: 64px;
  object-fit: contain;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
  margin: 1.25rem 0;
}

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

.social-links a {
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.38rem 0.72rem;
  background: rgba(255, 255, 255, 0.06);
  font-weight: 700;
  font-size: 0.9rem;
}

.social-links a:hover {
  border-color: #9ad49d;
  color: #9ad49d;
}

.content-page .prose {
  max-width: 980px;
}

.content-page h1 {
  text-align: left;
}

.form-card {
  background: rgba(16, 22, 67, 0.86);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.1rem;
  margin: 0 0 1.35rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.form-card h2 {
  margin: 0 0 0.8rem;
  font-size: 1.25rem;
}

.form-row {
  margin-bottom: 0.82rem;
}

.form-row label {
  display: block;
  color: #f8f9ff;
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  padding: 0.65rem 0.75rem;
  font: inherit;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: #b8bfe7;
}

.form-row select option {
  color: #111;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid rgba(76, 175, 81, 0.45);
  border-color: #4caf51;
}

.inline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.checkbox-line {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
}

.checkbox-line input {
  width: auto;
}

.inline-link {
  color: #9ad49d;
  text-decoration: none;
  font-weight: 600;
}

.inline-link:hover {
  text-decoration: underline;
}

.form-submit-btn {
  border: 0;
  background: #4caf51;
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  padding: 0.72rem 1rem;
  border-radius: 10px;
  cursor: pointer;
}

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

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

.providers-grid img {
  width: 100%;
  height: 56px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  padding: 0.4rem;
}

.copyright {
  margin: 1.25rem 0 0;
  color: #c6caed;
  font-size: 0.95rem;
  text-align: center;
}

.reveal {
  opacity: 1;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 var(--glow);
  }
  70% {
    transform: scale(1.04);
    box-shadow: 0 0 0 18px rgba(76, 175, 81, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(76, 175, 81, 0);
  }
}

@keyframes intro {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

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

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

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

  .logo {
    width: 78px;
  }

  .main-nav {
    display: none;
  }

  .header-actions {
    gap: 0.42rem;
  }

  .header-btn {
    padding: 0.45rem 0.58rem;
    font-size: 0.78rem;
    border-radius: 7px;
  }

  main section {
    padding: 2rem 0;
  }

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

  .seo-lists {
    grid-template-columns: 1fr;
  }

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

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

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

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