
/* 全局样式设置 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #2c3e50, #4ca1af);
    color: #ffffff;
    line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Mono', monospace;
    color: #ffeb3b;
}
a {
    color: #8bc34a;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}
a:hover {
    color: #cddc39;
}
.container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}
.header {
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(135deg, #00bcd4, #009688);
    color: white;
    position: relative;
    overflow: hidden;
}
.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(30deg);
    animation: moveHeader 10s infinite linear;
}
@keyframes moveHeader {
    from { transform: translateX(-50%) rotate(30deg); }
    to { transform: translateX(0) rotate(30deg); }
}
.section {
    padding: 40px 20px;
    background: linear-gradient(135deg, #4caf50, #8bc34a);
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.card {
    background: linear-gradient(135deg, #ff9800, #ffc107);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}
.card:hover {
    transform: translateY(-10px);
}
img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}
.code-block {
    background: #263238;
    color: #bb86fc;
    padding: 15px;
    border-radius: 5px;
    font-family: 'Space Mono', monospace;
    overflow-x: auto;
}
@media (max-width: 768px) {
    .header {
        padding: 30px 10px;
    }
    .section {
        padding: 20px 10px;
    }
}
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    animation: move 5s infinite;
}
@keyframes move {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

