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

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #050008;
}

.desktop {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    color: #fff;
}

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

/* ============ 顶部 ============ */
.top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.6vh 3vw 0 3vw;
}

.logo {
    width: 15vw;
    max-width: 280px;
    object-fit: contain;
}

.contact {
    display: flex;
    align-items: center;
    gap: 1.2vw;
}

.nav-btn {
    height: clamp(42px, 5.4vh, 64px);
    width: auto;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.2s, filter 0.2s;
}

.nav-btn:hover {
    filter: brightness(1.15);
    transform: translateY(-1px);
}

/* ============ 轮播 ============ */
.carousel {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.55s ease;
    pointer-events: none;
}

.slide.is-active {
    opacity: 1;
}

.slide-title {
    position: absolute;
    left: 4vw;
    top: 16vh;
    width: 50vw;
    max-width: 920px;
    max-height: 38vh;
    height: auto;
    object-fit: contain;
    object-position: left top;
}

.slide-renwu {
    position: absolute;
    right: 4vw;
    bottom: 0;
    height: 78vh;
    max-width: 46vw;
    width: auto;
    object-fit: contain;
    object-position: right bottom;
}

.dots {
    position: absolute;
    right: 2.4vw;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    pointer-events: auto;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #5e5c5e;
    cursor: pointer;
    transition: background 0.2s;
}

.dot.is-active {
    background: #9f9d9f;
}

/* ============ 底部下载区 ============ */
.bottom-bar {
    position: absolute;
    left: 4vw;
    right: 4vw;
    bottom: 4vh;
    z-index: 4;
    display: flex;
    align-items: flex-start;
    gap: 2vw;
}

.qrcode-box {
    flex-shrink: 0;
    width: clamp(150px, 11vw, 210px);
    aspect-ratio: 1 / 1;
    background: #fff;
    padding: 6px;
    border-radius: 12px;
    border: 2px solid;
    border-image: linear-gradient(135deg, #ff2e63, #25f4ee) 1;
    box-shadow: 0 0 14px rgba(255, 46, 99, 0.35), 0 4px 20px rgba(0, 0, 0, 0.55);
}

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

#qrcode img,
#qrcode canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

.download-side {
    display: flex;
    flex-direction: column;
    gap: 1.2vh;
    flex: 1;
    min-width: 0;
}

.download-area {
    position: relative;
    width: clamp(280px, 22vw, 440px);
    flex-shrink: 0;
}

.download-img {
    display: block;
    width: 100%;
    height: auto;
}

.dl-hit {
    position: absolute;
    left: 0;
    width: 100%;
    height: 50%;
    cursor: pointer;
    display: block;
}

.dl-hit.btn_android {
    top: 0;
}

.dl-hit.btn_ios {
    top: 50%;
}

.disclaimer {
    color: rgba(255, 255, 255, 0.6);
    font-size: clamp(12px, 0.9vw, 15px);
    line-height: 1.5;
    text-align: justify;
    max-width: clamp(280px, 24vw, 480px);
    user-select: text;
}

/* ============ 响应式 ============ */
@media (max-width: 1280px) {
    .slide-title {
        left: 3vw;
        width: 54vw;
    }

    .slide-renwu {
        right: 2vw;
    }

    .bottom-bar {
        left: 3vw;
        right: 3vw;
    }
}

@media (max-height: 760px) {
    .slide-title {
        top: 14vh;
        max-height: 32vh;
    }

    .slide-renwu {
        height: 70vh;
    }

    .dots {
        bottom: calc(30vh + 16px);
    }
}
