
    /* 基本样式 */
    :root {
        --primary-color: #0A2540;
        --background-color: #F7F9FC;
        --accent-color: #FF6B35;
        --gold-color: #FFD700;
        --text-color: #0A2540;
        --font-primary: 'Roboto', sans-serif;
        --font-secondary: 'Open Sans', sans-serif;
    }

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

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

    /* 导航栏 */
    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 200px;
        height: 100vh;
        background-color: var(--primary-color);
        color: #fff;
        padding-top: 60px;
        transition: all 0.3s ease;
    }

    .sidebar a {
        display: block;
        padding: 15px 20px;
        color: #fff;
        text-decoration: none;
        transition: background 0.3s;
        font-family: var(--font-primary);
    }

    .sidebar a:hover {
        background-color: var(--accent-color);
        transform: scale(1.05);
    }

    /* 主内容区域 */
    .main-content {
        margin-left: 220px;
        padding: 20px;
        background: rgba(247, 249, 252, 0.9);
        border-radius: 8px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    /* 首屏设计 */
    .hero {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 80vh;
        background: radial-gradient(circle, rgb(255, 87, 34), transparent);
        animation: aurora-move 15s linear infinite;
        position: relative;
        overflow: hidden;
    }

    .hero h1 {
        font-family: 'Roboto', sans-serif;
        font-size: 3rem;
        color: #fff;
        text-align: center;
        margin-bottom: 20px;
    }

    .hero p {
        font-family: 'Open Sans', sans-serif;
        font-size: 1.2rem;
        color: #fff;
    }

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

    /* 文章展示 */
    .article {
        margin-top: 40px;
    }

    .article h2, .article h3 {
        font-family: var(--font-primary);
        color: var(--primary-color);
        margin-bottom: 15px;
    }

    .article p {
        margin-bottom: 15px;
    }

    .article pre {
        background: #f4f4f4;
        padding: 10px;
        border-left: 4px solid var(--accent-color);
        overflow-x: auto;
    }

    .article code {
        font-family: 'Courier New', Courier, monospace;
        color: var(--primary-color);
    }

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

    .image-gallery img {
        width: 100%;
        height: auto;
        border-radius: 8px;
        transition: transform 0.3s;
    }

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

    /* 提示信息 */
    .notice {
        margin-top: 30px;
        padding: 20px;
        background: linear-gradient(135deg, var(--accent-color), var(--gold-color));
        color: #fff;
        text-align: center;
        border-radius: 8px;
        font-family: var(--font-primary);
        font-size: 1.2rem;
    }

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

    @media (max-width: 1200px) {
        .main-content {
            margin-left: 220px;
        }
    }

    @media (max-width: 1024px) {
        .sidebar {
            width: 180px;
        }
        .main-content {
            margin-left: 200px;
        }
    }

    @media (max-width: 768px) {
        .sidebar {
            position: fixed;
            bottom: 0;
            top: auto;
            width: 100%;
            height: 60px;
            display: flex;
            justify-content: space-around;
            padding-top: 0;
        }

        .sidebar a {
            padding: 10px;
            font-size: 0.9rem;
        }

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

        .hero {
            height: 60vh;
        }

        .hero h1 {
            font-size: 2rem;
        }

        .hero p {
            font-size: 1rem;
        }
    }

    @media (max-width: 480px) {
        .article h2 {
            font-size: 1.5rem;
        }

        .article h3 {
            font-size: 1.2rem;
        }

        .article p, .article pre {
            font-size: 0.9rem;
        }

        .notice {
            font-size: 1rem;
        }
    }

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

        .hero p {
            font-size: 0.9rem;
        }

        .sidebar a {
            font-size: 0.8rem;
        }
    }

