@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fadeIn {
  animation: fadeIn .3s ease-out;
}

/* 遮罩 */
.beauty-modal {
    display: none;
    position: fixed;
    z-index: 999999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 240, 240, 0.6);
    backdrop-filter: blur(6px);
    justify-content: center;
    align-items: center;
}

/* 内容框 */
.beauty-content {
    background: #ffffff;
    padding: 35px 40px;
    width: 430px;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
    text-align: center;
    animation: popupFadeIn 0.3s ease-out;
}

/* 文本 */
.beauty-text {
    font-size: 17px;
    line-height: 1.6;
    color: #4A4A4A;
    margin-bottom: 28px;
    font-family: "Georgia", serif;
}

/* 按钮 */
.beauty-btn {
    padding: 12px 36px;
    background: #3D3D3D;
    color: #fff;
    font-size: 15px;
    font-family: Arial, sans-serif;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: 0.25s;
}

.beauty-btn:hover {
    background: #111;
    transform: translateY(-1px);
}

/* 弹窗动画 */
@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
  /* 默认样式（电脑端） */
  .whatsapp-float {
    position: fixed;
    right: 50px;
    bottom: 130px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    cursor: pointer;
    z-index: 9999;
    transition: all 0.3s ease;
  }

  .whatsapp-float:hover {
    background-color: #20b558;
    transform: scale(1.1);
  }

  .whatsapp-float img {
    width: 35px;
    height: 35px;
  }

  /* ✅ 移动端：改成右侧中间 */
  @media (max-width: 768px) {
    .whatsapp-float {
      top: 50%;                 /* 垂直居中 */
      bottom: auto;
      transform: translateY(-50%);
      right: 50px;              /* 稍微往内一点 */
      width: 55px;
      height: 55px;
    }

    .whatsapp-float img {
      width: 30px;
      height: 30px;
    }
  }