/* 完美的下载页面UI设计 */
.app-download-page {
    min-height: 100vh;
    background-image: url('/static/xb.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 100%);
    backdrop-filter: blur(1px);
}

.content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.header {
    margin-bottom: 60px;
}

.app-icon-container {
    width: 120px;
    height: 120px;
    border-radius: 28px;
    margin: 0 auto 30px;
    background: rgba(255,255,255,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

.app-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
}

.app-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    text-shadow: 0 4px 12px rgba(0,0,0,0.4);
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.app-slogan {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 500;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    margin-bottom: 8px;
}

.download-section {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    justify-content: center;
    flex-wrap: wrap;
}

.download-card {
    width: 120px;
    height: 120px;
    background: rgba(255,255,255,0.98);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.download-card:hover::before {
    opacity: 1;
}

.download-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 16px 48px rgba(0,0,0,0.25);
}

.download-card:active {
    transform: translateY(-4px) scale(1.02);
}

.platform-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
    font-size: 28px;
    font-weight: bold;
    color: white;
}

.android-icon {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    box-shadow: 0 6px 20px rgba(76,175,80,0.4);
}

.android-icon::before {
    content: "🤖";
    font-size: 28px;
}

.ios-icon {
    background: linear-gradient(135deg, #007AFF 0%, #0056CC 100%);
    box-shadow: 0 6px 20px rgba(0,122,255,0.4);
}

.ios-icon::before {
    content: "🍎";
    font-size: 28px;
}

.icon-text {
    display: none; /* 隐藏文字，使用图标 */
}

.platform-title {
    display: none; /* 隐藏平台标题 */
}

.platform-desc {
    display: none; /* 隐藏平台描述 */
}

.footer-note {
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
    line-height: 1.6;
    font-weight: 400;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
    max-width: 320px;
    margin: 0 auto;
}

/* 移动端优化 */
@media (max-width: 480px) {
    .app-download-page {
        padding: 15px;
    }
    
    .app-icon-container {
        width: 100px;
        height: 100px;
        border-radius: 24px;
        margin-bottom: 25px;
    }
    
    .app-icon {
        width: 70px;
        height: 70px;
        border-radius: 18px;
    }
    
    .app-title {
        font-size: 2rem;
        margin-bottom: 12px;
    }
    
    .app-slogan {
        font-size: 1rem;
        margin-bottom: 6px;
    }
    
    .download-section {
        gap: 16px;
        margin-bottom: 40px;
    }
    
    .download-card {
        width: 120px;
        height: 120px;
        border-radius: 18px;
    }
    
    .platform-icon {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        margin-bottom: 10px;
    }
    
    .icon-text {
        font-size: 1.2rem;
    }
    
    .platform-title {
        font-size: 1rem;
    }
    
    .platform-desc {
        font-size: 0.8rem;
    }
    
    .footer-note {
        font-size: 0.8rem;
        max-width: 280px;
    }
}

/* 超小屏幕优化 */
@media (max-width: 360px) {
    .download-section {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .download-card {
        width: 200px;
        height: 80px;
        flex-direction: row;
        justify-content: space-around;
        padding: 0 20px;
    }
    
    .platform-icon {
        margin-bottom: 0;
        margin-right: 12px;
    }
    
    .platform-title {
        margin-bottom: 0;
    }
}
