/* Floating Community Buttons (Telegram & Discord) */
.as-floating-actions {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  pointer-events: auto;
}
.as-float-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  color: #fff !important;
  text-decoration: none !important;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .3px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s ease, filter .2s;
  cursor: pointer;
}
.as-float-btn:hover {
  transform: translateY(-3px) scale(1.04);
  filter: brightness(1.15);
}
.as-float-btn svg {
  flex-shrink: 0;
  display: block;
}
.as-telegram-btn {
  background: linear-gradient(135deg, #2aabee 0%, #0088cc 100%);
  border: 1px solid rgba(42, 171, 238, 0.45);
  box-shadow: 0 6px 20px rgba(0, 136, 204, 0.4);
}
.as-discord-btn {
  background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
  border: 1px solid rgba(88, 101, 242, 0.45);
  box-shadow: 0 6px 20px rgba(88, 101, 242, 0.4);
}
.as-ping-badge {
  position: relative;
  display: flex;
  height: 8px;
  width: 8px;
}
.as-ping-badge .ping-outer {
  animation: asPing 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
  position: absolute;
  height: 100%;
  width: 100%;
  border-radius: 9999px;
  background-color: #fff;
  opacity: 0.75;
}
.as-ping-badge .ping-inner {
  position: relative;
  display: inline-flex;
  border-radius: 9999px;
  height: 8px;
  width: 8px;
  background-color: #fff;
}
@keyframes asPing {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}
@media (max-width: 640px) {
  .as-floating-actions {
    right: 12px;
    bottom: 16px;
    gap: 8px;
  }
  .as-float-btn {
    padding: 10px;
    border-radius: 50%;
  }
  .as-float-label {
    display: none;
  }
  .as-ping-badge {
    display: none;
  }
}

