body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden; 
}
.site-dropdown-menu {
    text-align: center !important;
}
body {
  font-family: Arial, sans-serif;
  background: radial-gradient(circle at top right, #7489ff, #b8c2ff);
  color: white;
  text-align: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

.wrapper {
  flex: 1;
  padding: 20px;
  box-sizing: border-box;
  width: 100%;
}
    .back-button {
      position: absolute;
      top: 20px;
      left: 20px;
      padding: 8px 15px;
      background: #4460ff;
      color: white;
      text-decoration: none;
      border-radius: 20px;
      font-weight: bold;
      display: flex;
      align-items: center;
      gap: 5px;
    }

    .back-button:hover {
      background: #3a52d4;
    }

.payment-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 50px auto;
  padding: 30px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(88, 113, 255, 0.3);
  margin-bottom: 20px;
  overflow: hidden;
  box-sizing: border-box;
}


.payment-container::before {
  content: "• • • • • • • • • • • • •";
  position: absolute;
  top: 10px;
  left: 0;
  width: 100%;
  color: #5871ff;
  font-size: 20px;
  letter-spacing: 8px;
  font-weight: bold;
  font-family: monospace;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
}


.payment-container::after {
  content: "• • • • • • • • • • • • •";
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  color: #5871ff;
  font-size: 20px;
  letter-spacing: 8px;
  font-weight: bold;
  font-family: monospace;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
}
    h1 {
      margin-top: 0;
      color: white;
    }

    .tariff-info {
      margin: 20px 0;
      padding: 15px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 10px;
    }

    .qr-code {
      margin: 20px auto;
      width: 200px;
      height: 200px;
      background: white;
      padding: 10px;
      border-radius: 10px;
      display: none;
    }

    .qr-code img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }

    .payment-methods {
      margin: 20px 0;
      display: flex;
      justify-content: center;
      gap: 15px;
    }

    .payment-btn {
      padding: 10px 20px;
      background: #4460ff;
      color: white;
      border: none;
      border-radius: 20px;
      font-weight: bold;
      cursor: pointer;
      transition: background 0.3s;
    }

    .payment-btn:hover {
      background: #3a52d4;
    }

    .btn-back {
      display: inline-block;
      margin-top: 20px;
      padding: 10px 20px;
      background: #4460ff;
      color: white;
      text-decoration: none;
      border-radius: 20px;
      font-weight: bold;
    }

 footer {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  padding: 20px 0;
  font-family: Arial, sans-serif;
  box-sizing: border-box;
  width: 100%;
  margin-top: auto;
  flex-shrink: 0;
}

    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;
    }

    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;
    }
body::before {
  content: "";
  position: fixed;
  top: 100px;
  right: 30px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 172, 253, 0.4), transparent);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  bottom: 80px;
  left: 60px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(119, 61, 255, 0.4), transparent);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}
 .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;
  display: inline-block;
}
.back-button:hover {
  background: #5871ff;
}

    .partner-info-section {
  position: relative;
  max-width: 800px;
  margin: 30px auto 80px;
  padding: 20px 30px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  color: white;
  font-family: Arial, sans-serif;
  text-align: left;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  resize: none;
}

/* Декоративные точки по бокам */
.partner-info-section::before {
  content: "• • • • • • • • • • • • •";
  position: absolute;
  top: 10px;
  left: 0;
  width: 100%;
  color: #5871ff;
  font-size: 20px;
  letter-spacing: 8px;
  font-weight: bold;
  font-family: monospace;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
}

.partner-info-section::after {
  content: "• • • • • • • • • • • • •";
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  color: #5871ff;
  font-size: 20px;
  letter-spacing: 8px;
  font-weight: bold;
  font-family: monospace;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
}



.partner-info-section::before {
  left: -25px;
}

.partner-info-section::after {
  right: -25px;
}
.qr-link-container {
  margin: 20px 0;
  width: 100%;
  text-align: center;
  padding: 0 10px;
}

.payment-instruction {
  font-size: 15px;
  color: white;
  margin-bottom: 12px;
  line-height: 1.4;
}
.qr-code {
  display: flex;
  flex-direction: column;
  align-items: center;    /* центрируем картинку и ссылку */
  justify-content: center;
  margin: 30px auto;      /* внешний отступ */
  text-align: center;
}

.qr-code img {
  max-width: 220px;
  height: auto;
  margin-bottom: 10px;    /* расстояние от картинки до ссылки */
  border-radius: 10px;
}

.qr-link-wrapper {
  margin-bottom: 20px;    /* расстояние от ссылки до следующего текста */
  text-align: center;
  width: 100%;
}

.simple-qr-link {
  display: inline-block;
  font-size: 15px;
  color: #5871ff;
  text-decoration: none;
  font-weight: 500;
  word-break: break-all;  /* ссылка не вылезет за пределы */
}

.simple-qr-link:hover {
  text-decoration: underline;
}
@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;
  }
  @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 {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 10px auto !important;
    text-align: center !important;
    float: 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;
  }
  .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) {
  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;
  }
  
}