
/* 基础样式设置 */
body {
    font-family: 'Montserrat', 'Roboto', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: linear-gradient(135deg, #0A1F44, #1E90FF);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-weight: bold;
    color: #1E90FF;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

p {
    font-size: 16px;
    color: #D3D3D3;
    margin-bottom: 1.5em;
}

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

a:hover {
    color: #FFA500;
}

/* 页面布局 */
.container {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
    padding: 20px;
}

.navbar {
    background-color: rgba(10, 31, 68, 0.9);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 200px;
}

.navbar a {
    display: block;
    margin-bottom: 10px;
    color: #fff;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.content {
    margin-left: 230px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* 色彩与渐变效果 */
.highlight {
    color: #FFA500;
    font-weight: bold;
}

.gradient-box {
    background: linear-gradient(135deg, #8A2BE2, #32CD32);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* 图片与装饰 */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.image-grid img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* 动画与交互 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 1.5s ease-in-out;
}

.node {
    width: 50px;
    height: 50px;
    background-color: #1E90FF;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.node:hover {
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }

    .navbar {
        position: static;
        height: auto;
        width: 100%;
    }

    .content {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    h1, h2, h3 {
        font-size: 24px;
    }

    p {
        font-size: 14px;
    }

    .image-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
}

