:root {
  --bg: #09080d;
  --bg-soft: #120f1b;
  --surface: #181624;
  --surface-2: #1f1c2e;
  --text: #feffff;
  --muted: #b6b3c6;
  --purple: #663bfa;
  --purple-dark: #5229e0;
  --lilac: #beacff;
  --lime: #bceb4e;
  --lime-dark: #a6d63a;
  --lime-ink: #0c0b10;
  --border: rgba(190, 172, 255, 0.18);
  --radius: 14px;
  --container: 1200px;
  --font-display: 'Unbounded', system-ui, sans-serif;
  --font-body: 'Figtree', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(80% 50% at 100% -10%, rgba(102, 59, 250, 0.28), transparent 55%),
    radial-gradient(60% 40% at 0% 30%, rgba(188, 235, 78, 0.08), transparent 50%);
  background-repeat: no-repeat;
}

a { color: var(--text); text-decoration: none; cursor: pointer; }
a:hover { color: var(--lime); }

img { display: block; width: 100%; height: auto; }

figure { margin: 0; }

h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h1 { font-family: var(--font-display); font-size: 40px; margin: 50px 0 20px; letter-spacing: -0.02em; }
h2 { font-family: var(--font-display); font-size: 30px; margin: 40px 0 18px; letter-spacing: -0.02em; }
h3 { font-size: 24px; margin: 30px 0 14px; color: var(--lilac); }
h4 { font-size: 20px; margin: 24px 0 10px; }

p { margin: 0 0 1em; color: var(--muted); }
strong { color: var(--text); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 15px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px 0;
  background: rgba(9, 8, 13, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; gap: 30px; }

.brand {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text);
}
.brand span { display: block; font-size: 18px; color: var(--lime); }
.brand:hover { color: var(--text); }
.brand img { width: 170px; height: auto; }

.section-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.section-link {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  transition: transform .2s ease, border-color .2s ease;
}
.section-link:hover { transform: translateY(-4px); border-color: var(--lilac); color: var(--text); }
.section-link strong { display: block; font-size: 19px; margin-bottom: 6px; color: var(--lime); }
.section-link span { display: block; font-size: 15px; color: var(--muted); }

.menu-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  color: var(--text);
  font-size: 2rem;
  cursor: pointer;
}

.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 30px; font-weight: 600; font-size: 17px; }
.main-nav a.is-current { color: var(--lime); }

.auth { display: flex; gap: 10px; font-weight: 700; }
.auth a { padding: 10px 20px; border-radius: 12px; white-space: nowrap; border: 1px solid var(--border); }
.auth a:hover { border-color: var(--lilac); color: var(--text); }
.auth .btn-register { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); animation: pulse 2s infinite; }
.auth .btn-register:hover { background: var(--lime-dark); color: var(--lime-ink); }

/* Hero */
.hero { position: relative; border-radius: 22px; overflow: hidden; margin-top: 20px; border: 1px solid var(--border); box-shadow: 0 20px 60px rgba(102, 59, 250, 0.25); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9, 8, 13, 0.85), rgba(9, 8, 13, 0.2)); }
.hero-offer {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 30%;
  transform: translate(-50%, -50%);
  max-width: 600px;
  text-align: center;
  font-size: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero-offer p { color: var(--text); margin: 0; font-weight: 600; }
.hero-offer .offer-value { font-family: var(--font-display); font-size: 32px; font-weight: 800; color: var(--lime); }

.btn-bonus {
  margin-top: 14px;
  background: var(--lime);
  color: var(--lime-ink);
  font-weight: 800;
  font-size: 22px;
  padding: 18px 60px;
  border-radius: 12px;
  animation: pulse 2s infinite;
  transition: background-color .3s ease;
}
.btn-bonus:hover { background: var(--lime-dark); color: var(--lime-ink); }

@keyframes pulse {
  0%, 100% { transform: scale(0.94); }
  50% { transform: scale(1); }
}

/* Games */
.games { margin: 20px auto; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.games-title { display: block; text-align: center; font-family: var(--font-display); font-size: 20px; font-weight: 700; margin-bottom: 14px; }
.games-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.game-card { position: relative; display: block; border-radius: 12px; overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; }
.game-card img { aspect-ratio: 1 / 1; object-fit: cover; }
.game-card span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 10px 8px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  color: var(--text);
  background: linear-gradient(transparent, rgba(9, 8, 13, 0.9));
  opacity: 0;
  transition: opacity .3s ease;
}
.game-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(102, 59, 250, 0.45); }
.game-card:hover span { opacity: 1; }

.games-row { display: flex; justify-content: center; gap: 30px; margin-top: 40px; }
.games-row .game-card { flex: 1; max-width: 380px; }

/* CTA */
.cta { display: flex; justify-content: center; margin-top: 30px; }
.cta a {
  min-width: 250px;
  padding: 15px 30px;
  border-radius: 12px;
  background: var(--purple);
  color: var(--text);
  text-align: center;
  font-weight: 800;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: background-color .3s ease;
}
.cta a:hover { background: var(--purple-dark); color: var(--text); }

