
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #1E1E2D, #2A2A40);
    color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3 {
    font-weight: bold;
    color: #00BFA5;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}
p {
    font-size: 1rem;
    color: #D3D3D3;
    margin-bottom: 1.5rem;
}
a {
    color: #00BFA5;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #FFC107;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.header {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #2A2A40, #1E1E2D);
    overflow: hidden;
}
.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1), transparent);
    animation: rotateParticles 10s infinite linear;
    z-index: 0;
}
@keyframes rotateParticles {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.header h1 {
    font-size: 3rem;
    text-align: center;
    position: relative;
    z-index: 1;
}
.section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #1E1E2D, #2A2A40);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.article-container {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 2rem;
}
pre {
    background: #1E1E2D;
    padding: 1rem;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: 'Courier New', monospace;
    color: #00BFA5;
    overflow-x: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
}
th, td {
    padding: 1rem;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
th {
    background: rgba(255, 255, 255, 0.05);
    color: #FFC107;
}
td {
    color: #D3D3D3;
}
img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 1rem 0;
}
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }
    pre {
        font-size: 0.9rem;
    }
    table {
        font-size: 0.9rem;
    }
}

