.download-page {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.download-card {
    max-width: 700px;
    width: 100%;
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 48px 44px 32px;
    transition: 0.3s;
}

/* ===== 头部：Logo + 名称 + 描述（无版本号） ===== */
.download-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
}
.app-logo {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary), #ff8a55);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(255, 95, 43, 0.2);
    overflow: hidden;
}
.app-info { flex: 1; }
.app-name {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text);
}
.app-desc {
    font-size: 15px;
    color: #666;
    margin-top: 2px;
    line-height: 1.5;
}

/* ===== PC 端：仅显示二维码 ===== */
.qr-area {
    display: flex;              /* 启用 Flexbox */
    flex-direction: column;     /* 垂直排列（图片在上，文字在下） */
    align-items: center;        /* 水平居中 */
    justify-content: center;    /* 垂直居中（可选，可去掉） */
    width: 100%;                /* 确保宽度占满 */
    padding: 24px 0;            /* 保持原有内边距 */
}
.qr-area img {
    width: 180px;               /* 或你想要的尺寸 */
    height: 180px;
    border-radius: 16px;
    background: #fff;
    padding: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border);
    object-fit: contain;        /* 防止图片变形 */
}
.qr-area .qr-hint {
    margin-top: 12px;
    font-size: 14px;
    color: var(--text-light);
    text-align: center;
}

/* ===== 移动端：仅显示下载按钮 ===== */
.mobile-actions {
    display: none;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}
.btn-download {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: var(--primary);
    cursor: pointer;
    transition: 0.2s;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(255, 95, 43, 0.2);
}
.btn-download:hover {
    background: #e84f20;
    transform: translateY(-2px);
}
.btn-download.outline {
    background: #fff;
    color: var(--primary);
    border: 1px solid var(--primary);
    box-shadow: none;
}
.btn-download.outline:hover {
    background: var(--primary-light);
}

/* ===== 底部信息（仅开发者 + 更新日期，无版本号） ===== */
.download-footer {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    font-size: 13px;
    color: var(--text-light);
}
.download-footer .group {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
}
.download-footer a {
    color: var(--primary);
    text-decoration: none;
    transition: 0.2s;
}
.download-footer a:hover {
    text-decoration: underline;
}
.download-footer .dot {
    color: #ddd;
}

/* ============================================================== */
/* 响应式设计：PC vs 移动 */
/* ============================================================== */

/* --- PC 端 (≥ 769px) --- */
@media (min-width: 769px) {
    .mobile-actions { display: none !important; }
    .qr-area img { width: 200px; height: 200px; }
    .qr-area .qr-hint { font-size: 15px; }
    .download-footer { justify-content: space-between; }
}

/* --- 移动端 (≤ 768px) --- */
@media (max-width: 768px) {
    .download-card { padding: 32px 20px 24px; }
    .download-header { flex-direction: column; text-align: center; gap: 12px; }
    .app-logo {
        width: 72px;
        height: 72px;
        font-size: 30px;
    }
    .app-name { font-size: 20px; }
    .app-desc { font-size: 14px; }

    /* 移动端只显示按钮，隐藏二维码 */
    .mobile-actions { display: flex; }
    .qr-area { display: none !important; }

    .download-footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
    }
    .download-footer .group { justify-content: center; }
}

@media (max-width: 480px) {
    .download-card { padding: 24px 14px 20px; }
    .app-logo {
        width: 60px;
        height: 60px;
        font-size: 26px;
    }
    .app-name { font-size: 18px; }
    .btn-download { font-size: 14px; padding: 12px 14px; }
}