
/* CSS 样式代码块 */
body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #121212, #222222);
    color: #ffffff;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

header {
    background: linear-gradient(90deg, #4a00e0, #8f0dd7);
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

header h1 {
    font-size: 2rem;
    margin: 0;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.navbar {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.navbar a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    rel="nofollow"
}

.navbar a:hover {
    color: #ffcc00;
}

.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.module {
    background-color: #222222;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
    transition: transform 0.3s ease;
}

.module:hover {
    transform: translateY(-5px);
}

h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 15px;
}

p {
    font-family: 'Roboto', sans-serif;
    color: #d0d0d0;
    margin-bottom: 15px;
}

.button {
    background: linear-gradient(90deg, #4a00e0, #8f0dd7);
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.button:hover {
    transform: scale(1.1);
}

pre {
    background-color: #1e1e1e;
    color: #ffffff;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}

code {
    font-family: 'Courier New', monospace;
    color: #4a00e0;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

footer {
    background: linear-gradient(90deg, #8f0dd7, #4a00e0);
    padding: 15px;
    text-align: center;
    color: #ffffff;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }

    header h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    .module {
        padding: 15px;
    }
}

