
/* 基础样式 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0d0d1a, #1a0d2f);
    color: #e0e0ff;
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3, h4 {
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}
h1 {
    font-size: 3rem;
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff;
}
.container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}
.section {
    margin-bottom: 80px;
    position: relative;
}
/* 渐变背景 */
.header-bg {
    background: linear-gradient(135deg, #1a0d2f, #0d0d1a);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.header-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.gptkong.com/demo/sample1.png') no-repeat center center/cover, 
                url('https://images.gptkong.com/demo/sample2.png') no-repeat right bottom/30%;
    opacity: 0.2;
    z-index: -1;
}
/* 霓虹效果 */
.neon-text {
    color: #FF00FF;
    text-shadow: 0 0 10px #FF00FF, 0 0 20px #FF00FF, 0 0 40px #FF00FF;
    animation: neon-glow 1.5s infinite alternate;
}
@keyframes neon-glow {
    from { text-shadow: 0 0 10px #FF00FF, 0 0 20px #FF00FF, 0 0 40px #FF00FF; }
    to { text-shadow: 0 0 20px #FF00FF, 0 0 40px #FF00FF, 0 0 60px #FF00FF; }
}
/* 按钮样式 */
.button {
    background: linear-gradient(45deg, #00FFB8, #FF00F7);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px #00FFB8, 0 0 20px #FF00F7;
}
.button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #00FFB8, 0 0 40px #FF00F7;
}
/* 网格布局 */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.grid-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}
.grid-item:hover {
    transform: translateY(-10px);
}
/* 图片装饰 */
.decorative-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}
/* 代码块样式 */
pre {
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}
code {
    color: #00ff00;
    font-family: 'Courier New', monospace;
}
/* 动态数据流效果 */
.data-stream {
    position: relative;
    width: 100%;
    height: 50px;
    overflow: hidden;
    margin: 20px 0;
}
.data-stream::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, #00FFFF, transparent);
    animation: data-flow 2s infinite linear;
}
@keyframes data-flow {
    from { transform: translateX(-100%); }
    to { transform: translateX(100%); }
}
/* 自适应媒体查询 */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    .grid-container { grid-template-columns: 1fr; }
    .decorative-image { width: 100%; }
}

