:root {
  --bg: #121522;
  --bg-2: #171b2b;
  --bg-3: #23283a;
  --card: #252b3f;
  --card-soft: #2d3348;
  --line: #373d52;
  --text: #f5f7ff;
  --muted: #a9bfd2;
  --accent: #e77d0e;
  --accent-2: #ff9b21;
  --green: #33c27f;
  --red: #ff5c5c;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

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

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

/* --- Навигация и Шапка --- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 78px;
  display: grid;
  grid-template-columns: 82px 1fr auto;
  align-items: center;
  background: rgba(18, 21, 34, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.burger {
  height: 78px;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line);
}

.burger span,
.burger span::before,
.burger span::after {
  display: block;
  width: 25px;
  height: 3px;
  border-radius: 4px;
  background: #fff;
  content: "";
}

.burger span {
  position: relative;
}

.burger span::before {
  position: absolute;
  top: -9px;
}

.burger span::after {
  position: absolute;
  top: 9px;
  width: 17px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 0 34px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
}

.logo {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -2px;
  margin-right: 22px;
}

.logo span {
  color: var(--accent);
}

.logo img {
  height: auto;
  max-height: 100%;
}

.nav a {
  color: #fff;
  opacity: 0.92;
}

.nav a:hover,
.nav a.active {
  color: var(--accent-2);
}

.actions {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 24px;
}

/* --- Интеграция сетки верхнего уровня --- */
.section:not(.sidebar),
.footer {
  max-width: 1280px;
  width: calc(100% - 82px);
  margin-left: calc(82px + (100% - 82px - min(1280px, calc(100% - 82px))) / 2);
  margin-right: auto;
}

/* --- Кнопки и интерактивные элементы --- */
.act-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 28px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  font-size: 16px;
  color: #fff;
  background: var(--card-soft);
}

.act-trigger-accent {
  background: linear-gradient(180deg, #f28b13, #d96f06);
}

.act-trigger:hover {
  filter: brightness(1.08);
}

.lang {
  min-width: 66px;
  padding: 0 18px;
}

/* --- Боковое меню (Sidebar) --- */
.sidebar {
  position: fixed;
  top: 78px;
  left: 0;
  width: 82px;
  height: calc(100vh - 78px);
  background: #151927;
  border-right: 1px solid var(--line);
  padding: 24px 10px;
  overflow: auto;
  z-index: 40;
}

.side-link {
  display: grid;
  place-items: center;
  width: 52px;
  height: 48px;
  margin: 4px auto;
  border-radius: 14px;
  color: var(--muted);
  font-size: 20px;
}

.side-link:hover,
.side-link.active {
  background: var(--card);
  color: #fff;
}

/* --- Секции и карточки --- */
.hero {
  position: relative;
  min-height: 420px;
  border-radius: 24px;
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      rgba(13, 16, 28, 0.94) 0%,
      rgba(13, 16, 28, 0.78) 38%,
      rgba(13, 16, 28, 0.25) 100%
    ),
    radial-gradient(
      circle at 75% 35%,
      rgba(231, 125, 14, 0.48),
      transparent 28%
    ),
    linear-gradient(135deg, #261138, #181c2b 48%, #3b1d14);
  box-shadow: var(--shadow);
  padding: 56px 64px;
  display: flex;
  align-items: center;
}

.hero::after {
  content: "";
  position: absolute;
  right: 7%;
  bottom: -10%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.2) 0 6%, transparent 7% 100%),
    conic-gradient(
      from 0deg,
      #fff 0 13%,
      #e77d0e 13% 25%,
      #fff 25% 38%,
      #e77d0e 38% 50%,
      #fff 50% 63%,
      #e77d0e 63% 75%,
      #fff 75% 88%,
      #e77d0e 88% 100%
    );
  opacity: 0.16;
  transform: rotate(18deg);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 690px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 800;
  margin-bottom: 18px;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1;
  letter-spacing: -2px;
}

.hero-lead {
  max-width: 760px;
  color: #dbe7f6;
  font-size: 20px;
  margin: 0 0 28px;
}

.hero-bonus {
  display: block;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  font-weight: 900;
  margin-bottom: 12px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #dbe7f6;
  font-size: 14px;
  font-weight: 700;
}

.quick-nav {
  margin: 24px 0 28px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.quick-nav a {
  flex: 0 0 auto;
  background: var(--card);
  color: #dbe7f6;
  padding: 11px 16px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
}

.quick-nav a:hover {
  border-color: var(--accent);
  color: #fff;
}

.section-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.8px;
}

h3 {
  margin: 24px 0 12px;
  font-size: 22px;
  line-height: 1.25;
}

