
    /* 基本样式 */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        font-family: 'Montserrat', sans-serif;
        line-height: 1.6;
        color: #ffffff;
        background: linear-gradient(135deg, #004AAD, #7F00FF);
        background-size: 200% 200%;
        animation: gradient-flow 15s ease infinite;
        padding: 20px;
    }

    h1, h2, h3, h4 {
        font-weight: 700;
        margin-bottom: 20px;
    }

    h1 {
        font-size: 2.5em;
        text-align: center;
        margin-bottom: 40px;
    }

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

    h3 {
        font-size: 1.75em;
        margin-top: 30px;
    }

    h4 {
        font-size: 1.5em;
        margin-top: 25px;
    }

    p {
        font-size: 1em;
        margin-bottom: 20px;
        line-height: 1.8;
    }

    pre {
        background: rgba(0, 0, 0, 0.6);
        padding: 15px;
        border-radius: 5px;
        overflow-x: auto;
        margin-bottom: 20px;
    }

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

    table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 20px;
    }

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

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

    th {
        background: rgba(0, 0, 0, 0.4);
    }

    /* 模块化布局 */
    .grid-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
        margin-bottom: 40px;
    }

    .grid-item {
        background: rgba(255, 255, 255, 0.1);
        padding: 20px;
        border-radius: 10px;
        position: relative;
        overflow: hidden;
        transition: transform 0.3s ease;
    }

    .grid-item:hover {
        transform: translateY(-10px);
    }

    /* 按钮样式 */
    .button {
        position: relative;
        display: inline-block;
        padding: 15px 30px;
        color: #ffffff;
        background: linear-gradient(45deg, #FFA500, #FF4500);
        border: none;
        border-radius: 50px;
        cursor: pointer;
        overflow: hidden;
        transition: background 0.3s ease, color 0.3s ease;
    }

    .button:hover {
        background: #FF6347;
        color: #ffffff;
    }

    .button::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: rgba(255, 255, 255, 0.5);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        pointer-events: none;
    }

    .button:active::after {
        width: 200%;
        height: 200%;
        animation: ripple 0.6s ease-out;
    }

    @keyframes ripple {
        from { width: 0; height: 0; opacity: 1; }
        to { width: 200%; height: 200%; opacity: 0; }
    }

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

    @keyframes rotate {
        from { transform: rotate(0deg); }
        to { transform: rotate(360deg); }
    }

    .icon {
        animation: rotate 2s infinite linear;
    }

    /* 链接样式 */
    a {
        color: #00BFFF;
        text-decoration: none;
        position: relative;
    }

    a::after {
        content: '';
        position: absolute;
        width: 100%;
        transform: scaleX(0);
        height: 2px;
        bottom: 0;
        left: 0;
        background-color: #00BFFF;
        transform-origin: bottom right;
        transition: transform 0.25s ease-out;
    }

    a:hover::after {
        transform: scaleX(1);
        transform-origin: bottom left;
    }

    /* 图片样式 */
    img {
        max-width: 100%;
        border-radius: 10px;
        margin-bottom: 20px;
    }

    /* 代码块样式 */
    pre code {
        display: block;
        white-space: pre-wrap;
        word-wrap: break-word;
    }

    /* 响应式设计 */
    @media (max-width: 320px) {
        body {
            padding: 10px;
        }
        h1 {
            font-size: 1.8em;
        }
        h2 {
            font-size: 1.5em;
        }
    }

    @media (max-width: 480px) {
        .grid-container {
            grid-template-columns: 1fr;
        }
        h1 {
            font-size: 2em;
        }
    }

    @media (max-width: 768px) {
        .grid-container {
            grid-template-columns: repeat(2, 1fr);
        }
        h1 {
            font-size: 2.2em;
        }
    }

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

    @media (max-width: 1200px) {
        .grid-container {
            grid-template-columns: repeat(4, 1fr);
        }
    }

    @media (min-width: 1440px) {
        body {
            padding: 40px;
        }
        .grid-container {
            grid-template-columns: repeat(5, 1fr);
        }
    }

