
/* 全局样式 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    background-size: 600% 600%;
    animation: gradientBG 20s ease infinite;
    color: #ffffff;
    overflow-x: hidden;
}

/* 背景动画 */
@keyframes gradientBG {
    0% {background-position: 0% 50%;}
    50% {background-position: 100% 50%;}
    100% {background-position: 0% 50%;}
}

/* 容器 */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 20px;
}

/* 头部样式 */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 15px 0;
    margin: 0;
}

nav ul li {
    margin: 0 25px;
}

nav ul li a {
    text-decoration: none;
    color: #ffffff;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2em;
    transition: color 0.3s ease, transform 0.3s ease;
}

nav ul li a:hover {
    color: #ff7f50;
    transform: scale(1.1);
}

/* 主要内容区 */
main {
    padding-top: 80px;
}

/* 模块布局 */
section {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
    margin: 30px 0;
    padding: 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

/* 图片样式 */
.section-image {
    flex: 1 1 300px;
    max-width: 320px;
    margin: 10px;
}

.section-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.section-image img:hover {
    transform: scale(1.05);
}

/* 文字内容 */
.section-content {
    flex: 2 1 500px;
    margin: 10px;
}

.section-content h2, .section-content h3, .section-content h4 {
    font-family: 'Orbitron', sans-serif;
    color: #00ffff;
    margin-bottom: 15px;
}

.section-content p, .section-content ul, .section-content pre, .section-content table {
    font-family: 'Roboto', sans-serif;
    color: #ffffff;
    line-height: 1.8;
    margin-bottom: 15px;
}

.section-content ul {
    list-style: disc inside;
}

.section-content pre {
    background: rgba(0, 0, 0, 0.6);
    padding: 15px;
    border-radius: 10px;
    overflow-x: auto;
}

.section-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}

.section-content table, .section-content th, .section-content td {
    border: 1px solid #ffffff;
}

.section-content th, .section-content td {
    padding: 10px;
    text-align: left;
}

.section-content code {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 5px;
    border-radius: 5px;
}

/* 示例数据展示 */
#sample-data {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    margin: 40px 0;
}

#sample-data h2 {
    font-family: 'Orbitron', sans-serif;
    color: #ff7f50;
    margin-bottom: 20px;
}

#sample-data ul {
    list-style: square inside;
}

#sample-data li {
    margin-bottom: 10px;
}

/* 提示信息 */
.notice {
    text-align: center;
    font-size: 1.1em;
    margin: 30px 0;
    font-family: 'Roboto', sans-serif;
    color: #ffd700;
}

/* 页脚样式 */
footer {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.2);
    font-family: 'Roboto', sans-serif;
    color: #ffffff;
}

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

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

@media (max-width: 1024px) {
    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 10px 0;
    }
}

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

    .section-content {
        flex: 1 1 100%;
    }

    .section-image {
        flex: 1 1 100%;
    }
}

@media (max-width: 480px) {
    nav ul {
        flex-direction: column;
    }

    .section-image img {
        max-width: 100%;
    }

    .section-content h2 {
        font-size: 1.5em;
    }
}

@media (max-width: 320px) {
    nav ul li a {
        font-size: 1em;
    }

    .section-content h2 {
        font-size: 1.3em;
    }
}

