
/* 基础样式与页面布局 */
body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(to bottom, #0A2540, #3F8AE0);
    color: #FFFFFF;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    margin: 20px 0;
}

h1 {
    text-align: center;
    background: linear-gradient(to right, #3F8AE0, #7FC6FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.5rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 导航栏设计 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 37, 64, 0.9);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar a {
    color: #7FC6FF;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: #FFFFFF;
}

/* 内容区域与模块化布局 */
.content-section {
    margin-top: 80px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.module {
    background: rgba(63, 138, 224, 0.2);
    border: 1px solid #3F8AE0;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.module:hover {
    transform: scale(1.05);
}

/* 数据展示样式 */
.data-item {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.data-item img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.data-item p {
    margin: 0;
    font-size: 1rem;
}

/* 代码块样式 */
pre {
    background: rgba(10, 37, 64, 0.8);
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}

code {
    color: #7FC6FF;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .content-section {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    .navbar {
        flex-direction: column;
    }

    .module {
        padding: 15px;
    }
}

