/* 样式定义 
body {
  margin: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f0f0f0;
  overflow: hidden;
}
*/
.floating-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(0, 114, 255, 0.6);
  position: fixed;
  top: 48%;
  right: 10%;
  cursor: pointer;
  animation: pulse 2s infinite ease-in-out;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.icon-text {
  color: white;
  font-weight: bold;
  font-size: 1.6em;
  animation: fadeInOut 3s infinite ease-in-out;
}

/* 图标的脉动动画 */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  
  }
  50% {
    transform: scale(1.1);
  
  }
}

/* 文本的淡入淡出动画 */
@keyframes fadeInOut {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}
