
    /* 基础设置 */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        background: linear-gradient(135deg, #000022, #4B0082);
        color: #FFFFFF;
        font-family: 'Roboto', sans-serif;
        line-height: 1.6;
        overflow-x: hidden;
    }

    h1, h2, h3, h4, h5, h6 {
        font-family: 'Orbitron', sans-serif;
        color: #00E676;
        margin-bottom: 20px;
    }

    p {
        margin-bottom: 15px;
    }

    a {
        color: #4CAF50;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    a:hover {
        color: #00E676;
    }

    /* 容器布局 */
    .container {
        width: 90%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 40px 0;
    }

    /* 头部样式 */
    header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 0;
    }

    .logo {
        font-size: 24px;
        font-weight: bold;
        color: #4CAF50;
    }

    nav ul {
        list-style: none;
        display: flex;
    }

    nav ul li {
        margin-left: 20px;
    }

    /* 主页分屏布局 */
    .home-section {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        align-items: center;
        padding: 60px 0;
    }

    .home-text {
        background-color: rgba(18, 18, 18, 0.8);
        padding: 20px;
        border-radius: 10px;
    }

    .home-text h1 {
        font-size: 48px;
        margin-bottom: 20px;
    }

    .home-text p {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .home-text .button {
        background-color: #4CAF50;
        color: white;
        border: none;
        padding: 12px 25px;
        border-radius: 5px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .home-text .button:hover {
        background-color: #00E676;
        box-shadow: 0 0 15px rgba(0, 255, 102, 0.8);
    }

    .home-image img {
        width: 100%;
        border-radius: 10px;
        animation: float 6s ease-in-out infinite;
    }

    @keyframes float {
        0%, 100% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-20px);
        }
    }

    /* 示例文章展示 */
    .sample-article {
        background-color: rgba(18, 18, 18, 0.9);
        padding: 30px;
        border-radius: 10px;
        margin-top: 60px;
    }

    .sample-article h2 {
        color: #FF4081;
        margin-bottom: 20px;
    }

    .sample-article pre {
        background-color: #1E1E1E;
        padding: 15px;
        border-radius: 5px;
        overflow-x: auto;
        margin-bottom: 20px;
    }

    .sample-article code {
        color: #00E676;
        font-family: 'Courier New', Courier, monospace;
    }

    /* 表格样式 */
    table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 20px;
    }

    table, th, td {
        border: 1px solid #333;
    }

    th, td {
        padding: 10px;
        text-align: left;
    }

    th {
        background-color: #4CAF50;
        color: #fff;
    }

    /* 图片画廊 */
    .gallery {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 40px;
    }

    .gallery img {
        width: calc(25% - 10px);
        border-radius: 5px;
    }

    /* 响应式设计 */
    @media (max-width: 1440px) {
        .home-section {
            grid-template-columns: 1fr 1fr;
        }

        .gallery img {
            width: calc(33.333% - 10px);
        }
    }

    @media (max-width: 1200px) {
        .home-section {
            grid-template-columns: 1fr;
            text-align: center;
        }

        .gallery img {
            width: calc(50% - 10px);
        }
    }

    @media (max-width: 1024px) {
        .home-section {
            padding: 40px 0;
        }

        .home-text h1 {
            font-size: 36px;
        }

        .home-text p {
            font-size: 16px;
        }
    }

    @media (max-width: 768px) {
        nav ul {
            flex-direction: column;
            display: none;
        }

        nav ul.active {
            display: flex;
        }

        .menu-toggle {
            display: block;
            cursor: pointer;
        }

        .gallery img {
            width: 100%;
        }
    }

    @media (max-width: 480px) {
        .home-text h1 {
            font-size: 28px;
        }

        .home-text p {
            font-size: 14px;
        }

        .gallery img {
            width: 100%;
        }
    }

    @media (max-width: 320px) {
        .home-text h1 {
            font-size: 24px;
        }

        .home-text p {
            font-size: 12px;
        }
    }

    /* 提示语样式 */
    .reference-note {
        text-align: center;
        margin-top: 40px;
        font-size: 16px;
        color: #FF4081;
    }

    /* 按钮动画 */
    .button {
        transition: transform 0.3s ease, background-color 0.3s ease;
    }

    .button:hover {
        transform: scale(1.05);
    }

    /* 代码块样式优化 */
    pre {
        background: #1E1E1E;
        padding: 20px;
        border-radius: 8px;
        overflow-x: auto;
    }

    code {
        color: #00E676;
        font-family: 'Courier New', Courier, monospace;
    }


