/* ======= 全局初始化 ======= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    font-family: 'Helvetica Neue', Helvetica, sans-serif;
}

img {
    display: block;
    width: 100%;
    height: auto;
}

li { list-style: none; }
a { text-decoration: none; color: #666; }

/* ===================== 公共样式 ===================== */
.title-container {
    position: relative; /* 按钮绝对定位参考 */
    display: inline-block;
    width: 100%;
}

.desc-container,
.subscribe-container,
.faq-container {
    margin-top: 2rem;
    width: 100%;
}

.view_pc_tips_box {
    width: 100%;
    background-color: white;
    box-shadow: 0 2px 12px #666;
    font-size: 14px;
    z-index: 100;
}

.view_pc_tips_box ul {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* ===================== PC端样式 ===================== */
@media (min-width: 1025px) {
    .pc-only { display: block; }
    .mobile-only { display: none !important; }

    .view_pc_tips_box {
        position: fixed;
        left: 0;
        bottom: 0;
    }

    /* 按钮容器，四个按钮两行两列 */
    .titleButtonWindows {
        position: absolute;
        bottom: 1rem;
        left: 0;
        padding-left: 17%; /* 根据图片文字调整 */
        z-index: 10;
        display: grid;
        grid-template-columns: repeat(2, auto); /* 两列 */
        grid-gap: 1rem;
    }

    .titleButtonWindows a {
        background: #6f9bfa;
        color: #fff;
        padding: 0.8rem 1.8rem;
        border-radius: 8px;
        font-size: 1.1rem;
        text-align: center;
        line-height: normal;
        white-space: nowrap;
        display: inline-block;
        box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    }
}

/* ===================== 移动端样式 ===================== */
@media (max-width: 1024px) {
    .pc-only { display: none !important; }
    .mobile-only { display: block; }

    .title-container {
        width: 100%;
    }

    .view_pc_tips_box {
        position: relative;
        margin-top: 1rem;
        font-size: 12px;
        padding: 10px;
        box-shadow: 0 2px 12px #666;
    }

    .view_pc_tips_box ul {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        padding: 0;
        margin: 0;
    }

    .view_pc_tips_box li {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        width: 100%;
    }

    .view_pc_tips_box li span,
    .view_pc_tips_box li a {
        font-size: 12px;
        margin: 2px 0;
    }

    .view_pc_tips_box li a {
        color: #1a73e8;
    }

    /* 移动端按钮两排两列居中 */
    .titleButtonWindows {
        position: absolute;
        bottom: 1rem;
        left: 50%;
        transform: translateX(-50%);
        z-index: 10;
        display: grid;
        grid-template-columns: repeat(2, auto); /* 两列 */
        grid-gap: 0.5rem;
        justify-content: center;
    }

    .titleButtonWindows a {
        background: #6f9bfa;
        color: #fff;
        padding: 0.8rem 1.5rem;
        border-radius: 8px;
        font-size: 1rem;
        text-align: center;
        line-height: normal;
        white-space: nowrap;
        display: inline-block;
        box-shadow: 0 1px 4px rgba(0,0,0,0.3);
    }
}

@media (min-width: 1025px) {

    /* Android 下载按钮本体 */
    .androidDownload {
        position: relative;   /* 关键！让子元素绝对定位 */
        padding-right: 2.2rem !important;
    }

    /* 右侧小图标 */
    .androidDownload::after {
        content: "";
        width: 18px;
        height: 18px;
        background: url("../img/code.png") no-repeat center;
        background-size: contain;
        position: absolute;
        top: 50%;
        right: 10px;
        transform: translateY(-50%);
    }

    /* 二维码容器 */
    #androidQrcodeBox {
        position: absolute;
        display: none;

        /* 右上角显示 */
        top: -190px;      /* 向上偏移 */
        right: -90px;   /* 挨着按钮右侧 */

        background: #fff;
        padding: 10px;
        border-radius: 8px;
        box-shadow: 0 4px 14px rgba(0,0,0,.25);
        z-index: 9999;
        width: 160px;
        text-align: center;
    }

    #androidQrcodeBox p {
        margin-top: 8px;
        font-size: 12px;
        color: #333;
        line-height: 1.3;
        color: red;
    }
}


