
    /* 基础样式 */
    body {
        margin: 0;
        padding: 0;
        font-family: 'Roboto', sans-serif;
        background: linear-gradient(135deg, #004AAD, #6F2CAE);
        color: #ffffff;
        line-height: 1.6;
    }

    /* 容器 */
    .container {
        width: 90%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
    }

    /* 头部样式 */
    header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 0;
    }

    .logo {
        font-family: 'Montserrat', sans-serif;
        font-size: 1.8em;
        font-weight: bold;
        color: #FF9800;
    }

    nav a {
        margin-left: 20px;
        text-decoration: none;
        color: #ffffff;
        font-weight: 500;
        transition: color 0.3s;
    }

    nav a:hover {
        color: #FF9800;
    }

    /* 主要内容 */
    main {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .content {
        width: 65%;
        padding: 20px;
        background: rgba(0, 0, 0, 0.2);
        border-radius: 10px;
        margin-bottom: 20px;
    }

    .sidebar {
        width: 30%;
        padding: 20px;
        background: rgba(0, 0, 0, 0.3);
        border-radius: 10px;
        margin-bottom: 20px;
    }

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

    .example h2 {
        font-family: 'Montserrat', sans-serif;
        color: #FF9800;
    }

    pre {
        background: #002A6E;
        padding: 15px;
        border-radius: 5px;
        overflow-x: auto;
    }

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

    /* 按钮样式 */
    .button {
        position: relative;
        padding: 10px 20px;
        background-color: #FF9800;
        color: #ffffff;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        overflow: hidden;
        transition: background-color 0.3s;
    }

    .button:hover {
        background-color: #e68900;
    }

    .button::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0);
        width: 100px;
        height: 100px;
        background-color: rgba(255, 255, 255, 0.5);
        border-radius: 50%;
        animation: ripple 0.6s ease-out;
    }

    @keyframes ripple {
        to {
            transform: translate(-50%, -50%) scale(2);
            opacity: 0;
        }
    }

    /* 图像样式 */
    .images {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 20px;
    }

    .images img {
        width: 100px;
        height: 100px;
        border-radius: 10px;
    }

    /* 响应式设计 */
    @media (max-width: 1440px) {
        .content, .sidebar {
            width: 100%;
        }
    }

    @media (max-width: 1200px) {
        .content, .sidebar {
            width: 100%;
        }
    }

    @media (max-width: 1024px) {
        .content, .sidebar {
            width: 100%;
        }
    }

    @media (max-width: 768px) {
        nav {
            display: none;
        }

        .content, .sidebar {
            width: 100%;
        }
    }

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

        .button {
            padding: 8px 16px;
        }
    }

    @media (max-width: 320px) {
        .logo {
            font-size: 1.2em;
        }

        .button {
            padding: 6px 12px;
            font-size: 0.9em;
        }
    }

