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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-image: url('../images/bg_image.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* 背景装饰 */
.bg-top-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 357px;
    height: auto;
    max-height: 100vh;
    z-index: 1;
}

.bg-bottom-left {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 304px;
    height: auto;
    max-height: 100vh;
    z-index: 1;
}

.container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.header {
    margin-top: 30px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
}

.logo {
    width: 50px;
    height: 50px;
    margin-right: 5px;
}

.app-title {
    font-size: 24px;
    color: #242543D9;
}

.conent-center {
    width: 550px;
    height: 528px;
    margin-bottom: 50px;
}


/* 二维码区域 */
.qr-section {
    text-align: center;
    margin-top: -140px;
    padding-bottom: 20px;
}

.qr-type-item {
    width: 24px;
    height: 24px;
    color: #242543;
    margin-right: 2px;
}

.qr-title {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
}

.qr-codes {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.qr-item {
    background: transparent;
    border-radius: 12px;
    width: 180px;
    height: 188px;
    position: relative;
    transition: all 0.3s ease;
}

.qr-item:hover {
    background: #FFFFFF80;
}

.qr-code {
    width: 120px;
    height: 120px;
    margin-top: 20px;
    margin-bottom: 5px;
    border-radius: 8px;
    transition: all 0.3s ease;
    opacity: 0;
}

.qr-item:hover .qr-code {
    opacity: 1;
}

.qr-type-item-box {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.qr-type-item-box:hover .qr-type-item {
    content: url('../images/ios_hover.png');
}

.qr-type-item-box:hover .qr-label {
    color: #8549F6;
}

/* Android下载区域的hover效果 */
.qr-item:nth-child(2) .qr-type-item-box:hover .qr-type-item {
    content: url('../images/android_hover.png');
}

.web-item .qr-type-item-box:hover .qr-type-item {
    content: url('../images/web_hover.png');
}



.qr-label {
    font-size: 16px;
    font-weight: 500;
    color: #242543;
    transition: all 0.3s ease;
}

/* 默认隐藏移动端下载按钮 */
#ios-download,
#android-download {
    display: none;
}


/* 底部 */
.footer {
    /* position: fixed;
    bottom: 0;
    left: 0;
    right: 0; */
    padding: 10px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
    gap: 15px;
}

.footer-line {
    background-color: rgba(36, 37, 67, 0.2);
    width: 1px;
    height: 18px;
}

.footer-link {
    color: rgba(36, 37, 67, 0.5);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    cursor: pointer;
}

.footer-link:hover {
    color: #ffffff;
}

.footer-link.active {
    color: rgba(36, 37, 67, 0.3);
    cursor: not-allowed;
    pointer-events: none;
}

.copyright {
    color: rgba(36, 37, 67, 0.5);
    font-size: 14px;
}

/* 响应式设计 - 移动端样式 */
@media (max-width: 768px) {

    .container {
        height: 95vh;
        margin: 0 auto;
        padding: 0px 20px;
    }

    .header {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        text-align: center;
        margin-bottom: 10px;
    }

    .logo {
        width: 35px;
        height: 35px;
        margin-right: 5px;
    }

    .app-title {
        font-size: 20px;
    }

    .conent-center {
        width: 337px;
        height: 285px;
        margin-bottom: 10px;
    }

    /* 移动端下载区域样式 */
    .qr-section {
        margin-top: 10px;
        text-align: center;
        margin-bottom: 50px;
    }

    .qr-type-item {
        width: 20px;
        height: 20px;
        margin-right: 5px;
    }

    .qr-type-item-box {
        background: #8549F6;
        width: 200px;
        height: 44px;
        border-radius: 25px;
        margin-top: 10px;
        display: none; /* 默认隐藏所有下载按钮 */
        flex-direction: row;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .qr-type-item-box.show {
        display: flex; /* 显示需要显示的按钮 */
    }

    /* 在移动端显示移动端下载按钮 */
    #ios-download,
    #android-download {
        display: none; /* 默认隐藏 */
    }

    #ios-download.show,
    #android-download.show {
        display: flex; /* 显示需要显示的按钮 */
    }

    .qr-type-item-box:active {
        transform: scale(0.95);
        background: #7a3fd8;
    }

    .qr-label {
        font-size: 16px;
        font-weight: 500;
        color: white;
    }

    /* 隐藏二维码和PC版本的hover效果 */
    .qr-item {
        display: none;
    }

    .qr-code {
        display: none;
    }

    /* 禁用PC版本的hover效果 */
    .qr-type-item-box:hover .qr-type-item {
        content: none; /* 禁用图标替换 */
    }

    .qr-type-item-box:hover .qr-label {
        color: white; /* 保持白色文字 */
    }

    /* 禁用Android hover效果 */
    .qr-item:nth-child(2) .qr-type-item-box:hover .qr-type-item {
        content: none;
    }

    .download-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 280px;
    }

    .download-btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 14px;
    }

    .btn-icon {
        width: 20px;
        height: 20px;
    }

    .qr-popup {
        display: none;
        /* 移动端不显示二维码 */
    }

    /* 底部 */
    .footer {
        padding: 12px;
    }

    .footer-links {
        margin-bottom: 5px;
        gap: 8px;
    }

    .content-header {
        margin-top: 0px;
        height: 11vh;
    }

}


.agree-container {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0px 20px;
    /* min-height: 100vh; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
}

.content-header {
    margin-top: 30px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 70px;
}

.back-btn {
    position: absolute;
    left: 0px;
    width: 36px;
    height: 36px;
}

.content-section {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    padding: 10px 20px 20px 20px;
    height: 75vh;
    overflow-y: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;

    &::-webkit-scrollbar {
        display: none;
    }
}

.content-title {
    font-size: 24px;
    font-weight: 600;
    color: rgba(36, 37, 67, 0.85);

    text-align: center;
}

.content-text {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(36, 37, 67, 0.85);
    margin-bottom: 20px;
}

.content-text h3 {
    font-size: 14px;
    font-weight: 600;
    color: rgba(36, 37, 67, 0.85);
    margin-top: 10px;
}

.content-text ul {
    margin-left: 20px;
}

.content-text ol {
    margin-left: 20px;
}

.content-text ol li {
    margin-bottom: 5px;
}

.content-text ul li {
    margin-bottom: 5px;
}

.content-footer {
    background: rgba(250, 248, 253, 1);
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: rgba(36, 37, 67, 0.85);
    line-height: 1.8;
}