p {
  color: var(--muted);
  margin: 0 0 16px;
  font-size: 17px;
}

.lead {
  font-size: 18px;
  color: #d6e5f5;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

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

.mini-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px;
}

.mini-card strong {
  display: block;
  font-size: 20px;
  margin-bottom: 6px;
}

.mini-card span {
  color: var(--muted);
}

/* --- Таблицы --- */
.table-wrap {
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid var(--line);
  margin: 18px 0;
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: var(--card);
}

th,
td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  color: #fff;
  background: #30364d;
  font-size: 15px;
}

td {
  color: #d5e4f4;
  font-size: 15px;
}

tr:last-child td {
  border-bottom: 0;
}

/* --- Списки --- */
.check-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 10px;
}

.check-list li {
  position: relative;
  padding: 12px 14px 12px 42px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: #d8e6f6;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 14px;
  top: 10px;
  color: var(--green);
  font-weight: 900;
}

.number-list {
  counter-reset: item;
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}

.number-list li {
  counter-increment: item;
  position: relative;
  padding: 14px 14px 14px 54px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: #d8e6f6;
}

.number-list li::before {
  content: counter(item);
  position: absolute;
  left: 14px;
  top: 11px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
}

/* --- Сетка промо --- */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.promo-card {
  min-height: 172px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.04)),
    linear-gradient(135deg, #1e3b87, #43135a 58%, #162036);
  border: 1px solid rgba(231, 125, 14, 0.55);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  position: relative;
}

.promo-card::before {
  content: "";
  position: absolute;
  right: -28px;
  top: -28px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: rgba(231, 125, 14, 0.28);
}

.promo-card small {
  color: #b7c9dd;
  font-weight: 700;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

.promo-card strong {
  font-size: 26px;
  line-height: 1.1;
  position: relative;
  z-index: 1;
}

.filters {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin: 18px 0;
}

.filter {
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--card);
  color: #d8e6f6;
  padding: 10px 16px;
  font-weight: 800;
}

.filter.active {
  background: var(--accent);
  color: #fff;
}

/* --- Карточки игр --- */
.game-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}

.game {
  aspect-ratio: auto;
  min-height: 220px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}

.game::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.1) 46%,
    rgba(0, 0, 0, 0.82) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.game-media {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #2d3348, #171b2b);
  display: grid;
  place-items: center;
}

.game-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
}

.game-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 18px;
  text-align: center;
  font-size: 15px;
  line-height: 1.25;
  color: #dbe7f6;
  background:
    radial-gradient(
      circle at 70% 18%,
      rgba(255, 155, 33, 0.3),
      transparent 28%
    ),
    linear-gradient(135deg, #262d47, #151927 55%, #451c0d);
}

.game:nth-child(2n) .game-placeholder {
  background:
    radial-gradient(
      circle at 72% 20%,
      rgba(51, 194, 127, 0.24),
      transparent 28%
    ),
    linear-gradient(135deg, #163521, #151927 55%, #0d2d19);
}

.game:nth-child(3n) .game-placeholder {
  background:
    radial-gradient(
      circle at 72% 20%,
      rgba(65, 162, 255, 0.25),
      transparent 28%
    ),
    linear-gradient(135deg, #142a6e, #151927 58%, #090f29);
}

.game:nth-child(4n) .game-placeholder {
  background:
    radial-gradient(
      circle at 72% 20%,
      rgba(214, 35, 168, 0.26),
      transparent 28%
    ),
    linear-gradient(135deg, #43115d, #151927 58%, #13051e);
}

.game-content {
  position: relative;
  z-index: 3;
  padding: 14px;
  width: 100%;
}

.game-title {
  display: block;
  font-size: 16px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 10px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.42);
}

.game-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.game-trigger {
  min-height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  background: linear-gradient(180deg, #f28b13, #d96f06);
  color: #fff;
  border: 0;
  cursor: pointer;
}

.game-trigger.demo {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.game-trigger:hover {
  filter: brightness(1.08);
}

/* --- Спортивные карты --- */
.sport-card {
  background:
    linear-gradient(90deg, rgba(14, 19, 36, 0.98), rgba(22, 35, 78, 0.8)),
    radial-gradient(
      circle at 80% 32%,
      rgba(255, 255, 255, 0.18),
      transparent 22%
    ),
    linear-gradient(135deg, #0d1635, #244eb5);
  border: 1px solid #314d8e;
  border-radius: 22px;
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.sport-card::after {
  content: "2026";
  position: absolute;
  right: 28px;
  top: 12px;
  font-size: 104px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.06);
  line-height: 1;
}

.sport-card h2,
.sport-card p,
.sport-card .sport-actions {
  position: relative;
  z-index: 2;
}

.sport-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

/* --- Апликация и тултипы --- */
.app-box {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

.phone {
  width: 280px;
  height: 540px;
  margin: 0 auto;
  border-radius: 42px;
  background: #0d101b;
  border: 10px solid #30364d;
  box-shadow: var(--shadow);
  padding: 24px 18px;
}

.phone-screen {
  height: 100%;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(231, 125, 14, 0.16), transparent 32%), #171b2b;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.phone-card {
  background: var(--card);
  border-radius: 16px;
  padding: 14px;
  color: #fff;
  font-weight: 800;
}

.app-download-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 22px 0;
}

.app-dl-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f28b13, #d96f06);
  color: #fff;
  font-weight: 900;
  border: 0;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(231, 125, 14, 0.22);
}

.app-dl-trigger.secondary {
  background: #2d3348;
}

.app-dl-trigger .store-icon {
  font-size: 22px;
  line-height: 1;
}

.info-dot {
  position: relative;
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 14px);
  transform: translateX(-50%) translateY(6px);
  width: 310px;
  padding: 16px;
  border-radius: 16px;
  background: #111625;
  border: 1px solid #373d52;
  color: #dbe7f6;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
  z-index: 100;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.38);
  text-align: left;
}

.tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: #111625;
}

