
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0B132B, #1C2541);
    color: #FFFFFF;
    line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #34D3EB;
}
p {
    font-size: 1rem;
    color: #E0E0E0;
}
a {
    color: #34D3EB;
    text-decoration: none;
}
a:hover {
    text-shadow: 0 0 8px #34D3EB;
}
code {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.2em 0.4em;
    border-radius: 4px;
    font-family: 'Consolas', monospace;
    color: #FFD700;
}
pre code {
    display: block;
    white-space: pre-wrap;
    word-break: break-word;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1em;
    border-radius: 8px;
    font-size: 0.9rem;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #1C2541, #0B132B);
    position: relative;
    overflow: hidden;
}
.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.05) 10px,
        rgba(255, 255, 255, 0.05) 20px
    );
    animation: moveLines 10s linear infinite;
    transform: rotate(-45deg);
}
@keyframes moveLines {
    from { transform: translateX(0) rotate(-45deg); }
    to { transform: translateX(-50%) rotate(-45deg); }
}
.header h1 {
    font-size: 2.5rem;
    color: #34D3EB;
    z-index: 1;
    position: relative;
}
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}
.card {
    background: linear-gradient(135deg, #1C2541, #0B132B);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out;
}
.card:hover {
    transform: translateY(-5px);
}
.card img {
    max-width: 100%;
    border-radius: 8px;
}
.article-section {
    background: rgba(0, 0, 0, 0.3);
    padding: 30px;
    border-radius: 12px;
    margin-top: 40px;
}
.article-section h2 {
    color: #34D3EB;
    border-bottom: 2px solid #34D3EB;
    padding-bottom: 10px;
}
.article-section p {
    text-indent: 2em;
}
.footer {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #0B132B, #1C2541);
    margin-top: 40px;
    font-size: 0.9rem;
    color: #CCCCCC;
}
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }
    .grid-container {
        grid-template-columns: 1fr;
    }
    .article-section {
        padding: 20px;
    }
}

