
/* 基础样式 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    color: #ffffff;
    background: linear-gradient(135deg, #000066, #4b0082, #silver);
    overflow-x: hidden;
}

/* 视觉提示 */
.visual-hint {
    text-align: center;
    padding: 20px;
    font-size: 1.2em;
    background: rgba(0, 0, 0, 0.5);
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    padding: 15px 0;
    z-index: 1000;
}

.navbar a {
    color: #00ff00;
    margin: 0 15px;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 1em;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: #ff00ff;
    text-decoration: underline;
}

/* 主容器 */
.container {
    padding-top: 80px;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

/* 文章样式 */
article {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

article h2, article h3, article h4 {
    font-family: 'Poppins', sans-serif;
    color: #ff00ff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

article p {
    line-height: 1.6;
    margin-bottom: 15px;
}

article pre {
    background: #1e1e1e;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}

article code {
    font-family: 'Courier New', Courier, monospace;
    color: #00ff00;
}

/* 示例展示区 */
.sample-display {
    margin-top: 40px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid #00ff00;
    border-radius: 10px;
}

.sample-display h2 {
    text-align: center;
    color: #00ff00;
}

/* 图片样式 */
.images-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.images-grid img {
    width: 100%;
    max-width: 150px;
    border-radius: 5px;
}

/* 按钮样式 */
.button {
    background-color: #00ff00;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.button:hover {
    background-color: #00cc00;
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

/* 代码块样式 */
.code-block {
    background: #2d2d2d;
    padding: 20px;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 20px;
}

.code-block pre {
    margin: 0;
    color: #00ff00;
    font-family: 'Courier New', Courier, monospace;
}

/* 响应式设计 */
@media (max-width: 1440px) {
    .container {
        max-width: 1024px;
    }
}

@media (max-width: 1200px) {
    .container {
        max-width: 768px;
    }
}

@media (max-width: 1024px) {
    .navbar a {
        margin: 0 10px;
        font-size: 0.9em;
    }
}

@media (max-width: 768px) {
    .images-grid {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .navbar {
        flex-direction: column;
    }
    
    .navbar a {
        margin: 5px 0;
    }

    .images-grid img {
        max-width: 100px;
    }
}

@media (max-width: 320px) {
    .button {
        width: 100%;
        padding: 15px;
    }
}

/* 动画效果 */
.parallax {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    height: 100vh;
    position: relative;
    transform: translateZ(0);
}

.parallax::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.layer-background {
    background: url('https://images.gptkong.com/demo/sample1.png') no-repeat center center;
    background-size: cover;
}

.layer-foreground {
    position: relative;
    z-index: 2;
}

/* 文字阴影 */
.text-glow {
    text-shadow: 0 0 5px #ff00ff, 0 0 10px #ff00ff, 0 0 20px #ff00ff;
}

/* 粒子特效 */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    background: url('https://images.gptkong.com/demo/sample2.png') repeat;
    animation: moveParticles 60s linear infinite;
}

@keyframes moveParticles {
    from { background-position: 0 0; }
    to { background-position: 1000px 1000px; }
}

