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

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #240806;
    font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
    user-select: none;
    -webkit-user-select: none;
}

/* 1920×1080 设计舞台，JS 按窗口宽、高各自算缩放比拉伸铺满整个窗口（用户要求拉伸也要铺满，不留空边）。
   bg 已按设计稿 z 序合成了光影背景/人物/胶片/海报墙/标题区/手机样机，舞台内只剩可交互层 */
.content {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 1920px;
    height: 1080px;
    transform: translate(-50%, -50%) scale(var(--scaleX, 1), var(--scaleY, 1));
    transform-origin: center center;
    background: url("../images/desktop/bg.js?v=4") no-repeat left top;
}

.logo {
    position: absolute;
    left: 64px;
    top: 40px;
    width: 280px;
}

/* ===== 右上三胶囊 CTA：按设计稿 60 高 / 36 圆角 / 2px 金色渐变描边 / 内阴影 ===== */
.ctaBar {
    position: absolute;
    right: 64px;
    top: 54px;
    display: flex;
}

/* flex gap 在 Chromium<84 / iOS<14.5 被忽略，间距用 margin */
.ctaPill + .ctaPill {
    margin-left: 20px;
}

.ctaPill {
    display: flex;
    align-items: center;
    height: 60px;
    padding: 0 22px;
    border: 2px solid transparent;
    border-radius: 36px;
    background:
        linear-gradient(180deg, #74280a 0%, #401208 22%, #3e0b02 78%, #54250f 100%) padding-box,
        linear-gradient(180deg, #ffc940 0%, #fff5dd 50%, #ffc940 100%) border-box;
    box-shadow: inset 0 6px 6px rgba(183, 94, 58, 0.25);
    font-size: 22px;
    color: #fff8d6;
    cursor: pointer;
}

.ctaPill svg {
    width: 32px;
    height: 32px;
    margin-right: 10px;
    fill: currentColor;
}

/* ===== 左下扫码卡：运行时二维码盖住图内米白方块（方块在图内 35,28 起 150×148） ===== */
.dlCard {
    position: absolute;
    left: 64px;
    top: 822px;
    width: 454px;
}

#qrcode {
    position: absolute;
    left: 35px;
    top: 27px;
    width: 150px;
    height: 150px;
    padding: 9px;
    background: #faf9f3;
    border-radius: 14px;
}

.footerTip {
    position: absolute;
    left: 0;
    top: 1043px;
    width: 100%;
    text-align: center;
    font-size: 14px;
    line-height: 17px;
    color: #fff9df;
}
