
    /* 全局样式 */
    @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Roboto&display=swap');

    :root {
        --main-bg-gradient: linear-gradient(135deg, #0A192F, #8C54FF, #00BFFF);
        --primary-color: #8C54FF;
        --secondary-color: #00BFFF;
        --accent-color: #FF6F61;
        --text-color: #FFFFFF;
        --card-bg: rgba(255, 255, 255, 0.1);
        --card-shadow: rgba(0, 0, 0, 0.2);
        --transition-speed: 0.3s;
        --font-title: 'Montserrat', sans-serif;
        --font-body: 'Roboto', sans-serif;
    }

    body {
        margin: 0;
        padding: 0;
        font-family: var(--font-body);
        background: var(--main-bg-gradient);
        color: var(--text-color);
        line-height: 1.6;
    }

    a {
        color: var(--primary-color);
        text-decoration: none;
        transition: color var(--transition-speed), text-shadow var(--transition-speed);
    }

    a:hover {
        color: var(--secondary-color);
        text-shadow: 0 0 5px var(--secondary-color);
    }

    h1, h2, h3, h4, h5, h6 {
        font-family: var(--font-title);
        color: var(--accent-color);
        margin-top: 0;
    }

    h2 {
        font-size: 2.5em;
        text-transform: uppercase;
        letter-spacing: 2px;
        animation: fadeInText 1s ease-in-out forwards;
    }

    h3 {
        font-size: 1.8em;
        margin-top: 1.5em;
    }

    p {
        font-size: 1em;
        margin: 1em 0;
    }

    pre {
        background: rgba(255, 255, 255, 0.1);
        padding: 15px;
        border-radius: 8px;
        overflow-x: auto;
        font-family: 'Roboto', sans-serif;
    }

    code {
        color: #00BFFF;
        font-family: 'Roboto', sans-serif;
    }

    table {
        width: 100%;
        border-collapse: collapse;
        margin: 1em 0;
    }

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

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

    .button {
        background: var(--primary-color);
        color: var(--text-color);
        border: none;
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        transition: transform var(--transition-speed), box-shadow var(--transition-speed);
        font-family: var(--font-body);
    }

    .button:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    }

    .button:active {
        transform: translateY(0);
        box-shadow: none;
    }

    .card {
        background: var(--card-bg);
        border-radius: 10px;
        padding: 20px;
        margin: 15px;
        box-shadow: 0 4px 6px var(--card-shadow);
        transition: transform var(--transition-speed);
        flex: 1 1 300px;
    }

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

    .cards-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        padding: 20px;
    }

    .grid {
        display: grid;
        grid-template-columns: 70% 30%;
        gap: 20px;
        padding: 20px;
    }

    .grid-sidebar {
        grid-row: span 1;
    }

    .grid-main {
        grid-row: span 2;
    }

    .background-video {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: -1;
        opacity: 0.7;
    }

    .particle-animation {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        z-index: -1;
    }

    .icon {
        width: 50px;
        height: 50px;
        fill: var(--secondary-color);
        transition: transform var(--transition-speed), fill var(--transition-speed);
    }

    .icon:hover {
        fill: var(--accent-color);
        transform: rotate(20deg);
    }

    .code-preview {
        background: #1E1E1E;
        padding: 20px;
        border-radius: 8px;
        overflow-x: auto;
        margin: 1em 0;
    }

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

    @keyframes fadeInText {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    /* 响应式设计 */
    @media (max-width: 1440px) {
        h2 {
            font-size: 2.2em;
        }

        h3 {
            font-size: 1.6em;
        }
    }

    @media (max-width: 1200px) {
        .grid {
            grid-template-columns: 1fr;
        }
    }

    @media (max-width: 1024px) {
        .cards-container {
            flex-direction: column;
            align-items: center;
        }
    }

    @media (max-width: 768px) {
        h2 {
            font-size: 1.8em;
        }

        h3 {
            font-size: 1.4em;
        }

        .button {
            padding: 8px 16px;
        }
    }

    @media (max-width: 480px) {
        h2 {
            font-size: 1.5em;
        }

        h3 {
            font-size: 1.2em;
        }

        .card {
            margin: 10px 0;
        }
    }

    @media (max-width: 320px) {
        h2 {
            font-size: 1.2em;
        }

        h3 {
            font-size: 1em;
        }

        .button {
            padding: 6px 12px;
            font-size: 0.9em;
        }
    }

    /* 图片样式 */
    .decorative-image {
        width: 100%;
        max-width: 320px;
        height: auto;
        border-radius: 8px;
        margin: 10px 0;
    }

    /* 提示信息样式 */
    .reference-note {
        text-align: center;
        font-size: 1em;
        margin: 20px 0;
        color: #FF6F61;
    }

    /* 模块样式 */
    .module {
        background: var(--card-bg);
        border-radius: 10px;
        padding: 20px;
        margin: 15px;
        box-shadow: 0 4px 6px var(--card-shadow);
        transition: transform var(--transition-speed), background 0.3s ease;
    }

    .module:hover {
        background: rgba(255, 255, 255, 0.15);
        transform: translateY(-5px);
    }

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

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

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

    /* 视差滚动效果 */
    .parallax {
        background-attachment: fixed;
        background-size: cover;
        background-position: center;
        height: 400px;
        position: relative;
    }

    /* 图标集合 */
    .icon-collection {
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 20px;
    }

    /* 数据可视化图表 */
    .chart {
        width: 100%;
        height: 300px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        position: relative;
    }

