* {
    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: #0a0a1a;
}

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

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

.content {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 2vh 3vw;
}

/* ============ 顶部导航 ============ */
.top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    padding: 0.5vh 1vw;
}

.logo {
    height: clamp(48px, 5.5vh, 80px);
    width: auto;
    object-fit: contain;
}

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

.nav-btn {
    height: clamp(38px, 4vh, 56px);
    width: auto;
    object-fit: contain;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
}

.nav-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* ============ 主体两栏 ============ */
.main {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2vw;
    min-height: 0;
    padding: 2vh 2vw 4vh;
}

/* 左列：标题 + QR */
.left-col {
    flex: 0 0 42%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5vh;
    padding-left: 3vw;
}

.title-img {
    width: 100%;
    max-width: 36vw;
    height: auto;
    object-fit: contain;
}

.qr-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2vh;
}

.qrcode-box {
    width: clamp(130px, 10vw, 180px);
    height: clamp(130px, 10vw, 180px);
    background: #fff;
    padding: clamp(8px, 0.6vw, 12px);
    border-radius: clamp(6px, 0.5vw, 10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.qr-tip {
    color: #fff;
    font-size: clamp(12px, 1vw, 15px);
    opacity: 0.9;
    font-weight: 400;
}

/* 右列：人物组 */
.right-col {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    height: 100%;
}

.hero-img {
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* ============ 响应式 ============ */
@media (max-width: 1280px) {
    .left-col {
        flex: 0 0 38%;
    }
    .title-img {
        max-width: 32vw;
    }
}

@media (max-width: 1024px) {
    .main {
        flex-direction: column;
        gap: 2vh;
        padding: 1vh 2vw 2vh;
    }
    .left-col, .right-col {
        flex: none;
        width: 100%;
    }
    .title-img {
        max-width: 70vw;
    }
    .hero-img {
        max-height: 50vh;
    }
}

@media (max-height: 700px) {
    .title-img {
        max-width: 30vw;
    }
    .qrcode-box {
        width: 110px;
        height: 110px;
    }
    .left-col {
        gap: 2vh;
    }
}