
/* 基础样式 */
body {
    font-family: 'Roboto Mono', 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #0A192F, #6C63FF);
    color: white;
    line-height: 1.6;
}
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    max-width: 1440px;
    margin: 0 auto;
}
.header {
    text-align: center;
    margin-bottom: 30px;
}
.header h1 {
    font-size: 2.5em;
    color: #38E54D;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.navbar {
    width: 100%;
    display: flex;
    justify-content: space-around;
    background: rgba(10, 25, 47, 0.8);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.nav-item {
    color: #6C63FF;
    text-decoration: none;
    font-size: 1.2em;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}
.nav-item:hover {
    background-color: #38E54D;
    color: #0A192F;
}
.content {
    width: 100%;
    background: rgba(10, 25, 47, 0.9);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
}
h2, h3, h4 {
    color: #38E54D;
}
p, ul, pre {
    color: #FFFFFF;
    font-size: 1em;
    line-height: 1.6;
}
pre {
    background: #0A192F;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-size: 0.9em;
}
img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 10px 0;
}
.tab-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}
.tab-item {
    padding: 10px 20px;
    background-color: #6C63FF;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
}
.tab-item.active {
    background-color: #38E54D;
}
@media (max-width: 768px) {
    .tab-container {
        flex-direction: column;
    }
    .tab-item {
        margin-bottom: 10px;
    }
}
.button {
    background-color: #6C63FF;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.button:hover {
    background-color: #38E54D;
    transform: scale(1.1);
}
.note {
    text-align: center;
    color: #38E54D;
    margin-top: 20px;
    font-size: 0.9em;
}

