
/* 页面整体样式 */
body {
    font-family: 'Times New Roman', serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #1c1c1c, #2f4f4f);
    color: #f5f5dc;
    line-height: 1.6;
    overflow-x: hidden;
}
header, footer {
    background: linear-gradient(to right, #4b0082, #0000ff);
    color: gold;
    text-align: center;
    padding: 20px 0;
}
header h1 {
    font-family: 'Arial Black', sans-serif;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}
.module {
    border: 2px solid #4b0082;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: #f5f5dc;
    position: relative;
    transition: transform 0.3s ease;
}
.module:hover {
    transform: scale(1.05);
}
.module img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 10px;
}
.icon {
    width: 50px;
    height: 50px;
    background: gold;
    border-radius: 50%;
    display: inline-block;
    animation: rotate 5s infinite linear;
}
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
pre code {
    display: block;
    background: #2f4f4f;
    color: #f5f5dc;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
th, td {
    border: 1px solid #4b0082;
    padding: 10px;
    text-align: left;
}
th {
    background-color: #4b0082;
    color: gold;
}
footer p {
    margin: 0;
    font-size: 0.9rem;
}
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    .container {
        grid-template-columns: 1fr;
    }
}

