
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #000046, #1CB5E0);
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
}

h1 {
    font-size: 36px;
    text-align: center;
    padding: 20px 0;
    background: linear-gradient(to right, #00ff80, #00cc66);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

article {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
}

p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

ul, ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

code {
    display: block;
    background: #000046;
    color: #00ff80;
    padding: 10px;
    border-radius: 5px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    overflow-x: auto;
}

pre {
    margin: 15px 0;
}

button {
    background: #00ff80;
    color: #000;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #00cc66;
}

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

    p, code {
        font-size: 14px;
    }
}

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

/* 渐变背景效果 */
.header {
    background: linear-gradient(135deg, #000046, #1CB5E0);
    padding: 50px 20px;
    text-align: center;
    position: relative;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 255, 128, 0.2), rgba(0, 204, 102, 0.1));
    z-index: -1;
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 1.5s ease-in-out;
}

/* 示例数据样式 */
.data-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.data-card {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #00ff80;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
}

.data-card img {
    margin-bottom: 10px;
}

/* 提示信息样式 */
.notice {
    text-align: center;
    font-size: 14px;
    color: #ccc;
    margin-top: 20px;
}

