.contact-icons {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;  /* Increased from 40px */
  height: 50px; /* Increased from 40px */
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  animation: fadeIn 0.5s ease forwards;
  text-decoration: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.contact-icon:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  background-color: #f8f8f8;
}

.contact-icon img {
  width: 25px;  /* Increased from 20px */
  height: 25px; /* Increased from 20px */
}

/* 媒体查询：在移动设备上调整样式 */
@media (max-width: 768px) {
  .contact-icons {
    /*flex-direction: row;*/
    top: auto;
    right: 30px;
    bottom: 20px;
    transform: translateX(50%);
    gap: 12px;
  }
  
  .contact-icon {
    width: 45px;  /* Increased from 36px */
    height: 45px; /* Increased from 36px */
  }
  
  .contact-icon img {
    width: 22px;  /* Increased from 18px */
    height: 22px; /* Increased from 18px */
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}