
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Roboto Mono', monospace;
    background: linear-gradient(to bottom, #121212, #000000);
    color: #ffffff;
    line-height: 1.6;
    padding: 20px;
}
h1, h2, h3 {
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 30px;
    margin-bottom: 15px;
}
p {
    font-size: 16px;
    margin-bottom: 20px;
}
a {
    color: #00BFFF;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #8A2BE2;
}
button {
    background: linear-gradient(to right, #00BFFF, #8A2BE2);
    border: none;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}
button:hover {
    transform: scale(1.05);
}

/* 布局与网格 */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}
.card {
    background-color: #222222;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
}
.card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.6));
    border-radius: 8px;
    z-index: 1;
}
.card-content {
    position: relative;
    z-index: 2;
}

/* 代码块样式 */
pre {
    background-color: #1e1e1e;
    color: #39FF14;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    font-size: 14px;
    margin-bottom: 20px;
}
code {
    font-family: 'Roboto Mono', monospace;
    font-size: 14px;
}

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background-color: #222222;
    border-radius: 8px;
    overflow: hidden;
}
th, td {
    padding: 10px 15px;
    text-align: left;
    border-bottom: 1px solid #333333;
}
th {
    background-color: #00BFFF;
    color: #000000;
    font-weight: bold;
}

/* 动画效果 */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}
.button:hover {
    animation: pulse 1s infinite;
}
.node {
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, #00BFFF, #8A2BE2);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.7);
}

/* 响应式设计 */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    .grid-container {
        grid-template-columns: 1fr;
    }
}

