
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    color: #fff;
    background: linear-gradient(135deg, #0a0a2a, #121212);
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    color: #f7d358;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
p, ul, ol, table {
    color: #e0e0e0;
    font-size: 1rem;
    line-height: 1.8;
}
a {
    color: #4caf50;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #6fbf73;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.section {
    margin-bottom: 40px;
    padding: 20px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}
.header {
    text-align: center;
    padding: 40px 0;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 10%, transparent 10.01%);
    transform: rotate(45deg);
    animation: moveBackground 10s linear infinite;
}
@keyframes moveBackground {
    from { transform: translateX(-50%) rotate(45deg); }
    to { transform: translateX(0) rotate(45deg); }
}
.header h1 {
    font-size: 2.5rem;
    margin: 0;
    letter-spacing: 2px;
}
.header p {
    font-size: 1.2rem;
    margin-top: 10px;
    color: #f7d358;
}
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}
.image-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.image-grid img:hover {
    transform: scale(1.1);
}
.article {
    background: rgba(255, 255, 255, 0.08);
    padding: 20px;
    border-radius: 10px;
    margin-top: 40px;
    position: relative;
}
.article::before {
    content: '参考内容展示';
    position: absolute;
    top: -10px;
    right: 20px;
    background: #4caf50;
    color: #fff;
    font-size: 0.8rem;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
}
.article pre {
    background: #1e1e1e;
    color: #6fbf73;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
}
.article table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
.article table th, .article table td {
    border: 1px solid #444;
    padding: 10px;
    text-align: left;
}
.article table th {
    background: #333;
    color: #f7d358;
}
.footer {
    text-align: center;
    padding: 20px;
    background: #121212;
    color: #aaa;
    font-size: 0.9rem;
}
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }
    .image-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
}

