
/* 全局样式设置 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    color: #ffffff;
    background: linear-gradient(135deg, #0a0a0a, #121212);
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    color: #00ff99;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}
p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}
a {
    color: #00ff99;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}
a:hover {
    color: #ff6f61;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.header {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #000033, #00001a), url('https://images.gptkong.com/demo/sample1.png') no-repeat center/cover;
    color: #ffffff;
}
.header h1 {
    font-size: 3rem;
    letter-spacing: 2px;
    animation: fadeIn 2s ease-in-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
.section {
    padding: 60px 20px;
    position: relative;
    z-index: 1;
}
.section:nth-child(even) {
    background: linear-gradient(135deg, #00001a, #000033);
}
.parallax {
    height: 500px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}
.parallax:nth-of-type(1) {
    background-image: url('https://images.gptkong.com/demo/sample2.png');
}
.parallax:nth-of-type(2) {
    background-image: url('https://images.gptkong.com/demo/sample3.png');
}
.content-block {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}
.content-block img {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out;
}
.content-block img:hover {
    transform: scale(1.05);
}
.code-block {
    background: #1e1e1e;
    color: #00ff99;
    padding: 15px;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-word;
}
button {
    background: #00ff99;
    color: #00001a;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}
button:hover {
    transform: scale(1.1);
}
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }
    .parallax {
        background-attachment: scroll;
        height: 300px;
    }
    .content-block {
        flex-direction: column;
    }
}

