
/* 全局样式 */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Roboto Mono', monospace;
    background: linear-gradient(135deg, #0A192F, #162447);
    color: #BDCDD6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    color: #8E44AD;
}

a {
    text-decoration: none;
    color: #39FF14;
    transition: color 0.3s ease-in-out;
}

a:hover {
    color: #BDCDD6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 25, 47, 0.9);
    z-index: 1000;
    padding: 10px 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links a {
    margin: 0 15px;
    font-size: 14px;
}

.content {
    margin-top: 80px;
}

.section {
    background: rgba(189, 205, 214, 0.1);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.section:hover {
    transform: translateY(-5px);
}

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

pre {
    background: #162447;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}

code {
    color: #39FF14;
    font-family: 'Roboto Mono', monospace;
    font-size: 14px;
}

.highlight {
    color: #39FF14;
    font-weight: bold;
}

.purple-accent {
    color: #8E44AD;
}

.button {
    background: linear-gradient(135deg, #39FF14, #8E44AD);
    color: #0A192F;
    padding: 10px 20px;
    border-radius: 20px;
    transition: all 0.3s ease-in-out;
}

.button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    header {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        margin-top: 10px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
}

