﻿        /* 全局样式 */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            word-wrap: break-word;
            overflow-wrap: break-word;
        }
        
        html, body {
            overflow-x: hidden;
            width: 100%;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
                'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
                sans-serif;
            line-height: 1.8;
           
            min-height: 100vh;
        }

        /* 容器 */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
            width: 100%;
 color: #333;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }
        
        /* 确保所有元素都不会超出容器 */
        img, iframe, video {
            max-width: 100%;
            height: auto;
        }
        
        pre, code {
            white-space: pre-wrap;
            word-break: break-all;
        }

        /* 头部 */
        .header {
            background: rgba(255, 255, 255, 0.95);
            padding: 40px 20px;
            text-align: center;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            margin-bottom: 30px;
            backdrop-filter: blur(10px);
        }

        .header h1 {
            color: #2c3e50;
            font-size: 2.5rem;
            margin-bottom: 10px;
            font-weight: 700;
        }

        .header p {
            color: #7f8c8d;
            font-size: 1.1rem;
            max-width: 800px;
            margin: 0 auto;
        }

        /* 主要内容区域 */
        main {
            display: grid;
            grid-template-columns: 1fr 350px;
            gap: 30px;
            margin-bottom: 30px;
        }

        /* 文章内容 */
        .content {
            background: rgba(255, 255, 255, 0.95);
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            backdrop-filter: blur(10px);
        }

        .content h2 {
            color: #3498db;
            margin: 30px 0 20px 0;
            font-size: 1.8rem;
            border-bottom: 2px solid #ecf0f1;
            padding-bottom: 10px;
        }

        .content h3 {
            color: #2980b9;
            margin: 25px 0 15px 0;
            font-size: 1.4rem;
        }

        .content p {
            margin-bottom: 15px;
            text-align: justify;
        }

        .content ul,
        .content ol {
            margin: 15px 0 15px 30px;
        }

        .content li {
            margin-bottom: 10px;
        }

        .content table {
            width: 100%;
            border-collapse: collapse;
            margin: 20px 0;
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            table-layout: fixed;
        }
        
        .content td, .content th {
            word-wrap: break-word;
            overflow-wrap: break-word;
        }

        .content th,
        .content td {
            border: 1px solid #ecf0f1;
            padding: 12px 15px;
            text-align: left;
        }

        .content th {
            background-color: #3498db;
            color: white;
            font-weight: 600;
        }

        .content tr:nth-child(even) {
            background-color: #f8f9fa;
        }

        .content blockquote {
            border-left: 4px solid #3498db;
            padding-left: 20px;
            margin: 20px 0;
            color: #7f8c8d;
            font-style: italic;
        }

        /* 侧边栏 */
        .sidebar {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        /* 相关链接卡片 */
        .card2 {
            background: rgba(255, 255, 255, 0.95);
            padding: 25px;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            backdrop-filter: blur(10px);
        }

        .card2 h3 {
            color: #2c3e50;
            margin-bottom: 15px;
            font-size: 1.3rem;
            border-bottom: 2px solid #ecf0f1;
            padding-bottom: 10px;
        }

        .card2 ul {
            list-style: none;
            margin: 0;
        }

        .card2 li {
            margin-bottom: 12px;
        }

        .card2 a {
            color: #3498db;
            text-decoration: none;
            transition: all 0.3s ease;
            display: block;
            padding: 8px 12px;
            border-radius: 8px;
            background: rgba(52, 152, 219, 0.05);
        }

        .card2 a:hover {
            color: #2980b9;
            background: rgba(52, 152, 219, 0.15);
            transform: translateX(5px);
        }
 
        /* 响应式设计 */
        @media (max-width: 992px) {
            main {
                grid-template-columns: 1fr;
            }

            .header h1 {
                font-size: 2rem;
            }
        }

        @media (max-width: 768px) {
            .container {
                padding: 15px;
            }

            .header,
            .content,
            .card2 {
                padding: 20px;
            }

            .header h1 {
                font-size: 1.8rem;
            }

            .content h2 {
                font-size: 1.5rem;
            }

            .content h3 {
                font-size: 1.2rem;
            }
        }
        
        @media (max-width: 480px) {
            .container {
                padding: 10px;
            }
            
            .header,
            .content,
            .card2{
                padding: 15px;
            }
        }

        /* 滚动动画 */
        .fade-in {
            animation: fadeIn 0.8s ease-in;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* 按钮样式 */
        .btn {
            display: inline-block;
            background: #3498db;
            color: white;
            padding: 12px 24px;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            margin: 10px 0;
        }

        .btn:hover {
            background: #2980b9;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
        }

        /* 高亮框 */
        .highlight {
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            padding: 20px;
            border-radius: 10px;
            margin: 20px 0;
            border-left: 5px solid #3498db;
        }