:root {
  --bg: #0c0b16;
  --bg-soft: #141224;
  --bg-card: rgba(255,255,255,0.05);
  --line: rgba(255,255,255,0.08);
  --text: #f7f4ff;
  --muted: #beb8d8;
  --accent: #8b5cf6;
  --accent-2: #c084fc;
  --accent-soft: rgba(139,92,246,0.16);
  --shadow: 0 18px 60px rgba(0,0,0,0.35);
  --radius: 24px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(139,92,246,0.22), transparent 34%),
    radial-gradient(circle at top right, rgba(192,132,252,0.12), transparent 28%),
    linear-gradient(180deg, #120f1f 0%, #090810 100%);
  font: 16px/1.7 Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

button, input, textarea, select {
  font: inherit;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.narrow {
  max-width: 860px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(12,11,22,0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.topbar__inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand__mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 24px rgba(139,92,246,0.36);
  color: #fff;
  font-size: 18px;
}

.brand__text {
  text-transform: uppercase;
  font-size: 15px;
}

.menu,
.topbar__actions,
.hero__actions,
.footer__inner {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu a {
  color: var(--muted);
  padding: 9px 12px;
  border-radius: 999px;
  transition: 0.2s ease;
}

.menu a:hover {
  color: var(--text);
  background: rgba(255,255,255,0.05);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--main {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 14px 30px rgba(139,92,246,0.32);
}

.btn--ghost {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255,255,255,0.04);
}

.btn--large {
  min-height: 50px;
  padding: 0 22px;
}

.hero {
  padding: 42px 0 22px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: stretch;
}

.hero__copy,
.hero__promo,
.card,
.game-card,
.faq-item {
  border: 1px solid var(--line);
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero__copy {
  padding: 34px;
  position: relative;
  overflow: hidden;
}

.hero__copy::before {
  content: "";
  position: absolute;
  inset: auto -80px -100px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,0.22), transparent 68%);
  pointer-events: none;
}

.hero__promo {
  padding: 0;
  overflow: hidden;
}

.hero__eyebrow,
.section__eyebrow {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  color: #e4ddff;
  font-size: 14px;
  margin-bottom: 16px;
}

h1 {
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.04;
  margin-bottom: 16px;
  max-width: 12ch;
}

.hero__lead,
.text-flow p,
.game-card p,
.card p,
.footer p,
.faq-answer p {
  color: var(--muted);
}

.hero__lead {
  font-size: 18px;
  max-width: 62ch;
  margin-bottom: 24px;
}

.hero__actions {
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero__points span {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  color: #e7e2ff;
  font-size: 14px;
}

.promo-card {
  min-height: 100%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at top left, rgba(139,92,246,0.32), transparent 34%),
    radial-gradient(circle at bottom right, rgba(192,132,252,0.18), transparent 28%),
    linear-gradient(135deg, #18152a 0%, #100d1d 100%);
}

.promo-card__label {
  color: #ebe6ff;
  font-size: 14px;
  margin-bottom: 12px;
}

.promo-card__value {
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.05;
  font-weight: 900;
  margin-bottom: 16px;
  max-width: 11ch;
}

.promo-card__text {
  color: var(--muted);
  margin-bottom: 26px;
}

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

.promo-card__meta div {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07);
}

.promo-card__meta strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
}

.promo-card__meta span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 22px 0;
}

.section--soft {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
}

.section__heading {
  margin-bottom: 18px;
}

.section__heading h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  margin-bottom: 0;
  max-width: 15ch;
}

.text-flow {
  display: grid;
  gap: 16px;
}

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

.card {
  padding: 24px;
}

.card__num {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: #efe9ff;
  font-weight: 800;
  margin-bottom: 16px;
}

.card h3,
.game-card h3 {
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 10px;
}

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

.game-card {
  padding: 24px;
  min-height: 220px;
  position: relative;
  overflow: hidden;
}

.game-card::before {
  content: "";
  position: absolute;
  inset: auto -20px -20px auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,0.18), transparent 68%);
  pointer-events: none;
}

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

.faq-item {
  overflow: hidden;
}

.faq-question {
  width: 100%;
  border: 0;
  color: var(--text);
  background: transparent;
  text-align: left;
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.faq-answer {
  display: none;
  padding: 0 20px 18px;
}

.faq-item.active .faq-answer {
  display: block;
}

.footer {
  padding: 18px 0 34px;
}

.footer__inner {
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.footer p {
  margin: 6px 0 0;
}

@media (max-width: 1080px) {
  .hero__grid,
  .adv-grid,
  .games-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .promo-card__meta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 840px) {
  .menu {
    display: none;
  }

  .hero__grid,
  .adv-grid,
  .games-grid {
    grid-template-columns: 1fr;
  }

  .footer__inner,
  .topbar__inner {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  h1 {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .hero__copy,
  .promo-card,
  .card,
  .game-card {
    padding: 20px;
  }

  .topbar__inner {
    min-height: 68px;
  }

  .brand__text {
    font-size: 14px;
  }

  .hero {
    padding-top: 24px;
  }

  .hero__lead {
    font-size: 16px;
  }

  .topbar__actions,
  .hero__actions,
  .footer__inner {
    flex-wrap: wrap;
  }
}