 :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);
        }

        * {
            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;
        }

        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-detail-header {
            height: 65vh;
            display: flex;
            align-items: center;
            position: relative;
            overflow: hidden;
            padding-top: 80px;
        }

        .news-detail-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-detail-header-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -2;
            background: url('https://images.unsplash.com/photo-1517021897933-0e0319cfbc28?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-detail-header-content {
            text-align: center;
            max-width: 900px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .news-detail-header h1 {
            font-size: 3rem;
            font-weight: 800;
            margin-bottom: 20px;
            line-height: 1.3;
            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-meta {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 20px;
            color: #ffffffb3;
            font-size: 1rem;
            opacity: 0;
            transform: translateY(20px);
            animation: fadeUp 1s 0.6s forwards;
        }

        .news-date {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .news-category-badge {
            background: var(--primary);
            color: white;
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 0.9rem;
        }

        /* 新闻详情内容区 */
        .news-detail-content {
            padding: 80px 0;
        }

        .detail-container {
            max-width: 800px;
            margin: 0 auto;
        }

        .news-body {
            background: var(--card-bg);
            border-radius: 12px;
            padding: 50px;
            box-shadow: var(--shadow);
            position: relative;
        }

        .back-to-list {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: var(--primary);
            text-decoration: none;
            margin-bottom: 30px;
            font-weight: 600;
            transition: all 0.3s ease;
            opacity: 0;
            transform: translateX(-20px);
            animation: fadeLeft 0.8s 0.8s forwards;
        }

        .back-to-list:hover {
            color: var(--accent);
            transform: translateX(-5px);
        }


        .news-content-block {
            margin-bottom: 40px;
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.6s ease, transform 0.6s ease;
        }

        .news-content-block.visible {
            opacity: 1;
            transform: translateY(0);
        }

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

        .news-image-container {
            width: 100%;
            margin: 30px 0;
            border-radius: 8px;
            overflow: hidden;
            position: relative;
        }

        .news-image {
            width: 100%;
            height: auto;
            transition: transform 0.8s ease;
        }

        .news-image-container:hover .news-image {
            transform: scale(1.03);
        }

        .image-caption {
            text-align: center;
            color: rgba(255, 255, 255, 0.6);
            font-size: 0.9rem;
            margin-top: 10px;
        }

        /* 懒加载图片样式 */
        .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;
        }

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

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

        @keyframes fadeLeft {
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        /* 响应式设计 */
        @media (max-width: 992px) {
            .news-detail-header h1 {
                font-size: 2.5rem;
            }
            
            .news-body {
                padding: 40px;
            }
        }

        @media (max-width: 768px) {
            .news-detail-header {
                height: 60vh;
            }
            
            .news-detail-header h1 {
                font-size: 2rem;
            }
            
            .news-body {
                padding: 30px;
            }
        }

        @media (max-width: 576px) {
            .news-detail-header {
                height: 50vh;
            }
            
            .news-detail-header h1 {
                font-size: 1.6rem;
            }
            
            .news-meta {
                flex-direction: column;
                gap: 10px;
                font-size: 0.9rem;
            }
            
            .news-body {
                padding: 20px;
            }
        }