
/* 基础样式设置 */
body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(135deg, #0074D9, #6A0DAD);
    color: #FFFFFF;
    line-height: 1.6;
    padding: 20px;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 10px;
}

p {
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

a {
    color: #39FF14;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #BDBDBD;
}

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

.card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 16px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, #0074D9, #6A0DAD);
    z-index: 1000;
    padding: 10px 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
}

.navbar li a {
    color: #FFFFFF;
    padding: 8px 16px;
    border-radius: 4px;
}

.navbar li a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.button {
    background-color: #6A0DAD;
    border: none;
    color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #39FF14;
}

.code-block {
    background: rgba(0, 0, 0, 0.7);
    color: #39FF14;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    margin: 10px 0;
}

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

.image-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

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

    .code-block {
        font-size: 12px;
    }
}

@keyframes dissolve {
    from { opacity: 1; }
    to { opacity: 0; }
}

.page-enter-active, .page-leave-active {
    transition: opacity 0.5s;
}

.page-enter, .page-leave-to {
    opacity: 0;
}

