.discord-fab {
  position: fixed;
  right: 1.1rem;
  bottom: 1.15rem;
  z-index: 56;
  display: flex;
  width: 3.5rem;
  height: 3.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: #5865f2;
  box-shadow:
    0 8px 24px rgba(88, 101, 242, 0.42),
    0 2px 8px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, background 0.2s ease;
}

.discord-fab svg {
  width: 1.55rem;
  height: 1.55rem;
  position: relative;
  z-index: 1;
}

.discord-fab__pulse {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(88, 101, 242, 0.45);
  animation: discord-fab-pulse 2.4s ease-out infinite;
  pointer-events: none;
}

.discord-fab:hover {
  transform: scale(1.08) translateY(-2px);
  background: #4752c4;
  box-shadow:
    0 12px 28px rgba(88, 101, 242, 0.5),
    0 4px 12px rgba(0, 0, 0, 0.32);
}

.discord-fab:active {
  transform: scale(0.96);
}

body.is-checkout-page .discord-fab,
body.is-login-page .discord-fab {
  display: none;
}

@keyframes discord-fab-pulse {
  0% { box-shadow: 0 0 0 0 rgba(88, 101, 242, 0.45); }
  70% { box-shadow: 0 0 0 14px rgba(88, 101, 242, 0); }
  100% { box-shadow: 0 0 0 0 rgba(88, 101, 242, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .discord-fab__pulse {
    animation: none;
  }
}
