
    /* 根变量定义 */
    :root {
        --primary-color: #004B8C; /* 深蓝色 */
        --accent-color: #FFA500; /* 亮橙色 */
        --background-gradient: radial-gradient(circle at top left, #004B8C, #001F3F);
        --card-background: #FFFFFF;
        --text-color: #333333;
        --secondary-color: #EEEEEE;
        --shadow-color: rgba(0, 0, 0, 0.1);
        --hover-shadow: rgba(0, 0, 0, 0.2);
        --font-family: 'Roboto', sans-serif;
        --transition-duration: 0.3s;
    }

    /* 全局样式 */
    body {
        margin: 0;
        padding: 0;
        font-family: var(--font-family);
        color: var(--text-color);
        background: var(--background-gradient);
        animation: backgroundAnimation 15s linear infinite;
    }

    @keyframes backgroundAnimation {
        0% {
            background: radial-gradient(circle at top left, #004B8C, #001F3F);
        }
        50% {
            background: radial-gradient(circle at bottom right, #001F3F, #004B8C);
        }
        100% {
            background: radial-gradient(circle at top left, #004B8C, #001F3F);
        }
    }

    /* 容器布局 */
    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
    }

    /* 头部样式 */
    header {
        text-align: center;
        padding: 40px 0;
        color: #FFFFFF;
    }

    header h1 {
        font-size: 2.5em;
        margin-bottom: 10px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }

    header p {
        font-size: 1.2em;
    }

    /* 主内容样式 */
    main {
        background: rgba(255, 255, 255, 0.9);
        border-radius: 10px;
        padding: 30px;
        box-shadow: 0 4px 6px var(--shadow-color);
        margin-bottom: 40px;
    }

    main h2, main h3 {
        color: var(--primary-color);
    }

    main h2 {
        font-size: 2em;
        margin-bottom: 20px;
    }

    main h3 {
        font-size: 1.5em;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    main p {
        line-height: 1.6;
        margin-bottom: 15px;
    }

    main pre {
        background: var(--secondary-color);
        padding: 15px;
        border-radius: 5px;
        overflow-x: auto;
        font-size: 0.9em;
        margin-bottom: 15px;
    }

    main code {
        font-family: 'Courier New', Courier, monospace;
        color: var(--primary-color);
    }

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

    table th, table td {
        border: 1px solid var(--secondary-color);
        padding: 10px;
        text-align: left;
    }

    table th {
        background-color: var(--accent-color);
        color: #FFFFFF;
    }

    /* 数据卡片样式 */
    .grid-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        margin-bottom: 40px;
    }

    .card {
        background-color: var(--card-background);
        border: 1px solid var(--primary-color);
        border-radius: 10px;
        padding: 20px;
        box-shadow: 0 4px 6px var(--shadow-color);
        transition: transform var(--transition-duration), box-shadow var(--transition-duration);
    }

    .card:hover {
        transform: scale(1.05);
        box-shadow: 0 8px 12px var(--hover-shadow);
    }

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

    .card h4 {
        margin: 10px 0;
        color: var(--primary-color);
    }

    .card p {
        margin: 5px 0;
    }

    .card .progress-bar {
        background: var(--secondary-color);
        border-radius: 5px;
        overflow: hidden;
        height: 10px;
        margin-top: 10px;
    }

    .card .progress {
        background: var(--accent-color);
        height: 100%;
        width: 50%;
        transition: width var(--transition-duration);
    }

    /* 提示样式 */
    .note {
        text-align: center;
        font-size: 1em;
        color: #FFFFFF;
        margin-bottom: 20px;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    }

    /* 响应式设计 */
    @media (max-width: 1440px) {
        header h1 {
            font-size: 2.2em;
        }

        main h2 {
            font-size: 1.8em;
        }

        main h3 {
            font-size: 1.3em;
        }
    }

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

        .card {
            padding: 15px;
        }
    }

    @media (max-width: 1024px) {
        header h1 {
            font-size: 2em;
        }

        main h2 {
            font-size: 1.6em;
        }

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

    @media (max-width: 768px) {
        header h1 {
            font-size: 1.8em;
        }

        main h2 {
            font-size: 1.4em;
        }

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

    @media (max-width: 480px) {
        header h1 {
            font-size: 1.5em;
        }

        main h2 {
            font-size: 1.2em;
        }

        .card {
            padding: 10px;
        }
    }

    @media (max-width: 320px) {
        header h1 {
            font-size: 1.2em;
        }

        main h2 {
            font-size: 1em;
        }

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

    /* 代码块样式 */
    .code-block {
        background: #F5F5F5;
        padding: 15px;
        border-radius: 5px;
        overflow-x: auto;
        font-family: 'Courier New', Courier, monospace;
        font-size: 0.9em;
        margin-bottom: 20px;
    }

    .code-block code {
        color: var(--primary-color);
    }

    /* 链接样式 */
    a {
        color: var(--accent-color);
        text-decoration: none;
        transition: color var(--transition-duration);
    }

    a:hover {
        color: #FF7F50;
    }

    /* 按钮样式 */
    .button {
        display: inline-block;
        padding: 10px 20px;
        background-color: var(--accent-color);
        color: var(--background-background-color);
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color var(--transition-duration), transform var(--transition-duration);
        text-decoration: none;
    }

    .button:hover {
        background-color: #FF8C00;
        transform: translateY(-2px);
    }

    /* 表单元素禁用样式 */
    input, textarea, select {
        border: 1px solid var(--secondary-color);
        border-radius: 5px;
        padding: 10px;
        font-size: 1em;
    }

    /* 图片优化 */
    img {
        max-width: 100%;
        height: auto;
        display: block;
    }

