
/* 全局样式 */
body {
    background: linear-gradient(135deg, #121212, #1e1e1e);
    color: #ffffff;
    font-family: 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

a {
    color: #00bfff;
    text-decoration: none;
}

a:hover {
    color: #39ff14;
}

h1, h2, h3 {
    margin-top: 20px;
    margin-bottom: 10px;
    color: #39ff14;
}

p, pre, code {
    margin-bottom: 20px;
}

pre {
    background: #2c2c2c;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    white-space: pre-wrap;
}

code {
    background: #2c2c2c;
    padding: 2px 4px;
    border-radius: 4px;
}

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 网格布局 */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.grid-item {
    background-color: #333;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* 响应式布局 */
@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
}

/* 动画效果 */
.module {
    transition: transform 0.3s ease-in-out;
}

.module:hover {
    transform: rotateY(10deg);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.parallax {
    height: 100vh;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.layer1 { background-image: url('https://images.gptkong.com/demo/sample1.png'); }
.layer2 { background-image: url('https://images.gptkong.com/demo/sample2.png'); }

/* 粒子特效 */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 5px;
    height: 5px;
    background: #ffffff;
    border-radius: 50%;
    animation: float 5s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(-10px); opacity: 1; }
    50% { transform: translateY(10px); opacity: 0.5; }
}

/* 图片懒加载 */
img.lazy {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

img.lazy.loaded {
    opacity: 1;
}

/* 提示信息 */
.notice {
    text-align: center;
    margin-top: 20px;
    color: #39ff14;
    font-size: 18px;
}

