:root {
  --bg-main: #200922;
  --surface: #2c1031;
  --surface-soft: #3a1742;
  --header-footer: #361039;
  --action: #55b400;
  --text-main: #f7f4fb;
  --text-muted: #d8cbe4;
  --line: #6a3972;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text-main);
  font-family: "Trebuchet MS", "Gill Sans", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 10% 0%, rgba(116, 32, 129, 0.2), transparent 45%),
    radial-gradient(circle at 90% 10%, rgba(85, 180, 0, 0.1), transparent 40%),
    var(--bg-main);
  line-height: 1.5;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--header-footer);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

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

.brand img {
  width: clamp(120px, 14vw, 180px);
  height: auto;
}

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

.top-nav a,
.footer-links a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.top-nav a:hover,
.footer-links a:hover {
  opacity: 0.85;
}

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

.header-btn,
.cta-btn {
  background: var(--action);
  color: #112300;
  text-decoration: none;
  font-weight: 800;
  border-radius: 999px;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.header-btn {
  padding: 0.56rem 1rem;
  font-size: 0.94rem;
}

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

.hero {
  padding: 2.3rem 0 1.5rem;
  text-align: center;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 4.6vw, 3rem);
  letter-spacing: 0.7px;
}

.hero-banner {
  width: min(980px, 100%);
  margin: 0 auto;
  border-radius: 18px;
  border: 2px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.38);
}

.cta-btn {
  margin: 1.4rem auto 0;
  display: inline-block;
  padding: 0.9rem 1.9rem;
  font-size: 1.05rem;
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(85, 180, 0, 0.56);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(85, 180, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(85, 180, 0, 0);
  }
}

section {
  padding: 1.8rem 0;
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
}

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

.game-card {
  background: var(--surface);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

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

.game-card span {
  display: block;
  text-align: center;
  padding: 0.55rem 0.5rem 0.65rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.seo {
  background: linear-gradient(180deg, rgba(90, 28, 99, 0.18), rgba(90, 28, 99, 0.06));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.seo h3 {
  margin: 1.1rem 0 0.55rem;
}

.seo p {
  margin: 0.5rem 0 0.9rem;
}

.seo ul,
.seo ol {
  margin: 0.2rem 0 1rem;
  padding-left: 1.2rem;
}

.seo li {
  margin: 0.32rem 0;
}

.seo-inline-image {
  width: min(860px, 100%);
  margin: 0.5rem auto 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

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

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  background: rgba(32, 9, 34, 0.62);
}

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

th {
  background: rgba(85, 180, 0, 0.17);
}

.payments-grid,
.providers,
.trust-badges {
  display: grid;
  gap: 0.8rem;
}

.payments-grid {
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
}

.payments-grid img {
  width: 100%;
  height: 68px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.93);
  border-radius: 12px;
  padding: 0.4rem;
}

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

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

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

.review-card .review-rating {
  margin-bottom: 0.45rem;
  color: #ffd861;
}

.review-card h3 {
  margin: 0;
  font-size: 1rem;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: rgba(58, 23, 66, 0.72);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--text-main);
  padding: 0.92rem 1rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}

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

.faq-answer p {
  margin: 0;
  padding: 0 1rem 0.95rem;
  color: var(--text-muted);
}

.page-updated {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(34, 8, 37, 0.9);
}

.page-updated p {
  margin: 0;
  padding: 0.9rem 0;
  color: var(--text-muted);
  text-align: center;
}

.site-footer {
  background: var(--header-footer);
  padding: 1.3rem 0 1rem;
}

.trust-badges {
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
}

.trust-badges a {
  display: block;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 0.45rem;
}

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

.footer-links {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
  justify-content: center;
}

.providers {
  margin-top: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
}

.providers img {
  width: 100%;
  height: 64px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 0.45rem;
}

.copyright {
  text-align: center;
  margin: 1rem 0 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.inner-page {
  padding: 1.6rem 0 2rem;
}

.content-card {
  background: linear-gradient(180deg, rgba(58, 23, 66, 0.82), rgba(44, 16, 49, 0.82));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: clamp(1rem, 2vw, 1.5rem);
}

.content-card h1 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.5rem, 3.7vw, 2.35rem);
}

.content-card h2 {
  margin-top: 1.25rem;
}

.content-card h3 {
  margin-top: 1rem;
}

.content-card p {
  margin: 0.55rem 0 0.9rem;
  color: var(--text-muted);
}

.content-card ul,
.content-card ol {
  margin: 0.4rem 0 1rem;
  padding-left: 1.2rem;
}

.content-card li {
  margin: 0.34rem 0;
}

.content-card .contact-page {
  display: block;
}

.site-form {
  margin: 1rem 0 1.3rem;
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(32, 9, 34, 0.7);
}

.site-form h2 {
  margin-top: 0;
}

.form-grid {
  display: grid;
  gap: 0.45rem;
}

.form-grid label {
  font-weight: 700;
  color: var(--text-main);
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  color: var(--text-main);
  padding: 0.62rem 0.7rem;
  font: inherit;
}

.form-grid select option {
  color: #1a1a1a;
}

.form-grid textarea {
  resize: vertical;
  min-height: 120px;
}

.form-actions {
  margin-top: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

.form-link {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

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

@media (max-width: 640px) {
  .site-header {
    padding: 0.18rem 0;
  }

  .header-inner {
    min-height: 52px;
    gap: 0.4rem;
  }

  .brand img {
    width: 84px;
  }

  .top-nav {
    display: none;
  }

  .auth-actions {
    gap: 0.4rem;
  }

  .header-btn {
    padding: 0.42rem 0.66rem;
    font-size: 0.8rem;
  }

  .hero {
    padding-top: 1.4rem;
  }

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

  .cta-btn {
    width: min(240px, 100%);
  }
}
