
    /* 基础重置 */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    html, body {
        width: 100%;
        height: 100%;
        font-family: 'Roboto', sans-serif;
        background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
        color: #ffffff;
        overflow-x: hidden;
    }

    /* 导航栏样式 */
    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 220px;
        height: 100vh;
        background: rgba(26, 26, 26, 0.9);
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
        transform: skewY(-2deg);
        transition: transform 0.3s ease-in-out;
    }

    .sidebar:hover {
        transform: skewY(0deg);
    }

    .sidebar a {
        text-decoration: none;
        color: #00ff99;
        margin: 20px 0;
        font-size: 18px;
        position: relative;
        transition: color 0.3s ease;
    }

    .sidebar a::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        background: #00ff99;
        left: 0;
        bottom: -5px;
        transition: width 0.3s;
    }

    .sidebar a:hover::after {
        width: 100%;
    }

    /* 主内容区样式 */
    .main-content {
        margin-left: 220px;
        padding: 40px;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
        min-height: 100vh;
        backdrop-filter: blur(10px);
        position: relative;
        overflow: hidden;
        transform: skewY(2deg);
    }

    /* 背景装饰元素 */
    .decorative-image {
        position: absolute;
        width: 150px;
        height: 150px;
        background-size: cover;
        opacity: 0.3;
        animation: float 20s infinite alternate;
    }

    .decorative-image:nth-child(1) {
        top: 10%;
        left: 80%;
        background-image: url('https://images.gptkong.com/demo/sample1.png');
    }

    .decorative-image:nth-child(2) {
        bottom: 15%;
        right: 70%;
        background-image: url('https://images.gptkong.com/demo/sample2.png');
    }

    .decorative-image:nth-child(3) {
        top: 50%;
        left: 60%;
        background-image: url('https://images.gptkong.com/demo/sample3.png');
    }

    .decorative-image:nth-child(4) {
        bottom: 30%;
        left: 75%;
        background-image: url('https://images.gptkong.com/demo/sample4.png');
    }

    @keyframes float {
        from {
            transform: translateY(0) rotate(0deg);
        }
        to {
            transform: translateY(-20px) rotate(360deg);
        }
    }

    /* 文章样式 */
    article {
        max-width: 800px;
        margin: 0 auto;
        padding: 20px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 15px;
        box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.18);
    }

    article h2 {
        font-size: 2em;
        margin-bottom: 20px;
        color: #00ff99;
        text-align: center;
    }

    article h3, article h4 {
        color: #a29bfe;
        margin-top: 30px;
        margin-bottom: 10px;
    }

    article p {
        line-height: 1.6;
        margin-bottom: 15px;
        font-size: 1.1em;
    }

    article ul, article ol {
        margin-left: 20px;
        margin-bottom: 15px;
    }

    article li {
        margin-bottom: 10px;
    }

    article pre {
        background: rgba(255, 255, 255, 0.05);
        padding: 15px;
        border-radius: 10px;
        overflow-x: auto;
        margin-bottom: 15px;
    }

    article code {
        color: #81ecec;
        font-family: 'Fira Code', monospace;
    }

    /* 提示信息样式 */
    .reference-note {
        text-align: center;
        margin: 20px 0;
        font-size: 1em;
        color: #fab1a0;
    }

    /* 响应式设计 */
    @media (max-width: 1440px) {
        .decorative-image {
            width: 120px;
            height: 120px;
        }

        article {
            padding: 15px;
        }
    }

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

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

        .decorative-image {
            width: 100px;
            height: 100px;
        }

        article h2 {
            font-size: 1.8em;
        }
    }

    @media (max-width: 1024px) {
        .decorative-image {
            width: 80px;
            height: 80px;
        }

        article h2 {
            font-size: 1.6em;
        }
    }

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

        .main-content {
            margin-left: 180px;
            padding: 30px 20px;
        }

        .decorative-image {
            display: none;
        }

        article h2 {
            font-size: 1.4em;
        }
    }

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

        .main-content {
            margin-left: 160px;
            padding: 20px 10px;
        }

        article h2 {
            font-size: 1.2em;
        }

        article p, article li {
            font-size: 1em;
        }
    }

    @media (max-width: 320px) {
        .sidebar {
            width: 140px;
            padding-top: 30px;
        }

        .main-content {
            margin-left: 140px;
            padding: 15px 5px;
        }

        article h2 {
            font-size: 1em;
        }

        article h3, article h4 {
            font-size: 1em;
        }

        article p, article li {
            font-size: 0.9em;
        }
    }

    /* 动画效果 */
    @keyframes aurora-move {
        0% {
            background: radial-gradient(circle, rgb(255, 87, 34), transparent);
        }
        50% {
            background: radial-gradient(circle, rgb(34, 255, 87), transparent);
        }
        100% {
            background: radial-gradient(circle, rgb(34, 87, 255), transparent);
        }
    }

    .aurora {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        animation: aurora-move 15s linear infinite;
        z-index: -1;
    }

    /* 按钮样式 */
    .btn {
        background-color: #00ff99;
        border: none;
        padding: 10px 20px;
        font-size: 16px;
        cursor: pointer;
        border-radius: 5px;
        transition: transform 0.2s, background-color 0.3s;
        position: relative;
        overflow: hidden;
    }

    .btn::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        opacity: 0;
        transition: all 0.4s ease;
    }

    .btn:active::after {
        width: 200%;
        height: 200%;
        opacity: 1;
    }

    .btn:hover {
        background-color: #00e680;
        transform: scale(1.05);
    }

    /* 代码块样式 */
    pre code {
        display: block;
        padding: 15px;
        background: rgba(0, 0, 0, 0.8);
        border-radius: 8px;
        overflow-x: auto;
        color: #78e08f;
        font-family: 'Fira Code', monospace;
        font-size: 14px;
    }

    /* SVG图标动态效果 */
    svg.icon {
        fill: #ffffff;
        transition: transform 0.3s, fill 0.3s;
        width: 24px;
        height: 24px;
    }

    svg.icon:hover {
        transform: scale(1.2);
        fill: #00ff99;
    }

    /* 主题切换按钮 */
    .theme-toggle {
        position: fixed;
        top: 20px;
        right: 20px;
        background-color: transparent;
        border: 2px solid #00ff99;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background-color 0.3s, transform 0.3s;
    }

    .theme-toggle:hover {
        background-color: rgba(0, 255, 153, 0.2);
        transform: rotate(20deg);
    }

    .theme-toggle svg {
        fill: #00ff99;
        width: 24px;
        height: 24px;
    }

