:root {
  /* Новые цвета */
  --dark-primary: #0a0612;
  --dark-secondary: #1a0d2b;
  --accent-primary: #ff2a6d;
  --accent-secondary: #05d9e8;
  --accent-tertiary: #d300c5;
  --text-primary: #ffffff;
  --text-secondary: #d1f7ff;
  --neon-glow: 0 0 10px rgba(5, 217, 232, 0.8),
               0 0 20px rgba(255, 42, 109, 0.6);
}

/* Базовые стили */
html {
  scroll-behavior: smooth;
  background: var(--dark-primary);
}

@font-face {
  font-family: 'MyFont';
  src: url('../fonts/PressStart2P-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: 'MyFont', sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: linear-gradient(135deg, var(--dark-primary) 0%, var(--dark-secondary) 100%);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

/* Глобальные анимации */
@keyframes neon-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Общие стили элементов */
a {
  color: var(--accent-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
}

h1, h2, h3, h4 {
  margin: 0;
  text-shadow: 0 0 8px rgba(5, 217, 232, 0.5);
}

/* Хедер - полностью переработан */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 6, 18, 0.9);
  backdrop-filter: blur(12px);
  padding: 15px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 42, 109, 0.3);
  box-shadow: 0 4px 30px rgba(255, 42, 109, 0.1);
}

.logo-link {
  font-size: 1.8rem;
  font-weight: bold;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-tertiary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: var(--neon-glow);
  transition: all 0.3s ease;
}

.logo-link:hover {
  animation: neon-pulse 1.5s infinite;
}

.buttons {
  display: flex;
  gap: 20px;
  align-items: center;
}

.buttons nav {
  display: flex;
  gap: 25px;
}

.buttons nav a {
  position: relative;
  padding: 8px 0;
  font-size: 1rem;
  color: var(--text-primary);
  overflow: hidden;
}

.buttons nav a:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-secondary);
  transition: width 0.3s ease;
}

.buttons nav a:hover:before {
  width: 100%;
}

.button_system {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: bold;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.button_system:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--accent-primary), var(--accent-tertiary));
  z-index: -1;
  opacity: 1;
  transition: all 0.3s ease;
}

.button_system:hover:before {
  opacity: 0.8;
  transform: scale(1.05);
}

.button_system i {
  font-size: 1rem;
}

/* Герой-секция с параллакс эффектом */
.hero_container {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero_container:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(../img/Group95.jpg) center/cover no-repeat;
  z-index: -2;
  filter: brightness(0.4);
}

.hero_container:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 42, 109, 0.1) 0%,
    rgba(5, 217, 232, 0.1) 100%
  );
  z-index: -1;
}

.hero_content {
  max-width: 800px;
  padding: 20px;
  position: relative;
}

.hero_content h2 {
  font-size: 3rem;
  margin-bottom: 25px;
  background: linear-gradient(90deg, #fff, var(--accent-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.2;
}

.hero_content p {
  font-size: 1.3rem;
  margin-bottom: 35px;
  color: var(--text-secondary);
  text-shadow: 0 0 10px rgba(5, 217, 232, 0.5);
}

.hero_button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: bold;
  background: linear-gradient(45deg, var(--accent-primary), var(--accent-tertiary));
  color: white;
  box-shadow: 0 0 15px rgba(255, 42, 109, 0.5),
              0 0 30px rgba(213, 0, 197, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.hero_button:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--accent-tertiary), var(--accent-primary));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero_button:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(255, 42, 109, 0.8),
              0 0 40px rgba(213, 0, 197, 0.5);
  animation: neon-pulse 1.5s infinite;
}

.hero_button:hover:before {
  opacity: 1;
}

/* Секция "Почему мы" */
.chouse_us {
  padding: 120px 5%;
  position: relative;
}

.chouse_us:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(../img/пещеры.jpg) center/cover no-repeat;
  opacity: 0.1;
  z-index: -1;
}

.section-title {
  font-size: 2.8rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  color: var(--accent-secondary);
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-primary), transparent);
}

.chouse_us sup {
  display: block;
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 50px;
  max-width: 800px;
  line-height: 1.6;
}

