
/* 页面全局样式 */
body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #0A2463, #1e3c72);
    color: #fff;
    line-height: 1.6;
}
h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    color: #FF7F50;
}
p, li {
    color: #f0f0f0;
    font-size: 1rem;
}
a {
    color: #8BC34A;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #EF5350;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.header {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}
.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,127,80,0.3) 10%, transparent 10%),
                radial-gradient(circle, rgba(139,195,74,0.3) 10%, transparent 10%);
    background-size: 20px 20px;
    animation: moveBackground 10s linear infinite;
}
@keyframes moveBackground {
    from { transform: translate(0, 0); }
    to { transform: translate(-50%, -50%); }
}
.header h1 {
    font-size: 3rem;
    font-weight: bold;
    z-index: 1;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}
.module-card {
    background: linear-gradient(135deg, #1e3c72, #0A2463);
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}
.module-card:hover {
    transform: translateY(-10px);
}
.module-card img {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
    border-radius: 50%;
}
.button {
    background-color: #FF7F50;
    border: none;
    padding: 10px 20px;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.button:hover {
    background-color: #EF5350;
    transform: scale(1.1);
}
.code-block {
    background: #1e1e1e;
    color: #8BC34A;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.9rem;
}
.footer {
    text-align: center;
    padding: 20px;
    background: #0A2463;
    margin-top: 40px;
}
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }
    .module-card {
        padding: 15px;
    }
}

