
/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body, html {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #000033, #000000);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Bebas Neue', sans-serif;
    color: #39FF14;
    margin-bottom: 1rem;
}
p {
    font-size: 1rem;
    margin-bottom: 1rem;
}
a {
    color: #39FF14;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #00ff7f;
}
code, pre {
    background-color: rgba(255, 255, 255, 0.1);
    color: #00ff7f;
    padding: 0.5rem;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    overflow-wrap: break-word;
}
pre {
    white-space: pre-wrap;
    word-break: break-all;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.5);
}
.button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: #39FF14;
    color: #000000;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
}
.button:hover {
    transform: scale(1.1);
    background-color: #00ff7f;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}
th, td {
    border: 1px solid #39FF14;
    padding: 0.8rem;
    text-align: left;
}
th {
    background-color: rgba(57, 255, 20, 0.2);
}
/* 背景粒子效果 */
.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: rgba(57, 255, 20, 0.5);
    border-radius: 50%;
    animation: particles 5s infinite ease-in-out;
}
@keyframes particles {
    0% { transform: translateX(-100px); }
    50% { transform: translateY(100px); }
    100% { transform: translateX(100px); }
}
/* 响应式设计 */
@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
    h1 {
        font-size: 2rem;
    }
    p, code {
        font-size: 0.9rem;
    }
}
@media (min-width: 1200px) {
    .container {
        padding: 2rem;
    }
}

