* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 响应式根字体 - 以1920px为基准 */
html {
    /* 1920px时font-size=16px, 1920/16=120 */
    font-size: calc(100vw / 120);
}

html, body {
    height: 100%;
    margin: 0;
    overflow: hidden; /* 禁止滚动 */
    background: url(../img/pc/img_bg.png) no-repeat center center fixed;
    background-size: cover; /* 铺满整个屏幕 */
}

#wrap {
    max-width: 1600px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 2rem;
}

.header, .bottom {
    height: 10vh;
}

.content {
    padding: 3rem;
    vertical-align: middle;
    text-align: right;
}

.img2 {
    margin-top: 4rem;
    width: 40rem;
    height: 40rem;
}

.rightimg2 {
    margin-top: 4rem;
}

.row-logo {
    text-align: center;
    padding-right: 3rem;
}

.row-logo img {
    width: 12.5rem;
    height: auto;
}

.img-title {
    text-align: center;
}

.img-title img {
    width: 80%;
}

.btnimg img {
    width: 100%;
}

.right-bot {
    margin-top: 3.68rem;
}

.right-bot .btnimg {
    cursor: pointer;
}

.button-wrapper {
    position: relative;
}

.qrcode {
    width: auto;
    height: auto;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /*padding: 0 .2vw;*/
    /* display: none; */
    position: absolute;
    top: 10px;
    z-index: 6;
}

.qrcode img{
    width: 100%;
    height: 100%;
}

/* 主标题 */
.main-title {
    font-size: 4rem;
    font-weight: 900;
    color: #041427;
    text-align: center;
    margin-top: 4rem;
    line-height: 1.2;
    letter-spacing: 0.2rem;
}

/* 三个特性 */
.features {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5.5rem;
    margin-top: 1.5rem;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-item img {
    width: 3rem;
    height: 3rem;
}

.feature-text {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.1rem;
    color: #041427;
}

/* 下载区域 */
.download-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 4rem;
}

.download-btn {
    cursor: pointer;
    transition: transform 0.2s;
}

.download-btn:hover {
    transform: scale(1.05);
}

.download-btn img {
    width: 20rem;
}

.qr-area {
    margin-top: 1rem;
    text-align: center;
}

.main-qrcode {
    width: 10rem;
    height: 10rem;
    margin: 0 auto;
}

.main-qrcode img {
    width: 100%;
    height: 100%;
}

.qr-tip {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
}

.version-info {
    font-size: 0.85rem;
    color: #999;
    margin-top: 1rem;
}

/* 平台图标 */
.platform-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 4rem;
}

.platform-item {
    width: 9rem;
    min-width: 9rem;
    max-width: 9rem;
    height: 3rem;
    display: flex;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 1.25rem;
    background:
        /* 上边框 - 右上角渐变消失 */
        linear-gradient(90deg, white 0%, white 75%, transparent 100%) 0 0 / 100% 1px,
        /* 右边框 - 右上角渐变消失 */
        linear-gradient(180deg, transparent 0%, white 25%, white 100%) right 0 / 1px 100%,
        /* 下边框 - 左下角渐变消失 */
        linear-gradient(90deg, transparent 0%, white 25%, white 100%) left bottom / 100% 1px,
        /* 左边框 - 左下角渐变消失 */
        linear-gradient(180deg, white 0%, white 75%, transparent 100%) 0 0 / 1px 100%;
    background-repeat: no-repeat;
    border-radius: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.platform-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.8);
}

.platform-item img {
    width: 2rem;
    height: 2rem;
}

.platform-text {
    font-size: 1rem;
    font-weight: 500;
    color: #041427;
}

/* 平台图标二维码 */
.platform-qrcode-wrapper {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 0.5rem;
    background: white;
    padding: 0.625rem;
    padding-bottom: 0.25rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10;
    text-align: center;
}

.platform-qrcode {
    width: 7.5rem;
    height: 7.5rem;
    margin: 0 auto;
}

.platform-qrcode img {
    width: 100%;
    height: 100%;
}

.platform-qr-tip {
    font-size: 0.875rem;
    font-weight: 500;
    color: #333;
    margin-top: 0.25rem;
    white-space: nowrap;
}

.platform-with-qr:hover .platform-qrcode-wrapper {
    display: block;
}

/* ==================== 响应式媒体查询 ==================== */

/* 限制最小字体：1280px及以下 */
@media (max-width: 1280px) {
    html {
        font-size: 10.67px; /* 1280 / 120 */
    }
}

/* 1366px */
@media (max-width: 1366px) {
    html {
        font-size: 11.38px; /* 1366 / 120 */
    }
}

/* 1440px */
@media (max-width: 1440px) {
    html {
        font-size: 12px; /* 1440 / 120 */
    }
}

/* 1600px */
@media (max-width: 1600px) {
    html {
        font-size: 13.33px; /* 1600 / 120 */
    }
}

/* 限制最大字体：2560px及以上 */
@media (min-width: 2560px) {
    html {
        font-size: 21.33px; /* 2560 / 120 */
    }

    #wrap {
        max-width: 2560px;
    }
}

/* 超宽屏 */
@media (min-width: 3840px) {
    html {
        font-size: 32px; /* 3840 / 120 */
    }

    #wrap {
        max-width: 3840px;
    }
}