
/* 页面全局样式 */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: #1C1C1C;
    background: linear-gradient(135deg, #0A2463, #B721FF);
    overflow-x: hidden;
    line-height: 1.6;
}
h1, h2, h3, h4 {
    font-family: 'Roboto Bold', sans-serif;
    font-weight: bold;
    color: #F0F0F0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
header {
    background: linear-gradient(90deg, #B721FF, #0A2463);
    color: #F0F0F0;
    text-align: center;
    padding: 40px 20px;
}
header h1 {
    font-size: 3rem;
    margin: 0;
}
header p {
    font-size: 1.2rem;
    margin-top: 10px;
}
.module {
    background: #F0F0F0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}
.module::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(171, 33, 255, 0.2), rgba(10, 36, 99, 0.2));
    z-index: -1;
}
.module img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 20px;
    border-radius: 10px;
}
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.button {
    display: inline-block;
    background: linear-gradient(90deg, #B721FF, #0A2463);
    color: #F0F0F0;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.5s ease;
}
.button:hover {
    background: linear-gradient(90deg, #0A2463, #B721FF);
}
pre {
    background: #1C1C1C;
    color: #F0F0F0;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}
code {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
th, td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}
th {
    background: #B721FF;
    color: #F0F0F0;
}
@media (max-width: 768px) {
    header h1 {
        font-size: 2.5rem;
    }
    .grid-container {
        grid-template-columns: 1fr;
    }
}

