
/* 全局样式设置 */
body {
    margin: 0;
    font-family: 'Merriweather', serif;
    background: linear-gradient(to bottom, #1a237e, #4d5ae5);
    color: #ffffff;
    line-height: 1.6;
    padding: 20px;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    color: #f9f9f9;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}
h1 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, #4c59ff, #8c66ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.left-nav, .right-panel {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    padding: 15px;
}
.left-nav {
    flex: 1;
    min-width: 200px;
    position: sticky;
    top: 20px;
    height: fit-content;
}
.central-content {
    flex: 3;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}
.right-panel {
    flex: 1;
    min-width: 250px;
}
button {
    background: linear-gradient(to bottom, #6a8cff, #4c70ff);
    border: 2px solid #3a5eff;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3), inset 0px 1px 2px rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 16px;
    color: white;
    cursor: pointer;
    transition: transform 0.2s ease;
}
button:hover {
    animation: glow 1s infinite alternate;
    transform: scale(1.1);
}
@keyframes glow {
    from {
        box-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #6a8cff, 0 0 40px #4c70ff;
    }
    to {
        box-shadow: 0 0 20px #fff, 0 0 40px #fff, 0 0 60px #6a8cff, 0 0 80px #4c70ff;
    }
}
pre {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
    color: #ffffff;
}
code {
    color: #ffeb3b;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
th, td {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px;
    text-align: left;
}
th {
    background: rgba(255, 255, 255, 0.1);
}
img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 10px 0;
}
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    .left-nav {
        position: static;
    }
    .right-panel {
        display: none;
    }
}

