
/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #000046, #1cb5e0);
    color: #ffffff;
    line-height: 1.6;
    padding: 20px;
}

/* 标题样式 */
h1, h2, h3, h4 {
    font-family: 'Futura', sans-serif;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ffffff;
}

h1 {
    font-size: 2.5em;
    text-align: center;
    margin-top: 20px;
}

h2 {
    font-size: 2em;
    margin-top: 40px;
}

h3 {
    font-size: 1.75em;
    margin-top: 30px;
}

h4 {
    font-size: 1.5em;
    margin-top: 25px;
}

/* 段落与列表 */
p {
    margin-bottom: 20px;
    font-size: 1em;
    color: #e0e0e0;
}

ul {
    list-style: none;
    margin-bottom: 20px;
}

ul li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 10px;
}

ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #1cb5e0;
}

/* 链接样式 */
a {
    color: #1cb5e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #ff00ff;
}

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

.button:hover {
    background-color: #000046;
    transform: scale(1.1);
}

/* 容器与布局 */
.container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.left-section, .right-section {
    background-color: rgba(40, 40, 40, 0.8);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(28, 181, 224, 0.5);
}

/* 响应式设计 */
@media (max-width: 1440px) {
    .container {
        max-width: 1100px;
    }
}

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

@media (max-width: 1024px) {
    .container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2em;
    }
    h2 {
        font-size: 1.75em;
    }
    h3 {
        font-size: 1.5em;
    }
    h4 {
        font-size: 1.25em;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    .container {
        gap: 10px;
    }
    p, ul li {
        font-size: 0.9em;
    }
}

@media (max-width: 320px) {
    h1 {
        font-size: 1.75em;
    }
    h2 {
        font-size: 1.5em;
    }
    h3 {
        font-size: 1.25em;
    }
    h4 {
        font-size: 1em;
    }
    .button {
        padding: 8px 16px;
        font-size: 0.9em;
    }
}

/* 图片样式 */
img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(28, 181, 224, 0.5);
}

/* 代码块样式 */
pre {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 20px;
}

code {
    color: #1cb5e0;
    font-family: 'Fira Code', monospace;
    font-size: 0.95em;
}

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

body, .container, .left-section, .right-section, h1, h2, h3, h4, p, ul, .button, pre {
    animation: fadeIn 1s ease-in-out;
}

/* 提示信息样式 */
.reference-note {
    text-align: center;
    margin-top: 40px;
    font-size: 1em;
    color: #ff00ff;
}

/* 特殊样式 */
.sample-data {
    background-color: rgba(28, 181, 224, 0.1);
    padding: 20px;
    border-radius: 10px;
    margin-top: 40px;
}

.sample-data h2 {
    color: #ff00ff;
}

.sample-data pre {
    background-color: rgba(0, 0, 0, 0.9);
    border: 1px solid #1cb5e0;
}

