.contact-menu {
  position: fixed;
  z-index: 1000;
}

.contact-menu[data-position="bottom-right"] {
  bottom: 120px;
  right: 120px;
}

.contact-menu[data-position="bottom-left"] {
  bottom: 120px;
  left: 120px;
}

.contact-menu[data-position="top-right"] {
  top: 120px;
  right: 120px;
}

.contact-menu[data-position="top-left"] {
  top: 120px;
  left: 120px;
}

/* ... 其他位置的样式 ... */

.contact-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  z-index: 100;
  transition: transform 0.3s ease;
}

.contact-items {
  position: absolute;
  width: 240px;
  height: 240px;
  bottom: -90px;
  right: -90px;
  pointer-events: none;
}

.contact-item {
  position: absolute;
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  pointer-events: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.contact-item i {
  font-size: 20px;
}

.contact-menu.active .contact-toggle {
  transform: rotate(135deg);
}

.contact-menu.active .contact-item {
  opacity: 1;
  visibility: visible;
}

.contact-item.phone i {
  color: #4caf50;
}

.contact-item.email i {
  color: #f44336;
}

.contact-item.whatsapp i {
  color: #25d366;
}

.contact-item.telegram i {
  color: #0088cc;
}

.contact-item:hover {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

/* 添加图标切换动画 */
.contact-toggle i {
  position: absolute;
  transition: all 0.3s ease;
}

.contact-toggle .fa-headset {
  opacity: 1;
  transform: scale(1);
}

.contact-toggle .fa-plus {
  opacity: 0;
  transform: scale(0.5);
}

.contact-menu.active .fa-headset {
  opacity: 0;
  transform: scale(0.5);
}

.contact-menu.active .fa-plus {
  opacity: 1;
  transform: scale(1) rotate(135deg);
}

/* 添加主按钮悬停效果 */
.contact-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* ... 其余CSS保持不变，从原始代码复制过来 ... */