.tooltip strong {
  display: block;
  color: #fff;
  margin-bottom: 8px;
  font-size: 15px;
}

.tooltip ol {
  margin: 0;
  padding-left: 18px;
}

.tooltip li {
  margin: 6px 0;
  color: #a9bfd2;
  font-size: 14px;
  line-height: 1.35;
}

.info-dot:hover .tooltip,
.app-dl-trigger:focus-within .tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* --- Отзывы --- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 22px 0;
}

.review-card {
  background: #252b3f;
  border: 1px solid #373d52;
  border-radius: 18px;
  padding: 20px;
}

.review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.review-name {
  font-weight: 900;
  color: #fff;
}

.review-stars {
  color: #ff9b21;
  letter-spacing: 1px;
  font-size: 14px;
  white-space: nowrap;
}

.review-card p {
  margin: 0;
  color: #d5e4f4;
  font-size: 15px;
}

.warning {
  border-left: 4px solid var(--accent);
  background: rgba(231, 125, 14, 0.1);
  padding: 16px 18px;
  border-radius: 14px;
  color: #f1d7bb;
  margin: 18px 0;
}

.vip-stack {
  display: grid;
  gap: 22px;
}

.vip-note {
  background: rgba(231, 125, 14, 0.1);
  border: 1px solid rgba(231, 125, 14, 0.28);
  border-radius: 16px;
  padding: 16px 18px;
  color: #f1d7bb;
  margin: 10px 0 20px;
}

.subsection-title {
  margin: 24px 0 12px;
  font-size: 22px;
  line-height: 1.25;
  color: #fff;
  font-weight: 900;
}

/* --- Вопросы и ответы --- */
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 12px;
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.faq-item p {
  margin: 0;
}

/* --- Подвал --- */
.footer {
  margin-top: 50px;
  background: #151927;
  border-top: 1px solid var(--line);
  padding: 40px 34px;
}

.footer .container {
  display: grid;
  gap: 28px;
}

.footer-logos,
.payment-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.logo-pill {
  min-width: 92px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #dbe7f6;
  background: rgba(255, 255, 255, 0.05);
  font-weight: 900;
  font-size: 13px;
}

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

.footer-links a {
  display: block;
  color: var(--muted);
  margin: 8px 0;
  font-weight: 700;
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  align-items: start;
  color: var(--muted);
  font-size: 14px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-weight: 800;
  color: #fff;
}

/* --- Адаптивность --- */
@media (max-width: 1100px) {
  .sidebar {
    display: none;
  }

  .section:not(.sidebar),
  .footer {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 20px 14px;
  }

  .topbar {
    grid-template-columns: 68px 1fr auto;
  }

  .nav a:not(.logo) {
    display: none;
  }

  .actions .act-trigger:not(.act-trigger-accent),
  .lang {
    display: none;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .app-box,
  .footer-bottom,
  .footer-links {
    grid-template-columns: 1fr;
  }

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

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

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

  .tooltip {
    left: auto;
    right: 0;
    transform: translateY(6px);
    width: min(310px, 86vw);
  }

  .tooltip::after {
    left: auto;
    right: 22px;
    transform: none;
  }

  .info-dot:hover .tooltip,
  .app-dl-trigger:focus-within .tooltip {
    transform: translateY(0);
  }

  .hero {
    padding: 34px 24px;
    min-height: 520px;
  }
}
