
    /* 基础变量定义 */
    :root {
        --primary-color: #1A1A40;
        --secondary-color: #8E44AD;
        --highlight-color: #27AE60;
        --neutral-color: #BDC3C7;
        --background-gradient: linear-gradient(135deg, #1A1A40, #000000);
        --button-gradient: linear-gradient(45deg, #8E44AD, #27AE60);
        --font-primary: 'Roboto', sans-serif;
        --font-secondary: 'Orbitron', sans-serif;
    }

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

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

    h1, h2, h3 {
        font-family: var(--font-secondary);
        text-transform: uppercase;
        letter-spacing: 2px;
        margin-bottom: 20px;
    }

    h1 {
        font-size: 2.5rem;
        color: var(--highlight-color);
        text-align: center;
        margin-top: 40px;
    }

    h2 {
        font-size: 2rem;
        margin-top: 40px;
    }

    h3 {
        font-size: 1.5rem;
        margin-top: 30px;
    }

    p {
        margin-bottom: 20px;
        font-size: 1rem;
        color: var(--neutral-color);
    }

    ul {
        list-style-type: disc;
        margin-left: 20px;
        margin-bottom: 20px;
    }

    li {
        margin-bottom: 10px;
    }

    a {
        color: var(--highlight-color);
        text-decoration: none;
    }

    a:hover {
        text-decoration: underline;
    }

    button {
        background: var(--button-gradient);
        border: none;
        color: white;
        padding: 10px 20px;
        cursor: pointer;
        border-radius: 5px;
        transition: transform 0.3s ease-in-out;
    }

    button:hover {
        transform: scale(1.05);
    }

    pre {
        background: #2C2C54;
        color: #ECF0F1;
        padding: 15px;
        border-radius: 5px;
        overflow-x: auto;
        margin-bottom: 20px;
    }

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

    /* 容器布局 */
    .container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
    }

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

    .image-gallery img {
        width: 100%;
        max-width: 320px;
        border-radius: 10px;
        transition: transform 0.3s ease-in-out;
    }

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

    /* 视觉效果 */
    .parallax {
        background-attachment: fixed;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        height: 400px;
        position: relative;
    }

    .parallax::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(26, 26, 64, 0.5);
    }

    /* 动画与交互 */
    .button {
        position: relative;
        overflow: hidden;
        transition: transform 0.3s ease-in-out;
    }

    .button::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.3);
        transform: translate(-50%, -50%) scale(0);
        transition: transform 0.3s ease-in-out;
    }

    .button:hover::before {
        transform: translate(-50%, -50%) scale(1);
    }

    .card {
        perspective: 1000px;
    }

    .card-inner {
        position: relative;
        width: 100%;
        height: 100%;
        transition: transform 0.6s;
        transform-style: preserve-3d;
    }

    .card:hover .card-inner {
        transform: rotateY(180deg);
    }

    .card-front, .card-back {
        position: absolute;
        backface-visibility: hidden;
        width: 100%;
        height: 100%;
        border-radius: 10px;
    }

    .card-back {
        transform: rotateY(180deg);
        background: var(--secondary-color);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }

    /* 粒子效果 */
    .particles {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        pointer-events: none;
        z-index: 1;
    }

    /* 响应式设计 */
    @media (max-width: 1200px) {
        h1 {
            font-size: 2rem;
        }

        h2 {
            font-size: 1.75rem;
        }

        h3 {
            font-size: 1.25rem;
        }

        p, li {
            font-size: 0.9rem;
        }
    }

    @media (max-width: 768px) {
        .container {
            grid-template-columns: 1fr;
        }

        .parallax {
            height: 250px;
        }
    }

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

        h2 {
            font-size: 1.5rem;
        }

        h3 {
            font-size: 1.1rem;
        }

        p, li {
            font-size: 0.85rem;
        }
    }

    @media (max-width: 320px) {
        body {
            padding: 10px;
        }

        .image-gallery img {
            max-width: 100%;
        }
    }

