* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    -webkit-user-drag: none;
}

html,
body {
    width: 100%;
    height: 100%;
    background: #000000;
}

body {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}

.desktop {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    color: #fff;
    /* bg 为 1990×731 宽幅图，按宽铺满顶部完整展示（cover 会裁掉左右两侧内容） */
    background: #000000 url("../images/desktop/bg.js") no-repeat top center / 100% auto;
    font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
}

/* 1920×1080 设计舞台，JS 按 min(宽比,高比) 缩放居中，任何窗口比例不破版 */
.content {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 1920px;
    height: 1080px;
    transform: translate(-50%, -50%) scale(var(--pageScale, 1));
    transform-origin: center center;
}

.cooperationBtn,
.customerBtn,
.officialGroupBtn,
.statsDownload {
    cursor: pointer;
}

/* ===== 顶部：logo + 联系入口条 ===== */
.top {
    position: relative;
    width: 100%;
    height: 134px;
}

.logo {
    position: absolute;
    left: 50px;
    top: 38px;
    width: 307px;
}

.pillBar {
    position: absolute;
    right: 44px;
    top: 38px;
    width: 902px;
}

.pillImg {
    width: 100%;
}

/* btn.js 是三个胶囊+在线人数的合并图，用透明层做点击区 */
.zone {
    position: absolute;
    top: 0;
    height: 100%;
}

.zone.customerBtn {
    left: 0.5%;
    width: 19.5%;
}

.zone.cooperationBtn {
    left: 22%;
    width: 19.5%;
}

.zone.officialGroupBtn {
    left: 44%;
    width: 19.5%;
}

.zone:hover {
    box-shadow: 0 0 0 2px rgba(255, 144, 0, 0.5);
    border-radius: 38px;
}

/* ===== 左侧主内容 ===== */
.main {
    position: absolute;
    left: 81px;
    top: 273px;
    width: 806px;
    z-index: 2;
}

.qipao {
    position: absolute;
    left: 173px;
    top: -83px;
    width: 253px;
    z-index: 3;
    animation: qipaoFloat 3s ease-in-out infinite alternate;
}

@keyframes qipaoFloat {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-8px);
    }
}

.title {
    width: 780px;
    position: relative;
}

.futitle {
    width: 680px;
    margin-top: 31px;
}

/* ===== 二维码 + 下载文案（无切图，CSS 实现） ===== */
.ctaRow {
    margin-top: 54px;
    display: flex;
    align-items: flex-start;
}

.qrCard {
    width: 221px;
    background: linear-gradient(#150c06, #150c06) padding-box,
        linear-gradient(180deg, #ffb14d, #c85a00) border-box;
    border: 2px solid transparent;
    border-radius: 23px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex: none;
    box-shadow: 0 0 27px rgba(255, 140, 0, 0.45);
    padding: 17px 17px 0;
}

.qrcode-box {
    width: 100%;
    height: 182px;
    background: #f2ecdf;
    border-radius: 10px;
    padding: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#qrcode {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#qrcode img {
    width: 100%;
    height: 100%;
}

.qrLabel {
    color: #ffffff;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    padding: 15px 0 17px;
    letter-spacing: 0.06em;
}

.ctaCol {
    margin-left: 31px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 6px;
}

.ctaCol>*+* {
    margin-top: 17px;
}

.ctaMain {
    font-size: 30px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.ctaMain .statsDownload {
    color: #fe9001;
    margin-left: 8px;
}

.ctaMain .statsDownload:hover {
    filter: brightness(1.1);
    text-decoration: underline;
}

.ctaSub {
    font-size: 22px;
    color: #dddddd;
}

.ctaUc {
    font-size: 18px;
    color: #fe9001;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.ctaNote {
    font-size: 15px;
    color: #8a8a8a;
    line-height: 1.7;
}

/* ===== 右侧人物图 + 标签气泡 ===== */
.renwuWrap {
    position: absolute;
    right: 19px;
    bottom: 73px;
    width: 1133px;
    z-index: 1;
    pointer-events: none;
}

.renwu {
    width: 100%;
}

/* 标签为切图（2x 导出，含发光留白），高度统一 86px */
.tag {
    position: absolute;
    height: 86px;
    width: auto;
    /* renwuWrap 为 pointer-events:none，这里恢复以响应悬停 */
    pointer-events: auto;
    transition: filter 0.25s ease;
    animation: tagFloat 3.6s ease-in-out infinite alternate;
}

/* 上下呼吸浮动，错开相位更自然 */
@keyframes tagFloat {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-16px);
    }
}

/* 悬停点亮：增亮发光 */
.tag:hover {
    filter: brightness(1.3);
}

.tagA {
    left: 4.7%;
    top: 10.5%;
}

.tagB {
    left: 42.7%;
    top: 53%;
    animation-delay: -0.7s;
}

.tagC {
    left: 0.5%;
    top: 88%;
    animation-delay: -1.4s;
}

.tagD {
    /* 切图较宽（255px），左收避免超出舞台右缘 */
    left: 73.5%;
    top: 6.5%;
    animation-delay: -2.1s;
}

.tagE {
    left: 79%;
    top: 81%;
    animation-delay: -2.8s;
}

/* ===== 底部特性条（无缝滚动跑马灯） ===== */
.paomaWrap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 27px;
    overflow: hidden;
    pointer-events: none;
    z-index: 3;
}

.paomaTrack {
    display: flex;
    width: max-content;
    animation: paoScroll 40s linear infinite;
}

.paomadeng {
    width: 1843px;
    flex: none;
    margin-right: 60px;
}

@keyframes paoScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {

    .qipao,
    .tag,
    .paomaTrack {
        animation: none;
    }
}
