/* Telegram Button Styles - Vodagorki (UPDATED) */

.telegram-advanced {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 16px 28px;
  background: linear-gradient(135deg, #1E9FD8 0%, #1A7BA8 100%);
  border-radius: 50px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  color: white;
  box-shadow: 0 8px 20px rgba(30, 159, 216, 0.3);
  z-index: 999;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}

/* Пульсирующая тень (буб при наведении) */
@keyframes tg-pulse-shadow {
  0%, 100% {
    box-shadow: 0 8px 20px rgba(30, 159, 216, 0.3),
                0 0 0 0 rgba(30, 159, 216, 0.4);
  }
  50% {
    box-shadow: 0 8px 20px rgba(30, 159, 216, 0.3),
                0 0 0 15px rgba(30, 159, 216, 0);
  }
}

.telegram-advanced {
  animation: tg-pulse-shadow 2.5s infinite;
}

.tg-icon {
  width: 20px;
  height: 20px;
  fill: white;
  flex-shrink: 0;
}

.tg-label {
  display: block;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 500;
  color: white;
  line-height: 1;
}

.telegram-advanced:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 28px rgba(30, 159, 216, 0.4);
}

.telegram-advanced:hover .tg-icon {
  transform: rotate(-8deg) scale(1.15);
}

.telegram-advanced:active {
  transform: scale(0.96);
}

/* Mobile */
@media (max-width: 768px) {
  .telegram-advanced {
    padding: 14px 24px;
    font-size: 14px;
    bottom: 20px;
    right: 20px;
    gap: 10px;
  }

  .tg-icon {
    width: 18px;
    height: 18px;
  }
}
