
/* 全局样式 */
body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #0F172A, #1E293B);
    color: white;
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: bold;
    color: #FF5722;
}

a {
    color: #FF5722;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.left-section {
    background: linear-gradient(135deg, #1E293B, #0F172A);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.right-section {
    background: linear-gradient(135deg, #1E293B, #0F172A);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

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

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

.navbar a {
    margin: 0 10px;
    rel: "nofollow";
}

.sidebar {
    position: absolute;
    right: -200px;
    top: 60px;
    width: 200px;
    background: linear-gradient(90deg, #0F172A, #1E293B);
    color: white;
    padding: 10px;
    transition: right 0.3s ease;
}

.sidebar.open {
    right: 0;
}

.item {
    transition: all 0.3s ease;
}

.item:hover {
    transform: scale(1.1);
    color: #FF5722;
}

.module {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

pre {
    background: #1E293B;
    color: white;
    padding: 10px;
    border-radius: 5px;
    overflow-x: auto;
}

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

table th, table td {
    border: 1px solid #FF5722;
    padding: 10px;
    text-align: center;
}

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