
/* 全局样式 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #E6F7FF, #F5F5F5);
    color: #003A70;
    line-height: 1.6;
}

/* 容器布局 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 标题样式 */
h1, h2, h3, h4 {
    color: #003A70;
    text-align: center;
    margin-bottom: 20px;
}

h1 {
    font-size: 2.5rem;
    font-weight: bold;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
}

h3 {
    font-size: 1.75rem;
    font-weight: 500;
}

h4 {
    font-size: 1.5rem;
    font-weight: 500;
}

/* 文章样式 */
article {
    background: rgba(245, 245, 245, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

/* 按钮样式 */
.button {
    background: rgba(229, 247, 255, 0.8);
    border: 1px solid #E6F7FF;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: #003A70;
}

.button:hover {
    background: rgba(229, 247, 255, 1);
    transform: scale(1.1);
}

/* 代码块样式 */
pre {
    background: #f0f0f0;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}

code {
    font-family: 'Courier New', Courier, monospace;
    color: #003A70;
}

/* 图片样式 */
img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* 粒子效果 */
.particle-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    width: 5px;
    height: 5px;
    background: #E6F7FF;
    position: absolute;
    animation: particles 15s infinite ease-in-out;
}

@keyframes particles {
    0% { transform: translate(0, 0); }
    50% { transform: translate(100px, -100px); }
    100% { transform: translate(0, 0); }
}

/* 响应式设计 */
@media (max-width: 1440px) {
    h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 1200px) {
    .container {
        padding: 15px;
    }
}

@media (max-width: 1024px) {
    h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .module {
        flex: 1 1 100%;
    }

    h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    h4 {
        font-size: 1rem;
    }
}

@media (max-width: 320px) {
    h1 {
        font-size: 1.2rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    h3 {
        font-size: 1rem;
    }

    h4 {
        font-size: 0.9rem;
    }
}

/* 模块化布局 */
.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.module {
    flex: 1 1 calc(33.33% - 40px);
    margin: 20px;
    background: rgba(245, 245, 245, 0.8);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, backdrop-filter 0.3s ease;
}

.module:hover {
    transform: scale(1.05);
    backdrop-filter: blur(10px);
}

/* 列表示例 */
ul {
    list-style-type: disc;
    padding-left: 20px;
}

ol {
    list-style-type: decimal;
    padding-left: 20px;
}

/* 隐藏链接外观 */
a {
    color: #003A70;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* 视觉参考提示 */
.reference-note {
    text-align: center;
    font-size: 1rem;
    color: #FF5722;
    margin: 20px 0;
}

