
/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: #ffffff;
    line-height: 1.6;
    padding: 20px;
}

/* 动态背景层 */
.background-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.gptkong.com/demo/sample1.png') no-repeat center center;
    background-size: cover;
    animation: moveBackground 20s linear infinite;
    z-index: -3;
}

@keyframes moveBackground {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100px); }
}

/* 磨砂玻璃内容层 */
.content-layer {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

/* 标题样式 */
h1, h2, h3, h4 {
    font-family: 'Futura', sans-serif;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
}

h1 {
    font-size: 3em;
    text-align: center;
    margin-bottom: 20px;
}

h2 {
    font-size: 2em;
    margin-top: 20px;
    margin-bottom: 10px;
}

h3 {
    font-size: 1.5em;
    margin-top: 15px;
    margin-bottom: 8px;
}

/* 段落样式 */
p {
    font-size: 1em;
    margin-bottom: 15px;
    color: #f0f0f0;
}

/* 代码块样式 */
pre {
    background: rgba(0, 0, 0, 0.6);
    padding: 15px;
    border-radius: 10px;
    overflow-x: auto;
    margin-bottom: 20px;
}

code {
    font-family: 'Courier New', Courier, monospace;
    color: #00ff00;
}

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

th, td {
    border: 1px solid #ffffff;
    padding: 10px;
    text-align: left;
}

th {
    background: rgba(255, 255, 255, 0.2);
}

/* 列表样式 */
ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

li {
    margin-bottom: 10px;
}

/* 图片样式 */
img {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 10px;
    margin: 10px 0;
}

/* 视差滚动 */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    height: 400px;
    margin-bottom: 20px;
}

/* 响应式布局 */
@media (max-width: 1440px) {
    h1 {
        font-size: 2.5em;
    }
}

@media (max-width: 1200px) {
    .content-layer {
        padding: 20px;
    }
}

@media (max-width: 1024px) {
    h1 {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.8em;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5em;
    }
}

@media (max-width: 320px) {
    body {
        padding: 10px;
    }
    .content-layer {
        padding: 15px;
    }
}

