
/* 全局样式定义 */
body {
    margin: 0;
    font-family: 'Roboto', Arial, sans-serif;
    background: linear-gradient(to bottom, #1e2740, #3c4d7a);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 10px;
}
p, ul, ol {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 15px;
}
a {
    color: #2575fc;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #6a11cb;
}
button {
    background: linear-gradient(to right, #6a11cb, #2575fc);
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: transform 0.3s ease-in-out;
}
button:hover {
    transform: scale(1.1);
}
code {
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 10px;
    border-radius: 5px;
    display: block;
    white-space: pre-wrap;
    word-break: break-word;
}
pre {
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 10px;
    overflow: auto;
    margin-bottom: 20px;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}
.card:hover {
    transform: translateY(-5px);
}
.image-box img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }
    h1 {
        font-size: 24px;
    }
    h2 {
        font-size: 20px;
    }
    p, code {
        font-size: 14px;
    }
}
/* 特殊提示区域 */
.notice {
    background: linear-gradient(to right, #6a11cb, #2575fc);
    color: #fff;
    padding: 15px;
    text-align: center;
    margin-bottom: 30px;
    border-radius: 10px;
}

