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

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

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

/* 背景舞台：尺寸等效 object-fit:cover 的 16:9 画布，背景与人物共用坐标系 */
.bgStage {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    height: 100vh;
    width: 177.78vh;
    z-index: 0;
}

@media (min-aspect-ratio: 16/9) {
    .bgStage {
        width: 100vw;
        height: 56.25vw;
    }
}

.bgImg {
    display: block;
    width: 100%;
    height: 100%;
}

/* 人物图：按设计画布右下角锚定，renwu1 满高、renwu2 为 973/1080 高 */
.heroImg {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 100%;
    width: auto;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.heroImg.active {
    opacity: 1;
}

.heroImgWide {
    height: 90.1%;
}

/* 底部渐隐到黑：盖住人物切图底部烤入的半透明渐变叠层（否则近黑背景上显出灰色块） */
.desktop::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 14vh;
    background: linear-gradient(180deg, transparent, #000 85%);
    pointer-events: none;
}

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

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

.logo {
    height: 8vh;
    width: auto;
    object-fit: contain;
}

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

/* 间距用 margin 不用 flex gap：Chromium<84 不支持 flex gap */
.navBtn + .navBtn {
    margin-left: 1.4vw;
}

.navBtn {
    /* 设计 146x43；先写 vh 兜底：Chromium<79 不认 clamp() */
    height: 4vh;
    height: clamp(36px, 4vh, 52px);
    width: auto;
    object-fit: contain;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
}

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

/* ============ 主体两栏 ============ */
.main {
    flex: 1;
    display: flex;
    min-height: 0;
    padding-top: 3vh;
}

.leftCol {
    flex: 0 0 46%;
    display: flex;
    flex-direction: column;
    min-width: 0;
    z-index: 2;
}

.titleImg {
    width: 100%;
    max-height: 38vh;
    object-fit: contain;
    object-position: left top;
    margin-top: 2vh;
}

.futitleImg {
    width: 100%;
    object-fit: contain;
    object-position: left top;
    margin-top: 3.5vh;
}

/* 扫码卡片：整图 + 运行时二维码覆盖 */
.qrArea {
    position: relative;
    width: 100%;
    margin-top: auto;
    margin-bottom: 4vh;
}

.qrPic {
    display: block;
    width: 100%;
    height: auto;
}

.qrBox {
    position: absolute;
    left: 2.4%;
    top: 8.3%;
    width: 21.2%;
    height: 74.2%;
    background: #fff;
    border-radius: 8%/10%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5%;
}

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

/* ============ 右列（仅轮播指示点） ============ */
.rightCol {
    position: relative;
    flex: 1;
    min-width: 0;
}

/* 轮播指示点 */
.pagination {
    position: absolute;
    right: 0.5vw;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    z-index: 5;
}

.dot + .dot {
    margin-top: 1.4vh;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: #f5c966;
    box-shadow: 0 0 8px rgba(245, 201, 102, 0.8);
    transform: scale(1.3);
}
