body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden; 
}

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;
}
#reviews {
  text-align: left !important;
}
.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;
    }


.container {
  background-color: rgba(255, 255, 255, 0.08);
  max-width: 900px;
    margin: 70px auto 40px;
  padding: 30px 20px;
  border-radius: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  flex: 1;
  width: 100%;
}
.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;
}


.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;
}
 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;
    }


    h1 {
      text-align: center;
    }

    .form-group {
      margin-bottom: 15px;
    }

    input, textarea {
      width: 100%;
      padding: 10px 15px;
      border-radius: 10px;
      border: none;
      font-size: 16px;
      margin-top: 5px;
      box-sizing: border-box;
      border: 2px solid #cfd6ff;
      background-color: #cfd6ff;
      color: #000;
    }

    input:focus, textarea:focus {
      outline: none;
      border-color: #cfd6ff;
      background-color: #cfd6ff;
    }

    button {
      background: #4460ff;
      color: white;
      border: none;
      padding: 10px 20px;
      margin-bottom: 30px;
      border-radius: 20px;
      cursor: pointer;
      font-weight: bold;
      transition: 0.3s;
    }

    button:hover {
      background: #5871ff;
    }

    button:disabled {
      background: #cccccc;
      cursor: not-allowed;
    }

    .review {
      background: rgba(255, 255, 255, 0.08);
      border-radius: 20px;
      padding: 20px;
      margin-bottom: 30px;
      color: #333;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      display: flex;
      align-items: center;
      gap: 20px;
      position: relative;
      transition: all 0.3s ease;
    }

    .review.deleting {
      transform: scale(0.9);
      opacity: 0;
    }

    .review-icon {
      font-size: 32px;
      color: #4460ff;
    }

    .review-content {
      flex: 1;
    }

    .review h3 {
      margin: 0 0 5px;
      font-size: 18px;
      color: #222;
    }

    .review p {
      margin: 5px 0;
    }

    .review-stars {
      color: gold;
      font-size: 18px;
    }

    .stars {
      display: flex;
      gap: 5px;
      font-size: 24px;
      cursor: pointer;
    }

    .star {
      color: #ccc;
    }

    .star.selected {
      color: gold;
    }

    .center-button {
      text-align: center;
      margin-top: 20px;
    }

    #modal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(0, 0, 0, 0.5);
      z-index: 1000;
      justify-content: center;
      align-items: center;
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    #modal.show {
      display: flex;
      opacity: 1;
    }

    #modal .modal-content {
      background: #7489ff;
      color: #333;
      padding: 30px 30px;
      border-radius: 30px;
      width: 90%;
      max-width: 500px;
      position: relative;
      box-sizing: border-box;
      transform: translateY(-20px);
      transition: transform 0.3s ease;
    }

    #modal.show .modal-content {
      transform: translateY(0);
    }

    #close-modal {
      position: absolute;
      top: 10px;
      right: 15px;
      background: none;
      border: none;
      font-size: 20px;
      cursor: pointer;
    }

    .loading {
      display: inline-block;
      width: 20px;
      height: 20px;
      border: 3px solid rgba(255,255,255,.3);
      border-radius: 50%;
      border-top-color: #fff;
      animation: spin 1s ease-in-out infinite;
      margin-left: 10px;
    }

    @keyframes spin {
      to { transform: rotate(360deg); }
    }

    .error-message {
      color: #ff4444;
      font-size: 14px;
      margin-top: 5px;
    }

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 {
    text-align: center !important;
}
.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;
}
@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;
  }
.container {
  background: rgba(255, 255, 255, 0.08);
  width: 100%;
  max-width: 820px;
  margin: 80px auto 40px;
  padding: 35px 30px 45px;
  border-radius: 28px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}

/* точки сверху */
.container::before {
  content: "• • • • • • • • • ";
  position: absolute;
  white-space: nowrap !important;
  top: 10px;
  left: 50%; /* Изменено */
  transform: translateX(-50%); /* Добавлено */
  color: #5871ff;
  font-size: 20px;
  letter-spacing: 8px;
  font-weight: bold;
  font-family: monospace;
  text-align: center;
  pointer-events: none;
}

/* точки снизу */
.container::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 !important;
  pointer-events: none;
}

/* ===== КАРТОЧКА ОТЗЫВА ===== */
.review {
  background: rgba(255,255,255,0.12);
  padding: 18px 20px;
  border-radius: 20px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 25px;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 18px rgba(0,0,0,0.12);
  transition: 0.25s ease;
}

.review:hover {
  transform: translateY(-3px);
}

.review-icon {
  font-size: 34px;
}

.review-content {
  text-align: left;
  flex: 1;
}

.review-content h3 {
  margin: 0 0 5px;
  font-size: 18px;
  color: white;
}

.review-content p {
  margin: 0 0 6px;
  font-size: 15px;
  color: #e5e8ff;
}

.review-stars {
  font-size: 18px;
  color: gold;
}

@media (max-width: 768px) {
  .container {
    width: 92%;
    max-width: 650px;
    padding: 28px 18px 38px;
    margin: 70px auto 40px;
    border-radius: 24px;
  }

  .review {
    flex-direction: row;
    gap: 12px;
    padding: 16px;
    margin-bottom: 22px;
  }

  .review-content h3 { font-size: 16px; }
  .review-content p { font-size: 14px; }
}
}

}
@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;
  }
  
}
