
/* 全局样式 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Helvetica', Arial, sans-serif;
    color: #fff;
    background-color: #121212;
    overflow-x: hidden;
}
h1, h2, h3, p, li {
    margin: 0;
    padding: 0;
    line-height: 1.6;
}
a {
    text-decoration: none;
    color: #4CAF50;
}
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.header {
    position: relative;
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #1c1c1c, #0f0f0f);
    overflow: hidden;
}
.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: url('https://images.gptkong.com/demo/sample1.png') repeat,
                url('https://images.gptkong.com/demo/sample2.png') repeat;
    background-size: 320px 320px;
    animation: starFlow 30s linear infinite;
    transform: rotate(45deg);
}
@keyframes starFlow {
    from { transform: translateX(0) translateY(0) rotate(45deg); }
    to { transform: translateX(-50%) translateY(-50%) rotate(45deg); }
}
.navbar {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 10;
}
.nav-item {
    padding: 10px 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}
.nav-item:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}
.title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
}
.title h1 {
    font-size: 48px;
    font-weight: bold;
    text-shadow: 0 0 10px #00ffff;
}
.title p {
    font-size: 18px;
    margin-top: 10px;
    text-shadow: 0 0 5px #00ff00;
}
.main-content {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}
.section:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 255, 255, 0.3);
}
.section img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}
.article {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 20px;
    text-align: justify;
}
.article h2 {
    font-size: 32px;
    margin-bottom: 10px;
    text-shadow: 0 0 5px #00ff00;
}
.article p {
    font-size: 16px;
    margin-bottom: 10px;
}
.article pre {
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 8px;
    overflow-x: auto;
}
.footer {
    width: 100%;
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    margin-top: 20px;
}
@media (max-width: 768px) {
    .header {
        height: 300px;
    }
    .title h1 {
        font-size: 36px;
    }
    .navbar {
        flex-direction: column;
        gap: 10px;
    }
    .section {
        padding: 15px;
    }
}

