/* Стили для футера */
.footer {
  position: relative;
  width: 100%;
  background-color: var(--main-color-light-opaque);
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  font-size: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-top: 1px solid var(--main-color);
  padding: 12px 0;
  backdrop-filter: blur(5px);
  z-index: 1000;
  margin-top: auto;
  box-sizing: border-box;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 14px;
  font-family: Pompadur, 'site', cursive;
  flex-wrap: wrap;
}

/* Ссылки в футере */
.footer-link {
  color: var(--main-color);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.2s ease;
  letter-spacing: 0.3px;
  padding: 4px 8px;
  border-radius: 4px;
}

.footer-link:hover {
  transform: scale(1.08);
  background-color: rgba(255, 255, 255, 0.1);
}

/* Кнопка доната - обновленная */
/* Кнопка доната - оранжевая иконка на синем фоне */
.donat-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--main-color) 0%, var(--main-color-dark-opaque) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  margin: 0 auto 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.donat-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--main-color-light) 0%, var(--main-color) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 50%;
}

.donat-btn:hover {
  transform: scale(1.15) translateY(-3px);
  box-shadow: 0 6px 15px rgba(32, 158, 217, 0.25);
}

.donat-btn:hover::before {
  opacity: 1;
}

.donat-btn:active {
  transform: scale(1.05) translateY(-1px);
  box-shadow: 0 3px 8px rgba(32, 158, 217, 0.3);
}

.donat-btn svg {
  width: 20px;
  height: 20px;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.donat-btn:hover svg {
  transform: scale(1.1);
}

/* Эффект пульсации при наведении для доната */
.donat-btn::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.4);
  opacity: 0;
  transform: scale(1);
  transition: all 0.4s ease;
}

.donat-btn:hover::after {
  opacity: 1;
  transform: scale(1.3);
}

/* Восстанавливаем оранжевые градиенты для Donation Alerts */
.donat-btn svg path {
  fill: url(#linearGradient-2) !important;
}

.donat-btn svg linearGradient#linearGradient-1 stop:first-child {
  stop-color: #FC8722 !important;
}

.donat-btn svg linearGradient#linearGradient-1 stop:last-child {
  stop-color: #F57507 !important;
}

.donat-btn svg linearGradient#linearGradient-2 stop:first-child {
  stop-color: #F59C07 !important;
}

.donat-btn svg linearGradient#linearGradient-2 stop:last-child {
  stop-color: #F57507 !important;
}

/* Контейнер для кнопок */
.footer-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 480px) {
  .footer-buttons {
    gap: 10px;
  }
  
  .donat-btn {
    width: 38px;
    height: 38px;
    margin-bottom: 6px;
  }
  
  .donat-btn svg {
    width: 18px;
    height: 18px;
  }
}
/* Кнопка телеграма */
.telegram-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--main-color) 0%, var(--main-color-dark-opaque) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  margin: 0 auto 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.telegram-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--main-color-light) 0%, var(--main-color) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 50%;
}

.telegram-btn:hover {
  transform: scale(1.15) translateY(-3px);
  box-shadow: 0 6px 15px rgba(32, 158, 217, 0.25);
}

.telegram-btn:hover::before {
  opacity: 1;
}

.telegram-btn:active {
  transform: scale(1.05) translateY(-1px);
  box-shadow: 0 3px 8px rgba(32, 158, 217, 0.3);
}

.telegram-icon {
  width: 20px;
  height: 20px;
  fill: white;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.telegram-btn:hover .telegram-icon {
  transform: scale(1.1);
}

/* Эффект пульсации при наведении */
.telegram-btn::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.4);
  opacity: 0;
  transform: scale(1);
  transition: all 0.4s ease;
}

.telegram-btn:hover::after {
  opacity: 1;
  transform: scale(1.3);
}

/* Контейнер для кнопок */
.footer-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 480px) {
  .footer {
    padding: 10px 0;
  }
  
  .footer-links {
    gap: 16px;
    padding: 0 10px;
    margin-bottom: 12px;
  }
  
  .footer-link {
    font-size: 11px;
    padding: 3px 6px;
  }
  
  .footer-buttons {
    gap: 10px;
  }
  
  .donat-btn,
  .telegram-btn {
    width: 38px;
    height: 38px;
    margin-bottom: 6px;
  }
  
  .donat-btn svg,
  .telegram-icon {
    width: 18px;
    height: 18px;
  }
}

/* Ночная тема */
body.night-theme .footer {
  background-color: rgba(0, 0, 0, 0.3);
}

body.night-theme .footer-link {
  color: var(--main-color);
}

body.night-theme .footer-link:hover {
  background-color: rgba(255, 255, 255, 0.05);
}