
/* 全局样式设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(135deg, #00008B, #000000);
    color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3 {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
}
a {
    color: #32CD32;
    text-decoration: none;
}
a:hover {
    color: #228B22;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
/* 顶部导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(90deg, #000000, #1e1e1e);
    color: #FFFFFF;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    z-index: 1000;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
}
.navbar .logo {
    font-size: 24px;
    font-weight: bold;
    color: #32CD32;
}
.navbar .menu {
    display: flex;
    gap: 20px;
}
.navbar .menu a {
    color: #FFFFFF;
    transition: color 0.3s ease;
}
.navbar .menu a:hover {
    color: #32CD32;
}
/* 主体内容样式 */
.hero-section {
    height: 100vh;
    background: radial-gradient(circle, rgb(25, 25, 112), transparent),
                linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #FFFFFF;
}
.hero-section h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}
.hero-section p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 800px;
}
.cta-button {
    background: linear-gradient(135deg, #32CD32, #228B22);
    color: #FFFFFF;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 18px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
}
.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.5);
}
/* 模块化布局 */
.module {
    padding: 50px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #000000, #1e1e1e);
    margin-top: -50px;
    position: relative;
    z-index: 1;
}
.module:nth-child(even) {
    background: linear-gradient(135deg, #1e1e1e, #000000);
}
.module .content {
    flex: 1;
    max-width: 50%;
    padding: 20px;
}
.module .image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
.module img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.5);
}
/* 文章展示区域 */
.article-section {
    background: linear-gradient(135deg, #000000, #1e1e1e);
    padding: 50px 20px;
    margin-top: -50px;
    position: relative;
    z-index: 1;
}
.article-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #32CD32;
}
.article-section pre {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    overflow-x: auto;
    font-size: 14px;
    color: #FFFFFF;
}
.article-section table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
.article-section th, .article-section td {
    border: 1px solid #32CD32;
    padding: 10px;
    text-align: left;
}
.article-section th {
    background: rgba(255, 255, 255, 0.1);
}
/* 响应式设计 */
@media (max-width: 768px) {
    .module .content, .module .image {
        max-width: 100%;
    }
    .navbar .menu {
        flex-direction: column;
        gap: 10px;
    }
    .hero-section h1 {
        font-size: 36px;
    }
    .hero-section p {
        font-size: 16px;
    }
}
/* 动画效果 */
@keyframes aurora-move {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}
.body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(270deg, #32CD32, #228B22, #32CD32);
    background-size: 300% 300%;
    animation: aurora-move 15s linear infinite;
    opacity: 0.1;
    z-index: -1;
}

