
/* 页面全局样式 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: radial-gradient(circle, rgb(255, 87, 34), transparent);
    color: #f0f0f0;
    line-height: 1.6;
    overflow-x: hidden;
    animation: aurora-move 15s linear infinite;
}

@keyframes aurora-move {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: #ff9800;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

p, ul, ol, table {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

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

a:hover {
    color: #8bc34a;
}

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

.header {
    grid-column: span 12;
    text-align: center;
    padding: 40px 0;
    background: linear-gradient(to bottom, #1e1e1e, #333333);
    border-bottom: 2px solid #ff9800;
}

.header h1 {
    font-size: 2.5rem;
    margin: 0;
}

.content {
    grid-column: span 12;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (min-width: 768px) {
    .content {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .main-content {
        grid-column: span 8;
    }
    .sidebar {
        grid-column: span 4;
    }
}

.main-content article {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.sidebar {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

pre {
    background: #1e1e1e;
    color: #ffffff;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}

code {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

th, td {
    border: 1px solid #ffffff;
    padding: 10px;
    text-align: left;
}

th {
    background-color: #ff9800;
    color: #1e1e1e;
}

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

button:hover {
    transform: scale(1.05);
}

.footer {
    grid-column: span 12;
    text-align: center;
    padding: 20px;
    background: linear-gradient(to top, #1e1e1e, #333333);
    border-top: 2px solid #ff9800;
}

@media (max-width: 768px) {
    .main-content, .sidebar {
        grid-column: span 12;
    }
}

