/* ═══════ PC 端布局 (≥961px) ═══════ */
.pc-main {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: relative;
    display: none;
}

@media (min-width: 961px) {
    .pc-main {
        display: block;
    }
}

.pc-main .bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.pc-main .top-header {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 60px;
}

.pc-main .top-header .logo img {
    height: 60px;
    width: auto;
}

.pc-main .top-header .nav-btns {
    display: flex;
    gap: 20px;
}

.pc-main .nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    background: #FF4484;
    border: 2px solid #fff;
    border-radius: 999px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: opacity 0.2s;
}

.pc-main .nav-btn:hover {
    opacity: 0.85;
}

.pc-main .content-area {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    height: calc(100vh - 120px);
    padding: 0 60px;
}

.pc-main .left-content {
    flex: 0 0 42%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 12vh;
}

.pc-main .title-img {
    width: 100%;
    max-width: 680px;
    height: auto;
}

.pc-main .qr-section {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: -30px;
    margin-left: 8vw;
}

.pc-main .qr-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.pc-main .qr-box {
    width: 110px;
    height: 110px;
    background: #fff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pc-main .qr-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 110px;
    padding: 6px 0;
    background: #FF4484;
    border: 2px solid #fff;
    border-radius: 999px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    letter-spacing: 0.02em;
}

.pc-main .qr-tips {
    max-width: 280px;
}

.pc-main .qr-tips .tip-title {
    font-size: 18px;
    font-weight: 700;
    color: #FF4484;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.pc-main .qr-tips .tip-desc {
    margin-top: 10px;
    font-size: 12px;
    font-weight: 500;
    color: #FF4484;
    line-height: 1.4;
    letter-spacing: 0.02em;
    opacity: 0.85;
}

.pc-main .right-content {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
}

.pc-main .human-img {
    max-height: 85vh;
    max-width: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
}

/* ═══════ 移动端布局 (<961px) ═══════ */
.mobile-main {
    width: 100%;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    background: #FFD6E3;
}

@media (min-width: 961px) {
    .mobile-main {
        display: none !important;
    }
}

.mobile-main .bg-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.mobile-main .m-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 20px 24px;
    padding-bottom: max(20px, env(safe-area-inset-bottom));
}

.mobile-main .m-header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.mobile-main .m-header .logo img {
    height: 50px;
    width: auto;
}

.mobile-main .m-header .nav-btns {
    display: flex;
    gap: 10px;
}

.mobile-main .nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    background: #FF4484;
    border: 1.5px solid #fff;
    border-radius: 999px;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    text-decoration: none;
    letter-spacing: 0.02em;
}

.mobile-main .m-title {
    width: 115%;
    margin-top: 8px;
}

.mobile-main .m-title img {
    width: 100%;
    height: auto;
}

.mobile-main .m-human {
    width: 100%;
    max-width: 420px;
    margin-top: -25px;
}

.mobile-main .m-human img {
    width: 100%;
    height: auto;
}

.mobile-main .m-footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 10px;
}

.mobile-main .m-footer .download-btns {
    display: flex;
    gap: 12px;
}

.mobile-main .m-footer .download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 28px;
    background: #FF4484;
    border: 2px solid #fff;
    border-radius: 999px;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    letter-spacing: 0.02em;
}

.mobile-main .m-footer .disclaimer {
    font-size: 11px;
    font-weight: 500;
    color: rgba(153, 119, 136, 0.8);
    text-align: center;
    line-height: 1.5;
    letter-spacing: 0.02em;
    padding: 0 10px;
}

/* ═══════ 安卓报毒弹窗 ═══════ */
.android-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20;
    background: #fff;
    overflow-y: auto;
    overflow-x: hidden;
}

.android-modal .header {
    width: 100%;
    display: flex;
    align-items: center;
    color: #000;
    padding: 0.024rem 0.048rem;
    box-shadow: 0 0.03rem 0.05rem rgba(57, 63, 72, 0.1);
    justify-content: space-between;
    position: sticky;
    top: 0;
    left: 0;
    height: 44px;
    background: #fff;
    z-index: 2;
}

.android-modal .header .back-img {
    width: 24px;
    height: 24px;
    margin-left: 15px;
    cursor: pointer;
}

.android-modal .header .header-title {
    font-size: 16px;
    font-weight: bold;
}

.android-modal .header .header-right {
    width: 24px;
    margin-right: 15px;
}

.android-modal .tutorial-list {
    padding: 15px;
}

.android-modal .tutorial-list .tutorial-item {
    margin-bottom: 15px;
    cursor: pointer;
}

.android-modal .tutorial-list .tutorial-item img {
    width: 100%;
    border-radius: 8px;
}

.android-modal .contentAnser {
    display: none;
}

/* ═══════ iOS 弹窗 ═══════ */
.ios-mask {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 30;
}

.ios-modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 320px;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    text-align: center;
}

.ios-modal .modal-header {
    padding: 24px 20px 16px;
}

.ios-modal .modal-header p {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    margin: 0;
}

.ios-modal .modal-header .text-danger {
    color: #FF4484;
    margin-top: 8px;
}

.ios-modal .modal-footer {
    padding: 0 20px 24px;
}

.ios-modal .modal-footer .download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 28px;
    background: #FF4484;
    border-radius: 999px;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    gap: 6px;
}

/* ═══════ 右下角浮动广告 ═══════ */
.ad-float-box {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 15;
    width: 120px;
}

@media (min-width: 961px) {
    .ad-float-box {
        display: none !important;
    }
}

.ad-float-box .ad-slide {
    position: absolute;
    inset: 0;
    display: none;
    opacity: 0;
    transition: opacity 0.4s;
}

.ad-float-box .ad-slide.active {
    display: block;
    opacity: 1;
}

.ad-float-box .ad-slide img {
    width: 100%;
    border-radius: 8px;
}

.ad-float-box .ad-close {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    z-index: 2;
}
