
/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(135deg, #0A1F3D, #1C2B4A);
    color: white;
    line-height: 1.6;
    padding: 20px;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    color: #38E54D;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    text-align: center;
    margin-top: 2rem;
}

p {
    font-size: 1rem;
    color: #EC4899;
    margin-bottom: 1rem;
}

.container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }
}

.module {
    background: linear-gradient(135deg, #7C3AED, #EC4899);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.module:hover {
    transform: scale(1.05);
}

.code-block {
    background: #1C2B4A;
    color: #FF6B35;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    margin: 1rem 0;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.button {
    background: #38E54D;
    color: #0A1F3D;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease;
}

.button:hover {
    background: #FF6B35;
}

.header-section {
    text-align: center;
    margin-bottom: 2rem;
}

.header-section h1 {
    color: #FF6B35;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-note {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #EC4899;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 1s ease-in-out;
}

