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

html,
body {
    font-family: Source Sans Pro, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    -webkit-overflow-scrolling: touch;
    color: #fff;
    font-size: 16px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
}

/*
  关键修复：
  - 不要在 #app 上使用 transform，否则某些移动浏览器里会让内部 fixed 元素“失效/跑偏”
*/
#app {
    position: relative;
    width: 100%;
    max-width: 375px;
    height: 100vh;
    margin: 0 auto;
    overflow: hidden;
}

/* PC端也显示移动端样式，固定宽度为移动端尺寸 */
@media screen and (min-width: 520px) {
    #app {
        width: 375px; /* 移动端标准宽度 */
        max-width: 375px;
        height: 100vh;
        margin: 0 auto;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    }
}

.hear-box {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 375px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.0));
}

.hear-box .header-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-box {
    width: 100%;
    max-width: 375px;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: 0 0 calc(env(safe-area-inset-bottom, 0px) + 8px);
    z-index: 100;
}

.footer-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-radius: 28px 28px 0 0;
    padding: 18px 20px 24px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-bottom: none;
    box-shadow: 
        0 -8px 32px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.footer-title {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.footer-title .highlight {
    background: linear-gradient(135deg, #ff6b6b 0%, #ffa502 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.footer-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-info {
    display: flex;
    justify-content: center;
    gap: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.footer-info span {
    display: flex;
    align-items: center;
    gap: 3px;
}

.hear-box img {
    height: 18px;
    width: auto;
}

/* 官网网址 */
.footer-url {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-align: center;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* 顶部文字：改为低调黄金色，无闪烁动画 */
.hear-box .header-title {
    color: #facc15;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: left;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}

/* 卡片内提示文字 - iOS风格 */
.footer-tips {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
    text-align: center;
    margin-bottom: 14px;
    padding: 0 12px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-tips p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    line-height: 1.7;
    margin: 0;
    font-weight: 400;
}

.footer-tips p:first-child {
    color: rgba(255, 255, 255, 0.95);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 4px;
}

.hear-box .icon-list {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.hear-box .icon-list img {
    width: 48px;
}

.hear-box .icon-list .dian {
    height: 6px;
    width: 2px;
    margin: 0 20px;
}

/* ========== iOS风格下载按钮 ========== */
.footer-box .download-btn {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
    flex: 1;
    height: 48px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    position: relative;
    overflow: hidden;
    padding: 0 20px;
    transition: all 0.2s ease;
}

/* 安卓按钮 - iOS蓝色 */
.footer-box .download-btn.downc {
    background: #007AFF;
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.3);
}

/* iOS按钮 - 透明描边 */
.footer-box .download-btn.downd {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* 文字 */
.footer-box .download-btn .btn-text {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: #fff;
}

/* 热门标签 */
.footer-box .download-btn .btn-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #FF3B30;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 8px;
    letter-spacing: 0.2px;
}

/* 悬停效果 */
.footer-box .download-btn:hover {
    transform: scale(1.02);
}

.footer-box .download-btn.downc:hover {
    background: #0A84FF;
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.4);
}

.footer-box .download-btn.downd:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
}

/* 点击效果 */
.footer-box .download-btn:active {
    transform: scale(0.98);
    opacity: 0.9;
}

.footer-box .center-content {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translate(-50%);
    text-align: center;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.footer-box .center-icon {
    font-size: 48px;
    font-weight: 700;
    color: #FFD700;
    text-shadow: 
        0 0 10px rgba(255, 215, 0, 0.5),
        0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1;
    font-family: Arial, sans-serif;
}

.footer-box .center-text {
    text-align: center;
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.5;
    white-space: nowrap;
    letter-spacing: 1px;
    /* 霓虹灯效果 - 蓝色渐变 */
    text-shadow: 
        0 0 5px #00ffff,
        0 0 10px #00ffff,
        0 0 15px #00ffff,
        0 0 20px #00bfff,
        0 0 30px #00bfff,
        0 0 40px #00bfff;
    animation: neon-glow 2s ease-in-out infinite alternate;
}

@keyframes neon-glow {
    from {
        text-shadow: 
            0 0 5px #00ffff,
            0 0 10px #00ffff,
            0 0 15px #00ffff,
            0 0 20px #00bfff,
            0 0 30px #00bfff,
            0 0 40px #00bfff;
    }
    to {
        text-shadow: 
            0 0 10px #00ffff,
            0 0 20px #00ffff,
            0 0 30px #00ffff,
            0 0 40px #00bfff,
            0 0 50px #00bfff,
            0 0 60px #00bfff;
    }
}


.swiper {
    /* width: 100vw; */
    height: 100vh;
    overflow: hidden;
    position: relative;
    z-index: 0 !important;
}

.swiper-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
}

.swiper-slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.swiper {
    cursor: grab;
    -webkit-user-select: none;
    user-select: none;
}
.swiper:active {
    cursor: grabbing;
}

.swiper-slide img {
    user-drag: none;
    user-select: none;
}

/* 下载提示 - iOS玻璃态风格 */
.download-loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.download-loading .loading-content {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 24px 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 4px 16px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    min-width: 160px;
}

/* 加载文字 */
.download-loading .loading-text {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.6),
        0 1px 2px rgba(0, 0, 0, 0.4),
        0 0 12px rgba(0, 0, 0, 0.3);
    text-align: center;
}
