
/* 全局样式与背景渐变 */
body {
    background: linear-gradient(to bottom, #000046, #1cb5e0);
    color: #fff;
    font-family: 'Merriweather', serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* 标题与字体设置 */
h1, h2, h3 {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    color: #ffdd57;
    text-shadow: 0 0 10px #ffdd57, 0 0 20px #ffdd57;
}

h1 {
    font-size: 3rem;
    text-align: center;
    margin-top: 20px;
}

h2 {
    font-size: 2.2rem;
    margin-top: 40px;
}

h3 {
    font-size: 1.8rem;
    margin-top: 30px;
}

/* 段落与文本样式 */
p {
    font-size: 1rem;
    margin: 15px 0;
    text-indent: 2em;
}

a {
    color: #39ff14;
    text-decoration: none;
}

a:hover {
    text-shadow: 0 0 10px #39ff14, 0 0 20px #39ff14;
}

/* 模块化布局与容器 */
.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 20px;
}

.module {
    width: calc(33.33% - 20px);
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
    transition: transform 0.3s ease-in-out;
}

.module:hover {
    transform: scale(1.05);
}

@media (max-width: 1024px) {
    .module {
        width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .module {
        width: 100%;
    }
}

/* 图片样式与装饰 */
.module img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 10px;
}

/* 动画效果 */
@keyframes dataFlow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.data-line {
    position: absolute;
    width: 200%;
    height: 2px;
    background: #39ff14;
    animation: dataFlow 5s linear infinite;
}

.glass-effect {
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5)) 
            brightness(1.2) contrast(1.1);
}

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

code {
    color: #39ff14;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
}

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

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    p {
        font-size: 0.9rem;
    }
}

/* 提示信息样式 */
.tip {
    text-align: center;
    font-size: 1.2rem;
    color: #ffdd57;
    margin-top: 30px;
}

