
/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', 'Open Sans', sans-serif;
    line-height: 1.6;
    background: linear-gradient(135deg, #0A66C2, #6A1B9A);
    color: #F5F5F5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    color: #FF5722;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

a {
    color: #4CAF50;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #FF5722;
}

button {
    background-color: #0A66C2;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #FF5722;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.module {
    flex: 1 1 300px;
    margin: 10px;
    padding: 20px;
    background: linear-gradient(135deg, #F5F5F5, #E0E0E0);
    color: #1E1E1E;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, #0A66C2, #1E1E1E);
    color: #F5F5F5;
    padding: 10px 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header nav a {
    margin: 0 10px;
    color: #F5F5F5;
    rel="nofollow";
}

main {
    margin-top: 80px;
    flex: 1;
}

footer {
    background: linear-gradient(90deg, #1E1E1E, #0A66C2);
    color: #F5F5F5;
    text-align: center;
    padding: 20px;
    margin-top: 20px;
}

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

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

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

@media (max-width: 768px) {
    .module {
        flex: 1 1 100%;
    }

    header {
        flex-direction: column;
        text-align: center;
    }
}

