
/* ===== 1. 全局重置 ===== */
html, body {
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
}

/* ===== 2. 主容器 ===== */
.main-container {
    max-width: 750px;
    margin: 0 auto;
    background-color: #fff;
    position: relative;
}

@media (min-width: 769px) {
    .main-container {
        max-width: 600px;
    }
}

/* ===== Banner 容器（关键） ===== */
.banner-box {
    position: relative;
}

/* ===== 通用图片 ===== */
.full-img {
    display: block;
    width: 100%;
    height: auto;
    border: 0;
}

/* ===== 按钮通用 ===== */
.btn {
    position: absolute;
    top: 68%;               /* 按钮在 bg 上的位置 */
    width: 40%;
    border-radius: 12px;
    overflow: hidden;       /* 裁掉 1px 白线 */
}

/* 左右按钮 */
.tg {
    left: 5%;
}

.ws {
    right: 5%;
}

.main-btn {
    position: absolute;
    top: 73%;        /* 比 TG 的 75% 更低 */
    left: 5%;
    width: 90%;      /* 通常主按钮做大一点 */
    border-radius: 12px;
    overflow: hidden;
}

/* ===== 右侧悬浮圆形客服（呼吸灯） ===== */
/* ===== main-container 内 悬浮客服按钮 ===== */
.float-service {
    position: absolute;
    right: 12px;
    bottom: 37%;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366; /* WhatsApp 绿 */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    animation: breathe 1.8s infinite;
}

/* 图标 */
.float-service img {
    width: 60%;
    height: 60%;
}

/* 呼吸灯动画 */
@keyframes breathe {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    25% {
        box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
    }
    50% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    75% {
        box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}


/* 手机端优化 */
@media (max-width: 480px) {
    .float-service {
        width: 50px;
        height: 50px;
        right: 8px;
    }
}
