        :root {
            --primary: #00a8ff;
            --secondary: #192a56;
            --dark: #0c1427;
            --light: #f5f6fa;
            --accent: #9c88ff;
            --card-bg: rgba(255, 255, 255, 0.03);
            --card-hover: rgba(255, 255, 255, 0.07);
            --shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            --header-bg: rgba(12, 20, 39, 0.95); /* header滚动后背景色 */
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Arial, sans-serif;
            -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
        }

        html {
            scroll-behavior: smooth;
        }
        a{
            text-decoration: none;
        }
        body {
            background-color: var(--dark);
            color: var(--light);
            line-height: 1.6;
            overflow-x: hidden;
        }

        ::-webkit-scrollbar {
            width: 8px;
            height: 8px;
        }

        ::-webkit-scrollbar-track {
            background: var(--secondary);
        }

        ::-webkit-scrollbar-thumb {
            background: var(--primary);
            border-radius: 4px;
            transition: background 0.3s ease;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: var(--accent);
        }

        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
        }

        section {
            position: relative;
        }

        /* 导航栏滚动效果修改 */
        #header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 9999;
            transition: background-color 0.3s ease, box-shadow 0.3s ease;
        }

        #header.scroll-active {
            background-color: var(--header-bg);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }

        /* 新闻资讯头部区域 */
        .news-header {
            height: 60vh;
            display: flex;
            align-items: center;
            position: relative;
            overflow: hidden;
            padding-top: 80px;
        }

        .news-header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(12, 20, 39, 0.95) 0%, rgba(25, 42, 86, 0.9) 100%);
            z-index: -1;
        }

        .news-header-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -2;
            background: url('https://images.unsplash.com/photo-1588345921523-2d1ec7ab5385?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') no-repeat center center/cover;
            filter: brightness(0.4);
        }

        .particle-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            overflow: hidden;
        }

        .particle {
            position: absolute;
            border-radius: 50%;
            background: rgba(0, 168, 255, 0.15);
            animation: float 8s infinite ease-in-out;
        }

        @keyframes float {
            0%, 100% {
                transform: translateY(0) translateX(0) rotate(0deg);
                opacity: 0.6;
            }
            50% {
                transform: translateY(-30px) translateX(15px) rotate(10deg);
                opacity: 0.9;
            }
        }

        .news-header-content {
            text-align: center;
            max-width: 900px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .news-header h1 {
            font-size: 4rem;
            font-weight: 800;
            margin-bottom: 25px;
            line-height: 1.2;
            background: linear-gradient(90deg, var(--light), var(--primary));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            opacity: 0;
            transform: translateY(20px);
            animation: fadeUp 1s 0.3s forwards;
        }

        .news-header p {
            font-size: 1.3rem;
            color: rgba(255, 255, 255, 0.8);
            margin-bottom: 40px;
            opacity: 0;
            transform: translateY(20px);
            animation: fadeUp 1s 0.6s forwards;
        }

        /* 新闻分类标签 - 调整内边距 */
        .news-category {
            padding: 40px 0; /* 减小上下内边距 */
            background-color: var(--dark);
            position: relative;
            z-index: 10;
        }

        .news-tabs {
            display: flex;
            justify-content: center;
            gap: 10px;
            flex-wrap: wrap;
        }

        .news-tab {
            padding: 12px 30px;
            background: var(--card-bg);
            border: none;
            color: var(--light);
            font-size: 1rem;
            border-radius: 50px;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .news-tab::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(0, 168, 255, 0.2), transparent);
            transition: left 0.6s ease;
        }

        .news-tab:hover::before {
            left: 100%;
        }

        .news-tab.active {
            background: var(--primary);
            box-shadow: 0 5px 15px rgba(0, 168, 255, 0.3);
        }

        /* 新闻列表 - 调整间距和滚动动画 */
        .news-section {
            padding: 60px 0 120px; /* 减小顶部间距，保持底部间距 */
        }

        .news-list {
            display: grid;
            grid-template-columns: 1fr;
            gap: 40px;
        }
        /* 懒加载图片样式 */
        .lazy {
            opacity: 0;
            transition: opacity 0.5s ease-in-out;
            background-color: rgba(255, 255, 255, 0.05); /* 占位背景色 */
        }

        /* 图片加载完成后显示 */
        .lazy.loaded {
            opacity: 1;
        }

        /* 可选：添加加载动画 */
        .lazy::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 30px;
            height: 30px;
            border: 3px solid rgba(0, 168, 255, 0.3);
            border-radius: 50%;
            border-top-color: var(--primary);
            animation: spin 1s linear infinite;
        }

        .lazy.loaded::after {
            display: none; /* 加载完成后隐藏动画 */
        }

        .news-item {
            position: relative;
            display: grid;
            grid-template-columns: 250px 1fr; /* 左侧图片固定宽度 */
            gap: 25px;
            align-items: flex-start;
            background: var(--card-bg);
            border-radius: 12px;
            padding: 30px;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            opacity: 0;
            transform: translateY(40px); /* 增大初始偏移量 */
            transition: opacity 0.6s ease, transform 0.6s ease, background 0.4s ease, box-shadow 0.4s ease;
        }

        /* 滚动显示动画类 */
        .news-item.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .news-item:hover {
            background: var(--card-hover);
            transform: translateY(-5px) scale(1.01);
            box-shadow: var(--shadow);
        }

        .news-item img {
            width: 100%;
            height: 180px;
            object-fit: cover;
            border-radius: 8px;
            transition: transform 0.6s ease;
        }

        .news-item:hover img {
            transform: scale(1.05);
        }

        .news-info {
            display: flex;
            flex-direction: column;
        }

        .news-date {
            background: var(--card-bg);
            border-radius: 8px;
            padding: 10px;
            text-align: center;
            width: fit-content;
            margin-bottom: 15px;
        }

        .news-date .day {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--light);
        }

        .news-date .month {
            font-size: 0.8rem;
            color: rgba(255, 255, 255, 0.8);
        }

        .news-date .year {
            font-size: 0.8rem;
            color: rgba(255, 255, 255, 0.8);
        }

        .news-content h3 {
            font-size: 1.5rem;
            margin-bottom: 15px;
            color: var(--light);
            transition: color 0.3s ease;
        }

        .news-item:hover .news-content h3 {
            color: var(--primary);
        }

        .news-content p {
            font-size: 1rem;
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 20px;
            line-height: 1.8;
        }

        .news-content a {
            align-self: flex-start;
            color: var(--primary);
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
        }

        .news-content a:hover {
            color: var(--accent);
            transform: translateX(5px);
        }

        .news-content a img {
            margin-left: 5px;
            transition: transform 0.3s ease;
        }

        .news-content a:hover img {
            transform: translateX(3px);
        }

        /* 分页样式 - 适配PHP后端渲染 */
        .pagination {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-top: 60px;
            flex-wrap: wrap;
        }

        .page-btn {
            padding: 8px 15px;
            background: var(--card-bg);
            border: none;
            color: var(--light);
            font-size: 1rem;
            border-radius: 5px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .page-btn.active {
            background: var(--primary);
            box-shadow: 0 3px 10px rgba(0, 168, 255, 0.3);
        }

        .page-btn:hover:not(.active) {
            background: var(--card-hover);
        }

        /* 动画效果 */
        @keyframes fadeUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes spin {
            to { transform: translate(-50%, -50%) rotate(360deg); }
        }

        /* 响应式设计 */
        @media (max-width: 768px) {
            .news-header h1 {
                font-size: 3rem;
            }

            .news-item {
                grid-template-columns: 1fr; /* 移动端图片占满宽度 */
            }

            .news-item img {
                height: 200px;
            }

            .news-date {
                width: 100%;
                max-width: 120px;
                margin-bottom: 20px;
            }

            /* 响应式间距调整 */
            .news-category {
                padding: 30px 0;
            }

            .news-section {
                padding: 40px 0 80px;
            }
        }

        @media (max-width: 576px) {
            .news-header {
                height: 50vh;
            }

            .news-header h1 {
                font-size: 2.2rem;
            }

            .news-tabs {
                gap: 8px;
            }

            .news-tab {
                padding: 10px 20px;
                font-size: 0.9rem;
            }

            .news-item {
                padding: 20px;
            }

            .news-content h3 {
                font-size: 1.2rem;
            }

            .pagination {
                gap: 5px;
            }

            .page-btn {
                padding: 6px 10px;
                font-size: 0.9rem;
            }

            /* 响应式间距调整 */
            .news-category {
                padding: 20px 0;
            }

            .news-section {
                padding: 30px 0 60px;
            }
        }
         /* 分页容器（原有样式保留，补充新样式） */
    .pagination {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        margin-top: 60px;
        flex-wrap: wrap;
    }

    /* 页码按钮（原有样式保留） */
    .page-btn {
        padding: 8px 15px;
        background: var(--card-bg);
        border: none;
        color: var(--light);
        font-size: 1rem;
        border-radius: 5px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .page-btn.active {
        background: var(--primary);
        box-shadow: 0 3px 10px rgba(0, 168, 255, 0.3);
    }

    .page-btn:hover:not(.active) {
        background: var(--card-hover);
    }

    /* 上一页/下一页按钮特殊样式 */
    .prev-btn, .next-btn {
        padding: 8px 18px;
        background: var(--secondary);
    }

    .prev-btn:hover, .next-btn:hover {
        background: var(--primary);
    }

    /* 省略号样式 */
    .page-ellipsis {
        color: rgba(255, 255, 255, 0.5);
        font-size: 1.2rem;
        margin: 0 5px;
    }

    /* 禁用状态（PHP判断当前页为第一页/最后页时添加） */
    .page-btn.disabled {
        background: rgba(255, 255, 255, 0.1);
        cursor: not-allowed;
        opacity: 0.6;
    }

    .page-btn.disabled:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    /* 响应式适配 */
    @media (max-width: 576px) {
        .pagination {
            gap: 5px;
        }

        .page-btn {
            padding: 6px 10px;
            font-size: 0.9rem;
        }

        .prev-btn, .next-btn {
            padding: 6px 12px;
        }

        .page-ellipsis {
            font-size: 1rem;
        }
    }