@font-face {
  font-family: InterVar;
  src: local("Inter"), local("Inter var");
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
html,
body {
  margin: 0;
  padding: 0;
  color: #e6e6e6;
  background: #110f0f;
  font-family: Inter, InterVar, system-ui, -apple-system, Segoe UI, Roboto,
    Helvetica, Arial, sans-serif;
  line-height: 1.6;
}
body.menu-open {
  overflow: hidden;
}
.main_text p {
  margin: 0 0 14px;
  color: #cfcfd7;
}
.main_text ul {
  margin: 0 0 16px 18px;
  color: #cfcfd7;
}
.main_text li {
  margin: 6px 0;
}
a {
  text-decoration: none;
  color: #ffd166;
}
a:hover {
  opacity: 0.9;
}
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header {
  position: sticky;
  top: 0;
  background: #110f0f;
  backdrop-filter: saturate(140%) blur(8px);
  z-index: 50;
  border-bottom: 1px solid rgb(118 118 118 / 25%);
}
.brand {
  display: flex;
  align-items: center;
  padding: 20px 0;
}
.brand .logo {
  height: 35px;
  width: auto;
  display: block;
}
.search {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 0 16px;
}
.search input {
  width: 100%;
  max-width: 360px;
  background: #0e0010;
  border: 1px solid rgba(255, 0, 104, 0.35);
  border-radius: 10px;
  padding: 10px 12px;
  color: #fff;
  outline: none;
}
.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 18px;
}
.nav a {
  display: inline-block;
  padding: 12px 8px;
  color: #fff;
}
.nav a:hover {
  color: #ff4c91;
}
.actions {
  display: flex;
  align-items: center;
  padding: 8px 0;
}
.actions .btn {
  margin-left: 8px;
  align-self: center;
  height: auto;
  min-height: auto;
  flex-shrink: 0;
  padding: 8px 16px;
  font-size: 14px;
}
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: 8px;
}
.mobile-menu-toggle span {
  width: 20px;
  height: 2px;
  background: #fff;
  margin: 2px 0;
  transition: 0.3s;
}
.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-4px, 4px);
}
.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-4px, -4px);
}
.hero {
  padding: 32px 0;
  background: linear-gradient(180deg, #140010, #0b0b0f);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}
.hero h1 {
  margin: 0 0 12px;
  font-size: 40px;
  color: #fff;
}
.hero p {
  margin: 0 0 20px;
  color: #cfcfd7;
}
.cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  background: #0cc673;
  color: #fff;
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 4px 30px rgba(255, 0, 104, 0.35);
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: #ff4c91;
  border: 1px solid rgba(255, 0, 104, 0.5);
  box-shadow: none;
}
.badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.badges li {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 12px;
  border-radius: 999px;
  color: #cfcfd7;
  font-size: 14px;
}
.hero-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px;
}
.kpi {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.kpi-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}
.kpi-value {
  font-size: 22px;
  color: #ffd166;
  font-weight: 800;
}
.kpi-label {
  font-size: 13px;
  color: #b7b7c2;
}
.section {
  padding: 68px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.section-title {
  margin: 0 0 24px;
  color: #fff;
  font-size: 28px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.cards.three {
  grid-template-columns: repeat(3, 1fr);
}
.card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 18px;
}
.card h3 {
  margin: 0 0 8px;
  color: #fff;
}
.card p {
  margin: 0;
  color: #cfcfd7;
}
.cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.list {
  margin: 0;
  padding-left: 18px;
  color: #cfcfd7;
}
.contact-info {
  margin: 16px 0;
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}
.contact-info p {
  margin: 8px 0;
  color: #cfcfd7;
}
.contact-info a {
  color: #ff1e00;
  font-weight: 600;
}
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.game-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.game-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(255, 0, 104, 0.3);
}
.game-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.faq details {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 16px;
}
.faq details + details {
  margin-top: 12px;
}
.faq summary {
  cursor: pointer;
  color: #fff;
  font-weight: 600;
}
.faq p {
  margin: 8px 0 0;
  color: #cfcfd7;
}
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px 0;
  color: #b7b7c2;
}
.foot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.foot-brand {
  font-weight: 800;
  color: #fff;
}
.footer-logo {
  height: 24px;
  width: auto;
  display: block;
}
.foot-legal {
  font-size: 13px;
}
#license {
  margin: 20px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 9px;
  line-height: 1.4;
  color: #555555;
}

