.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;
}

.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);
}

/* Стили для футера */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0; /* Важно: убираем стандартные отступы */
}

.main-content {
  flex: 1 0 auto;
}

.footer {
  flex-shrink: 0;
  position: relative;
  bottom: 0;
  left: 0;
  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; /* Это важно для прижатия к низу */
}

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

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

.footer-link {
  color: var(--main-color);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.2s ease;
  letter-spacing: 0.3px;
}

.footer-link:hover {
  transform: scale(1.08);
}

.footer-copyright {
  color: var(--main-color);
  font-size: 9px;
  opacity: 0.7;
  margin-top: 5px;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 480px) {
  .footer-links {
    gap: 16px;
    flex-wrap: wrap;
    padding: 0 10px;
  }
  
  .footer-link {
    font-size: 11px;
  }
}

.footer > .footer-links > a {
  color: var(--main-color);
}

.pystota {
  height: 300px;
}