
/* 全局样式定义 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(135deg, #1E202A, #0F0F16);
    color: white;
    line-height: 1.6;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1, h2, h3 {
    font-family: 'Roboto Mono', monospace;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

h1 {
    font-size: 48px;
    color: #68FF7A;
}

h2 {
    font-size: 32px;
    color: #45BFFF;
}

h3 {
    font-size: 24px;
    color: #FF4DFF;
}

p {
    font-size: 16px;
    color: #E0E0E0;
    margin-bottom: 15px;
}

a {
    color: #45BFFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #68FF7A;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.module {
    background: linear-gradient(135deg, #2C3E50, #273242);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    grid-column: span 4;
    transition: transform 0.3s ease;
}

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

@media (max-width: 768px) {
    .module {
        grid-column: span 6;
    }
}

@media (max-width: 480px) {
    .module {
        grid-column: span 12;
    }
}

code {
    background-color: #27293D;
    color: #FFD700;
    padding: 5px 10px;
    border-radius: 5px;
    font-family: 'Roboto Mono', monospace;
    font-size: 14px;
}

pre {
    background-color: #27293D;
    padding: 15px;
    border-radius: 10px;
    overflow-x: auto;
}

.button {
    background-color: #45BFFF;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #68FF7A;
}

.loader {
    width: 50px;
    height: 50px;
    border: 4px solid #45BFFF;
    border-top-color: #68FF7A;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.image-grid img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

.notice {
    background-color: #333;
    color: #FF4DFF;
    padding: 10px 20px;
    border-radius: 5px;
    text-align: center;
    margin-top: 20px;
}

