
    /* CSS Variables for color palette */
    :root {
        --primary-color: #0A1F44; /* 深蓝色 */
        --accent-color: #1E5631; /* 墨绿色 */
        --secondary-color: #C0C0C0; /* 银灰色 */
        --highlight-color: #00FFFF; /* 明亮青色 */
        --text-color: #FFFFFF; /* 白色 */
        --background-gradient: radial-gradient(circle, rgba(10,31,68,1) 0%, rgba(30,86,49,1) 70%, rgba(192,192,192,1) 100%);
        --font-body: 'Roboto Mono', monospace;
        --font-title: 'Playfair Display', serif;
    }

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

    body {
        font-family: var(--font-body);
        color: var(--text-color);
        background: var(--background-gradient);
        min-height: 100vh;
        display: flex;
        flex-direction: row;
        animation: backgroundMove 15s linear infinite;
    }

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

    /* 导航栏样式 */
    .sidebar {
        width: 250px;
        background: url('https://images.gptkong.com/demo/sample1.png') no-repeat center center;
        background-size: cover;
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        box-shadow: 2px 0 5px rgba(0,0,0,0.5);
    }

    .sidebar h1 {
        font-family: var(--font-title);
        font-size: 1.5rem;
        color: var(--highlight-color);
        margin-bottom: 20px;
        text-align: center;
    }

    .nav-links {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .nav-links a {
        text-decoration: none;
        color: var(--text-color);
        font-size: 1.1rem;
        transition: color 0.3s;
    }

    .nav-links a:hover {
        color: var(--highlight-color);
    }

    /* 主体内容样式 */
    .main-content {
        flex: 1;
        padding: 40px;
        overflow-y: auto;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(10px);
    }

    .main-content h2, .main-content h3, .main-content h4 {
        font-family: var(--font-title);
        color: var(--highlight-color);
        margin-bottom: 15px;
    }

    .main-content p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .main-content ul {
        list-style: disc inside;
        margin-bottom: 20px;
    }

    .main-content ul li {
        margin-bottom: 10px;
    }

    /* 代码块样式 */
    pre {
        background: #1E5631;
        padding: 15px;
        border-radius: 8px;
        overflow-x: auto;
        margin-bottom: 20px;
    }

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

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

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

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

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

    /* 图片样式 */
    .image-gallery {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 20px;
    }

    .image-gallery img {
        width: 100px;
        height: 100px;
        object-fit: cover;
        border-radius: 8px;
    }

    /* 示例展示样式 */
    .example-display {
        background: rgba(30, 86, 49, 0.8);
        padding: 20px;
        border-radius: 10px;
        margin-bottom: 30px;
    }

    .example-display h2 {
        text-align: center;
        margin-bottom: 20px;
    }

    /* 提示信息样式 */
    .footer-note {
        text-align: center;
        font-size: 0.9rem;
        color: var(--secondary-color);
        margin-top: 40px;
    }

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

        .main-content {
            padding: 30px;
        }
    }

    @media (max-width: 1200px) {
        .sidebar {
            width: 200px;
            padding: 10px;
        }

        .main-content {
            padding: 20px;
        }
    }

    @media (max-width: 1024px) {
        body {
            flex-direction: column;
        }

        .sidebar {
            width: 100%;
            height: auto;
            flex-direction: row;
            overflow-x: auto;
        }

        .nav-links {
            flex-direction: row;
            gap: 10px;
        }

        .main-content {
            padding: 15px;
        }
    }

    @media (max-width: 768px) {
        .sidebar {
            padding: 8px;
        }

        .nav-links a {
            font-size: 1rem;
        }

        .main-content {
            padding: 10px;
        }

        .image-gallery img {
            width: 80px;
            height: 80px;
        }
    }

    @media (max-width: 480px) {
        .sidebar {
            display: none;
        }

        .main-content {
            padding: 8px;
        }

        .example-display {
            padding: 15px;
        }
    }

    @media (max-width: 320px) {
        .main-content {
            padding: 5px;
        }

        .image-gallery img {
            width: 60px;
            height: 60px;
        }
    }

