
/* 全局样式设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #000046, #1cb5e0);
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
    transition: background 0.8s ease-in-out;
}
h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
}
a {
    color: #ff7f50;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}
a:hover {
    color: #ffa500;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
/* 导航栏设计 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 70, 0.8);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    z-index: 1000;
    transition: all 0.3s ease-in-out;
}
.navbar.scrolled {
    background: rgba(0, 0, 70, 0.95);
    padding: 5px 20px;
}
.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1cb5e0;
}
.nav-links {
    display: flex;
    gap: 20px;
}
.nav-links a {
    font-size: 1rem;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
}
.nav-links a:hover {
    background: #1cb5e0;
    color: #000;
}
/* 主体内容样式 */
.hero-section {
    height: 100vh;
    background: url('https://images.gptkong.com/demo/sample1.png') no-repeat center/cover,
                linear-gradient(135deg, #000046, #1cb5e0);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}
.hero-title {
    font-size: 3rem;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}
.section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #1cb5e0, #000046);
    margin-top: -100px;
    position: relative;
    z-index: 1;
}
.section:nth-child(even) {
    background: linear-gradient(135deg, #000046, #1cb5e0);
}
.section-title {
    font-size: 2rem;
    margin-bottom: 20px;
}
.section-content {
    font-size: 1rem;
    line-height: 1.8;
}
.code-block {
    background: #000;
    color: #00ff00;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}
.table-container {
    overflow-x: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
th, td {
    border: 1px solid #fff;
    padding: 10px;
    text-align: left;
}
th {
    background: #1cb5e0;
}
td {
    background: #000046;
}
/* 响应式设计 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .nav-links {
        flex-direction: column;
        gap: 10px;
    }
}
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }
    .section-title {
        font-size: 1.2rem;
    }
}
/* 动画效果 */
@keyframes auroraFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}
body {
    background-size: 300% 300%;
    animation: auroraFlow 10s infinite alternate;
}
button {
    background: #1cb5e0;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}
button:hover {
    transform: scale(1.1);
}

