
/* 基础样式定义 */
body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(to bottom, #000046, #1c1c3c);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto Mono', monospace;
    font-weight: bold;
    color: #ff00ff;
    text-shadow: 0 0 5px #00ffff;
}
p {
    font-size: 1rem;
    margin: 1em 0;
    padding: 0 1em;
}
a {
    color: #00ffff;
    text-decoration: none;
    transition: all 0.3s ease;
}
a:hover {
    color: #ff00ff;
    text-shadow: 0 0 5px #00ffff;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1em;
}
header {
    background: linear-gradient(to right, #000046, #1c1c3c);
    padding: 2em 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: radial-gradient(circle, rgba(0,255,255,0.1) 10%, transparent 10.01%) 0 0,
                radial-gradient(circle, rgba(255,0,255,0.1) 10%, transparent 10.01%) 50px 50px;
    background-size: 100px 100px;
    animation: particleEffect 5s linear infinite;
}
@keyframes particleEffect {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
section {
    padding: 2em 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.grid-item {
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 1em;
    box-shadow: 0 0 10px rgba(0,255,255,0.2);
    transition: all 0.3s ease;
}
.grid-item:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0,255,255,0.4);
}
code {
    background: #1e1e1e;
    color: #00ff00;
    padding: 0.2em 0.4em;
    border-radius: 5px;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.9em;
}
pre code {
    display: block;
    white-space: pre-wrap;
    word-break: break-word;
    padding: 1em;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
}
th, td {
    padding: 0.5em 1em;
    border: 1px solid rgba(255,255,255,0.2);
    text-align: left;
}
th {
    background: rgba(0,255,255,0.1);
}
button {
    background: linear-gradient(to right, #00ffff, #ff00ff);
    color: #000;
    border: none;
    padding: 0.5em 1em;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}
button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(0,255,255,0.5);
}
@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
    header h1 {
        font-size: 1.5em;
    }
    section {
        padding: 1em 0;
    }
}

