
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #121212, #000000);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    color: #00bfff;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 191, 255, 0.7);
}

p {
    color: #d3d3d3;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

a {
    color: #00bfff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0074d9;
}

/* 顶部动态背景 */
.header {
    position: relative;
    height: 100vh;
    background: url('https://images.gptkong.com/demo/sample1.png'), linear-gradient(135deg, #000000, #121212);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 191, 255, 0.3) 10%, transparent 10.01%) 0 0,
                radial-gradient(circle, rgba(0, 191, 255, 0.3) 10%, transparent 10.01%) 50px 50px;
    background-size: 100px 100px;
    animation: moveParticles 10s linear infinite;
    z-index: 1;
}

@keyframes moveParticles {
    from { transform: translateX(-50%) translateY(-50%); }
    to { transform: translateX(0) translateY(0); }
}

.header h1 {
    font-size: 3rem;
    z-index: 2;
}

/* 主内容区域 */
.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: linear-gradient(135deg, #1e1e1e, #2c2c2c);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    padding: 20px;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: scale(1.05);
}

.card img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }

    .container {
        grid-template-columns: 1fr;
    }
}

/* 按钮样式 */
button {
    background-color: #00bfff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    transform: scale(1.1);
    background-color: #0074d9;
}

/* 代码块样式 */
pre {
    background: #1e1e1e;
    color: #00bfff;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
}

code {
    color: #00bfff;
}

/* 视差效果 */
.parallax {
    background: url('https://images.gptkong.com/demo/sample2.png') no-repeat center center fixed;
    background-size: cover;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

/* 提示信息 */
.tip {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #aaa;
}

