
    /* 定义CSS变量 */
    :root {
        --primary-color: #121212;
        --secondary-color: #1E1E1E;
        --accent-color: #6F39C1;
        --highlight-color: #4CAF50;
        --neon-purple: #B388EB;
        --neon-green: #00E676;
        --golden: #FFD700;
        --text-color: #FFFFFF;
        --secondary-text-color: rgba(255, 255, 255, 0.8);
        --button-gradient: linear-gradient(to right, #4CAF50, #6F39C1);
        --button-hover-gradient: linear-gradient(to right, #6F39C1, #4CAF50);
        --font-primary: 'Roboto', sans-serif;
        --font-secondary: 'Helvetica', sans-serif;
    }

    /* 全局样式 */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        background: radial-gradient(circle, var(--primary-color), transparent);
        color: var(--text-color);
        font-family: var(--font-secondary);
        line-height: 1.6;
        padding: 20px;
    }

    /* 导航栏样式 */
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background-color: var(--secondary-color);
        padding: 15px 30px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: 1000;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    }

    .navbar a {
        color: var(--text-color);
        text-decoration: none;
        margin: 0 10px;
        font-family: var(--font-primary);
        transition: transform 0.3s ease, color 0.3s ease;
    }

    .navbar a:hover {
        transform: scale(1.1);
        color: var(--highlight-color);
    }

    /* 主标题样式 */
    .hero {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
        text-align: center;
        padding-top: 60px;
    }

    .hero h1 {
        font-family: var(--font-primary);
        font-size: 3rem;
        color: var(--accent-color);
        animation: fadeIn 2s ease-in-out;
    }

    /* 模块化布局 */
    .grid-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        padding: 40px 20px;
    }

    .module {
        background-color: rgba(30, 30, 30, 0.9);
        border: 1px solid var(--accent-color);
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .module:hover {
        transform: translateY(-10px);
        box-shadow: 0 8px 12px rgba(0, 0, 0, 0.5);
    }

    .module h2 {
        font-family: var(--font-primary);
        font-size: 1.5rem;
        color: var(--highlight-color);
        margin-bottom: 15px;
    }

    .module p {
        color: var(--secondary-text-color);
        margin-bottom: 10px;
    }

    /* 按钮样式 */
    .btn {
        background: var(--button-gradient);
        color: var(--text-color);
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: transform 0.3s ease, background 0.3s ease;
        font-family: var(--font-primary);
    }

    .btn:hover {
        transform: scale(1.05);
        background: var(--button-hover-gradient);
    }

    /* 代码块样式 */
    pre {
        background-color: #1E1E1E;
        padding: 15px;
        border-radius: 5px;
        overflow-x: auto;
        font-family: 'Courier New', Courier, monospace;
        color: #00FF00;
    }

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

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

    table, th, td {
        border: 1px solid var(--accent-color);
    }

    th, td {
        padding: 10px;
        text-align: left;
        color: var(--text-color);
    }

    th {
        background-color: var(--secondary-color);
    }

    /* 图片样式 */
    .images-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
        padding: 20px;
    }

    .images-grid img {
        width: 100%;
        height: auto;
        border-radius: 5px;
    }

    /* 提示信息 */
    .reference-note {
        text-align: center;
        margin: 40px 0;
        font-size: 1.2rem;
        color: var(--highlight-color);
    }

    /* Responsive Design */
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    @media (max-width: 480px) {
        .hero h1 {
            font-size: 2rem;
        }

        .navbar {
            padding: 10px 20px;
        }

        .module h2 {
            font-size: 1.2rem;
        }

        .btn {
            padding: 8px 16px;
            font-size: 0.9rem;
        }
    }

    @media (min-width: 481px) and (max-width: 768px) {
        .hero h1 {
            font-size: 2.5rem;
        }

        .module h2 {
            font-size: 1.3rem;
        }
    }

    @media (min-width: 769px) and (max-width: 1024px) {
        .hero h1 {
            font-size: 3rem;
        }

        .module h2 {
            font-size: 1.5rem;
        }
    }

    @media (min-width: 1025px) and (max-width: 1440px) {
        .hero h1 {
            font-size: 3.5rem;
        }

        .module h2 {
            font-size: 1.7rem;
        }
    }

    @media (min-width: 1441px) {
        .hero h1 {
            font-size: 4rem;
        }

        .module h2 {
            font-size: 2rem;
        }
    }

