
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Lato', sans-serif;
    background: linear-gradient(to bottom, #111111, #222222);
    color: #e0e0e0;
    line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto Mono', monospace;
    color: #ffffff;
    text-shadow: 0 0 5px rgba(0, 255, 153, 0.7);
}
a {
    color: #00ff99;
    text-decoration: none;
    transition: all 0.3s ease;
}
a:hover {
    text-shadow: 0 0 8px rgba(0, 255, 153, 0.9);
}

/* 页面布局 */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.header {
    grid-column: span 2;
    text-align: center;
    padding: 40px 0;
    background: linear-gradient(to right, #2c3e50, #4ca1af);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}
.header h1 {
    font-size: 2.5rem;
    margin: 0;
}

/* 模块化设计 */
.module {
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}
.module::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 153, 0.2) 10%, transparent 10.01%) 50%,
                radial-gradient(circle, rgba(138, 43, 226, 0.2) 10%, transparent 10.01%) 50%;
    background-size: 30px 30px;
    transform: rotate(45deg);
    animation: moveBackground 10s linear infinite;
}
@keyframes moveBackground {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 图片与装饰 */
.image-box img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}
.image-box {
    position: relative;
}
.image-box::after {
    content: '';
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: rgba(0, 255, 153, 0.5);
    border-radius: 50%;
    filter: blur(10px);
}

/* 文章排版 */
.article {
    grid-column: span 2;
    background: rgba(0, 0, 0, 0.9);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}
.article pre {
    background: #1e1e1e;
    color: #00ff99;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}
.article table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
.article th, .article td {
    border: 1px solid #333;
    padding: 10px;
    text-align: left;
}
.article th {
    background: #2c3e50;
    color: #ffffff;
}

/* 动态交互 */
.button {
    display: inline-block;
    padding: 10px 20px;
    background: #00ff99;
    color: #000;
    border-radius: 5px;
    transition: all 0.3s ease;
}
.button:hover {
    box-shadow: 0 0 15px rgba(0, 255, 153, 0.9);
    transform: scale(1.1);
}

/* 响应式适配 */
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }
    .header h1 {
        font-size: 2rem;
    }
    .module {
        padding: 15px;
    }
}
@media (max-width: 480px) {
    body {
        font-size: 14px;
    }
    .header h1 {
        font-size: 1.5rem;
    }
}

