
/* 基础样式与全局设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body, html {
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(135deg, #121212, #1e1e3f);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto Mono', monospace;
    font-weight: bold;
    margin-bottom: 1rem;
}
p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}
a {
    color: #007bff;
    text-decoration: none;
    transition: all 0.3s ease;
}
a:hover {
    color: #00ff00;
    transform: scale(1.1);
}
button {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}
button:hover {
    background-color: #0056b3;
    transform: scale(1.1);
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}
.layer1 {
    background-image: url('https://images.gptkong.com/demo/sample1.png');
}
.layer2 {
    background-image: url('https://images.gptkong.com/demo/sample2.png');
}
.code-block {
    background: rgba(0, 0, 0, 0.8);
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin: 1rem 0;
    font-family: 'Roboto Mono', monospace;
    color: #00ff00;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}
th, td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}
th {
    background-color: #007bff;
    color: #fff;
}
tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.1);
}
.module {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    transition: all 0.3s ease;
}
.module:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}
@media (max-width: 768px) {
    .parallax {
        height: 50vh;
    }
    h1, h2, h3 {
        font-size: 1.5rem;
    }
    p {
        font-size: 0.9rem;
    }
}

