
/* 基础样式 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #121212, #0d0d2b);
    color: #ffffff;
    line-height: 1.6;
    padding: 20px;
}

h1, h2, h3 {
    font-family: 'Bauhaus', sans-serif;
    font-weight: bold;
    margin-top: 0;
}

a {
    color: #4a00e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #6f00ff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.module {
    flex: 1 1 calc(33.333% - 20px);
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.module:hover {
    transform: translateY(-5px);
}

.featured-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

code {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 5px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

pre {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 8px;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th, td {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px;
    text-align: left;
}

th {
    background: rgba(255, 255, 255, 0.1);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.8s ease-in-out forwards;
    opacity: 0;
}

@media (max-width: 768px) {
    .module {
        flex: 1 1 calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .module {
        flex: 1 1 100%;
    }
}

