
/* 基础样式 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0A1F3C 0%, #000000 100%);
    color: #FFFFFF;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    color: #7B68EE;
    margin: 20px 0 10px 0;
}
p {
    line-height: 1.6;
    margin-bottom: 20px;
}
a {
    color: #00FFFF;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
code {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 4px;
    border-radius: 4px;
    font-family: 'Roboto Mono', monospace;
}
pre {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
}
/* 布局 */
.container {
    display: grid;
    grid-template-columns: 1fr;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 31, 60, 0.8);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    z-index: 1000;
}
.header .logo {
    font-size: 1.5em;
    color: #39FF14;
}
.nav-menu {
    display: flex;
    gap: 15px;
}
.nav-menu a {
    position: relative;
}
.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    background: #39FF14;
    left: 0;
    bottom: -5px;
    transition: width 0.3s;
}
.nav-menu a:hover::after {
    width: 100%;
}
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('https://images.gptkong.com/demo/sample1.png') no-repeat center center/cover;
    position: relative;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10,31,60,0.8), rgba(0,0,0,0.8));
}
.hero-content {
    position: relative;
    text-align: center;
    z-index: 1;
}
.hero-content h1 {
    font-size: 3em;
    margin-bottom: 20px;
}
.hero-content p {
    font-size: 1.2em;
}
.section {
    padding: 60px 20px;
}
.section:nth-child(even) {
    background: rgba(10, 31, 60, 0.9);
}
.section:nth-child(odd) {
    background: rgba(0, 0, 0, 0.8);
}
.article {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}
.article h2 {
    font-size: 2em;
    color: #00FFFF;
}
.article h3 {
    font-size: 1.5em;
    color: #7B68EE;
}
.article pre {
    background: rgba(0, 0, 0, 0.7);
    color: #39FF14;
    border: none;
}
.sample-data {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}
.sample-data div {
    width: 320px;
    height: 320px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    transition: transform 0.3s;
}
.sample-data div:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #39FF14;
}
.footer {
    text-align: center;
    padding: 20px;
    background: rgba(10, 31, 60, 0.8);
    position: relative;
}
.footer p {
    margin: 0;
}
/* 动态效果 */
@keyframes particleMove {
    from { transform: translateY(0); }
    to { transform: translateY(-100px); }
}
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}
.particle {
    width: 4px;
    height: 4px;
    background: #39FF14;
    border-radius: 50%;
    position: absolute;
    bottom: 0;
    animation: particleMove 5s linear infinite;
    opacity: 0.8;
}
@media (min-width: 320px) {
    .container {
        grid-template-columns: 1fr;
    }
    .nav-menu {
        display: none;
    }
}
@media (min-width: 480px) {
    .container {
        grid-template-columns: 1fr;
    }
}
@media (min-width: 768px) {
    .container {
        grid-template-columns: 2fr 1fr;
    }
    .nav-menu {
        display: flex;
    }
}
@media (min-width: 1024px) {
    .container {
        grid-template-columns: 3fr 1fr;
    }
}
@media (min-width: 1200px) {
    .container {
        padding: 40px;
    }
}
@media (min-width: 1440px) {
    .container {
        grid-template-columns: 4fr 1fr;
    }
    .hero-content h1 {
        font-size: 4em;
    }
    .article {
        max-width: 1000px;
    }
}
/* 视差滚动 */
.parallax {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

