
/* 全局样式设置 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(180deg, #000022, #1A1A45);
    color: #ffffff;
    line-height: 1.6;
    padding: 20px;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 40px;
    margin-bottom: 20px;
}

h1 {
    font-size: 2.5rem;
    background: linear-gradient(90deg, #6F00FF, #00FFB5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

a {
    color: #00FFB5;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #6F00FF;
}

pre {
    background: rgba(0, 0, 34, 0.7);
    padding: 15px;
    border-radius: 10px;
    overflow-x: auto;
}

code {
    color: #00FFB5;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th, td {
    border: 1px solid #333;
    padding: 10px;
    text-align: left;
}

th {
    background: linear-gradient(90deg, #6F00FF, #00FFB5);
    color: #fff;
}

button {
    background: #6F00FF;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(111, 0, 255, 0.8);
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 34, 0.7);
    padding: 10px 20px;
    z-index: 1000;
    transition: background 0.3s ease;
}

header.scrolled {
    background: rgba(0, 0, 34, 1);
}

.module {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

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

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    .module {
        flex-direction: column;
    }
}

footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background: linear-gradient(90deg, #6F00FF, #00FFB5);
    color: #fff;
    border-radius: 10px;
}

