
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(135deg, #121212, #0a0a0a);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    margin-top: 2rem;
    margin-bottom: 1rem;
}
p {
    margin-bottom: 1rem;
}
a {
    color: #ff8c00;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.col {
    flex: 1;
    min-width: 280px;
}
img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, #1e1e1e, #2a2a2a);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}
.navbar .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #00ff7f;
}
.navbar .menu {
    display: flex;
    gap: 20px;
}
.navbar .menu a {
    font-size: 1rem;
    color: #ffffff;
}

/* 视差滚动模块 */
.parallax {
    position: relative;
    height: 500px;
    background: url('https://images.gptkong.com/demo/sample1.png') no-repeat center center/cover;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    text-align: center;
}
.parallax h2 {
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
@media (max-width: 768px) {
    .parallax {
        background-attachment: scroll;
        height: 300px;
    }
    .parallax h2 {
        font-size: 1.8rem;
    }
}

/* 文章展示区域 */
.article-section {
    background: linear-gradient(135deg, #1e1e1e, #2a2a2a);
    padding: 40px 0;
    margin-top: 20px;
    border-radius: 10px;
}
.article-section .content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}
.article-section pre {
    background: #000000;
    color: #00ff7f;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}
.article-section table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
.article-section table th,
.article-section table td {
    border: 1px solid #ffffff;
    padding: 10px;
    text-align: left;
}
.article-section table th {
    background: #00ff7f;
    color: #000000;
}

/* 示例数据模块 */
.data-section {
    background: linear-gradient(135deg, #2a2a2a, #1e1e1e);
    padding: 40px 0;
    margin-top: 20px;
    border-radius: 10px;
}
.data-section .item {
    background: #121212;
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}
.data-section .item:hover {
    transform: translateY(-5px);
}
.data-section img {
    margin-bottom: 10px;
}

/* 提示信息 */
.notice {
    text-align: center;
    font-size: 1.2rem;
    color: #ffffff;
    margin: 20px 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar .menu {
        flex-direction: column;
        gap: 10px;
    }
    .article-section pre {
        font-size: 0.9rem;
    }
}
@media (max-width: 480px) {
    .parallax h2 {
        font-size: 1.5rem;
    }
    .article-section .content {
        padding: 10px;
    }
}

