
    /* 通用设置 */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        font-family: 'Roboto', sans-serif;
        background: linear-gradient(135deg, #004aad, #00a86b);
        color: #ffffff;
        line-height: 1.6;
        padding: 20px;
    }

    a {
        color: #ffffff;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    a:hover {
        color: #ffcc00;
    }

    /* 头部样式 */
    header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .logo {
        font-size: 1.5rem;
        font-weight: bold;
    }

    nav ul {
        list-style: none;
        display: flex;
        gap: 15px;
    }

    nav ul li a {
        font-size: 1rem;
        padding: 5px 10px;
        border-radius: 4px;
        transition: background 0.3s ease;
    }

    nav ul li a:hover {
        background: rgba(255, 255, 255, 0.2);
    }

    /* 轮播图样式 */
    .carousel {
        position: relative;
        width: 100%;
        height: 300px;
        overflow: hidden;
        border-radius: 10px;
        margin: 20px 0;
    }

    .carousel img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        animation: slide 15s infinite;
    }

    @keyframes slide {
        0% { transform: translateX(0); }
        25% { transform: translateX(-100%); }
        50% { transform: translateX(-200%); }
        75% { transform: translateX(-300%); }
        100% { transform: translateX(0); }
    }

    /* 主内容区样式 */
    main {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .section {
        background: rgba(255, 255, 255, 0.1);
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .section h2 {
        font-size: 2rem;
        margin-bottom: 10px;
        border-bottom: 2px solid #00a86b;
        display: inline-block;
    }

    .section p {
        margin-bottom: 10px;
    }

    /* 卡片布局 */
    .grid-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .card {
        background: rgba(0, 0, 0, 0.5);
        padding: 15px;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.2);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .card:hover {
        transform: translateY(-10px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    }

    .card img {
        width: 100%;
        height: 150px;
        object-fit: cover;
        border-radius: 6px;
        margin-bottom: 10px;
    }

    .card h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .card p {
        font-size: 0.9rem;
    }

    /* 代码块样式 */
    pre {
        background: rgba(0, 0, 0, 0.7);
        padding: 15px;
        border-radius: 8px;
        overflow-x: auto;
        font-family: 'Courier New', Courier, monospace;
        margin-bottom: 20px;
    }

    code {
        color: #00ffcc;
        font-size: 0.95rem;
    }

    /* 图表样式 */
    .chart {
        display: flex;
        justify-content: space-around;
        align-items: flex-end;
        height: 200px;
        margin-top: 20px;
    }

    .bar {
        width: 30px;
        background-color: #00a86b;
        margin: 0 10px;
        animation: grow 1s ease-in-out forwards;
    }

    @keyframes grow {
        from { height: 0; }
        to { height: 150px; }
    }

    /* 响应式设计 */
    @media (max-width: 768px) {
        header {
            flex-direction: column;
            align-items: flex-start;
        }

        nav ul {
            flex-direction: column;
            gap: 10px;
        }

        .carousel {
            height: 200px;
        }

        .section h2 {
            font-size: 1.5rem;
        }

        .card img {
            height: 120px;
        }
    }

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

        .carousel {
            height: 150px;
        }

        .section h2 {
            font-size: 1.2rem;
        }

        .card h3 {
            font-size: 1rem;
        }

        .card p {
            font-size: 0.8rem;
        }

        .chart {
            flex-direction: column;
            align-items: center;
            height: auto;
        }

        .bar {
            width: 20px;
            margin: 5px 0;
        }
    }

    /* 按钮样式 */
    .btn {
        display: inline-block;
        padding: 10px 20px;
        background-color: #00a86b;
        color: #ffffff;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: transform 0.3s ease, background-color 0.3s ease;
    }

    .btn:hover {
        transform: scale(1.05);
        background-color: #00875a;
    }

    /* 底部样式 */
    footer {
        text-align: center;
        padding: 20px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        margin-top: 20px;
    }

    footer p {
        font-size: 0.9rem;
    }

    /* 动画效果 */
    .animated {
        animation: float 6s ease-in-out infinite;
    }

    @keyframes float {
        0% { transform: translatey(0px); }
        50% { transform: translatey(-20px); }
        100% { transform: translatey(0px); }
    }

