
/* 全局样式 */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', Arial, sans-serif;
    background: linear-gradient(135deg, #0a0a2a, #1c1b4e, #37368f);
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    color: #dfe6e9;
    text-shadow: 0px 2px 10px rgba(0, 0, 0, 0.3);
}

p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

ul, ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

th, td {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px;
    text-align: left;
    color: #dfe6e9;
}

th {
    background-color: rgba(0, 0, 0, 0.2);
}

pre {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
}

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

/* 视差滚动效果 */
.parallax {
    position: relative;
    height: 100vh;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
}

.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');
}

.content {
    background: linear-gradient(135deg, #1c1b4e, #37368f);
    padding: 40px 20px;
    color: white;
    text-align: center;
}

@media (max-width: 768px) {
    .parallax {
        background-attachment: scroll;
    }
}

/* 按钮样式与悬停效果 */
.button {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
    font-size: 1rem;
    margin-top: 1rem;
}

.button:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, #a29bfe, #6c5ce7);
    box-shadow: 0px 10px 20px rgba(108, 92, 231, 0.5);
}

/* 响应式布局 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
}

/* 图片装饰 */
.image-decor {
    width: 100%;
    max-width: 320px;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
}

/* 提示信息 */
.info {
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    margin: 20px 0;
    color: #dfe6e9;
    font-size: 0.9rem;
}

