
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Roboto Mono', monospace;
    background: linear-gradient(135deg, #000824, #2c004e);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Roboto Mono', monospace;
    font-weight: bold;
    margin-top: 2rem;
}

p {
    font-family: 'Helvetica', sans-serif;
    line-height: 1.6;
    margin-bottom: 1rem;
}

a {
    color: #00ffcc;
    text-decoration: none;
}

a:hover {
    text-shadow: 0 0 5px #00ffcc, 0 0 10px #00ffcc;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.highlight {
    color: #00ffcc;
    font-weight: bold;
}

/* 文章样式 */
article {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.5);
}

article h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1rem;
}

article pre {
    background: #001f3f;
    color: #00ffcc;
    padding: 10px;
    border-radius: 5px;
    overflow-x: auto;
    font-size: 0.9rem;
}

article table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

article th, article td {
    border: 1px solid #00ffcc;
    padding: 10px;
    text-align: left;
}

/* 图片样式 */
.image-grid img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.image-grid img:hover {
    transform: scale(1.05);
}

/* 动画效果 */
button {
    background: #001f3f;
    color: #00ffcc;
    border: 1px solid #00ffcc;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    box-shadow: 0 0 10px #00ffcc, 0 0 20px #00ffcc;
}

.wave {
    width: 100%;
    height: 50px;
    background: radial-gradient(circle, #00ffcc 10%, transparent 10%);
    animation: waveMove 2s infinite linear;
}

@keyframes waveMove {
    0% { background-position: 0 0; }
    100% { background-position: 200px 0; }
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #00ffcc;
    border-radius: 50%;
    animation: particleMove 5s infinite alternate;
}

@keyframes particleMove {
    0% { transform: translateX(-100px); }
    100% { transform: translateX(100px); }
}

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

    article pre {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    h1, h2, h3 {
        font-size: 1.5rem;
    }

    article pre {
        font-size: 0.7rem;
    }
}

/* 提示样式 */
.notice {
    text-align: center;
    font-size: 1rem;
    color: #ffffff;
    margin: 20px 0;
}

