
body {
    margin: 0;
    font-family: 'Roboto', 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #000f3d, #3c1769);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* 导航栏样式 */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar .logo {
    font-size: 1.5rem;
    color: #00ff7f;
    text-decoration: none;
    font-weight: bold;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.navbar ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

.navbar ul li a:hover {
    color: #00ffff;
}

/* 主内容样式 */
.container {
    padding: 100px 40px 40px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    margin-bottom: 60px;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #00ffff;
}

.section p, .section ul {
    font-size: 1rem;
    margin-bottom: 15px;
}

.section ul {
    padding-left: 20px;
}

.section pre {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}

.section code {
    font-family: 'Courier New', Courier, monospace;
    color: #7fffd4;
}

/* 图片样式 */
.section img {
    width: 100%;
    max-width: 320px;
    height: auto;
    margin: 10px;
    border-radius: 8px;
}

/* 示例数据展示样式 */
.sample-data {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
}

.sample-data h2 {
    color: #ff1493;
}

.sample-data article {
    margin-top: 20px;
}

.sample-data pre {
    background: rgba(0, 0, 0, 0.7);
    padding: 10px;
    border-radius: 5px;
}

/* 提示样式 */
.reference-note {
    text-align: center;
    font-size: 1.2rem;
    margin-top: 40px;
    color: #adff2f;
}

/* 响应式设计 */
@media (max-width: 1440px) {
    .container {
        padding: 100px 30px 30px 30px;
    }
}

@media (max-width: 1200px) {
    .navbar {
        padding: 15px 30px;
    }
    .navbar .logo {
        font-size: 1.3rem;
    }
}

@media (max-width: 1024px) {
    .navbar ul {
        gap: 15px;
    }
    .section h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 100px 20px 20px 20px;
    }
    .navbar ul {
        flex-direction: column;
        background: rgba(0, 0, 0, 0.7);
        position: absolute;
        top: 60px;
        right: 20px;
        display: none;
    }
    .navbar ul.active {
        display: flex;
    }
    .section h2 {
        font-size: 1.6rem;
    }
    .section img {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 10px 20px;
    }
    .navbar .logo {
        font-size: 1.2rem;
    }
    .section h2 {
        font-size: 1.4rem;
    }
    .reference-note {
        font-size: 1rem;
    }
}

@media (max-width: 320px) {
    .navbar ul {
        flex-direction: column;
        width: 100%;
    }
    .section h2 {
        font-size: 1.2rem;
    }
    .section p, .section ul, .section pre {
        font-size: 0.9rem;
    }
}

