
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0074D9, #FFFFFF);
    color: #333;
    line-height: 1.6;
    padding: 20px;
    overflow-x: hidden;
}
h1, h2, h3 {
    font-weight: bold;
    color: #0074D9;
    text-align: center;
    margin-top: 30px;
}
p {
    font-size: 1rem;
    font-weight: lighter;
    margin: 15px 0;
}
a {
    color: #FF6347;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #FF4500;
}
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 10px 0;
}

/* 容器与布局 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.module {
    flex: 1 1 calc(33% - 20px);
    margin: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}
.module:hover {
    transform: translateY(-5px);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .module {
        flex: 1 1 calc(50% - 20px);
    }
}
@media (max-width: 768px) {
    .module {
        flex: 1 1 100%;
    }
}

/* 图文混排 */
.image-text {
    display: flex;
    align-items: center;
    margin: 20px 0;
}
.image-text img {
    margin-right: 20px;
    flex: 1;
}
.image-text p {
    flex: 2;
    font-size: 1.1rem;
}

/* 代码块样式 */
pre {
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 20px 0;
}
code {
    color: #D9534F;
}

/* 动画效果 */
.button {
    background-color: #0074D9;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.button:hover {
    background-color: #FF6347;
    transform: scale(1.1);
}

/* 卡片样式 */
.card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}
.card:hover {
    transform: translateY(-5px);
}

/* 提示信息 */
.tip {
    background-color: #FFFAF0;
    color: #FF6347;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    margin: 20px 0;
    font-weight: bold;
}

