
/* 基础样式 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0F4C81, #6A5ACD);
    color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    margin: 20px 0;
}
p {
    font-size: 16px;
    margin: 10px 0;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px auto;
}

/* 模块化布局 */
.section {
    padding: 50px 20px;
    position: relative;
    overflow: hidden;
}
.section:nth-child(even) {
    background: rgba(255, 255, 255, 0.1);
}
.section:nth-child(odd) {
    background: rgba(0, 0, 0, 0.1);
}

/* 视差滚动效果 */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 500px;
}
.section1 {
    background-image: url('https://images.gptkong.com/demo/sample1.png');
}
.section2 {
    background-image: url('https://images.gptkong.com/demo/sample2.png');
}

/* 动画效果 */
.button {
    background-color: #34C759;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    margin: 20px auto;
}
.button:hover {
    background-color: #2ECC71;
    transform: scale(1.1);
}
.node {
    width: 20px;
    height: 20px;
    background-color: #FFFFFF;
    border-radius: 50%;
    animation: blink 1s infinite;
    margin: 10px auto;
}
@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* 响应式设计 */
@media (max-width: 768px) {
    h1, h2, h3 {
        font-size: 24px;
    }
    p {
        font-size: 14px;
    }
    .parallax {
        height: 300px;
    }
}
@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    img {
        width: 100%;
    }
}

/* 示例数据与代码样式 */
article {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 20px;
    margin: 20px 0;
    border-radius: 10px;
}
pre {
    background: #0F4C81;
    color: #FFFFFF;
    padding: 10px;
    border-radius: 5px;
    overflow-x: auto;
}
code {
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

/* 提示文字 */
.tip {
    text-align: center;
    font-size: 12px;
    color: #BEBEBE;
    margin-top: 20px;
}

