
    /* 全局样式 */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    body {
        background: linear-gradient(135deg, #002B5B, #8A2BE2);
        color: #FFFFFF;
        font-family: 'Roboto', sans-serif;
        line-height: 1.6;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }
    a {
        color: #FFA500;
        text-decoration: none;
        position: relative;
    }
    a::after {
        content: '';
        display: block;
        width: 0;
        height: 2px;
        background: #FFA500;
        transition: width 0.3s;
        position: absolute;
        left: 0;
        bottom: -4px;
    }
    a:hover::after {
        width: 100%;
    }
    header {
        background: rgba(0, 43, 91, 0.8);
        padding: 20px 40px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: sticky;
        top: 0;
        z-index: 1000;
    }
    header h1 {
        font-family: 'Poppins', sans-serif;
        font-size: 24px;
        color: #FFFFFF;
    }
    nav ul {
        list-style: none;
        display: flex;
        gap: 20px;
    }
    nav ul li a {
        font-family: 'Poppins', sans-serif;
        font-size: 16px;
        transition: color 0.3s;
    }
    nav ul li a:hover {
        color: #FFA500;
    }
    main {
        flex: 1;
        padding: 40px;
        background: radial-gradient(circle at top right, rgba(255, 87, 34, 0.3), transparent);
        display: flex;
        flex-direction: column;
        gap: 40px;
    }
    .hero {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        animation: aurora-move 15s linear infinite;
    }
    .hero h2 {
        font-family: 'Poppins', sans-serif;
        font-size: 36px;
        margin-bottom: 20px;
        color: #FFA500;
    }
    .hero p {
        font-size: 18px;
        max-width: 600px;
    }
    .cards {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }
    .card {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 15px;
        padding: 20px;
        width: calc(33.333% - 40px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease-in-out, background 0.3s;
    }
    .card:hover {
        transform: scale(1.05);
        background: rgba(255, 255, 255, 0.2);
    }
    .card img {
        width: 100%;
        border-radius: 10px;
        margin-bottom: 15px;
    }
    .card h3 {
        font-family: 'Poppins', sans-serif;
        font-size: 20px;
        margin-bottom: 10px;
        color: #FFA500;
    }
    .card p {
        font-size: 16px;
    }
    .gallery {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    .gallery img {
        width: 100%;
        border-radius: 10px;
    }
    .example-section {
        background: rgba(0, 0, 0, 0.6);
        padding: 30px;
        border-radius: 15px;
    }
    .example-section h2 {
        font-family: 'Poppins', sans-serif;
        font-size: 28px;
        margin-bottom: 20px;
        color: #FFA500;
    }
    .example-section article {
        max-height: 500px;
        overflow-y: auto;
    }
    .example-section pre {
        background: rgba(255, 255, 255, 0.1);
        padding: 15px;
        border-radius: 10px;
        overflow-x: auto;
    }
    .example-section code {
        font-family: 'Courier New', Courier, monospace;
        color: #FFA500;
    }
    footer {
        background: rgba(0, 43, 91, 0.8);
        padding: 20px 40px;
        text-align: center;
        font-size: 14px;
        color: #FFFFFF;
    }
    /* 动画 */
    @keyframes aurora-move {
        0% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
        100% { background-position: 0% 50%; }
    }
    @keyframes rippleEffect {
        from {
            transform: translate(-50%, -50%) scale(0);
            opacity: 1;
        }
        to {
            transform: translate(-50%, -50%) scale(2.5);
            opacity: 0;
        }
    }
    /* 按钮样式 */
    .btn {
        background: linear-gradient(45deg, #C0C0C0, #808080);
        border: 2px solid #808080;
        border-radius: 10px;
        padding: 10px 20px;
        font-size: 16px;
        cursor: pointer;
        transition: background 0.3s ease;
        position: relative;
        overflow: hidden;
    }
    .btn:hover {
        background: linear-gradient(45deg, #808080, #C0C0C0);
    }
    .btn::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%);
        opacity: 0;
        transition: width 0.6s ease-out, height 0.6s ease-out, opacity 0.6s ease-out;
    }
    .btn:hover::after {
        width: 200px;
        height: 200px;
        opacity: 1;
        animation: rippleEffect 0.6s ease-out;
    }
    /* 拟物化图标样式 */
    .piggy-bank {
        width: 100px;
        height: 100px;
        background: radial-gradient(circle, #FFD700, #CD7F32);
        border-radius: 50%;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
        position: relative;
        margin: 0 auto 20px;
    }
    .piggy-bank::before {
        content: '';
        position: absolute;
        top: 10px;
        left: 10px;
        width: 80px;
        height: 80px;
        background: #FFFFFF;
        border-radius: 50%;
        opacity: 0.5;
    }
    /* 响应式设计 */
    @media (max-width: 1440px) {
        header {
            padding: 15px 30px;
        }
        main {
            padding: 30px;
        }
    }
    @media (max-width: 1200px) {
        .card {
            width: calc(50% - 40px);
        }
    }
    @media (max-width: 1024px) {
        .cards {
            flex-direction: column;
            align-items: center;
        }
        .card {
            width: 80%;
        }
    }
    @media (max-width: 768px) {
        header h1 {
            font-size: 20px;
        }
        nav ul {
            flex-direction: column;
            gap: 10px;
        }
        .hero h2 {
            font-size: 28px;
        }
        .hero p {
            font-size: 16px;
        }
        .card {
            width: 100%;
        }
    }
    @media (max-width: 480px) {
        header {
            padding: 10px 20px;
        }
        .hero h2 {
            font-size: 24px;
        }
        .hero p {
            font-size: 14px;
        }
        .card {
            padding: 15px;
        }
    }
    @media (max-width: 320px) {
        .hero h2 {
            font-size: 20px;
        }
        .hero p {
            font-size: 12px;
        }
        .btn {
            font-size: 14px;
            padding: 8px 16px;
        }
    }

