/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    /* 改为柔和护眼的淡灰底色，降低亮度刺激 */
    background-color: #eff2f5;
    min-height: 100vh;
    overflow-x: hidden; 
    position: relative;
}

/* 漂浮光球 - 极低饱和度，仅作为氛围点缀，不抢眼 */
.floating-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px); /* 极大模糊，晕染成背景色块 */
    z-index: -3; /* 放在最底层 */
    opacity: 0.6;
    animation: floatOrb 20s infinite ease-in-out;
}

/* 光球1：淡蓝灰 (左上) */
.orb-1 {
    width: 400px;
    height: 400px;
    background: #dbe4ef; 
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

/* 光球2：淡雅灰 (右下) */
.orb-2 {
    width: 500px;
    height: 500px;
    background: #e3e7ed;
    bottom: -150px;
    right: -150px;
    animation-delay: -5s;
}

/* 光球3：极淡的冷调 (中间) */
.orb-3 {
    width: 300px;
    height: 300px;
    background: #dae1e8;
    top: 40%;
    left: 30%;
    opacity: 0.4;
    animation: floatOrb 25s infinite ease-in-out reverse;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -20px) scale(1.05); }
    100% { transform: translate(0, 0) scale(1); }
}

/* 粒子背景 Canvas - 几乎透明 */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* 调整层级，确保在 pattern 之上 */
    pointer-events: none;
    opacity: 0.2; 
}

/* 图标平铺背景 */
#pattern-container {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    z-index: -2; /* 在光球之上，粒子之下 */
    transform: rotate(-45deg); /* 逆时针旋转45度 */
    opacity: 0.08; /* 调低透明度，让图标更淡，减少干扰 */
    pointer-events: none;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: center;
    overflow: hidden;
}

/* 单个图标容器 */
.icon-item {
    width: 120px; /* 单元格宽度加大 */
    height: 120px; /* 单元格高度加大 */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 56px; /* 图标尺寸加大 */
    color: #2c3e50;
    /* 简单的入场动画 */
    animation: fadeInIcon 2s ease forwards;
}

/* 定义一排图标整体移动，模拟流动效果 */
#pattern-container {
    /* 这里的 duration 可以控制流动速度 */
    animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
    0% { transform: rotate(-45deg) translateY(0); }
    /* JS中会计算一半的高度作为位移终点，这里先占位，会被JS覆盖规则，或者我们用 CSS 变量 */
    100% { transform: rotate(-45deg) translateY(var(--move-distance)); } 
}

/* 图标波浪呼吸动画 */
@keyframes waveScale {
    0%, 100% { transform: scale(0.85); }
    50% { transform: scale(1.15); }
}

.icon-item i {
    display: block;
    /* 移除单个图标的动画以优化性能 */
    /* animation: waveScale 4s ease-in-out infinite; */
}

@keyframes fadeInIcon {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

.app-container {
    max-width: 750px;
    margin: 0 auto;
    background-color: transparent;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}
/* 头部 Banner - 蓝色系渐变背景 */
.header-banner {
    position: relative;
    width: 100%;
    z-index: 10;
    /* 清新的蓝色渐变，向下自然融合 */
    background: linear-gradient(180deg, #e0f0ff 0%, rgba(239, 242, 245, 0) 100%);
    box-shadow: none;
    border-radius: 0;
    animation: slideDown 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    /* 稍微给点上下间距，居中显示 */
    padding: 50px 0 10px 0;
    display: flex;
    justify-content: center;
}

@keyframes slideDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.banner-img {
    width: 100%;
    /* 限制 Logo 宽度为按钮宽度的80% (320px * 0.8 = 256px) */
    max-width: 256px; 
    display: block;
    height: auto;
    object-fit: contain;
    /* 增加一点 drop-shadow 让 Logo 在背景上更立体 */
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.1));
}

/* 主要内容区 */
.main-content {
    flex: 1;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 按钮列表 */
.download-list {
    width: 100%;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 25px; /* 稍微增加间距 */
    perspective: 1000px;
}

/* 按钮通用样式 */
.dl-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    /* 实心磨砂白，不再过分透明，看着更稳 */
    background: #ffffff;
    /* 如果设备支持，保留一点点高斯模糊，但主要靠白色底 */
    @supports (backdrop-filter: blur(10px)) {
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    border-radius: 16px; /* 更紧凑的圆角 */
    padding: 15px 20px;
    height: 84px;
    
    /* 极细的边框，几乎不可见 */
    border: 1px solid #ffffff;

    /* 极淡的阴影，让按钮浮起来即可，不晃眼 */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden; 
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
}

/* 依次延迟入场 */
.download-list .dl-btn:nth-child(1) { animation-delay: 0.1s; }
.download-list .dl-btn:nth-child(2) { animation-delay: 0.2s; }
.download-list .dl-btn:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeInUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* 悬停/点击效果强化 */
.dl-btn:active {
    transform: scale(0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

/* 移除流光效果，避免视觉干扰 */
.dl-btn::after {
    display: none;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

/* 图标区域 */
.icon-box {
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

/* 图标区域 */
.icon-box {
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box i {
    font-size: 32px;
    /* 给图标加一点投影 */
    filter: drop-shadow(1px 1px 1px rgba(0,0,0,0.2)); 
    transition: transform 0.3s;
}

/* 悬停/点击时图标微动 */
.dl-btn:hover .icon-box i,
.dl-btn:active .icon-box i {
    transform: scale(1.1) rotate(-5deg);
}

/* 文本区域 */
.text-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* 改为左对齐 */
    justify-content: center;
    position: relative;
    z-index: 2;
}

.btn-title {
    font-size: 20px; /* 稍微减小字体，显得更精致 */
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.5px;
    text-shadow: none;
    color: #2c3e50; /* 午夜蓝深色 */
}

.btn-subtitle {
    font-size: 13px;
    color: #95a5a6; /* 浅灰 */
    font-weight: 400;
    margin-top: 4px;
}

/* 针对不同系统的配色 - 极简主义，只用图标颜色区分 */

/* 苹果按钮 */
.btn-ios .icon-box i {
    color: #2c3e50; 
    filter: none;
}
.btn-ios .btn-title {
    color: #2c3e50;
}

/* 安卓按钮 */
.btn-android .icon-box i {
    color: #00b894; 
    background: none;
    -webkit-text-fill-color: #00b894;
    filter: none;
}
.btn-android .android-text {
    color: #00b894;
    background: none;
    -webkit-text-fill-color: #00b894;
    font-size: 22px; /* 匹配标题大小 */
    text-shadow: none;
}

/* 底部链接 */
.footer-links {
    margin-top: 40px;
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: #95a5a6; 
    text-shadow: none;
    text-decoration: none;
    font-size: 13px;
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: #2c3e50;
    border-bottom-color: #2c3e50;
}.recommend-tag {
    position: absolute;
@keyframes bounceTag {