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

h1, h2, h3 {
    font-weight: bold;
    letter-spacing: 1px;
    margin-top: 20px;
}

p {
    font-size: 16px;
    margin: 10px 0;
}

code {
    background-color: #1E2D3D;
    color: #64FFDA;
    padding: 5px 10px;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
}

pre {
    background-color: #1E2D3D;
    padding: 20px;
    border-radius: 10px;
    overflow-x: auto;
    margin: 20px 0;
}

/* 首屏设计 */
.hero {
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.gptkong.com/demo/sample1.png');
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero h1 {
    font-size: 48px;
    color: #64FFDA;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    color: #8A2BE2;
    max-width: 800px;
    margin: 0 auto;
}

/* 模块化布局 */
.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 40px 20px;
}

.item {
    background: linear-gradient(135deg, #1E2D3D, #0A192F);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out;
}

.item:hover {
    transform: translateY(-10px);
}

.item img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

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

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

/* 动画与交互 */
@keyframes particle {
    0% { transform: translate(0, 0); opacity: 0.5; }
    50% { opacity: 1; }
    100% { transform: translate(100px, -100px); opacity: 0; }
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #64FFDA;
    border-radius: 50%;
    animation: particle 5s infinite;
}

.particle:nth-child(1) { top: 10%; left: 20%; animation-delay: 0s; }
.particle:nth-child(2) { top: 30%; left: 50%; animation-delay: 1s; }
.particle:nth-child(3) { top: 60%; left: 80%; animation-delay: 2s; }

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