
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    background: radial-gradient(circle, #0D2C4B, #000000);
    color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3 {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    margin: 20px 0;
}
a {
    color: #4A6CF7;
    text-decoration: none;
}
a:hover {
    text-shadow: 0 0 5px rgba(74, 108, 247, 0.8);
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}
img:hover {
    transform: scale(1.05);
}
code {
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 10px;
    border-radius: 4px;
    font-family: 'Fira Sans', monospace;
}
pre {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
th, td {
    padding: 10px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
th {
    background: linear-gradient(90deg, #4A6CF7, #8E44AD);
    color: #FFFFFF;
}
td {
    background: rgba(255, 255, 255, 0.05);
}
.button {
    background: linear-gradient(90deg, #4A6CF7, #8E44AD);
    color: #FFFFFF;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.button:hover {
    box-shadow: 0 0 10px rgba(74, 108, 247, 0.8);
}
@keyframes aurora-move {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}
.starry-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0D2C4B, #000000);
    z-index: -1;
    animation: aurora-move 15s linear infinite;
}
.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
    animation: twinkle 3s infinite alternate;
}
@keyframes twinkle {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    img {
        width: 100%;
    }
}

