
    /* 根变量定义 */
    :root {
        --main-bg-color: #0A1F44;
        --accent-color: #6C5CE7;
        --highlight-color: #FF6B6B;
        --text-color: #FFFFFF;
        --secondary-text-color: #CCCCCC;
        --font-title: 'Poppins', sans-serif;
        --font-body: 'Roboto', sans-serif;
        --transition-speed: 0.3s;
        --button-hover-bg: rgba(255, 107, 107, 0.2);
    }

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

    body {
        font-family: var(--font-body);
        background: linear-gradient(to bottom, var(--main-bg-color), #000000);
        color: var(--text-color);
        overflow-x: hidden;
    }

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

    p {
        line-height: 1.6;
        margin-bottom: 20px;
        color: var(--text-color);
    }

    a {
        color: var(--highlight-color);
        text-decoration: none;
        transition: color var(--transition-speed);
    }

    a:hover {
        color: var(--accent-color);
    }

    /* 全屏分段布局 */
    section {
        min-height: 100vh;
        padding: 60px 20px;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        position: relative;
    }

    .parallax {
        background-attachment: fixed;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }

    /* 内容容器 */
    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
    }

    /* 按钮样式 */
    .button {
        padding: 12px 24px;
        border: none;
        background-color: var(--accent-color);
        color: var(--text-color);
        font-family: var(--font-title);
        font-size: 16px;
        cursor: pointer;
        position: relative;
        overflow: hidden;
        transition: background-color var(--transition-speed), transform var(--transition-speed);
    }

    .button::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: var(--button-hover-bg);
        transform: skewX(-45deg);
        transition: all 0.5s ease;
    }

    .button:hover::before {
        left: 100%;
    }

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

    /* 代码块样式 */
    pre {
        background: #1e1e1e;
        padding: 20px;
        border-radius: 8px;
        overflow: auto;
        color: #dcdcdc;
        font-family: 'Courier New', Courier, monospace;
        margin-bottom: 20px;
    }

    code {
        font-family: 'Courier New', Courier, monospace;
    }

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

    th, td {
        padding: 12px 15px;
        border: 1px solid #444;
        text-align: left;
    }

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

    /* 图片样式 */
    img {
        max-width: 100%;
        height: auto;
        margin: 10px;
    }

    /* 动态粒子效果 */
    .particles {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        background: transparent;
    }

    /* 响应式设计 */
    @media (max-width: 1440px) {
        .container {
            padding: 40px;
        }
    }

    @media (max-width: 1200px) {
        h1 {
            font-size: 2.5rem;
        }
        h2 {
            font-size: 2rem;
        }
    }

    @media (max-width: 1024px) {
        .container {
            padding: 30px;
        }
    }

    @media (max-width: 768px) {
        h1 {
            font-size: 2rem;
        }
        h2 {
            font-size: 1.75rem;
        }
    }

    @media (max-width: 480px) {
        h1 {
            font-size: 1.5rem;
        }
        h2 {
            font-size: 1.25rem;
        }
        .button {
            padding: 10px 20px;
            font-size: 14px;
        }
    }

    @media (max-width: 320px) {
        h1 {
            font-size: 1.25rem;
        }
        h2 {
            font-size: 1rem;
        }
        .container {
            padding: 20px;
        }
    }

    /* 非对称网格布局 */
    .grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        align-items: start;
    }

    .grid-item {
        background: rgba(255, 255, 255, 0.05);
        padding: 20px;
        border-radius: 8px;
    }

    .grid-item:nth-child(odd) {
        transform: skewY(-2deg);
    }

    .grid-item:nth-child(even) {
        transform: skewY(2deg);
    }

    /* 提示信息 */
    .reference-note {
        position: fixed;
        bottom: 10px;
        right: 10px;
        background: rgba(0, 0, 0, 0.7);
        color: var(--secondary-text-color);
        padding: 8px 12px;
        border-radius: 4px;
        font-size: 14px;
    }

    /* 动画导航条 */
    .navbar {
        position: fixed;
        top: 0;
        width: 100%;
        background: rgba(10, 31, 68, 0.9);
        padding: 20px;
        z-index: 1000;
        display: flex;
        justify-content: space-between;
        align-items: center;
        transition: background var(--transition-speed);
    }

    .navbar.scrolled {
        background: rgba(10, 31, 68, 1);
    }

    .navbar a {
        margin: 0 10px;
        color: var(--text-color);
        font-family: var(--font-title);
        font-size: 16px;
    }

    /* 滚动效果 */
    html {
        scroll-behavior: smooth;
    }

    /* 代码块响应式 */
    pre {
        white-space: pre-wrap;
        word-wrap: break-word;
    }

