/* Стили для футера и его элементов */
.site-footer {
  background: var(--light-bg);
  color: var(--light-text);
  padding: 3rem 1.5rem 1.5rem;
  text-align: center;
  border-top: 1px solid var(--border-color);
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
}

.footer-content {
  position: relative;
  z-index: 2;
}

.footer-links {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-link {
  color: #60a5fa !important;
  font-weight: 500;
  text-decoration: none !important;
  position: relative;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  display: inline-block;
  background-color: rgba(30, 41, 59, 0.7);
  border: 1px solid #334155;
}

.footer-link:hover {
  color: white !important;
  background-color: #3b82f6;
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-color: #3b82f6;
}

/* Убираем любые правила, которые могут перекрывать интерактивность ссылок */
.site-footer a {
  pointer-events: auto !important;
  cursor: pointer !important;
  z-index: 10 !important;
}

/* Волновая анимация в футере */
.wave-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave {
  position: absolute;
  top: -10px;
  left: 0;
  width: 100%;
  height: 30px;
  background: url('../img/wave.svg');
  animation: wave 20s linear infinite;
}

.wave1 {
  z-index: 1000;
  opacity: 1;
  animation-delay: 0s;
  animation-duration: 20s;
}

.wave2 {
  z-index: 999;
  opacity: 0.5;
  animation-direction: reverse;
  animation-delay: 2s;
  animation-duration: 15s;
}

@keyframes wave {
  0% {
    background-position: 0;
  }
  100% {
    background-position: 1920px;
  }
}

/* Мобильная адаптация футера */
@media (max-width: 768px) {
  .site-footer {
    padding: 2rem 1rem 1rem;
    margin-top: 2rem;
  }
  
  .footer-content {
    text-align: center;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
  .footer-link {
    width: 100%;
    max-width: 250px;
    text-align: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .wave-animation {
    height: 20px;
  }
  
  .wave {
    height: 20px;
  }
}

@media (max-width: 480px) {
  .site-footer {
    padding: 1.5rem 0.75rem 0.75rem;
  }
  
  .footer-link {
    max-width: 200px;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }
  
  .footer-links {
    gap: 0.75rem;
  }
}
