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

    body {
        font-family: 'Roboto', sans-serif;
        background: linear-gradient(135deg, #0A192F, #373B69);
        color: #FFFFFF;
        line-height: 1.6;
        padding: 20px;
    }

    a {
        color: #C850C0;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    a:hover {
        color: #FF5733;
    }

    /* 头部样式 */
    header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .logo {
        font-size: 2rem;
        font-weight: bold;
        color: #C850C0;
        text-shadow: 0px 4px 6px rgba(0, 0, 0, 0.4);
    }

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

    nav ul li a {
        font-size: 1rem;
        padding: 5px 10px;
        border-radius: 5px;
        transition: background 0.3s ease, transform 0.3s ease;
    }

    nav ul li a:hover {
        background: rgba(200, 80, 192, 0.3);
        transform: scale(1.1);
    }

    /* 轮播组件 */
    .carousel {
        position: relative;
        width: 100%;
        height: 400px;
        margin: 20px 0;
        overflow: hidden;
        border-radius: 10px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    }

    .carousel img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        animation: slide 15s infinite;
    }

    @keyframes slide {
        0% { transform: translateX(0%); }
        33% { transform: translateX(-100%); }
        66% { transform: translateX(-200%); }
        100% { transform: translateX(0%); }
    }

    /* 主体内容 */
    .container {
        display: grid;
        grid-template-columns: 1fr 3fr;
        gap: 20px;
        margin-bottom: 40px;
    }

    /* 侧边栏 */
    aside {
        background: rgba(55, 59, 105, 0.8);
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }

    aside h3 {
        margin-bottom: 15px;
        color: #FF5733;
    }

    aside ul {
        list-style: none;
    }

    aside ul li {
        margin-bottom: 10px;
        transition: transform 0.3s ease;
    }

    aside ul li:hover {
        transform: translateX(5px);
    }

    /* 主要内容 */
    main {
        background: rgba(255, 255, 255, 0.05);
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    }

    main h2, main h3, main h4 {
        color: #C850C0;
        text-shadow: 0px 2px 4px rgba(0,0,0,0.3);
        margin-bottom: 15px;
    }

    main p {
        margin-bottom: 15px;
    }

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

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

    /* 示例展示 */
    .example-section {
        background: rgba(200, 80, 192, 0.1);
        padding: 20px;
        border-radius: 10px;
        margin-top: 40px;
    }

    .example-section h2 {
        color: #FF5733;
        margin-bottom: 20px;
    }

    .example-section article {
        background: rgba(255, 255, 255, 0.05);
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }

    .example-section table {
        width: 100%;
        border-collapse: collapse;
        margin-top: 20px;
    }

    .example-section table, .example-section th, .example-section td {
        border: 1px solid rgba(255,255,255,0.2);
    }

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

    .example-section th {
        background: rgba(200, 80, 192, 0.3);
    }

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

    .images-grid img {
        width: 100%;
        height: auto;
        border-radius: 5px;
        transition: transform 0.3s ease;
    }

    .images-grid img:hover {
        transform: scale(1.05);
    }

    /* 底部样式 */
    footer {
        text-align: center;
        padding: 20px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    footer p {
        color: #FFFFFF;
    }

    /* 动画效果 */
    .rotate-in {
        animation: rotate-in 1s ease-out forwards;
    }

    @keyframes rotate-in {
        from {
            opacity: 0;
            transform: rotateY(-90deg);
        }
        to {
            opacity: 1;
            transform: rotateY(0deg);
        }
    }

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

    @media (max-width: 1200px) {
        .carousel {
            height: 350px;
        }
    }

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

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

        nav ul {
            flex-direction: column;
            gap: 10px;
        }

        .carousel {
            height: 250px;
        }
    }

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

        nav ul li a {
            font-size: 0.9rem;
        }

        .carousel {
            height: 200px;
        }

        main h2 {
            font-size: 1.5rem;
        }
    }

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

        .carousel {
            height: 150px;
        }

        main h2 {
            font-size: 1.2rem;
        }

        nav ul li a {
            font-size: 0.8rem;
        }
    }

