/* 栏目整体 */
.category-header {
    margin-bottom: 20px;
}

/* 标题 */
.category-title {
    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 22px;
    font-weight: 600;
    color: #222;
}

/* 图标 */
.category-title i {
    font-size: 22px;
    color: #ff4d4f; /* 主题色 */
}

/* 简介 */
.category-desc {
    margin-top: 10px;

    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 分割线（提升质感） */
.category-header::after {
    content: "";
    display: block;
    margin-top: 14px;
    height: 1px;
    background: linear-gradient(to right, #e5e5e5, transparent);
}




/* 应用列表 */
.apps-list {
    max-width: 972px;
}
/* 网格 */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}
/* 卡片 */
.app-card {
    background: #fff;
    border-radius: 20px;
    padding: 22px;
    text-decoration: none;
    border: 1px solid #f0f0f0;
    transition: .3s;
    box-shadow: 0 4px 16px rgba(0,0,0,0.03);
}
.app-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 26px rgba(0,0,0,0.06);
}
/* 顶部 */
.app-top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}
/* logo */
.app-logo {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}
.app-logo img {
    width: auto;
    height: 100%;
    object-fit: contain;
}
/* 标题 */
.app-info h3 {
    font-size: 22px;
    margin-bottom: 6px;
    color: #222;
}
.app-info p {
    font-size: 14px;
    line-height: 1.7;
    color: #777;
}
/* 平台 */
.app-platform {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}
.app-platform span {
    height: 34px;
    padding: 0 14px;
    border-radius: 6px;
    background: #f6f7f8;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #666;
}
/* 下载按钮 */
.app-download {
    height: 44px;
    border-radius: 8px;
    background: #1d1d1d;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 14px;
    transition: .25s;
}
.app-card:hover .app-download {
    background: #ff5f5f;
}
/* 清新色调 */
.app-card:nth-child(1) {
    background: linear-gradient(135deg, #ffffff 0%, #f3fbff 100%);
}
.app-card:nth-child(2) {
    background: linear-gradient(135deg, #ffffff 0%, #faf6ff 100%);
}
.app-card:nth-child(3) {
    background: linear-gradient(135deg, #ffffff 0%, #f4fff8 100%);
}
.app-card:nth-child(4) {
    background: linear-gradient(135deg, #ffffff 0%, #fff8f3 100%);
}
.app-card:nth-child(5) {
    background: linear-gradient(135deg, #ffffff 0%, #f5f7ff 100%);
}
.app-card:nth-child(6) {
    background: linear-gradient(135deg, #ffffff 0%, #fff5f8 100%);
}

/* 响应式 */
@media(max-width:768px) {
.apps-grid {
    grid-template-columns: 1fr;
}
.app-card {
    padding: 20px;
    border-radius: 20px;
}
.app-info h3 {
    font-size: 20px;
}
}

@media(max-width:480px) {
.app-top {
    gap: 14px;
}
.app-logo {
    width: 60px;
    height: 60px;
    border-radius: 8px;
}
}

.epages {
    display: flex;
    flex-wrap: wrap;            /* 自动换行（关键） */
    justify-content: center;    /* 居中 */
    align-items: center;
    gap: 8px;                   /* 间距 */
    margin: 20px 0;
    font-size: 14px;
}

/* 所有按钮基础样式 */
.epages a,
.epages span {
    display: inline-block;
    padding: 6px 12px;
    min-width: 32px;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    transition: all 0.3s ease;
}

/* 当前页 */
.epages span {
    background: #ff4d4f;
    color: #fff;
    border-color: #ff4d4f;
    font-weight: normal;
}

/* hover效果 */
.epages a:hover {
    background: #ff4d4f;
    color: #fff;
    border-color: #ff4d4f;
}

/* 禁止过长文字挤压 */
.epages a {
    white-space: nowrap;
}

/* 移动端优化 */
@media (max-width: 480px) {
    .epages {
        gap: 6px;
    }

    .epages a,
    .epages span {
        padding: 5px 10px;
        font-size: 13px;
    }
}




@media (max-width: 768px) {
    .right {
        display: none;
    }

}



/* 提示条 */
.search-tip {
    display: flex;
    align-items: center;

    padding: 14px 18px;
    border-radius: 12px;

    border-left: 4px solid #ff4d4f;

    font-size: 15px;
    color: #333;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #fff1f0, #f6f7f8);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

/* 内容间距 */
.search-tip-content {
    margin-left: 4px;
}

/* 数量 */
.search-tip .count {
    color: #ff4d4f;
    font-weight: 600;
    margin: 0 2px;
}

/* 关键词 */
.search-tip .keyword {
    color: #ff4d4f;
    font-weight: 500;
    margin: 0 2px;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .search-tip {
        font-size: 14px;
        padding: 12px 14px;
    }
}