
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Roboto Mono', sans-serif;
    background: linear-gradient(135deg, #000046, #1cb5e0);
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 255, 255, 0.8);
}
a {
    color: #00ff99;
    text-decoration: none;
}
a:hover {
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.7);
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.card {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #00ff99;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
}
button {
    background: #00ff99;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}
button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.7);
}
code {
    background: rgba(0, 255, 255, 0.1);
    padding: 5px;
    border-radius: 5px;
    font-family: 'Courier New', Courier, monospace;
    color: #00ff99;
    display: block;
    white-space: pre-wrap;
    word-break: break-word;
}
pre {
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-radius: 10px;
    overflow-x: auto;
}
@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
    }
    .container {
        padding: 10px;
    }
}

