
/* 页面全局样式 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #121212, #2c2c36, #1e1e2f);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* 标题与提示文字 */
h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-top: 40px;
    background: linear-gradient(90deg, #39ff14, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.notice {
    text-align: center;
    font-size: 1rem;
    color: #cccccc;
    margin-bottom: 20px;
}

/* 布局容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.module {
    flex: 1 1 calc(50% - 20px);
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.module:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

/* 按钮样式 */
.button {
    display: inline-block;
    background: linear-gradient(90deg, #39ff14, #00ffff);
    color: #121212;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 10px;
}

.button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* 文章区域 */
.article {
    background: rgba(255, 255, 255, 0.08);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.8;
}

.article h2 {
    font-size: 1.8rem;
    color: #39ff14;
    margin-bottom: 15px;
}

.article p {
    color: #cccccc;
    margin-bottom: 15px;
}

.article pre {
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 15px;
}

.article code {
    color: #39ff14;
    font-family: 'Courier New', monospace;
}

/* 图片样式 */
.image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .module {
        flex: 1 1 100%;
    }

    h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .container {
        padding: 10px;
    }

    .article {
        padding: 15px;
    }

    .button {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}