.contauner_us {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.pros {
  background: rgba(26, 13, 43, 0.7);
  border-radius: 15px;
  padding: 30px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 42, 109, 0.3);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.pros:before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    45deg,
    var(--accent-primary),
    var(--accent-secondary),
    var(--accent-tertiary),
    var(--accent-primary)
  );
  background-size: 400%;
  z-index: -1;
  border-radius: 16px;
  opacity: 0;
  transition: 0.5s;
}

.pros:hover:before {
  opacity: 1;
  animation: animate 8s linear infinite;
}

@keyframes animate {
  0% { background-position: 0 0; }
  50% { background-position: 400% 0; }
  100% { background-position: 0 0; }
}

.pros i {
  font-style: normal;
  font-size: 1.3rem;
  color: var(--accent-secondary);
  margin-bottom: 15px;
  display: block;
  font-weight: bold;
}

.pros p {
  color: var(--text-primary);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  transition: transform 0.3s ease;
}

.pros:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(255, 42, 109, 0.3),
              0 0 40px rgba(5, 217, 232, 0.2);
}

.pros:hover p {
  transform: translateX(5px);
}

/* Тарифы */
.favorite_tarifs, .all_tarifs {
  padding: 120px 5%;
  position: relative;
}

.favorite_tarifs:before, .all_tarifs:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(255, 42, 109, 0.1) 0%,
    transparent 70%
  );
  z-index: -1;
}

.tarifs_buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.tarif_type {
  padding: 10px 25px;
  border-radius: 30px;
  background: transparent;
  border: 2px solid var(--accent-primary);
  color: var(--accent-primary);
  font-family: 'MyFont', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.tarif_type:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent-primary);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.tarif_type:hover {
  color: var(--text-primary);
}

.tarif_type:hover:before {
  transform: scaleX(1);
  transform-origin: left;
}

.tarif_type.pressed {
  background: var(--accent-primary);
  color: var(--text-primary);
  box-shadow: 0 0 15px rgba(255, 42, 109, 0.5);
}

.favorite_tarifs_container, .tarifs_container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.tarif {
  background: rgba(26, 13, 43, 0.7);
  border-radius: 15px;
  padding: 30px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(5, 217, 232, 0.3);
}

.tarif:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(5, 217, 232, 0.3),
              0 0 40px rgba(255, 42, 109, 0.2);
}

.popular-badge {
  position: absolute;
  top: 20px;
  right: -30px;
  background: var(--accent-primary);
  color: var(--text-primary);
  padding: 5px 40px;
  font-size: 0.9rem;
  font-weight: bold;
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(255, 42, 109, 0.5);
}

.tarif-header {
  text-align: center;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(5, 217, 232, 0.3);
}

.tarif-header h3 {
  font-size: 1.8rem;
  color: var(--accent-secondary);
  margin-bottom: 10px;
}

.price {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--text-primary);
  margin: 15px 0;
  position: relative;
  display: inline-block;
}

.price:before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-primary), transparent);
}

.price span {
  font-size: 1rem;
  color: var(--text-secondary);
}

.tarif_check_list ul {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.tarif_check_list li {
  padding: 10px 0;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.tarif:hover .tarif_check_list li {
  transform: translateX(10px);
}

.tarif_check_list i {
  color: var(--accent-primary);
  margin-right: 10px;
  font-size: 0.9rem;
}

.order-btn {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: 30px;
  background: transparent;
  border: 2px solid var(--accent-secondary);
  color: var(--accent-secondary);
  font-weight: bold;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.order-btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent-secondary);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.order-btn:hover {
  color: var(--dark-primary);
}

.order-btn:hover:before {
  transform: scaleX(1);
  transform-origin: left;
}

/* Отзывы */
.reviews {
  padding: 120px 5%;
  position: relative;
}

.reviews:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(5, 217, 232, 0.1) 0%,
    transparent 70%
  );
  z-index: -1;
}

.reviews h2 {
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 50px;
  color: var(--accent-primary);
  position: relative;
}

.reviews h2:after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
}

.reviews-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.review {
  background: rgba(26, 13, 43, 0.7);
  border-radius: 15px;
  padding: 30px;
  transition: all 0.4s ease;
  border: 1px solid rgba(213, 0, 197, 0.3);
  position: relative;
  overflow: hidden;
}

.review:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 42, 109, 0.1) 0%,
    rgba(5, 217, 232, 0.1) 100%
  );
  z-index: -1;
}

