
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #0a0a2a, #000000);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3 {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    color: #00ffff;
    text-shadow: 0 2px 4px rgba(0, 255, 255, 0.5);
}
p {
    font-size: 1rem;
    color: #dcdcdc;
    margin-bottom: 1.5rem;
}
a {
    color: #00ff99;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}
a:hover {
    color: #00ccff;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.header {
    text-align: center;
    padding: 50px 20px;
    background: radial-gradient(circle, rgba(0, 0, 50, 0.8), transparent);
    position: relative;
    overflow: hidden;
}
.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(45deg, rgba(0, 255, 255, 0.1), rgba(0, 255, 255, 0.1) 10px, transparent 10px, transparent 20px);
    animation: move-bg 20s linear infinite;
    z-index: -1;
    filter: blur(5px);
}
@keyframes move-bg {
    from { transform: translateX(0) translateY(0); }
    to { transform: translateX(-50%) translateY(-50%); }
}
.hero-text {
    position: relative;
    z-index: 1;
}
.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.hero-text p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}
.grid-item {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}
.grid-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.5);
}
.grid-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}
.grid-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #00ff99;
}
.grid-item p {
    font-size: 1rem;
    color: #cccccc;
}
.code-block {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    padding: 15px;
    margin: 20px 0;
    font-family: 'Courier New', monospace;
    color: #00ff99;
    overflow-x: auto;
}
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }
    .grid-container {
        grid-template-columns: 1fr;
    }
}
@media (min-width: 1200px) {
    .container {
        padding: 40px;
    }
}

