
/* 全局样式 */
body {
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #0f2c49, #121212);
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
}

/* 全屏模块样式 */
.section {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    box-sizing: border-box;
    position: relative;
}

.section:nth-child(even) {
    background: linear-gradient(135deg, #1a1a1a, #0f2c49);
}

.section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
    color: #00e5ff;
}

.section p {
    font-size: 1.1em;
    line-height: 1.6;
    max-width: 800px;
    text-align: center;
}

/* 代码块样式 */
pre {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    width: 100%;
    max-width: 800px;
    margin: 20px 0;
}

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

/* 表格样式 */
table {
    width: 100%;
    max-width: 800px;
    border-collapse: collapse;
    margin: 20px 0;
}

th, td {
    border: 1px solid #00e5ff;
    padding: 10px;
    text-align: center;
}

th {
    background: #00e5ff;
    color: #000000;
    font-weight: bold;
}

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

/* 图片样式 */
.image-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
}

.image-gallery img {
    width: 320px;
    height: 320px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.3);
}

/* 示例数据展示 */
.data-section {
    background: linear-gradient(135deg, #0f2c49, #121212);
    padding: 40px 20px;
}

.data-section h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2em;
    color: #ff4081;
    margin-bottom: 20px;
}

.data-section ul {
    list-style: none;
    padding: 0;
    max-width: 800px;
}

.data-section li {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
}

.data-section li::before {
    content: "•";
    color: #00e5ff;
    font-size: 2em;
    margin-right: 10px;
}

.data-section li p {
    margin: 0;
    font-size: 1em;
    line-height: 1.5;
}

/* 提示信息 */
.footer {
    position: absolute;
    bottom: 20px;
    text-align: center;
    width: 100%;
    font-size: 1em;
    color: #ffffff;
    opacity: 0.7;
}

/* 动态交互动效 */
.module-content {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

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

@media (max-width: 1200px) {
    .section p, .data-section li p {
        font-size: 1em;
    }
}

@media (max-width: 1024px) {
    .image-gallery img {
        width: 280px;
        height: 280px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 40px 15px;
    }
    .section h2 {
        font-size: 2em;
    }
    .image-gallery img {
        width: 240px;
        height: 240px;
    }
}

@media (max-width: 480px) {
    .section h2 {
        font-size: 1.8em;
    }
    .image-gallery img {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 320px) {
    .section h2 {
        font-size: 1.5em;
    }
    .image-gallery img {
        width: 160px;
        height: 160px;
    }
}

