
    /* 导入字体 */
    @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Merriweather&display=swap');
    
    /* 通用样式 */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        font-family: 'Merriweather', serif;
        background: linear-gradient(135deg, #4568DC, #B06AB3);
        color: #333;
        line-height: 1.6;
        padding: 20px;
    }

    h1, h2, h3, h4 {
        font-family: 'Montserrat', sans-serif;
        color: #fff;
        margin-bottom: 20px;
    }

    h1 {
        font-size: 2.5rem;
        text-align: center;
        margin-top: 40px;
    }

    h2 {
        font-size: 2rem;
        border-bottom: 2px solid #fff;
        padding-bottom: 10px;
        margin-top: 40px;
    }

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

    p {
        font-size: 1rem;
        margin-bottom: 20px;
        color: #f0f0f0;
    }

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

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

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

    a::after {
        content: '';
        display: block;
        width: 0;
        height: 2px;
        background: #FF5722;
        transition: width .3s;
    }

    a:hover::after {
        width: 100%;
    }

    /* 容器 */
    .container {
        max-width: 1200px;
        margin: auto;
        padding: 20px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    }

    /* 网格系统 */
    .grid-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        padding: 20px;
    }

    .grid-item {
        background: rgba(255, 255, 255, 0.2);
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        padding: 20px;
        transition: transform 0.3s ease-in-out;
    }

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

    /* 按钮样式 */
    .button-3d {
        background-color: #007bff;
        color: white;
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3), inset 2px 2px 5px rgba(255, 255, 255, 0.5);
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .button-3d:hover {
        box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.4), inset 4px 4px 8px rgba(255, 255, 255, 0.6);
    }

    /* 波纹效果 */
    .ripple-effect {
        position: relative;
        overflow: hidden;
    }

    .ripple-effect::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%);
        animation: ripple 0.6s ease-out;
    }

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

    /* 卡片翻转 */
    .flip-card {
        background-color: transparent;
        width: 100%;
        height: 200px;
        perspective: 1000px;
        margin-bottom: 20px;
    }

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

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

    .flip-card-front, .flip-card-back {
        position: absolute;
        width: 100%;
        height: 100%;
        backface-visibility: hidden;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }

    .flip-card-front {
        background-color: #2980b9;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
    }

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

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

    /* 表格样式 */
    table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 20px;
    }

    table, th, td {
        border: 1px solid #fff;
    }

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

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

    /* 响应式设计 */
    @media (max-width: 1440px) {
        body {
            padding: 15px;
        }

        h1 {
            font-size: 2.3rem;
        }

        h2 {
            font-size: 1.8rem;
        }

        h3 {
            font-size: 1.5rem;
        }
    }

    @media (max-width: 1200px) {
        .container {
            padding: 15px;
        }

        h1 {
            font-size: 2rem;
        }

        h2 {
            font-size: 1.6rem;
        }

        h3 {
            font-size: 1.3rem;
        }
    }

    @media (max-width: 1024px) {
        .grid-container {
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 15px;
            padding: 15px;
        }

        .flip-card {
            height: 180px;
        }
    }

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

        .grid-container {
            grid-template-columns: 1fr;
            padding: 10px;
        }

        h1 {
            font-size: 1.8rem;
        }

        h2 {
            font-size: 1.4rem;
        }

        h3 {
            font-size: 1.2rem;
        }

        .flip-card {
            height: 160px;
        }
    }

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

        h2 {
            font-size: 1.2rem;
        }

        h3 {
            font-size: 1rem;
        }

        pre {
            font-size: 0.9rem;
        }

        .flip-card {
            height: 140px;
        }
    }

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

        h2 {
            font-size: 1rem;
        }

        h3 {
            font-size: 0.9rem;
        }

        pre {
            font-size: 0.8rem;
        }

        .flip-card {
            height: 120px;
        }
    }

    /* 动画效果 */
    .gradient-background {
        background: linear-gradient(135deg, #4568DC, #B06AB3);
        animation: gradientMove 15s linear infinite;
    }

    @keyframes gradientMove {
        0% {
            background-position: 0% 50%;
        }
        50% {
            background-position: 100% 50%;
        }
        100% {
            background-position: 0% 50%;
        }
    }

    /* 提示信息 */
    .reference-note {
        text-align: center;
        font-size: 1rem;
        color: #FFD700;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    /* 代码块样式 */
    pre {
        background: rgba(0, 0, 0, 0.8);
        padding: 20px;
        border-radius: 8px;
        overflow-x: auto;
        margin-bottom: 30px;
    }

    /* 列表样式 */
    ul {
        list-style: disc inside;
        margin-bottom: 20px;
        color: #f0f0f0;
    }

    li {
        margin-bottom: 10px;
    }

