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

    body {
        font-family: 'Roboto', sans-serif;
        background: linear-gradient(135deg, #001f3f, #ff851b);
        color: #333;
        line-height: 1.6;
        padding: 20px;
        animation: backgroundShift 15s linear infinite;
    }

    @keyframes backgroundShift {
        0% {
            background: linear-gradient(135deg, #001f3f, #ff851b);
        }
        50% {
            background: linear-gradient(135deg, #ff851b, #2ecc40);
        }
        100% {
            background: linear-gradient(135deg, #2ecc40, #001f3f);
        }
    }

    header {
        text-align: center;
        padding: 40px 0;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        margin-bottom: 30px;
    }

    header h1 {
        font-family: 'Playfair Display', serif;
        font-size: 3rem;
        color: #FFC107;
        margin-bottom: 10px;
    }

    header p {
        font-size: 1.2rem;
        color: #fff;
    }

    nav {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-bottom: 40px;
    }

    nav a {
        text-decoration: none;
        color: #fff;
        font-size: 1rem;
        padding: 10px 20px;
        background: rgba(0, 123, 255, 0.7);
        border-radius: 5px;
        transition: background 0.3s ease;
    }

    nav a:hover {
        background: rgba(0, 123, 255, 1);
    }

    .container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }

    .card {
        background: rgba(255, 255, 255, 0.2);
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        transition: transform 0.3s ease;
    }

    .card:hover {
        transform: scale(1.05);
    }

    .card img {
        width: 100%;
        height: auto;
        border-radius: 5px;
        margin-bottom: 15px;
    }

    .card h3 {
        font-family: 'Playfair Display', serif;
        font-size: 1.5rem;
        color: #FFC107;
        margin-bottom: 10px;
    }

    .card p {
        font-size: 1rem;
        color: #fff;
    }

    article {
        background: rgba(255, 255, 255, 0.1);
        padding: 30px;
        border-radius: 10px;
        margin-top: 50px;
    }

    article h2 {
        font-family: 'Playfair Display', serif;
        font-size: 2.5rem;
        color: #FFC107;
        margin-bottom: 20px;
        text-align: center;
    }

    article h3 {
        font-family: 'Playfair Display', serif;
        font-size: 1.8rem;
        color: #2ecc40;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    article p {
        font-size: 1rem;
        color: #fff;
        margin-bottom: 15px;
    }

    article pre {
        background-color: #f9f9f9;
        padding: 10px;
        border-radius: 5px;
        overflow-x: auto;
        margin-bottom: 15px;
    }

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

    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, 123, 255, 0.7);
        color: #fff;
    }

    tr:nth-child(even) {
        background: rgba(255, 255, 255, 0.05);
    }

    footer {
        text-align: center;
        padding: 20px 0;
        margin-top: 50px;
        color: #fff;
        font-size: 1rem;
    }

    /* 响应式设计 */
    @media (max-width: 768px) {
        header h1 {
            font-size: 2.5rem;
        }
        nav {
            flex-direction: column;
            gap: 10px;
        }
        .container {
            grid-template-columns: 1fr;
        }
    }

    @media (max-width: 480px) {
        header h1 {
            font-size: 2rem;
        }
        nav a {
            font-size: 0.9rem;
            padding: 8px 16px;
        }
    }

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

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

    /* 动画与交互动效 */
    button {
        position: relative;
        overflow: hidden;
        padding: 10px 20px;
        background: #2ecc40;
        color: #fff;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: transform 0.3s ease;
    }

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

    button::before {
        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%);
        transition: width 0.5s ease, height 0.5s ease;
    }

    button:hover::before {
        width: 200%;
        height: 200%;
    }

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

    a:hover {
        text-decoration: underline;
    }


