    body {
      font-family: Arial, sans-serif;
      background: radial-gradient(circle at top right, #7489ff, #b8c2ff);
      margin: 0;
      padding: 0;
      color: white;
      min-height: 100vh;
      display: flex;
      flex-direction: column;

    }
.site-dropdown-menu {
    text-align: center !important;
}
    body::before, body::after {
      content: "";
      position: fixed;
      border-radius: 50%;
      z-index: -1;
      pointer-events: none;
    }

    body::before {
      top: 100px;
      right: 30px;
      width: 500px;
      height: 500px;
      background: radial-gradient(circle, rgba(255, 172, 253, 0.4), transparent);
    }

    body::after {
      bottom: 80px;
      left: 60px;
      width: 300px;
      height: 300px;
      background: radial-gradient(circle, rgba(119, 61, 255, 0.4), transparent);
    }
      .navbar {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    height: 30px;
     overflow: visible;
  }
.site-dropdown {
  position: absolute;
  left: 20px;
  top: 1px;
  z-index: 1100;
}

.site-button {
  background: none;
  border: none;
  padding: 5px 12px;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  box-shadow: none;
  color: white; /* теперь белый текст, как у .nav-button */
  transition: background 0.2s ease;
}

.site-button:hover {
  background: rgba(255, 255, 255, 0.2); /* как .nav-button:hover */
}

.site-dropdown.open .site-button,
.site-button.active {
  background: rgba(255, 255, 255, 0.3); /* как .nav-button.active */
}

.site-dropdown-menu {
  display: none;
  position: absolute;
  top: 35px;
  left: 0;
  background-color: rgba(0, 0, 0, 0.06); /* стало темнее */
  backdrop-filter: blur(5px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4); /* тоже чуть темнее */
  border-radius: 6px;
  padding: 8px 0;
  min-width: 180px;
  z-index: 1100;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2); /* контрастнее граница */
}
.site-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 20px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid rgba(255, 255, 255, 0.15); /* прозрачная стрелка */
  filter: blur(0.5px);
  backdrop-filter: blur(5px);
}

.site-dropdown-menu li {
  padding: 8px 20px;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.site-dropdown-menu li:hover {
  background-color: rgba(255, 255, 255, 0.2); /* как .nav-button:hover */
}

.site-dropdown-menu li a {
  color: white;
  text-decoration: none;
  font-size: 14px;
}


.site-dropdown.open .site-dropdown-menu {
  display: block;
}

    .back-button {
      position: absolute;
      top: 40px;
      left: 20px;
      background: #4460ff;
      color: white;
      border: none;
      padding: 8px 15px;
      border-radius: 20px;
      cursor: pointer;
      font-weight: bold;
      transition: 0.3s;
      text-decoration: none;
    }

    .back-button:hover {
      background: #5871ff;
    }

  footer {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  padding: 20px 0;
  font-family: Arial, sans-serif;
  box-sizing: border-box;
  width: 100%;
}

footer a.button {
  display: inline-block;
  background: #4460ff;
  color: #ffffff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 20px;
}

    footer .footer-grid {
      max-width: 900px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 40px;
      justify-content: center;
      font-size: 13px;
      padding: 0 20px;
        text-align: center;
    }


footer h3 {
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 5px;
  font-size: 15px;
  color: white;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: white;
}

.social-icons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 10px;
}

.social-icons img {
  width: 30px;
  height: 30px;
}
/* Центрирование кнопки "Связь с нами" в футере на десктопе */
footer a.button {
  display: inline-block;
  margin: 0 auto 20px; /* центрирование по горизонтали */
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.tariff-info-section {
  max-width: 800px;
  width: 100%;
  margin: 70px auto 40px;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 25px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  position: relative; /* Добавлено */
  overflow: hidden; /* Добавлено */
}

.tariff-info-section::before {
  content: "• • • • • • • • • • • • •";
  position: absolute;
  top: 10px;
  left: 50%; /* Изменено */
  transform: translateX(-50%); /* Добавлено */
  color: #5871ff;
  font-size: 20px;
  letter-spacing: 8px;
  font-weight: bold;
  font-family: monospace;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
}

.tariff-info-section::after {
  content: "• • • • • • • • • • • • •";
  position: absolute;
  bottom: 10px;
  left: 50%; /* Изменено */
  transform: translateX(-50%); /* Добавлено */
  color: #5871ff;
  font-size: 20px;
  letter-spacing: 8px;
  font-weight: bold;
  font-family: monospace;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
}
.tariff-block {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  padding: 25px 30px;
  margin-bottom: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  color: white;
  width: 100%;
  box-sizing: border-box;
}

.tariff-block h3 {
  cursor: pointer;
  margin: 0;
  padding: 10px 0;
  font-size: 20px;
  position: relative;
  padding-right: 25px; /* место для стрелки */
}

.tariff-block h3::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid white;
  transition: transform 0.3s ease;
}

.tariff-block.open h3::after {
  transform: translateY(-50%) rotate(180deg);
}

.channel-logos {
  display: none;
  margin: 20px auto 0;
  padding: 10px;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
}

.channel-logos.active {
  display: grid;
  grid-template-columns: repeat(auto-fill, 80px);
  justify-content: center;
  gap: 15px;
}

/* Контейнер для каждого канала */
.channel-logos > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%; /* Фиксируем высоту */
}

