
/* 基础样式 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0A1A2F, #6C5CE7);
    color: #D0D0D0;
    line-height: 1.6;
}
h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    margin: 1rem 0;
}
h1 {
    font-size: 3rem;
    color: #39FF14;
    font-weight: bold;
}
h2 {
    font-size: 2rem;
    color: #FFFFFF;
}
p {
    font-size: 1rem;
    color: #D0D0D0;
    padding: 0 1rem;
}
a {
    color: #39FF14;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
ul, ol {
    padding-left: 2rem;
}
table {
    width: 90%;
    margin: 1rem auto;
    border-collapse: collapse;
}
th, td {
    border: 1px solid #39FF14;
    padding: 0.5rem;
    text-align: center;
    color: #FFFFFF;
}
th {
    background-color: #0A1A2F;
}
code {
    background-color: #1A2A3F;
    color: #39FF14;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
}
pre {
    background-color: #1A2A3F;
    color: #39FF14;
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
}
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
}
.grid-item {
    background-color: #0A1A2F;
    color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
}
.grid-item:hover {
    transform: scale(1.05);
}
.gradient-background {
    background: linear-gradient(135deg, #0A1A2F, #6C5CE7);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
@keyframes particle-motion {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}
.particle {
    position: absolute;
    width: 5px;
    height: 5px;
    background: #39FF14;
    border-radius: 50%;
    animation: particle-motion 3s infinite;
}
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    p {
        font-size: 0.9rem;
    }
    pre {
        font-size: 0.8rem;
    }
}