/* Promo tiles */
.promo-tiles { display: flex; gap: 20px; justify-content: center; margin-top: 40px; }
.promo-tile {
  flex: 1;
  max-width: 380px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .2s ease;
}
.promo-tile:hover { transform: translateY(-4px); color: var(--text); }
.promo-tile:nth-child(1) { background: linear-gradient(160deg, #663bfa, #2a1670); }
.promo-tile:nth-child(2) { background: linear-gradient(160deg, #3c4d14, #181624); color: var(--lime); }
.promo-tile:nth-child(3) { background: linear-gradient(160deg, #1f1c2e, #3d2a8a); }

/* Content */
.content { padding-bottom: 40px; }
.content section { margin-top: 10px; }

.content ul { padding-left: 1.3em; color: var(--muted); }
.content ul li { margin-bottom: .5em; }
.content ul li::marker { color: var(--lime); }

.content ol { list-style: none; counter-reset: step; padding: 0; margin: 1em 0; }
.content ol li { counter-increment: step; position: relative; padding-left: 3em; margin-bottom: 1em; }
.content ol li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--lime-ink);
  font-weight: 800;
  font-size: 14px;
}

.table-wrap { overflow-x: auto; margin: 20px 0; border-radius: var(--radius); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th, td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
th { background: var(--purple); font-weight: 700; }
td { color: var(--muted); }
tr:nth-child(even) td { background: var(--surface); }
tr:last-child td { border-bottom: 0; }

.usp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 20px; }
.usp-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  transition: transform .2s ease, border-color .2s ease;
}
.usp-card:hover { transform: translateY(-4px); border-color: var(--lilac); }
.usp-card h3 { margin: 8px 0 8px; font-size: 19px; color: var(--text); }
.usp-card p { margin: 0; font-size: 15px; }
.usp-value { font-family: var(--font-display); font-size: 24px; font-weight: 800; color: var(--lime); }

.pros-cons h3 { margin-top: 0; }
.pros h3 { color: var(--lime); }
.cons h3 { color: var(--lilac); }
.pros ul { list-style: none; padding-left: 0; }
.cons ul { list-style: none; padding-left: 0; }
.pros li::before { content: "+"; display: inline-block; width: 22px; font-weight: 800; color: var(--lime); }
.cons li::before { content: "–"; display: inline-block; width: 22px; font-weight: 800; color: var(--lilac); }

.legal h2 { font-size: 24px; }
.legal h3 { font-size: 19px; margin-top: 22px; }

.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pros-cons > div { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 30px 0; margin-top: 40px; background: var(--bg-soft); }
.partners { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; padding-bottom: 28px; }
.partners img { width: 110px; opacity: .85; }
.footer-nav { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 24px 0; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: space-evenly; gap: 12px; text-transform: uppercase; font-weight: 600; font-size: 15px; }
.footer-note { text-align: center; padding-top: 24px; color: var(--muted); font-size: 14px; }

.trust-badges { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; padding: 24px 0 0; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  white-space: nowrap;
  transition: border-color .2s ease, transform .2s ease;
}
a.badge:hover { color: var(--text); border-color: var(--lilac); transform: translateY(-2px); }
.badge small { font-weight: 500; color: var(--muted); margin-left: -6px; }
.badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
}
.badge-rg .badge-icon { background: #ffcc00; color: #111; font-family: Georgia, serif; font-style: italic; }
.badge-tp .badge-icon { background: #00b67a; color: #fff; border-radius: 4px; }
.social-links { display: flex; justify-content: center; gap: 12px; padding: 20px 0 0; }
.social-link { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--text); transition: color .2s, border-color .2s, transform .2s; }
.social-link svg { width: 20px; height: 20px; }
.social-link:hover { color: var(--lime); border-color: var(--lime); transform: translateY(-2px); }
.footer-mail { text-align: center; margin: 16px 0 0; color: var(--muted); font-size: 15px; }
.footer-mail a { color: var(--lime); font-weight: 600; }
.badge-age { width: 44px; padding: 0; justify-content: center; border: 2px solid var(--lime); border-radius: 50%; color: var(--lime); }

/* Contact */
.contact-box { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 20px; }
.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; }
.contact-card h2 { margin-top: 0; font-size: 22px; }
.contact-mail { font-size: 18px; font-weight: 700; color: var(--lime); word-break: break-all; }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--lilac); box-shadow: 0 0 0 3px rgba(102, 59, 250, 0.3); }
.contact-form button {
  align-self: flex-start;
  padding: 14px 36px;
  border: 0;
  border-radius: 12px;
  background: var(--lime);
  color: var(--lime-ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: background-color .2s ease;
}
.contact-form button:hover { background: var(--lime-dark); }
.form-status { min-height: 1.5em; margin: 0; color: var(--lime); font-weight: 600; }

.to-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--lime);
  color: var(--lime-ink);
  font-size: 20px;
  font-weight: 800;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  z-index: 50;
}
.to-top.is-visible { opacity: .8; pointer-events: auto; }
.to-top:hover { opacity: 1; }

/* Responsive */
@media (max-width: 1024px) {
  .games-grid { grid-template-columns: repeat(4, 1fr); }
  .hero-offer { left: 50%; font-size: 18px; width: 90%; }
  .hero-offer .offer-value { font-size: 24px; }
  .hero::after { background: rgba(9, 8, 13, 0.65); }
}

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .site-header { position: static; }
  .site-header .container { flex-wrap: wrap; gap: 12px; }
  .main-nav { display: none; order: 3; flex-basis: 100%; }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 14px; padding: 10px 0; }
  .auth { order: 4; flex-basis: 100%; justify-content: center; }
  h1 { font-size: 28px; }
  h2 { font-size: 23px; }
  h3 { font-size: 20px; }
  .games-grid { grid-template-columns: repeat(3, 1fr); }
  .game-card span { opacity: 1; font-size: 12px; }
  .promo-tiles { flex-direction: column; align-items: center; }
  .promo-tile { width: 100%; height: 120px; font-size: 20px; }
  .pros-cons { grid-template-columns: 1fr; }
  .contact-box { grid-template-columns: 1fr; }
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .hero img { min-height: 280px; object-fit: cover; }
  .btn-bonus { font-size: 17px; padding: 14px 34px; }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .games-row { gap: 12px; }
  .cta a { min-width: 0; width: 100%; font-size: 17px; }
  .usp-grid { grid-template-columns: 1fr; }
}
