
/* 页面整体样式 */
body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(to bottom, #1a1a1a, #003366);
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* 全局提示 */
.notice {
    text-align: center;
    padding: 10px;
    background: rgba(255, 87, 51, 0.8);
    color: #fff;
    font-size: 14px;
    margin-bottom: 20px;
}

/* 标题样式 */
h1, h2, h3 {
    font-family: 'Roboto', sans-serif;
    color: #FF5733;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

h1 {
    font-size: 32px;
    margin-top: 40px;
    text-align: center;
}

h2 {
    font-size: 28px;
    margin-top: 30px;
}

h3 {
    font-size: 24px;
    margin-top: 20px;
}

/* 文章容器 */
article {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* 段落样式 */
p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #eaeaea;
}

/* 代码块样式 */
pre {
    background: #333333;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    font-family: 'Fira Code', monospace;
    font-size: 14px;
    color: #00ff00;
    margin-bottom: 20px;
}

code {
    background: #333333;
    padding: 2px 5px;
    border-radius: 4px;
    color: #00ff00;
}

/* 列表样式 */
ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

li {
    font-size: 16px;
    line-height: 1.8;
    color: #eaeaea;
}

/* 图片样式 */
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

/* 响应式布局 */
@media (max-width: 768px) {
    h1 {
        font-size: 28px;
    }
    h2 {
        font-size: 24px;
    }
    h3 {
        font-size: 20px;
    }
    p, li {
        font-size: 14px;
    }
}

/* 按钮样式 */
button {
    background-color: #0074D9;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

button:hover {
    background-color: #FF5733;
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(255, 87, 51, 0.5);
}

/* 卡片模块 */
.module {
    background: linear-gradient(to bottom, #333333, #1a1a1a);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

/* 网格布局 */
.grid-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.grid-item {
    width: calc(33.33% - 20px);
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .grid-item {
        width: calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .grid-item {
        width: 100%;
    }
}

