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

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        font-family: 'Roboto', sans-serif;
        background: linear-gradient(135deg, #e0f7fa, #ffffff);
        color: #333;
        line-height: 1.6;
        padding: 20px;
        display: flex;
        flex-direction: column;
        min-height: 100vh;
    }

    /* 导航栏样式 */
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 250px;
        height: 100%;
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
        border-right: 1px solid rgba(255, 255, 255, 0.3);
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        transition: all 0.3s ease;
    }

    .navbar h1 {
        font-size: 1.5rem;
        color: #00bfff;
        margin-bottom: 30px;
    }

    .navbar ul {
        list-style: none;
    }

    .navbar ul li {
        margin-bottom: 20px;
    }

    .navbar ul li a {
        text-decoration: none;
        color: #fff;
        font-size: 1.1rem;
        padding: 10px;
        border-radius: 8px;
        transition: background 0.3s ease;
        display: block;
        background: rgba(0, 191, 255, 0.3);
    }

    .navbar ul li a:hover {
        background: rgba(0, 191, 255, 0.6);
    }

    /* 主内容区域 */
    .main-content {
        margin-left: 270px;
        padding: 20px;
        background: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(10px);
        border-radius: 16px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        flex: 1;
    }

    .main-content h2 {
        font-size: 2rem;
        color: #00bfff;
        margin-bottom: 20px;
        background: linear-gradient(to right, #00bfff, #ffffff);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .main-content h3 {
        font-size: 1.5rem;
        color: #333;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .main-content p {
        margin-bottom: 15px;
    }

    /* 示例展示样式 */
    .example-display {
        margin-top: 40px;
        padding: 20px;
        background: rgba(240, 248, 255, 0.7);
        border-left: 4px solid #00bfff;
        position: relative;
    }

    .example-display::before {
        content: '示例展示';
        position: absolute;
        top: -20px;
        left: 0;
        background: #00bfff;
        color: #fff;
        padding: 5px 10px;
        border-radius: 4px;
        font-size: 0.9rem;
    }

    .example-display pre {
        background: #f5f5f5;
        padding: 15px;
        border-radius: 8px;
        overflow-x: auto;
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .example-display code {
        font-family: 'Courier New', Courier, monospace;
        color: #d63384;
    }

    /* 图片样式 */
    .images-gallery {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
        margin-top: 20px;
    }

    .images-gallery img {
        width: 100%;
        height: auto;
        border-radius: 8px;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .images-gallery img:hover {
        transform: scale(1.05);
    }

    /* 按钮样式 */
    .button {
        background: #00bfff;
        color: #fff;
        border: none;
        padding: 10px 20px;
        border-radius: 25px;
        cursor: pointer;
        transition: background 0.3s ease, transform 0.3s ease;
    }

    .button:hover {
        background: #009acd;
        transform: translateY(-2px);
    }

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

        .main-content {
            margin-left: 250px;
        }
    }

    @media (max-width: 1200px) {
        .navbar {
            width: 200px;
        }

        .main-content {
            margin-left: 220px;
        }
    }

    @media (max-width: 1024px) {
        .navbar {
            width: 180px;
        }

        .main-content {
            margin-left: 200px;
        }
    }

    @media (max-width: 768px) {
        .navbar {
            position: relative;
            width: 100%;
            height: auto;
            backdrop-filter: none;
            border-right: none;
            border-bottom: 1px solid rgba(255, 255, 255, 0.3);
            flex-direction: row;
            overflow-x: auto;
        }

        .navbar ul {
            display: flex;
            flex-direction: row;
        }

        .navbar ul li {
            margin-right: 10px;
            margin-bottom: 0;
        }

        .main-content {
            margin-left: 0;
            margin-top: 20px;
        }
    }

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

        .navbar ul li a {
            font-size: 1rem;
            padding: 8px;
        }

        .main-content h2 {
            font-size: 1.5rem;
        }

        .main-content h3 {
            font-size: 1.2rem;
        }

        .images-gallery {
            grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        }
    }

    @media (max-width: 320px) {
        .navbar h1 {
            font-size: 1rem;
        }

        .navbar ul li a {
            font-size: 0.9rem;
            padding: 6px;
        }

        .main-content h2 {
            font-size: 1.2rem;
        }

        .main-content h3 {
            font-size: 1rem;
        }

        .images-gallery {
            grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        }
    }

    /* 动画效果 */
    @keyframes aurora-move {
        0% {
            background-position: 0% 50%;
        }
        50% {
            background-position: 100% 50%;
        }
        100% {
            background-position: 0% 50%;
        }
    }

    .animated-background {
        animation: aurora-move 15s linear infinite;
    }

    /* 提示文字样式 */
    .reference-note {
        margin-top: 30px;
        font-size: 1rem;
        color: #555;
        text-align: center;
    }

    /* 链接样式 */
    a {
        color: #00bfff;
        text-decoration: none;
    }

    a:hover {
        text-decoration: underline;
    }

