
/* 基础样式与页面布局 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(180deg, #0F204D, #000000);
    color: #E0E0E0;
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    color: #A59BFF;
    margin-top: 0;
}
a {
    color: #FF8C00;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #F7DC6F;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 32, 77, 0.8);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}
header h1 {
    font-size: 24px;
    color: #A59BFF;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}
nav ul li a {
    font-size: 16px;
    color: #E0E0E0;
}
.hero {
    height: 100vh;
    background: url('https://images.gptkong.com/demo/sample1.png') no-repeat center/cover, linear-gradient(135deg, #0F204D, #000000);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFFFFF;
    text-align: center;
}
.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}
.hero p {
    font-size: 20px;
    max-width: 600px;
}
.module {
    padding: 60px 0;
    background: linear-gradient(135deg, #000000, #0F204D);
    position: relative;
    overflow: hidden;
}
.module:nth-child(even) {
    background: linear-gradient(135deg, #0F204D, #000000);
}
.module::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: rotateStars 10s infinite linear;
}
@keyframes rotateStars {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.content {
    position: relative;
    z-index: 1;
}
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.gallery img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}
.gallery img:hover {
    transform: scale(1.05);
}
footer {
    background: #0F204D;
    color: #E0E0E0;
    text-align: center;
    padding: 20px;
}
code {
    background: #000000;
    color: #A59BFF;
    padding: 5px 10px;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    display: block;
    white-space: pre-wrap;
    overflow-x: auto;
}
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }
    .hero h1 {
        font-size: 36px;
    }
    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
}

