
/* 网页通用样式 */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #03071e, #370617);
    color: #f0f0f0;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

/* 容器样式 */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

/* 标题样式 */
h1, h2, h3 {
    font-family: 'Roboto', sans-serif;
    color: #fff;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
    letter-spacing: 1.5px;
    font-weight: bold;
    text-align: center;
}

h1 {
    font-size: 2.5em;
    margin-top: 0;
    background: linear-gradient(45deg, #4361ee, #e384ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(67, 97, 238, 0.7);
}

h2 {
    font-size: 2em;
    color: #b8b8ff;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 10px;
    margin-top: 30px;
}

h3 {
    font-size: 1.6em;
    color: #d0bfff;
    margin-top: 25px;
}

/* 段落文本样式 */
p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #d4d4d4;
    margin-bottom: 15px;
    text-align: justify;
}

/* 链接样式 */
a {
    color: #a7c957;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #f2e8cf;
}

/* 列表样式 */
ul, ol {
    margin-bottom: 20px;
    color: #d4d4d4;
}

li {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 8px;
}

/* 代码块样式 */
pre {
    background-color: rgba(0, 0, 0, 0.8);
    color: #f8f8f2;
    padding: 15px;
    border-radius: 10px;
    overflow-x: auto;
    font-size: 0.9em;
    tab-size: 4;
    white-space: pre-wrap;
    word-wrap: break-word;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

code {
    font-family: 'Courier New', monospace;
    color: #ffb86c;
}

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

th {
    background-color: rgba(255, 255, 255, 0.1);
    color: #eee;
    font-weight: bold;
}

td {
    color: #d4d4d4;
}

/* 图片样式 */
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 10px 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.image-grid img {
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.image-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

/* 按钮样式 */
button, .button {
    display: inline-block;
    padding: 12px 25px;
    font-size: 1em;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    outline: none;
    color: #fff;
    background-color: #6a4c93;
    border: none;
    border-radius: 5px;
    box-shadow: 0 4px #9d4edd;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 10px;
}

button:hover, .button:hover {
    background-color: #9d4edd;
}

button:active, .button:active {
    background-color: #52b788;
    transform: translateY(2px);
    box-shadow: 0 2px #386641;
}

/* 分割线 */
hr {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0.5), rgba(255,255,255,0));
    margin: 30px 0;
}

/* 页脚样式 */
footer {
    text-align: center;
    padding: 20px 0;
    color: #777;
    font-size: 0.9em;
    margin-top: 40px;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .container {
        width: 95%;
        padding: 20px;
        margin: 15px auto;
    }
    h1 {
        font-size: 2em;
    }
    h2 {
        font-size: 1.7em;
    }
    h3 {
        font-size: 1.4em;
    }
    p, li {
        font-size: 1em;
        line-height: 1.6;
    }
    .image-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 10px;
    }
    th, td {
        padding: 10px;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 15px;
        margin: 10px auto;
    }
    h1 {
        font-size: 1.6em;
        padding: 8px 15px;
    }
    h2 {
        font-size: 1.4em;
    }
    h3 {
        font-size: 1.2em;
    }
    p, li {
        font-size: 0.95em;
    }
    pre {
        font-size: 0.85em;
        padding: 10px;
    }
    th, td {
        padding: 8px;
        font-size: 0.9em;
    }
}

/* 额外视觉元素 */
.neon-border {
    border: 2px solid #fff;
    border-radius: 15px;
    padding: 20px;
    position: relative;
}

.neon-border::before,
.neon-border::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff00e0, #00ffff, #ff00e0, #00ffff, #ff00e0);
    z-index: -1;
    border-radius: 15px;
    background-size: 300% 300%;
    animation: neon-glow 5s linear infinite;
}

.neon-border::after {
    filter: blur(15px);
}

@keyframes neon-glow {
    0% { background-position: 0 0; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0 0; }
}

.highlight {
    background: linear-gradient(to right, #a7c95750, transparent);
    padding: 0 5px;
    border-radius: 3px;
}

.section-divider {
    height: 50px;
    background: url('https://images.gptkong.com/demo/sample12.png') center/cover no-repeat;
    margin: 30px 0;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

.parallax-bg {
    background-image: url('https://images.gptkong.com/demo/sample11.png');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    text-shadow: 2px 2px 4px #000000;
}

.parallax-content {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
}

/* jQuery animations - optional, consider adding if needed */

