.desktop {
    color: #fff;
    width: 100%;
    height: 100%;
    font-size: 0px;
    overflow: hidden;
}

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

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

.logo {
    width: 15vw;
}

.desktop .fixed-bg * {
    object-fit: cover;
}

.content {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.top {
    padding: 40px 100px 0 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.desktop .contact {
    display: flex;
    cursor: pointer;
}

.cooperationBtn,
.customerBtn {
    width: 10vw;
}

.slg {
    position: relative;
    display: block;
    height: 100%;
    width: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.bottom {
    flex: 1;
    display: flex;
    justify-content: space-around;
    align-items: center;
    overflow: hidden;
}

.downloadArea {
    display: flex;
    align-items: center;
    gap: 1.2vw;
    position: absolute;
    right: 14vw;
    /* 默认：安卓2不在时靠左 */
    bottom: 12vw;
}

/* 当存在第二个安卓按钮（且未被隐藏）时，右侧间距设为 12vw */
.downloadArea:has(.btn-row img:nth-child(2):not([style*='display:none']):not([style*='visibility:hidden'])) {
    right: 12vw;
}

.main-left {
    height: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.slg-wrap {
    position: relative;
    height: 100%;
}



.content .qrcode-box {
    font-size: 0;
    display: inline-block;
    width: 160px;
    height: 160px;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid black;
}

.inside {
    border-radius: 10px;
    background: #fff;
    height: 100%;
}


.btn-right {
    margin-left: 2vw;
}

.qrcode_tip {
    font-size: 1vw;
    font-weight: 100;
    position: fixed;
    bottom: 1vw;
    margin-left: .5vw;
}

#qrcode img {
    visibility: visible !important;
}

.btn_ios {
    margin-top: 12px;
}

.btn-box .btn {
    display: inline-block;
    border: none;
    outline: none;
    cursor: pointer;
    transition: transform .2s ease;
    will-change: transform;
    background: transparent;
    font-size: 24px;
}

.btn-box img {
    width: 120px;
    /* 固定按钮宽度 */
    height: auto;
}

/* 悬停缩放效果 */
.btn-box .btn:hover {
    transform: scale(1.06);
}

/* 安卓1+安卓2一排展示 */
.btn-row {
    display: flex;
    gap: 12px;
    /* 两按钮水平间距 */
    justify-content: center;
}

/* 中小屏适配：保持固定宽度，居中即可 */
@media (max-width: 1366px) {
    .btn-row {
        justify-content: center;
    }
}

.right {
    position: relative;
    top: -10vw;
    right: 3vw;
    width: 15vw;
    height: 100%;
    object-fit: contain
}

/* ===== 横屏（桌面） ===== */
@media screen and (orientation: landscape) {
    .right {
        position: relative;
        object-fit: contain;
        animation: blink 3s infinite;

        /* ✅ 用高度自适应，而不是固定宽度 */
        height: 55vh;
        /* 图片高度占屏幕高度的 55% */
        width: auto;
        /* 按比例自适应宽度 */
        max-width: 20vw;
        /* 防止太宽 */
        top: -4vw;
        right: 3vw;
    }
}

/* ===== 竖屏（手机或竖屏显示器） ===== */
@media screen and (orientation: portrait) {
    .right {
        position: relative;
        object-fit: contain;
        animation: blink 3s infinite;

        height: 35vh;
        /* ✅ 高度随屏幕高度变化 */
        width: auto;
        /* 自动保持比例 */
        max-width: 70vw;
        /* 防止横向撑满 */

        margin-top: 5vw;
        margin-bottom: 5vh;
    }
}