
/* 全局样式定义 */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    color: #FFFFFF;
    background: linear-gradient(135deg, #1E2027, #353840);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-weight: bold;
    color: #00BFA5;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

p {
    font-size: 1rem;
    margin-bottom: 20px;
}

a {
    color: #68FF99;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #AE8FFF;
}

/* 视差滚动效果 */
.parallax {
    position: relative;
    height: 100vh;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1;
}

.parallax:nth-child(odd) {
    background-image: url('https://images.gptkong.com/demo/sample1.png');
}

.parallax:nth-child(even) {
    background-image: url('https://images.gptkong.com/demo/sample2.png');
}

/* 模块化布局 */
.section {
    padding: 60px 20px;
    position: relative;
    z-index: 2;
}

.section:nth-child(odd) {
    background: linear-gradient(135deg, #1E2027, #353840);
}

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

/* 图片展示 */
.image-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 20px;
}

.image-container img {
    width: 30%;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.image-container img:hover {
    transform: scale(1.1);
}

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: #1E2027;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #444;
}

th {
    background-color: #00BFA5;
    color: #1E2027;
}

tr:hover {
    background-color: #353840;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .image-container img {
        width: 48%;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .image-container img {
        width: 100%;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    p {
        font-size: 0.8rem;
    }
}

/* 代码块样式 */
pre {
    background-color: #1E2027;
    padding: 15px;
    border-radius: 10px;
    overflow-x: auto;
    font-size: 0.9rem;
    color: #00BFA5;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

code {
    display: block;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* 动画效果 */
@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

.fade-in {
    animation: fadeIn 1.5s ease-in-out;
}

/* 提示文字 */
.notice {
    text-align: center;
    padding: 20px;
    background-color: #00BFA5;
    color: #1E2027;
    font-size: 1.2rem;
    margin-bottom: 40px;
    border-radius: 10px;
}

