
/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(to bottom, #000000, #002366);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: #39FF14;
    transition: all 0.3s ease;
}

a:hover {
    color: #FF69B4;
}

p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

/* 头部设计 */
header {
    background: linear-gradient(to right, #000000, #002366);
    padding: 2rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: radial-gradient(circle, rgba(57,255,20,0.3) 10%, transparent 10%);
    animation: move-bg 10s linear infinite;
}

@keyframes move-bg {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

header h1 {
    font-size: 2.5rem;
    color: #39FF14;
    text-shadow: 0 0 10px #39FF14;
    position: relative;
    z-index: 1;
}

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

.module-item {
    background: rgba(0,0,0,0.8);
    border: 1px solid #39FF14;
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.module-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 20px #39FF14;
}

.module-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* 代码块样式 */
pre {
    background: #000000;
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

code {
    color: #39FF14;
    font-size: 0.9rem;
    display: block;
}

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

th, td {
    border: 1px solid #39FF14;
    padding: 0.8rem;
    text-align: left;
}

th {
    background-color: #002366;
    color: #FF69B4;
}

/* 动画效果 */
.button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: #39FF14;
    color: #000000;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px #39FF14;
}

/* 响应式设计 */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

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

    pre {
        font-size: 0.8rem;
    }
}

