
/*  通用样式  */
body {
    font-family: 'Roboto', 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #0a0a33, #1e0059, #0a0a33); /* 深邃渐变背景 */
    color: #f0f0f0; /* 浅色文字 */
    overflow-x: hidden; /* 防止水平滚动条 */
    line-height: 1.7;
    letter-spacing: 0.6px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

*, *::before, *::after {
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    margin-top: 1.2em;
    margin-bottom: 0.8em;
    color: #ccf2ff; /* 标题高亮色 */
    text-shadow: 0 0 8px rgba(100, 220, 255, 0.7); /* 标题霓虹阴影 */
}

p {
    margin-bottom: 1.2em;
    color: #d0d0d0; /* 段落文字颜色 */
}

a {
    color: #a6f2ff; /* 链接颜色 */
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #ffffff; /* 鼠标悬停链接颜色 */
}

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

.section {
    margin-bottom: 60px;
    padding: 30px 0;
    position: relative;
    overflow: hidden; /* 确保背景元素不溢出 */
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.gptkong.com/demo/sample9.png'), url('https://images.gptkong.com/demo/sample12.png'); /* 双重背景图片 */
    background-size: 200px, 150px;
    background-repeat: no-repeat, repeat;
    background-position: 10% 20%, center center;
    opacity: 0.08; /* 轻微背景纹理 */
    pointer-events: none; /* 穿透点击 */
    z-index: -1;
}

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

.grid-item {
    background: rgba(255, 255, 255, 0.05); /* 浅色卡片背景 */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); /* 卡片阴影 */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25); /* 悬停时阴影加深 */
}

/*  标题和Logo区域  */
.header {
    text-align: center;
    padding: 80px 0 60px;
    background: linear-gradient(to bottom, rgba(10, 10, 51, 0.9), rgba(10, 10, 51, 0.7)); /* 头部略微深色背景 */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* 底部边框 */
}

.header h1 {
    font-size: 3.5em;
    margin-bottom: 15px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #e6faff; /* 更亮的标题颜色 */
    text-shadow: 0 0 12px rgba(100, 230, 255, 0.8); /* 更强的霓虹效果 */
}

.header p {
    font-size: 1.2em;
    color: #c0c0c0; /* 头部段落文字颜色 */
}

/*  示例数据展示区域  */
.data-display {
    background: rgba(0, 0, 0, 0.2); /* 数据展示区域背景 */
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* 更强的阴影效果 */
}

.data-display h2 {
    font-size: 2.2em;
    margin-bottom: 30px;
    text-align: center;
    color: #b3e0ff; /* 数据展示标题颜色 */
}

.data-list {
    list-style: none;
    padding: 0;
}

.data-list li {
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.08); /* 数据项背景 */
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* 数据项阴影 */
    border-left: 3px solid #66b3ff; /* 左侧强调色条 */
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.data-list li:hover {
    background-color: rgba(255, 255, 255, 0.12); /* 悬停时背景加深 */
    border-color: #80ccff; /* 悬停时边框颜色 */
}

.data-list li strong {
    color: #cce6ff; /* 强调文本颜色 */
}

/*  示例文章展示区域  */
.article-display {
    background: rgba(0, 0, 0, 0.3); /* 文章展示区域背景 */
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4); /* 更强的阴影 */
}

.article-display h2 {
    font-size: 2.5em;
    margin-bottom: 25px;
    text-align: center;
    color: #99daff; /* 文章标题颜色 */
}

.article-display h3 {
    font-size: 1.8em;
    margin-top: 2em;
    margin-bottom: 1em;
    color: #bbebff; /* 文章子标题颜色 */
    border-bottom: 1px dashed rgba(255, 255, 255, 0.2); /* 子标题虚线 */
    padding-bottom: 0.5em;
}

.article-display p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #c8c8c8; /* 文章段落文字颜色 */
}

.article-display pre {
    background-color: rgba(0, 0, 0, 0.6); /* 代码块背景 */
    color: #f8f8f2; /* 代码颜色 */
    padding: 15px;
    border-radius: 6px;
    overflow-x: auto; /* 水平滚动条 */
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9em;
    white-space: pre-wrap; /* 代码自动换行 */
    word-wrap: break-word; /* 单词过长时换行 */
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3); /* 代码块内阴影 */
    border: 1px solid rgba(255, 255, 255, 0.1); /* 代码块边框 */
}

.article-display table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: rgba(255, 255, 255, 0.05); /* 表格背景 */
    border-radius: 6px;
    overflow: hidden; /* 隐藏边框溢出 */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* 表格阴影 */
}

.article-display th, .article-display td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* 表格单元格底边框 */
}

.article-display th {
    background-color: rgba(255, 255, 255, 0.1); /* 表头背景 */
    color: #e0e0e0; /* 表头文字颜色 */
    font-weight: bold;
}

.article-display tr:last-child td {
    border-bottom: none; /* 最后一行的单元格无底边框 */
}

/*  页脚  */
.footer {
    text-align: center;
    padding: 30px 0;
    color: #999;
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* 顶部边框 */
    background: linear-gradient(to top, rgba(10, 10, 51, 0.7), rgba(10, 10, 51, 0.9)); /* 底部略微深色背景 */
}

.footer p {
    margin-bottom: 0;
    font-size: 0.9em;
}

/*  响应式设计  */
@media (max-width: 1024px) {
    .container {
        max-width: 960px;
        padding: 15px 25px;
    }

    .header {
        padding: 60px 0 40px;
    }

    .header h1 {
        font-size: 3em;
    }

    .section {
        margin-bottom: 50px;
        padding: 25px 0;
    }

    .grid-container {
        gap: 25px;
    }

    .grid-item {
        padding: 25px;
    }

    .data-display, .article-display {
        padding: 30px;
    }

    .data-display h2, .article-display h2 {
        font-size: 2em;
        margin-bottom: 25px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 720px;
        padding: 10px 20px;
    }

    .header {
        padding: 50px 0 30px;
    }

    .header h1 {
        font-size: 2.5em;
    }

    .section {
        margin-bottom: 40px;
        padding: 20px 0;
    }

    .grid-container {
        grid-template-columns: 1fr; /* 平板竖屏改为单列 */
        gap: 20px;
    }

    .grid-item {
        padding: 20px;
    }

    .data-display, .article-display {
        padding: 25px;
    }

    .data-display h2, .article-display h2 {
        font-size: 1.8em;
        margin-bottom: 20px;
    }

    .article-display h3 {
        font-size: 1.6em;
    }
}

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

    .header {
        padding: 40px 0 20px;
    }

    .header h1 {
        font-size: 2em;
    }

    .header p {
        font-size: 1em;
    }

    .section {
        margin-bottom: 30px;
        padding: 15px 0;
    }

    .grid-item {
        padding: 15px;
    }

    .data-display, .article-display {
        padding: 20px;
    }

    .data-display h2, .article-display h2 {
        font-size: 1.6em;
        margin-bottom: 15px;
    }

    .article-display h3 {
        font-size: 1.4em;
    }

    .article-display p {
        font-size: 1em;
        line-height: 1.6;
    }
}

@media (max-width: 320px) {
    .container {
        padding: 8px 12px;
    }

    .header h1 {
        font-size: 1.8em;
    }

    .header p {
        font-size: 0.9em;
    }

    .data-display h2, .article-display h2 {
        font-size: 1.4em;
    }

    .article-display h3 {
        font-size: 1.2em;
    }
}