/* Универсальные стили для таблиц */
.table-responsive {
    width: 100%;
    overflow-x: auto; /* Включает горизонтальную прокрутку */
    -webkit-overflow-scrolling: touch; /* Плавная прокрутка на iOS */
    margin: 20px 0;
    border: 1px solid rgba(255, 255, 255, 0.08); /* Переносим рамку на контейнер (опционально) */
    border-radius: 12px;
}

/* Корректировка самой таблицы внутри контейнера */
.table-responsive table {
    margin: 0; /* Убираем отступы у самой таблицы, так как они есть у контейнера */
    border: none; /* Убираем рамку у таблицы, если она есть у контейнера */
    white-space: nowrap; /* Запрещает перенос текста, чтобы таблица растягивалась в ширину */
    width: auto; /* Добавьте эту строку, чтобы отменить 100% */
    min-width: 100%; /* Опционально: чтобы не была слишком узкой */
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
}

table th {
background: rgb(255 30 0 / 45%);
    color: #fff;
    padding: 16px 12px;
    text-align: left;
    font-weight: 700;
    font-size: 14px;
    border-bottom: 1px solid rgb(255 30 0 / 45%);
}

table td {
  padding: 14px 12px;
  color: #cfcfd7;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
}

table tr:last-child td {
  border-bottom: none;
}

table tr:hover {
  background: rgba(255, 255, 255, 0.08);
}

table th:first-child {
  border-top-left-radius: 12px;
}

table th:last-child {
  border-top-right-radius: 12px;
}
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .cards.three {
    grid-template-columns: 1fr;
  }
  .cols {
    grid-template-columns: 1fr;
  }
  .nav ul {
    gap: 8px;
  }
  .nav a {
    padding: 10px 6px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  /* Адаптивные таблицы для мобильных */
  table {
    font-size: 12px;
    margin: 16px 0;
  }

  table th,
  table td {
    padding: 10px 8px;
  }

  table th {
    font-size: 12px;
  }
  .header .row {
    position: relative;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #13000b;
    border-top: 1px solid rgba(255, 0, 104, 0.25);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
  }
  .nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-menu {
    flex-direction: column;
    padding: 20px;
    gap: 0;
  }
  .nav a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 16px;
  }
  .nav li:last-child a {
    border-bottom: none;
  }
  .section {
    padding: 40px 0;
  }
  .section-title {
    font-size: 24px;
    margin-bottom: 20px;
  }
  .hero h1 {
    font-size: 32px;
  }
  .kpi {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .games-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
  }
  .game-item img {
    height: 150px;
  }
  .footer-logo {
    height: 22px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }

  .hero h1 {
    font-size: 28px;
    text-align: center;
  }
  .hero p {
    text-align: center;
  }
  .cta {
    justify-content: center;
  }
  .section {
    padding: 32px 0;
  }
  .section-title {
    font-size: 22px;
    text-align: center;
  }
  .btn {
    padding: 10px 16px;
    font-size: 14px;
  }
  .main_text {
    font-size: 15px;
  }
  .contact-info {
    padding: 12px;
  }
  .foot-row {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  .footer-logo {
    height: 20px;
    margin: 0 auto;
  }
  #license {
    font-size: 10px;
    text-align: center;
  }
  .games-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 8px;
  }
  .game-item img {
    height: 120px;
  }
}

h1 {
    font-size: 1.7rem;
    text-align: center;
  }

.licence-txt{
font-size: 0.5rem;
color: #4e4a4a;
}