/* 全局样式 */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
    background-color: #f5f6f7;
    color: #333;
    line-height: 1.6;
}

/* 平台卡片 */
.platform-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border-radius: 12px;
}
.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

/* 分类卡片 */
.category-card {
    transition: all 0.2s ease;
    border: 1px solid #e9ecef;
    border-radius: 12px;
}
.category-card:hover {
    border-color: #0d6efd;
    background-color: #f8f9ff;
    transform: translateY(-2px);
}

/* 相关推荐卡片 */
.related-card {
    transition: all 0.2s ease;
    border: 1px solid #e9ecef;
}
.related-card:hover {
    border-color: #0d6efd;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.1);
}

/* 新闻内容排版 */
.news-content {
    font-size: 1.05rem;
    color: #444;
}
.news-content p {
    margin-bottom: 1.2rem;
    text-align: justify;
}

/* 面包屑优化 */
.breadcrumb {
    font-size: 0.9rem;
    background: transparent;
    padding: 0;
}
.breadcrumb-item a {
    color: #0d6efd;
    text-decoration: none;
}
.breadcrumb-item a:hover {
    text-decoration: underline;
}

/* 分页 */
.pagination {
    margin-bottom: 0;
}
.page-link {
    color: #0d6efd;
    border-radius: 6px;
    margin: 0 2px;
}
.page-item.active .page-link {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

/* 列表项悬停 */
.list-group-item-action {
    transition: background-color 0.15s ease;
}
.list-group-item-action:hover {
    background-color: #f8f9fa;
}

/* 导航栏 */
.navbar-brand {
    font-size: 1.3rem;
    letter-spacing: 1px;
}

/* 徽章 */
.badge {
    font-weight: 500;
}

/* 响应式微调 */
@media (max-width: 768px) {
    .display-5 {
        font-size: 1.6rem;
    }
    .card-body {
        padding: 1.25rem;
    }
    .news-content {
        font-size: 1rem;
    }
    h1.fs-3 {
        font-size: 1.3rem !important;
    }
}

/* 表格 */
.table th {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
