/* ===== 新增：软件下载页面样式 ===== */

/* 页面标题区 */
.page-header {
    padding: 32px 0 20px;
    background: white;
    border-bottom: 1px solid #eef2f7;
}

.breadcrumb {
    font-size: 0.85rem;
    color: #6b7f99;
    margin-bottom: 12px;
}

.breadcrumb a {
    color: #0071c5;
    text-decoration: none;
}

.breadcrumb i {
    margin: 0 8px;
    font-size: 0.6rem;
}

.page-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #0b1e33;
    margin-bottom: 8px;
}

.page-desc {
    color: #4d627a;
    font-size: 1rem;
    max-width: 600px;
}

/* 平台筛选标签 */
.os-filter {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.os-tag {
    padding: 3px 12px;
    border-radius: 16px;
    font-size: 0.75rem;
    color: #4d627a;
    background: #f0f3f8;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.os-tag:hover {
    background: #e3ecf5;
    color: #0071c5;
}

.os-tag.active {
    background: #0071c5;
    color: white;
}

.os-tag i {
    margin-right: 4px;
}

/* 下载列表统计 */
.download-list {
    margin: 20px 0 40px;
}

.download-stats {
    color: #6b7f99;
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.download-stats strong {
    color: #0b1e33;
}

/* 下载条目 - 单列展示 */
.download-item {
    display: flex;
    gap: 24px;
    padding: 24px 28px;
    background: white;
    border-radius: 16px;
    border: 1px solid #eef2f7;
    margin-bottom: 16px;
    transition: all 0.3s ease;
    align-items: flex-start;
}

.download-item:hover {
    border-color: #cbd9e9;
    box-shadow: 0 8px 24px rgba(0, 60, 120, 0.06);
    transform: translateX(4px);
}

.download-item.featured {
    border-color: #ffb81c;
    background: #fffcf0;
}

/* 下载图标 */
.download-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: #e7f0fa;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #0071c5;
    transition: all 0.3s ease;
}

.download-item:hover .download-icon {
    background: #0071c5;
    color: white;
    transform: scale(1.05);
}

/* 下载信息区 */
.download-info {
    flex: 1;
    min-width: 0;
}

.download-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-bottom: 8px;
}

.download-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #0b1e33;
    margin: 0;
}

.download-title .version {
    font-weight: 400;
    font-size: 0.85rem;
    color: #6b7f99;
    margin-left: 4px;
}

.download-badge {
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 12px;
    border-radius: 12px;
    background: #e6edf6;
    color: #4d627a;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.download-badge.hot {
    background: #ff6b6b;
    color: white;
}

.download-badge.new {
    background: #4ecdc4;
    color: white;
}

/* 元数据标签 */
.download-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin-bottom: 10px;
}

.download-meta span {
    font-size: 0.78rem;
    color: #6b7f99;
}

.download-meta i {
    margin-right: 4px;
    width: 14px;
    color: #8fa3bb;
}

/* 描述 */
.download-desc {
    font-size: 0.9rem;
    color: #4d627a;
    line-height: 1.6;
    margin-bottom: 12px;
    max-width: 800px;
}

/* 平台标签 */
.download-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.platform-tag {
    font-size: 0.7rem;
    padding: 2px 14px;
    border-radius: 12px;
    background: #f0f3f8;
    color: #4d627a;
    border: 1px solid #e2e8f0;
}

.platform-tag-en {
    font-size: 0.7rem;
    padding: 2px 14px;
    border-radius: 12px;
    background: #94e096;  
    color: #2e7d32;        
    border: 1px solid #c8e6c9;  
}

.platform-tag i {
    margin-right: 4px;
}

/* 操作按钮 */
.download-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.download-btn {
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    background: #f0f3f8;
    color: #4d627a;
    transition: all 0.2s;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.download-btn:hover {
    background: #e3ecf5;
    color: #0071c5;
}

.download-btn.primary {
    background: #0071c5;
    color: white;
}

.download-btn.primary:hover {
    background: #005a9e;
    color: white;
}

.download-btn i {
    font-size: 0.75rem;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 32px 0 16px;
}

.page-btn {
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    color: #4d627a;
    font-size: 0.85rem;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.page-btn:hover:not(.disabled):not(.active) {
    background: #f0f3f8;
    border-color: #dce3ec;
}

.page-btn.active {
    background: #0071c5;
    color: white;
}

.page-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* ===== 响应式 ===== */
@media (max-width: 992px) {
    .download-item {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
    }

    .download-icon {
        width: 56px;
        height: 56px;
        font-size: 1.6rem;
    }

    .download-header {
        flex-wrap: wrap;
    }

    .download-title {
        font-size: 1rem;
    }

    .os-filter {
        margin-top: 8px;
    }

    .filter-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-actions {
        flex-wrap: wrap;
        gap: 10px;
    }
}

@media (max-width: 600px) {
    .download-item {
        padding: 16px;
    }

    .download-icon {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
    }

    .download-meta {
        gap: 4px 12px;
    }

    .download-meta span {
        font-size: 0.7rem;
    }

    .download-desc {
        font-size: 0.82rem;
    }

    .download-actions {
        gap: 6px;
    }

    .download-btn {
        font-size: 0.7rem;
        padding: 4px 14px;
    }

    .os-filter {
        flex-wrap: wrap;
    }

    .os-tag {
        font-size: 0.7rem;
        padding: 2px 10px;
    }

    .filter-tags {
        gap: 4px;
    }

    .filter-tag {
        font-size: 0.7rem;
        padding: 3px 12px;
    }
    
}