
/* 赛博梦境网页样式设计 */
body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(to bottom, #0a0a0a, #0f002b);
    color: #e0e0e0;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* 避免水平滚动条 */
}

/* 顶部提示信息样式 */
.top-notice {
    background-color: rgba(255, 255, 255, 0.05);
    color: #99ffff;
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.container {
    width: 95%;
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
    position: relative; /* 为伪元素定位提供参考 */
    overflow: hidden; /* 确保内容不超出容器 */
}

/* 容器边框霓虹效果 */
.container::before, .container::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff008a, #00ffff, #ff00c8, #00ffaa, #ff008a, #00ffff);
    z-index: -1;
    border-radius: 8px;
    pointer-events: none; /* 防止遮挡内容交互 */
    animation: neon-border 5s linear infinite;
    opacity: 0.8;
}

.container::after {
    filter: blur(15px); /* 模糊效果 */
}

@keyframes neon-border {
    0% { background-position: 0 0; }
    100% { background-position: 400% 0; }
}

h2, h3 {
    color: #ccffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
    margin-bottom: 15px;
    font-weight: bold;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2); /* 标题下划线 */
    padding-bottom: 8px;
}

h2 { font-size: 2.2em; }
h3 { font-size: 1.8em; }

p, li {
    line-height: 1.8;
    color: #d0d0d0;
    font-size: 1.1em;
    letter-spacing: 0.5px;
}

ul {
    padding-left: 25px;
}

li {
    margin-bottom: 8px;
}

/* 图片样式 */
img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 15px;
}

/* 代码块样式 */
pre {
    background-color: #222;
    color: #f8f8f2;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto; /* 代码块水平滚动 */
    tab-size: 4;
    font-size: 0.9em;
    line-height: 1.6;
    margin-bottom: 20px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.6);
    white-space: pre-wrap; /* 代码自动换行 */
}

code {
    font-family: 'Courier New', Courier, monospace;
}

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    overflow: hidden; /* 裁剪圆角 */
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

th {
    background-color: rgba(0, 255, 255, 0.1);
    color: #b3ffff;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 示例数据和文章展示区域样式 */
.data-display, .article-display {
    margin-bottom: 30px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.05);
}

.data-display h3, .article-display h3 {
    color: #80ffff;
    border-bottom-color: rgba(0, 255, 255, 0.3);
}

/* 创意设计要求展示样式 */
.creative-design {
    margin-bottom: 30px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.creative-design h2 {
    color: #66ffff;
    border-bottom-color: rgba(0, 255, 255, 0.4);
}

.creative-design pre {
    background-color: #1a1a1a;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.7);
}

/* 自适应布局 */
@media screen and (max-width: 768px) {
    .container {
        width: 98%;
        padding: 15px;
        margin: 15px auto;
    }

    h2 { font-size: 2em; }
    h3 { font-size: 1.6em; }
    p, li { font-size: 1em; }
    th, td { padding: 10px 12px; }
    pre { padding: 12px; font-size: 0.85em; } /* 小屏幕代码块字体缩小 */
}

@media screen and (max-width: 480px) {
    h2 { font-size: 1.8em; }
    h3 { font-size: 1.4em; }
    p, li { font-size: 0.95em; }
}

@media screen and (max-width: 320px) {
    h2 { font-size: 1.6em; }
    h3 { font-size: 1.3em; }
    p, li { font-size: 0.9em; }
    .container { padding: 10px; margin: 10px auto; }
}

/* 额外的装饰性样式 - 可根据需要添加更多 */
.section-divider {
    height: 2px;
    background: linear-gradient(to right, rgba(0, 255, 255, 0), #00ffff, rgba(0, 255, 255, 0));
    margin: 30px 0;
    opacity: 0.6;
}

.icon-blockchain {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url('https://images.gptkong.com/demo/sample12.png'); /* 示例图标 */
    background-size: cover;
    vertical-align: middle;
    margin-right: 5px;
    opacity: 0.8;
}

.figure-image {
    text-align: center;
    margin-bottom: 20px;
}

.figure-image img {
    border: 3px solid #333;
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.2);
    transition: transform 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

.figure-image img:hover {
    transform: scale(1.05);
    border-color: #00ffff;
}

/* 霓虹文字效果 */
.neon-text {
    color: #fff;
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #00ffff, 0 0 20px #00ffff, 0 0 25px #00ffff, 0 0 30px #00ffff, 0 0 35px #00ffff;
}

/* 页面背景装饰性元素 (例如：使用背景图片或渐变) */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.gptkong.com/demo/sample9.png'); /* 示例背景图 */
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: -2;
}

/* 鼠标悬停效果示例 */
a {
    color: #66ccff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #00ffff;
    text-shadow: 0 0 5px #00ffff;
}

/* 模块化布局示例 */
.module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.module-item {
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.1);
}

.module-item h4 {
    color: #99ffff;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.5em;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: 1px dashed rgba(0, 255, 255, 0.2);
    padding-bottom: 5px;
}

.module-item p {
    margin-bottom: 0;
}

