
/* 基础样式与页面布局 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(to bottom, #0A1F3D, #4B0082);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    color: #00FFFF;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 2rem 0 1rem;
}
p {
    font-size: 1rem;
    margin: 1rem 0;
}
a {
    color: #39FF14;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #00FFFF;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/* 视差滚动效果 */
.parallax-section {
    position: relative;
    height: 100vh;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.parallax-section:nth-child(odd) {
    background-image: url('https://images.gptkong.com/demo/sample1.png');
}
.parallax-section:nth-child(even) {
    background-image: url('https://images.gptkong.com/demo/sample2.png');
}
@media (max-width: 768px) {
    .parallax-section {
        background-attachment: scroll;
        height: auto;
        padding: 50px 0;
    }
}
/* 模块化设计与排版 */
.module {
    padding: 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.module:last-child {
    border-bottom: none;
}
.module-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 20px;
}
.module-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}
.module-item {
    flex: 1 1 calc(50% - 20px);
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.module-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 255, 255, 0.3);
}
/* 动画与交互 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in {
    animation: fadeIn 1s ease-in-out;
}
.button {
    display: inline-block;
    background: #00FFFF;
    color: #0A1F3D;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.3s ease;
}
.button:hover {
    background: #39FF14;
    transform: scale(1.1);
}
/* 代码块样式 */
pre {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
    overflow-x: auto;
    margin: 20px 0;
}
code {
    color: #39FF14;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}
/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
}
th, td {
    padding: 10px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
th {
    background: #00FFFF;
    color: #0A1F3D;
}
td {
    color: #ffffff;
}
/* 响应式调整 */
@media (max-width: 480px) {
    .module-item {
        flex: 1 1 100%;
    }
    table {
        display: block;
        overflow-x: auto;
    }
}

