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

.desktop {
    position: relative;
    width: 100%;
    height: 100%;
    color: #fff;
    font-size: 0;
    overflow: hidden;
    background: #1a0a14;
}

/* 顶部 header：logo 左，按钮组右 */
.desktop .top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 30;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.8vw 3.5vw 0;
    pointer-events: none;
}

.desktop .top .logo {
    width: 12vw;
    object-fit: contain;
    pointer-events: auto;
}

.desktop .contact {
    display: flex;
    align-items: center;
    gap: 1.2vw;
    pointer-events: auto;
}

.desktop .contact img {
    width: 8.2vw;
    height: auto;
    object-fit: contain;
    cursor: pointer;
    transition: transform .25s ease;
}

.desktop .contact img:hover {
    transform: translateY(-2px) scale(1.03);
}

/* 轮播整屏 */
.desktop .mySwiper {
    width: 100%;
    height: 100%;
}

.desktop .swiper-slide {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.desktop .slide-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.desktop .stage {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
}

/* 左侧主题文案：背景光晕 + 文案图 */
.desktop .title-group {
    position: absolute;
    left: 4vw;
    top: 10vw;
    width: 42vw;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.desktop .title-group .title-bg {
    position: absolute;
    left: 50%;
    top: 45%;
    transform: translate(-50%, -50%);
    width: 110%;
    opacity: 0.85;
    mix-blend-mode: screen;
    pointer-events: none;
}

.desktop .title-group .title {
    position: relative;
    z-index: 1;
    width: 100%;
    object-fit: contain;
}

/* 右侧人像主图 */
.desktop .section {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 92%;
    width: auto;
    max-width: 58vw;
    object-fit: contain;
    object-position: bottom right;
    z-index: 4;
    pointer-events: none;
}

/* 左下扫码区 */
.desktop .qr-holder {
    position: absolute;
    left: 4vw;
    bottom: 3.5vw;
    z-index: 25;
    width: 36vw;
}

.desktop .qr-holder .scan-bg {
    width: 100%;
    display: block;
    object-fit: contain;
}

.desktop .qrcode-box {
    position: absolute;
    /* scan-bg 745x337，纯白二维码区约 x66~268 y60~258，中心 22.4%/47.2%，边长约 27% */
    left: 22.4%;
    top: 47.2%;
    width: 24%;
    height: auto;
    aspect-ratio: 1 / 1;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.desktop .qrcode-box .inside {
    width: 100%;
    height: 100%;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.desktop .qrcode-target {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.desktop .qrcode-target canvas {
    display: none !important;
}

.desktop .qrcode-target img,
.desktop .qrcode-target table {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    object-fit: contain;
}

/* 分页点：右下 */
.desktop .swiper-pagination {
    z-index: 40;
    left: auto !important;
    right: 2.5vw !important;
    bottom: 2.5vw !important;
    width: auto !important;
    text-align: right;
}

.desktop .swiper-pagination-bullet {
    width: 0.55vw;
    height: 0.55vw;
    background: rgba(255, 255, 255, .45);
    opacity: 1;
}

.desktop .swiper-pagination-bullet-active {
    background: #fff;
    width: 1.4vw;
    border-radius: 0.3vw;
}

/* 超宽屏用 vh，避免元素被横向拉大 */
@media (min-aspect-ratio: 16/9) {
    .desktop .top {
        padding: 3.2vh 6vh 0;
    }

    .desktop .top .logo {
        width: 21vh;
    }

    .desktop .contact img {
        width: 14.5vh;
    }

    .desktop .title-group {
        left: 7vh;
        top: 18vh;
        width: 74vh;
    }

    .desktop .section {
        height: 92%;
        max-width: 100vh;
    }

    .desktop .qr-holder {
        left: 7vh;
        bottom: 6vh;
        width: 64vh;
    }

}

