
    /* 基本重置 */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    /* 全局字体与颜色 */
    body {
        font-family: 'Roboto Mono', monospace;
        background: radial-gradient(circle, #1e1e1e, #121212);
        color: #ffffff;
        line-height: 1.6;
        padding: 20px;
    }

    h1, h2, h3, h4, h5, h6 {
        color: #e0e0e0;
        margin-bottom: 15px;
    }

    p {
        margin-bottom: 15px;
        font-size: 16px;
    }

    a {
        color: #8e44ad;
        text-decoration: none;
    }

    a:hover {
        text-decoration: underline;
    }

    /* 按钮样式 */
    .btn {
        background: linear-gradient(135deg, #8e44ad, #27ae60);
        color: #ffffff;
        border: none;
        padding: 10px 20px;
        font-size: 16px;
        cursor: pointer;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        border-radius: 5px;
    }

    .btn:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    }

    /* 卡片样式 */
    .card {
        background-color: #1e1e1e;
        border: 1px solid #333333;
        border-radius: 10px;
        padding: 20px;
        margin-bottom: 20px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

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

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

    /* 图表样式 */
    .chart {
        width: 100%;
        height: 300px;
        background: #2c2c2c;
        border-radius: 10px;
        position: relative;
        overflow: hidden;
    }

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

    /* 动态背景动画 */
    @keyframes aurora-move {
        0% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
        100% { background-position: 0% 50%; }
    }

    .dynamic-background {
        background: radial-gradient(circle, rgb(255, 87, 34), transparent);
        animation: aurora-move 15s linear infinite;
    }

    /* 代码块样式 */
    pre {
        background: #2c2c2c;
        padding: 15px;
        border-radius: 5px;
        overflow: auto;
        margin-bottom: 20px;
    }

    code {
        font-family: 'Roboto Mono', monospace;
        color: #f1c40f;
    }

    /* 滚动新闻样式 */
    .news-feed {
        background: #1e1e1e;
        padding: 20px;
        border-radius: 10px;
        overflow: hidden;
        position: relative;
    }

    .news-feed h3 {
        margin-bottom: 10px;
    }

    .news-feed ul {
        list-style: none;
    }

    .news-feed li {
        margin-bottom: 10px;
        animation: scroll 20s linear infinite;
    }

    @keyframes scroll {
        0% { transform: translateY(100%); }
        100% { transform: translateY(-100%); }
    }

    /* 响应式设计 */
    @media (max-width: 320px) {
        body {
            padding: 10px;
        }
        .btn {
            width: 100%;
            padding: 12px;
        }
    }

    @media (max-width: 480px) {
        .grid-container {
            grid-template-columns: 1fr;
        }
    }

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

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

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

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

    /* 示例展示样式 */
    .example-display {
        background: #1c1c1c;
        padding: 20px;
        border-radius: 10px;
        margin-top: 40px;
    }

    .example-display h2 {
        margin-bottom: 15px;
    }

    /* 提示样式 */
    .reference-note {
        text-align: center;
        font-size: 14px;
        color: #aaaaaa;
        margin-top: 20px;
    }

    /* 模块化布局 */
    .module {
        background: #2c2c2c;
        padding: 15px;
        border-radius: 8px;
        margin-bottom: 20px;
    }

    /* 实时数据可视化 */
    .data-visualization {
        background: #1e1e1e;
        padding: 20px;
        border-radius: 10px;
        position: relative;
    }

    /* 夜间模式切换按钮 */
    .toggle-button {
        position: fixed;
        top: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        background: linear-gradient(45deg, #ff6ec4, #7873f5);
        border: none;
        border-radius: 50%;
        cursor: pointer;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        transition: transform 0.3s ease;
    }

    .toggle-button:hover {
        transform: scale(1.1);
    }

    /* 数据可视化看板交互 */
    .dashboard {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }

    .dashboard .widget {
        background: #2c2c2c;
        padding: 15px;
        border-radius: 8px;
        flex: 1 1 calc(33% - 20px);
    }

    /* 确保代码块不产生横向滚动 */
    pre {
        white-space: pre-wrap;
        word-wrap: break-word;
    }

