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

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

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-align: center;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

p {
    font-size: 1rem;
    margin-bottom: 15px;
}

a {
    color: #32CD32;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #FFA500;
}

button {
    background-color: #32CD32;
    border: none;
    color: white;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

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

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

.left-section {
    background: radial-gradient(circle, rgba(0, 0, 102, 0.8), transparent);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.right-section {
    background: radial-gradient(circle, rgba(0, 0, 153, 0.8), transparent);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    position: relative;
}

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

.image-gallery img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.image-gallery img:hover {
    transform: scale(1.1);
}

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

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

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

table th {
    background-color: #32CD32;
    color: black;
}

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

.footer {
    margin-top: 30px;
    text-align: center;
    font-size: 0.9rem;
    color: #aaa;
}