/* Изображение канала */
.channel-logos img {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: #ffffff;
  padding: 6px;
  object-fit: contain;
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.channel-logos div > div {
  margin-top: 8px;
  font-size: 11px;
  line-height: 1.2;
  text-align: center;
  width: 100%;
  height: 2.4em;
  display: -webkit-box;
  display: -moz-box;
  display: box;
  -webkit-line-clamp: 2;
  -moz-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  -moz-box-orient: vertical;
  box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

/* Ховер-эффект */
.channel-logos img:hover {
  transform: scale(1.05);
}
  .back-button {
  position: absolute;
  top: 40px;
  left: 20px;
  background: #4460ff;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
  text-decoration: none;
  display: inline-block;
}
.back-button:hover {
  background: #5871ff;
}
/* 📱 Адаптив под тарифы и мобильное меню */
@media (max-width: 768px) {

  /* 🔹 Навбар */
  .navbar {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(5px);
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    height: 30px;
    padding: 0 10px;
    box-sizing: border-box;
  }

  .nav-menu {
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
  }

  .nav-item {
    width: 100%;
  }

  .nav-button {
    padding: 12px;
    width: 100%;
    font-size: 14px;
  }

  .second-navbar {
    display: none !important;
  }

  .site-dropdown {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    left: auto;
    transform: none;
    width: 100%;
    margin-bottom: 10px;
  }

  .site-dropdown ul,
  .site-dropdown footer {
    text-align: center;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .site-dropdown button,
  .site-dropdown .nav-button,
  .site-dropdown a.btn,
  .site-dropdown .btn-pay {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 10px auto !important;
    text-align: center !important;
    width: auto !important;
    min-width: 140px;
  }

  .top-right-logo {
    position: static;
    display: flex;
    justify-content: center;
    margin: 10px auto;
    height: 100px;
  }

  .top-right-logo img {
    height: 80px;
  }

  /* добавляем отступ под фиксированный navbar */
  body {
    overflow-x: hidden;
    padding-top: 60px !important;
  }

  /* 🔹 Кнопка назад */
  .back-button {
    position: absolute !important;
    top: 50px !important;
    left: 20px !important;
    margin: 0 !important;
    transform: none !important;
  }

  /* 🔹 Основной блок тарифов */
  .tariff-info-section {
    width: 94% !important;
    max-width: 700px !important;
    margin: 80px auto 40px !important;
    padding: 20px 15px !important;
    border-radius: 25px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    box-sizing: border-box !important;
    text-align: center !important;
    position: relative !important;
  }

  .tariff-info-section h2 {
    font-size: 22px !important;
    margin-bottom: 15px !important;
  }

  .tariff-info-section p {
    font-size: 14px !important;
    line-height: 1.6 !important;
    text-align: justify !important;
  }

  /* 🔹 Каждый тарифный блок */
  .tariff-block {
    padding: 15px !important;
    border-radius: 20px !important;
    margin-bottom: 20px !important;
  }

  .tariff-block h3 {
    font-size: 16px !important;
    padding-right: 20px !important;
  }

  /* 🔹 Сетка каналов */
  .channel-logos.active {
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)) !important;
    gap: 10px !important;
  }

  .channel-logos img {
    width: 50px !important;
    height: 50px !important;
    padding: 5px !important;
  }

  .channel-logos div > div {
    font-size: 10px !important;
  }

  /* 🔹 Декоративные точки */
  .tariff-info-section::before {
    content: "• • • • • • • • • • • • ";
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: #5871ff;
    font-size: 20px;
    letter-spacing: 8px;
    font-weight: bold;
    font-family: monospace;
    text-align: center;
    white-space: nowrap;
    pointer-events: none;
  }

  .tariff-info-section::after {
    content: "• • • • • • • • • • • • ";
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: #5871ff;
    font-size: 20px;
    letter-spacing: 8px;
    font-weight: bold;
    font-family: monospace;
    text-align: center;
    white-space: nowrap;
    pointer-events: none;
  }

  @media (max-width: 768px) {
  footer,
  .footer-inner,
  .footer-links,
  .footer-block,
  footer > div,
  footer ul,
  footer li {
    text-align: center !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 auto !important;
  }

  footer a,
  footer button,
  footer .btn,
  footer .pay-btn,
  footer a[href*="wa.me"],
  footer .footer-button,
  footer a.button {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 10px auto !important;
    text-align: center !important;
    float: none !important;
    position: static !important;
    left: auto !important;
    transform: none !important;
  }

  /* если кнопки внутри flex-контейнера */
  footer div[style*="display:flex"] {
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    text-align: center !important;
    gap: 10px !important;
  }
}
}
@media (max-width: 768px) {
  body::before {
    top: 100px !important;
    right: 30px !important;
    width: 300px !important;
    height: 300px !important;
  }

  body::after {
    bottom: 80px !important;
    left: 60px !important;
    width: 200px !important;
    height: 200px !important;
  }
}

@media (max-width: 480px) {
  body::before {
    top: 100px !important;
    right: 20px !important;
    width: 250px !important;
    height: 250px !important;
  }

  body::after {
    bottom: 80px !important;
    left: 40px !important;
    width: 180px !important;
    height: 180px !important;
  }
}
/* 📱 Очень узкие экраны */
@media (max-width: 480px) {
  .navbar {
    padding: 10px 0 !important;
  }

  .site-button {
    font-size: 13px !important;
  }

  .product-card h2 {
    font-size: 14px !important;
  }

  .product-card .btn {
    font-size: 13px !important;
    padding: 6px 10px !important;
  }

  footer {
    font-size: 13px !important;
  }
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    border: 0;
}
