
/* 全局样式 */
body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0A192F, #14284B);
    color: #ffffff;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    color: #FFD700;
}
a {
    color: #64FFDA;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}
a:hover {
    color: #FFA726;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 25, 47, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 10px 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-links {
    display: flex;
    gap: 20px;
}
.card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}
.card:hover {
    transform: scale(1.05);
}
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}
.image-decor {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}
.code-block {
    background: rgba(100, 255, 218, 0.6);
    border-radius: 10px;
    padding: 15px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    color: #0A192F;
}
@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
    h1 {
        font-size: 20px;
    }
}
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-in-out forwards;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

