
/* 基本样式 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: #ffffff;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

/* 容器 */
.container {
    max-width: 1200px;
    width: 100%;
    padding: 20px;
}

/* 标题 */
h1, h2, h3, h4 {
    font-family: 'Inter', sans-serif;
    margin-bottom: 15px;
}

h1 {
    font-size: 2.5em;
    text-align: center;
    color: #FFD700;
}

h2 {
    font-size: 2em;
    border-bottom: 2px solid #FFD700;
    padding-bottom: 10px;
}

h3 {
    font-size: 1.75em;
    color: #FFA500;
}

h4 {
    font-size: 1.5em;
    color: #FF6347;
}

/* 段落 */
p {
    margin-bottom: 20px;
    font-size: 1em;
}

/* 链接 */
a {
    color: #00BFFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #FFD700;
}

/* 按钮 */
.button {
    background: linear-gradient(to right, #ff7e5f, #feb47b);
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    color: #fff;
    cursor: pointer;
    transition: box-shadow 0.3s ease;
}

.button:hover {
    box-shadow: 0 0 15px rgba(255, 126, 95, 0.7);
}

/* 表格 */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

th, td {
    border: 1px solid #ffffff;
    padding: 10px;
    text-align: left;
}

th {
    background: #2a5298;
}

tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.1);
}

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

code {
    color: #00FF7F;
    font-family: 'Courier New', Courier, monospace;
}

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

/* 导航栏 */
.navbar {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    z-index: 1000;
}

.navbar a {
    display: block;
    margin: 10px 0;
    color: #ffffff;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: #FFD700;
}

/* 文章示例 */
.sample-article {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.sample-article h2 {
    color: #FFD700;
}

.sample-article pre {
    background: #2a5298;
    color: #ffffff;
}

/* 数据展示 */
.data-display {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.data-display ul {
    list-style-type: none;
    padding: 0;
}

.data-display li {
    margin-bottom: 15px;
}

/* 提示语 */
.reference-note {
    font-size: 1.2em;
    color: #FFD700;
    margin: 20px 0;
    text-align: center;
}

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

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

    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.8em;
    }
}

@media (max-width: 1024px) {
    .navbar {
        top: 10px;
        right: 10px;
        padding: 10px;
    }

    h1 {
        font-size: 1.8em;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.5em;
    }

    .navbar a {
        margin: 8px 0;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.3em;
    }

    p, li {
        font-size: 0.9em;
    }

    .button {
        padding: 8px 16px;
    }
}

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

    .button {
        padding: 6px 12px;
    }

    nav, .navbar {
        display: none;
    }
}

/* 图片布局 */
.image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
}

.image-gallery img {
    width: 150px;
    height: 150px;
    object-fit: cover;
}

/* 按钮样式 */
.btn-primary {
    background: linear-gradient(to right, #00c6ff, #0072ff);
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    color: #fff;
    font-size: 1em;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.btn-primary:hover {
    transform: scale(1.05);
}

/* 链接样式 */
a[rel="nofollow"] {
    color: #1E90FF;
}


