
/* 基础样式与页面背景 */
body {
    margin: 0;
    font-family: 'Roboto Mono', monospace;
    background: linear-gradient(135deg, #0A1F3D, #121212);
    color: #C0C0C0;
    line-height: 1.6;
    padding: 20px;
    overflow-x: hidden;
}
h1, h2, h3 {
    font-family: 'Open Sans', sans-serif;
    color: #34C759;
    text-align: center;
    margin-top: 40px;
}
h1 {
    font-size: 3em;
    letter-spacing: 2px;
}
h2 {
    font-size: 2.2em;
    margin-bottom: 20px;
}
h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
}
p {
    font-size: 1em;
    margin: 10px 0;
}
a {
    color: #9B51E0;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #34C759;
}
code {
    display: block;
    background-color: #121212;
    color: #C0C0C0;
    padding: 15px;
    border-radius: 8px;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.9em;
    white-space: pre-wrap;
    word-break: break-word;
}
pre {
    margin: 20px 0;
    overflow-x: auto;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.module {
    background-color: #121212;
    border: 1px solid #C0C0C0;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}
.module:hover {
    transform: translateY(-5px);
}
img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 10px 0;
}
button {
    background-color: #34C759;
    color: #121212;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin: 10px auto;
    display: block;
}
button:hover {
    background-color: #9B51E0;
    transform: scale(1.1);
}
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 5px;
    background-color: #34C759;
    z-index: 1000;
    transition: width 0.5s ease;
}
.progress-bar.full {
    width: 100%;
}
@media (max-width: 768px) {
    h1 {
        font-size: 2.5em;
    }
    h2 {
        font-size: 1.8em;
    }
    p {
        font-size: 0.9em;
    }
    .container {
        grid-template-columns: 1fr;
    }
}

