
/* 基础样式设置 */
body {
    margin: 0;
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.6;
    color: #f4f4f9;
    background: linear-gradient(135deg, #0a0a2a, #1e1e3a, #0a0a2a);
    background-attachment: fixed;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', Arial, sans-serif;
    color: #ffcc00;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
a {
    color: #00ffff;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}
a:hover {
    color: #ffcc00;
}
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.header {
    position: relative;
    height: 60vh;
    background: url('https://images.gptkong.com/demo/sample1.png') no-repeat center/cover, linear-gradient(135deg, #0a0a2a, #1e1e3a);
    color: #fff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.header h1 {
    font-size: 3rem;
    z-index: 2;
    position: relative;
}
.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}
.section {
    flex: 1 1 100%;
    padding: 40px 20px;
    background: linear-gradient(135deg, #1e1e3a, #0a0a2a);
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.section:nth-child(even) {
    background: linear-gradient(135deg, #0a0a2a, #1e1e3a);
}
.section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}
.parallax {
    position: relative;
    height: 400px;
    background: url('https://images.gptkong.com/demo/sample2.png') no-repeat center/cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}
.foreground, .middle-ground, .background {
    position: absolute;
    width: 100%;
    text-align: center;
}
.foreground {
    z-index: 2;
    transform: translateZ(0);
}
.middle-ground {
    z-index: 1;
    transform: translateZ(-100px);
}
.background {
    z-index: 0;
    transform: translateZ(-200px);
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
}
th, td {
    padding: 10px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
th {
    background: rgba(255, 255, 255, 0.1);
}
pre {
    background: rgba(0, 0, 0, 0.7);
    color: #00ff00;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
}
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }
    .section h2 {
        font-size: 1.5rem;
    }
    pre {
        font-size: 0.8rem;
    }
}
@media (max-width: 480px) {
    .header {
        height: 40vh;
    }
    .parallax {
        height: 300px;
    }
}
.fade-in-element {
    animation: fadeIn 1.5s ease-in-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

