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

    html, body {
        height: 100%;
        font-family: 'Inter', sans-serif;
        background: linear-gradient(135deg, #1e3c72, #2a5298);
        color: #ffffff;
        overflow-x: hidden;
    }

    body {
        line-height: 1.6;
        font-size: 16px;
    }

    a {
        color: #39ff14;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    a:hover {
        color: #ff6ec7;
    }

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

    /* 标题样式 */
    h1, h2, h3, h4 {
        font-family: 'Roboto Mono', monospace;
        color: #ffffff;
        margin-bottom: 20px;
    }

    h1 {
        font-size: 2.5rem;
        text-align: center;
        margin-top: 40px;
        text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    }

    h2 {
        font-size: 2rem;
        border-bottom: 2px solid #39ff14;
        padding-bottom: 10px;
        margin-top: 40px;
    }

    h3 {
        font-size: 1.75rem;
        margin-top: 30px;
    }

    h4 {
        font-size: 1.5rem;
        margin-top: 20px;
    }

    /* 段落样式 */
    p {
        margin-bottom: 20px;
        line-height: 1.8;
        color: #e0e0e0;
    }

    /* 强调文本 */
    b {
        color: #ff6ec7;
    }

    /* 代码块样式 */
    pre {
        background: rgba(0, 0, 0, 0.8);
        padding: 15px;
        border-radius: 5px;
        overflow: auto;
        margin-bottom: 20px;
    }

    code {
        font-family: 'Roboto Mono', monospace;
        color: #39ff14;
    }

    /* 列表样式 */
    ul {
        margin-bottom: 20px;
        padding-left: 20px;
    }

    li {
        margin-bottom: 10px;
    }

    /* 图片样式 */
    img {
        max-width: 100%;
        height: auto;
        display: block;
        margin: 20px auto;
        border-radius: 10px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.3);
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    img:hover {
        transform: scale(1.05);
        opacity: 0.9;
    }

    /* 代码示例高亮 */
    .code-example {
        background: rgba(0, 0, 0, 0.85);
        padding: 20px;
        border-radius: 8px;
        overflow-x: auto;
        margin-bottom: 30px;
    }

    /* 示例数据展示 */
    .sample-data {
        background: rgba(255, 255, 255, 0.1);
        padding: 20px;
        border-radius: 8px;
        margin: 40px 0;
    }

    .sample-data h2 {
        border-color: #ff6ec7;
    }

    .sample-data ul {
        list-style-type: disc;
        padding-left: 40px;
    }

    /* 提示信息样式 */
    .hint {
        text-align: center;
        font-size: 1.2rem;
        margin: 30px 0;
        color: #ff6ec7;
        animation: glow 2s infinite alternate;
    }

    @keyframes glow {
        from {
            text-shadow: 0 0 10px #ff6ec7, 0 0 20px #ff6ec7;
        }
        to {
            text-shadow: 0 0 20px #39ff14, 0 0 30px #39ff14;
        }
    }

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

    @media (max-width: 1200px) {
        .container {
            width: 95%;
        }
    }

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

    @media (max-width: 768px) {
        h1 {
            font-size: 1.8rem;
        }
        h2 {
            font-size: 1.4rem;
        }
        .grid {
            grid-template-columns: 1fr;
        }
    }

    @media (max-width: 480px) {
        body {
            font-size: 14px;
        }
        h1 {
            font-size: 1.6rem;
        }
        h2 {
            font-size: 1.2rem;
        }
    }

    @media (max-width: 320px) {
        body {
            font-size: 12px;
        }
        h1 {
            font-size: 1.4rem;
        }
        h2 {
            font-size: 1rem;
        }
    }

    /* 动画与交互效果 */
    .hover-effect {
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .hover-effect:hover {
        transform: scale(1.05);
        opacity: 0.8;
    }

    /* 固定导航栏 */
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.7);
        padding: 15px 20px;
        z-index: 1000;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .navbar a {
        margin: 0 10px;
        color: #ffffff;
    }

    .navbar a:hover {
        color: #ff6ec7;
    }

    /* 固定侧边栏 */
    .sidebar {
        position: fixed;
        top: 50%;
        left: 20px;
        transform: translateY(-50%);
        display: flex;
        flex-direction: column;
    }

    .sidebar a {
        margin: 10px 0;
        color: #39ff14;
    }

    .sidebar a:hover {
        color: #ff6ec7;
    }

    /* 底部锚点导航 */
    .footer-nav {
        position: fixed;
        bottom: 20px;
        right: 20px;
        display: flex;
        flex-direction: column;
    }

    .footer-nav a {
        margin: 5px 0;
        color: #39ff14;
    }

    .footer-nav a:hover {
        color: #ff6ec7;
    }

    /* 动态网格布局 */
    .grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        margin-top: 30px;
    }

    .grid-item {
        background: rgba(255, 255, 255, 0.1);
        padding: 20px;
        border-radius: 10px;
        transition: transform 0.3s ease, background 0.3s ease;
    }

    .grid-item:hover {
        transform: translateY(-10px);
        background: rgba(255, 255, 255, 0.2);
    }

