.messenger-float {
  position: fixed;
  bottom: var(--mf-bottom, 28px);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0084ff, #00c6ff, #6a82fb, #f67280, #0084ff);
  background-size: 300% 300%;
  animation: mf-gradientMove 3.5s ease-in-out infinite alternate;
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2147483647;
  cursor: pointer;
  transition: transform .13s, box-shadow .13s;
  text-decoration: none;
}
.messenger-float--right { right: var(--mf-offset, 28px); }
.messenger-float--left  { left:  var(--mf-offset, 28px); }

@keyframes mf-gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.messenger-float:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 36px rgba(0,0,0,0.23);
}

.messenger-float svg {
  width: 32px;
  height: 32px;
  display: block;
}


/* On small screens, move button up +15px and right +10px */
@media (max-width: 767px) {
  .messenger-float {
    bottom: calc(var(--mf-bottom, 28px) + 25px); 
  }
  .messenger-float--right {
    right: calc(var(--mf-offset, 28px) - 20px);
  }
  .messenger-float--left {
    left: calc(var(--mf-offset, 28px) + 0px);
  }
}