.review:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(213, 0, 197, 0.3),
              0 0 40px rgba(5, 217, 232, 0.2);
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.review-header img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 20px;
  border: 2px solid var(--accent-primary);
  box-shadow: 0 0 10px rgba(255, 42, 109, 0.5);
}

.review-author h4 {
  font-size: 1.3rem;
  color: var(--accent-secondary);
  margin-bottom: 5px;
}

.stars {
  color: #ffd700;
  font-size: 1rem;
  letter-spacing: 2px;
}

.review p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  font-style: italic;
  position: relative;
  padding-left: 20px;
}

.review p:before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 0;
  font-size: 3rem;
  color: rgba(255, 42, 109, 0.3);
  line-height: 1;
}

/* Футер */
footer {
  background: linear-gradient(180deg, var(--dark-secondary), #0e051b);
  color: var(--text-primary);
  padding: 80px 5% 30px;
  position: relative;
}

footer:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-section {
  margin-bottom: 30px;
}

.footer-section h3 {
  font-size: 1.5rem;
  color: var(--accent-secondary);
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
}

.footer-section h3:after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-primary), transparent);
}

.footer-section p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.socials {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(5, 217, 232, 0.1);
  color: var(--accent-secondary);
  font-size: 1.2rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(5, 217, 232, 0.3);
}

.socials a:hover {
  background: var(--accent-secondary);
  color: var(--dark-primary);
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(5, 217, 232, 0.5);
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 15px;
}

.footer-section ul li a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.footer-section ul li a:hover {
  color: var(--accent-secondary);
  transform: translateX(5px);
}

.footer-section ul li i {
  margin-right: 10px;
  color: var(--accent-primary);
}

.footer-bottom {
  text-align: center;
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 42, 109, 0.2);
}

.footer-bottom p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0;
}

.footer-links {
  margin-top: 15px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-primary);
}

/* Мобильное меню */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: 1000;
  position: relative;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--accent-secondary);
  transition: all 0.3s ease;
  border-radius: 3px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background: var(--accent-primary);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background: var(--accent-primary);
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 6, 18, 0.95);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-content {
  width: 90%;
  max-width: 400px;
  text-align: center;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.mobile-nav a {
  color: var(--text-primary);
  font-size: 1.8rem;
  padding: 10px;
  position: relative;
  transition: all 0.3s ease;
}

.mobile-nav a:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--accent-secondary);
  transition: width 0.3s ease;
}

.mobile-nav a:hover {
  color: var(--accent-primary);
}

.mobile-nav a:hover:before {
  width: 100%;
}

/* Адаптивность */
@media (max-width: 1200px) {
  .hero_content h2 {
    font-size: 2.5rem;
  }
  
  .section-title, .reviews h2 {
    font-size: 2.3rem;
  }
}

@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-section-1, .footer-section-4 {
    grid-column: span 2;
  }
  
  .pros_1, .pros_7 {
    grid-column: auto;
  }
}

@media (max-width: 768px) {
  header {
    padding: 15px 20px;
  }
  
  .buttons nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .hero_content h2 {
    font-size: 2rem;
  }
  
  .hero_content p {
    font-size: 1.1rem;
  }
  
  .section-title, .reviews h2 {
    font-size: 2rem;
  }
  
  .favorite_tarifs_container, .tarifs_container, .reviews-container {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-section-1, .footer-section-4 {
    grid-column: span 1;
  }
}

@media (max-width: 576px) {
  .hero_content h2 {
    font-size: 1.8rem;
  }
  
  .hero_button {
    padding: 12px 25px;
    font-size: 1rem;
  }
  
  .section-title, .reviews h2 {
    font-size: 1.6rem;
  }
  
  .tarifs_buttons {
    justify-content: center;
  }
  
  .mobile-nav a {
    font-size: 1.5rem;
  }
}

/* Анимации элементов */
.animate-from-left, .animate-from-right, .animate-from-bottom {
  opacity: 0;
  transition: all 0.6s ease-out;
}

.animate-from-left {
  transform: translateX(-50px);
}

.animate-from-right {
  transform: translateX(50px);
}

.animate-from-bottom {
  transform: translateY(50px);
}

.delay-1 {
  transition-delay: 0.2s;
}

.delay-2 {
  transition-delay: 0.4s;
}

.animated {
  opacity: 1;
  transform: translate(0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .animate-from-left,
  .animate-from-right,
  .animate-from-bottom {
    opacity: 1;
    transform: none;
    transition: none;
  }
}