
/* 整体页面样式设置 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #1E273A 70%, #333333 25%, #39FF14 5%);
    color: #333333;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(30, 39, 58, 0.9);
    display: flex;
    justify-content: center;
    padding: 15px 0;
    z-index: 1000;
}

.navbar a {
    color: #FFFFFF;
    margin: 0 20px;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
    rel: nofollow;
}

.navbar a.active {
    color: #39FF14;
}

.navbar a.active::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: #39FF14;
    margin-top: 5px;
    transition: all 0.3s ease;
}

/* 容器分屏布局 */
.container {
    display: flex;
    height: 100vh;
    width: 100%;
    margin-top: 60px; /* 预留导航栏高度 */
}

.left-section {
    background: linear-gradient(135deg, #1E273A, #333333);
    position: relative;
    overflow: hidden;
    width: 50%;
    height: 100vh;
}

.right-section {
    background-color: #FFFFFF;
    color: #333333;
    padding: 40px;
    width: 50%;
    height: 100vh;
    overflow-y: auto;
}

/* 粒子效果样式 */
.particle {
    width: 8px;
    height: 8px;
    background-color: rgba(0, 191, 255, 0.7);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    animation: moveParticle 6s linear infinite;
}

@keyframes moveParticle {
    0% {
        transform: translate(0, 0);
        opacity: 1;
    }
    100% {
        transform: translate(300px, 300px);
        opacity: 0;
    }
}

/* 按钮样式 */
.cta-button {
    background-color: #39FF14;
    color: #1E273A;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    font-size: 1.2em;
    font-weight: bold;
}

.cta-button:hover {
    transform: scale(1.05);
    background-color: #00BFFF;
    color: #FFFFFF;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    
    .left-section, .right-section {
        width: 100%;
        height: auto;
    }
    
    .navbar {
        flex-direction: column;
    }
    
    .navbar a {
        margin: 10px 0;
    }
}

/* 图片样式 */
.image-style {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.image-style:hover {
    transform: scale(1.05);
}

/* 代码块样式 */
.code-block {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
}

.code-block code {
    color: #d63384;
}

/* 提示信息样式 */
.reference-note {
    text-align: center;
    font-size: 1.2em;
    color: #FF5733;
    margin: 20px 0;
}

