/* Используем переменные из :root */
:root {
  --footer-bg: rgba(16, 20, 24, 0.58); /* Тёмный полупрозрачный фон */
  --footer-link: #EAF6FF; /* Цвет текста ссылок */
  --footer-border: rgba(255, 255, 255, 0.08); /* Тонкая белая граница */
  --footer-pill-hover: rgba(255, 255, 255, 0.06); /* Эффект наведения */
  --footer-active: rgba(59, 204, 209, 0.247); /* Подсветка активной ссылки */
}

footer {
  background: var(--footer-bg);
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 16px;
  border: 1px solid var(--footer-border);
  backdrop-filter: blur(10px);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.footer-left, .footer-center, .footer-right {
  flex: 1;
}

.footer-left img, .payment-logos {
  max-width: 50px;
  height: auto;
}

.footer-left p, .footer-right p {
  margin: 5px 0;
  font-size: 12px;
  color: var(--footer-link);
}

.footer-center ul {
  list-style-type: none;
  padding: 0;
  display: flex;
  gap: 14px;
}

.footer-center li {
  margin-right: 5px;
}

.footer-center a {
  text-decoration: none;
  color: var(--footer-link);
  font-weight: 700;
  border-radius: 12px;
  padding: 0 16px;
  height: 40px;
  line-height: 40px;
  display: inline-block;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.03);
}

.footer-center a:hover {
  background: var(--footer-pill-hover);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.footer-center a.is-active,
.footer-center a[aria-current="page"] {
  color: white;
  background: var(--footer-active);
  border-color: rgb(15, 238, 219);
  box-shadow: 0 6px 18px rgba(50, 180, 197, 0.25);
}

.footer-center a:last-child {
  margin-right: 0;
}