
/* 全局样式与页面基础设计 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0F2027, #000000);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3 {
    font-family: 'Neuropol X', sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
}
a {
    color: #39FF14;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #C51FFF;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.grid-item {
    background: rgba(57, 255, 20, 0.1);
    border: 1px solid #39FF14;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    transition: transform 0.3s ease;
}
.grid-item:hover {
    transform: translateY(-10px);
}
button {
    background-color: #0F2027;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
button:hover {
    background-color: #39FF14;
}
pre {
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}
code {
    color: #39FF14;
    font-family: 'Courier New', monospace;
}
/* 页面顶部背景视频与文字叠加效果 */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    text-align: center;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}
.hero-section video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 0;
}
.hero-text {
    position: relative;
    z-index: 2;
    font-size: 2rem;
    text-shadow: 0 0 10px #39FF14, 0 0 20px #C51FFF;
}
/* 模块化布局与响应式适配 */
@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
    .hero-text {
        font-size: 1.5rem;
    }
}
/* 动效增强与视觉冲击 */
@keyframes flowAnimation {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}
.flow-effect {
    background: linear-gradient(270deg, #39FF14, #C51FFF, #39FF14);
    background-size: 300% 300%;
    animation: flowAnimation 5s infinite alternate;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
}

