/* 下载页面样式 */

/* 基础样式 */
.download-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

/* 卡片阴影效果 */
.card-shadow {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.card-shadow:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

/* 平台图标样式 */
.platform-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.android-icon {
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
}

.ios-icon {
    background: rgba(33, 150, 243, 0.1);
    color: #2196F3;
}

/* 下载按钮样式 */
.download-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.download-btn:hover::before {
    left: 100%;
}

.download-btn:active {
    transform: scale(0.98);
}

/* 二维码容器样式 */
.qr-container {
    border: 2px dashed #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    background: white;
    transition: border-color 0.3s ease;
}

.qr-container:hover {
    border-color: #4299e1;
}

/* 功能特色网格 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background: #f8fafc;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: #edf2f7;
    transform: translateY(-1px);
}

.feature-item i {
    font-size: 1.2rem;
    margin-right: 8px;
}

/* 响应式设计 */
@media (max-width: 640px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .qr-container {
        padding: 12px;
    }
    
    .platform-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* 加载动画 */
.loading {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

/* 成功状态 */
.success {
    color: #10b981;
    font-weight: 600;
}

/* 错误状态 */
.error {
    color: #ef4444;
    font-weight: 600;
}