
/* 全局样式设置 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0A192F, #1C283B);
    color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3 {
    font-family: 'Fira Sans', sans-serif;
    font-weight: bold;
    color: #FFD700;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}
a {
    color: #34C759;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #FFD700;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.grid-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem;
}
.grid-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}
pre {
    background: #1C283B;
    padding: 1rem;
    border-radius: 8px;
    color: #34C759;
    font-family: 'Roboto Mono', monospace;
    overflow-x: auto;
}
code {
    color: #FFD700;
    font-size: 0.9em;
}
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
section {
    min-height: 100vh;
    padding: 40px 0;
    position: relative;
}
section:nth-child(odd) {
    background: linear-gradient(135deg, #0A192F, #1C283B);
}
section:nth-child(even) {
    background: linear-gradient(135deg, #1C283B, #0A192F);
}
@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
    section {
        padding: 20px 0;
    }
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in-element {
    animation: fadeIn 1s ease-in-out;
}
header {
    text-align: center;
    padding: 40px 0;
    background: linear-gradient(135deg, #0A192F, #1C283B);
    color: #FFD700;
    font-size: 1.5em;
    font-family: 'Fira Sans', sans-serif;
}
footer {
    text-align: center;
    padding: 20px;
    background: #0A192F;
    color: #FFFFFF;
    font-size: 0.9em;
}

