
body {
    background: white;
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #000;
    margin: 0;
    padding: 0;
}

.wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.wrapper .container {
    flex: 1;
    padding: 30px 20px 100px;
    max-width: 600px;
    margin: 0 auto;
}

.wrapper .container h1 {
    font-size: 24px;
    margin-bottom: 15px;
    text-align: center;
}

.wrapper .container p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
}

.wrapper .container img,
.wrapper .container video {
    display: block;
    max-width: 100%;
    border-radius: 10px;
    margin: 0 auto 20px;
}

.wrapper .container video {
    background-color: #000;
}

.wrapper .footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 16px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    z-index: 1000;
}

.wrapper .footer .btn {
    display: inline-block;
    padding: 14px 32px;
    background: #1e88e5;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.wrapper .footer .btn:hover {
    background: #1565c0;
}


.container {
    box-sizing: border-box;
    margin: 0 auto;
    max-width: 640px;
    min-height: 100%;
    min-width: 320px;
    overflow: hidden;
    position: relative;
}

.bg {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.bg.fullscreen {
    height: 100vh;
    width: 100%;
    object-fit: cover;
}


@keyframes pulse {
    0% {
        transform: translateX(-50%) scale(1);
    }
    50% {
        transform: translateX(-50%) scale(1.15);
    }
    100% {
        transform: translateX(-50%) scale(1);
    }
}

.downloadBtn {
    position: absolute;
    top: 1%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;

    width: 55%;
    height: auto;

    animation: pulse 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    cursor: pointer;
    transition: 0.3s filter;

    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
    outline: none;
    border: none;
    background: transparent;
}

.downloadBtn:hover {
    animation-play-state: running;
    filter: brightness(1.1) drop-shadow(0 6px 25px rgba(0, 0, 0, 0.4));
}

.downloadBtn:focus,
.downloadBtn:active {
    outline: none;
    background: transparent;
}

.btn1 {
    top: 17%;
}

.btn2 {
    top: 45%;
}

.btn3 {
    top: 66%;
}

.btn4 {
    top: 94%;
}


.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.button-container {
    position: fixed;
    width: 100%;
    bottom: 70px;
    left: 0;
    text-align: center;
    z-index: 2;
}

.install-button {
    display: inline-block;
    width: 60%;
    max-width: 280px;
    padding: 14px 24px;
    font-size: 18px;
    font-weight: 600;
    background-color: #33cc00;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    transition: background-color 0.3s ease, transform 0.2s ease;
    animation: pulse-head 2s infinite;
}

.install-button:hover {
    background-color: #2ab200;
    transform: scale(1.03);
}

@keyframes pulse-head {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(51, 255, 0, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 15px 10px rgba(51, 255, 0, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(51, 255, 0, 0);
    }
}
.qrcode{
    padding: 60px 0 90px;
}

.up_qrcode {
    align-items: center;
    display: flex;
    justify-content: center;
    margin: 60px 0;
    transform: scale(1.3);
    width: 100%
}

.up_qrcode__hand {
    height: 142px;
    position: relative;
    width: 233px
}

.up_qrcode__hand-bg {
    height: 100%;
    width: 100%
}

.up_qrcode__hand-light {
    animation: moveUpDown 3s infinite;
    height: 44px;
    position: absolute;
    top: 15px;
    width: 63px
}

[dir=ltr] .up_qrcode__hand-light {
    left: 78px
}

[dir=rtl] .up_qrcode__hand-light {
    right: 78px
}

@keyframes moveUpDown {
    0% {
        top: 15px
    }

    50% {
        top: 53px
    }

    to {
        top: 15px
    }
}

.up_qrcode__code {
    height: 135px;
    width: 135px
}

.up_qrcode__prop {
    flex-direction: column;
    align-items: center;
    display: flex;
    width: 150px;
}

.up_qrcode__prop-code {
    width: 150px;
    height: 150px;
    align-items: center;
    display: flex;
    justify-content: center;
    position: relative
}

.up_qrcode__prop-bg {
    width: 100%;
    position: absolute;
    top: 0
}

[dir=ltr] .up_qrcode__prop-bg {
    left: 0
}

[dir=rtl] .up_qrcode__prop-bg {
    right: 0
}

.up_qrcode__prop-title {
    font-size: 14px;
    margin-top: 5px;
    text-align: center
}

.up_qrcode__arrowhead {
    height: 51px;
    margin: 0 10px;
    width: 51px
}

.up_qrcode__phone {
    align-items: center;
    border: 2px solid #1e1c24;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    height: 145px;
    padding: 10px 5px;
    width: 75px
}

.up_qrcode__phone-icon {
    border-radius: 5px;
    height: 34px;
    margin-top: 10px;
    width: 34px
}

.up_qrcode__phone-name {
    display: -webkit-box;
    font-size: 7px;
    font-weight: 500;
    height: 20px;
    margin-top: 10px;
    width: 100%;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    text-align: center;
}

.up_qrcode__phone-btn {
    align-items: center;
    background: #028760;
    border-radius: 3px;
    color: #ffe336;
    display: flex;
    font-size: 6px;
    justify-content: center;
    margin-top: 20px;
    padding: 5px 0
}

.up_qrcode__phone-btn,.share-fission-container {
    height: -moz-fit-content;
    height: fit-content;
    width: 100%
}
.openPwaModal {
    display: none; /* 初始隐藏 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明背景 */
    z-index: 9999;
    animation: fadeIn 0.3s ease; /* 淡入动画 */
}
.openPwaModal .modalContent {
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: #fff;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px;
    animation: slideUp 0.3s ease;
}
.openPwaButton {
    display: block;
    margin: 15px auto 0;
    padding: 10px 20px;
    background-color: var(--theme-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
}
.closeModal {
    display: block;
    margin-top: 10px;
    color: #FFFFFF;
    font-size: 14px;
    cursor: pointer;
}

/* 淡入动画 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 底部滑动动画 */
@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.browser_overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.75);
    z-index: 99999;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: white;
    text-align: center;
    font-size: 18px;
    line-height: 1.6;
}
.browser_overlay .svg-img {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 28px;
    color: white;
}