
    /* 基础样式设定 */
    :root {
        --primary-color: #8B9467; /* 苔藓绿 */
        --secondary-color: #964B00; /* 泥土棕 */
        --accent-color: #1E90FF; /* 天空蓝 */
        --highlight-color: #FFD700; /* 金色 */
        --background-gradient: linear-gradient(135deg, #8B9467, #964B00);
        --text-color: #1E90FF;
        --button-bg: rgba(255, 215, 0, 0.8);
        --button-hover-bg: rgba(255, 215, 0, 1);
        --font-primary: 'Roboto', sans-serif;
        --font-secondary: 'Lora', serif;
        --transition-speed: 0.3s;
    }

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

    body {
        font-family: var(--font-primary);
        background: var(--background-gradient);
        color: var(--text-color);
        line-height: 1.6;
        padding: 20px;
    }

    header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 0;
        background: rgba(0, 0, 0, 0.2);
        border-radius: 10px;
    }

    header h1 {
        font-family: var(--font-secondary);
        font-size: 2em;
        color: var(--highlight-color);
    }

    nav ul {
        display: flex;
        list-style: none;
    }

    nav ul li {
        margin-left: 20px;
    }

    nav ul li a {
        text-decoration: none;
        color: var(--text-color);
        transition: color var(--transition-speed);
    }

    nav ul li a:hover {
        color: var(--highlight-color);
    }

    .container {
        display: grid;
        grid-template-columns: 1fr 3fr;
        gap: 20px;
        margin-top: 20px;
    }

    aside {
        background: rgba(255, 255, 255, 0.1);
        padding: 20px;
        border-radius: 10px;
    }

    aside h2 {
        font-family: var(--font-secondary);
        color: var(--highlight-color);
        margin-bottom: 10px;
    }

    aside ul {
        list-style: none;
    }

    aside ul li {
        margin-bottom: 10px;
    }

    aside ul li a {
        text-decoration: none;
        color: var(--text-color);
        transition: color var(--transition-speed);
    }

    aside ul li a:hover {
        color: var(--highlight-color);
    }

    main {
        background: rgba(255, 255, 255, 0.1);
        padding: 20px;
        border-radius: 10px;
    }

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

    main p {
        margin-bottom: 15px;
        font-family: var(--font-secondary);
    }

    pre {
        background: rgba(0, 0, 0, 0.5);
        padding: 15px;
        border-radius: 10px;
        overflow-x: auto;
    }

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

    .code-preview {
        background: rgba(255, 215, 0, 0.2);
        padding: 10px;
        border-left: 5px solid var(--highlight-color);
        margin-top: 10px;
        border-radius: 5px;
    }

    .image-gallery {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 20px;
    }

    .image-gallery img {
        width: 100%;
        max-width: 320px;
        border-radius: 10px;
    }

    .sample-showcase {
        background: rgba(255, 255, 255, 0.2);
        padding: 20px;
        border-radius: 10px;
        margin-top: 30px;
    }

    .sample-showcase h2 {
        color: var(--highlight-color);
        margin-bottom: 15px;
    }

    .sample-showcase article {
        background: rgba(0, 0, 0, 0.3);
        padding: 15px;
        border-radius: 10px;
        overflow: hidden;
    }

    .sample-showcase pre {
        background: rgba(255, 215, 0, 0.1);
        padding: 10px;
        border-radius: 5px;
    }

    .footer {
        text-align: center;
        margin-top: 40px;
        color: var(--highlight-color);
    }

    /* 按钮样式 */
    .btn {
        background: var(--button-bg);
        color: #fff;
        padding: 10px 20px;
        border: none;
        border-radius: 25px;
        cursor: pointer;
        transition: background var(--transition-speed);
        font-family: var(--font-secondary);
    }

    .btn:hover {
        background: var(--button-hover-bg);
    }

    /* 响应式设计 */
    @media (max-width: 1440px) {
        .container {
            grid-template-columns: 1fr 2fr;
        }
    }

    @media (max-width: 1200px) {
        .container {
            grid-template-columns: 1fr;
        }
        nav ul {
            flex-direction: column;
            align-items: flex-start;
        }
        nav ul li {
            margin-left: 0;
            margin-bottom: 10px;
        }
    }

    @media (max-width: 1024px) {
        header {
            flex-direction: column;
            align-items: flex-start;
        }
    }

    @media (max-width: 768px) {
        .image-gallery {
            flex-direction: column;
        }
    }

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

    @media (max-width: 320px) {
        body {
            padding: 10px;
        }
        header h1 {
            font-size: 1.2em;
        }
    }

    /* 动画效果 */
    @keyframes float {
        0% { transform: translateY(0px); }
        50% { transform: translateY(-10px); }
        100% { transform: translateY(0px); }
    }

    .floating {
        animation: float 3s infinite ease-in-out;
    }

