* {
    padding: 0;
    border: none;
    margin: 0;
}

html,
body {
    width: 100%;
    height: 100%;
}

img {
    object-fit: cover;
    user-select: none; 
    -webkit-user-drag: none;
}

.page {
    width: 100%;
    max-width: 550px;
    height: 100%;
    margin: 0 auto;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    position: relative;
    overflow-y: auto;
}

.page::-webkit-scrollbar {
    display: none;
}

.main_img {
    display: block;
    width: 100%;
}

.middle_img_1 {
    display: block;
    width: 100%;
}

.middle_img_2 {
    display: block;
    width: 100%;
}

.placeholder {
    padding-bottom: calc(100% * 110 / 550);
}

.btn_box {
    width: 100%;
    max-width: 550px;
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
}

.btn_box .foot_img {
    display: block;
    width: 100%;
}

.btn_box .btn_btn {
    width: 24%;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn_box .btn_btn .btn_img {
    width: 100%;
    animation: pulse-scale 1s ease-in-out infinite alternate;
}

.service_btn {
    width: 17%;
    max-width: calc(550px * 0.17);
    position: fixed;
    right: 10px;
    top: 50%;
    animation: moveUpDown 0.6s infinite alternate;
}
@keyframes moveUpDown {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(5px);
    }
}
.service_btn .service_img {
    width: 100%;
}

@keyframes pulse-scale {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.2);
    }
}

/* 加载进度条样式 */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-container {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    min-width: 280px;
    max-width: 90%;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #77cfea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 500;
}

.loading-progress {
    width: 100%;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #77cfea, #4a9eff);
    border-radius: 4px;
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* 按钮禁用状态 */
.btn_btn.disabled {
    opacity: 0.6;
    pointer-events: none;
    cursor: not-allowed;
}

.btn_btn.disabled .btn_img {
    animation: none;
    filter: grayscale(50%);
}
