
/* 基础样式与页面布局 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0A1F44, #1E3A68);
    color: #C0C0C0;
    line-height: 1.6;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(45deg, #8A2BE2, #6A0DAD);
    color: white;
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 2px;
}
section {
    margin-bottom: 40px;
}
h2 {
    font-family: 'Orbitron', sans-serif;
    color: #8A2BE2;
    font-size: 1.8rem;
    margin-bottom: 20px;
}
h3 {
    color: #6A0DAD;
    font-size: 1.4rem;
    margin-bottom: 15px;
}
p {
    font-size: 1rem;
    margin-bottom: 15px;
}
ul {
    list-style: none;
    padding: 0;
}
li {
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 5px;
}
code {
    display: block;
    background: #1E3A68;
    color: #C0C0C0;
    padding: 15px;
    border-radius: 5px;
    font-family: 'Courier New', Courier, monospace;
    overflow-x: auto;
}
pre {
    margin-bottom: 20px;
}
img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 10px 0;
}
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.card {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
/* 响应式设计 */
@media (max-width: 768px) {
    header {
        font-size: 1.6rem;
        padding: 20px;
    }
    h2 {
        font-size: 1.6rem;
    }
    h3 {
        font-size: 1.2rem;
    }
    .grid-container {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    header {
        font-size: 1.4rem;
    }
    .container {
        padding: 10px;
    }
}
/* 动态粒子效果 */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
    animation: particle-float 10s infinite linear;
}
@keyframes particle-float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(10px, 10px); }
}

