
/* 外层容器：固定左侧定位 */
.float-service {
  position: fixed;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  left: 10px;
  bottom: 30px;
}

/* 图标基础样式 + 入场动画 */
.float-service img {
  width: 48px;
  height: 48px;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1) !important;
  animation: fadeBounce 0.8s ease forwards;
}

/* 延迟入场 */
.float-service a:nth-child(1) img { animation-delay: 0.1s; }
.float-service a:nth-child(2) img { animation-delay: 0.2s; }

/* 鼠标悬停：放大 + 旋转 + 阴影 */
.float-service img:hover {
  transform: scale(1.15) rotate(5deg) !important;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2) !important;
}

/* 鼠标按下：回弹效果 */
.float-service img:active {
  transform: scale(1.05) !important;
}

/* 加载动画：淡入弹跳 */
@keyframes fadeBounce {
  0% {
    opacity: 0;
    transform: translateX(-20px) scale(0.8);
  }
  60% {
    transform: translateX(5px) scale(1.05);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}
