
/* 全局样式 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Merriweather Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #8bc34a, #64b5f6);
    background-size: cover;
    background-attachment: fixed;
    animation: aurora-move 15s linear infinite;
}

/* 动画关键帧 */
@keyframes aurora-move {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 头部 */
.header {
    text-align: center;
    padding: 50px 20px;
    color: #fff;
    position: relative;
}

.header h1 {
    font-family: 'Roboto Mono', monospace;
    font-size: 3em;
    margin-bottom: 10px;
}

.header p {
    font-size: 1.2em;
}

/* 导航菜单 */
.navbar {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.navbar a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    position: relative;
    padding: 10px 20px;
    border-radius: 25px;
    transition: background 0.3s, transform 0.3s;
}

.navbar a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.navbar a::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all 0.3s;
}

.navbar a:hover::after {
    width: 200%;
    height: 200%;
    opacity: 1;
}

/* 主内容 */
.main-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}

.left-section, .right-section {
    flex: 1 1 300px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.left-section {
    background: url('https://images.gptkong.com/demo/sample1.png') no-repeat center/cover;
    min-height: 400px;
}

.right-section {
    background: #f9f9f9;
}

.right-section h2, .right-section h3 {
    font-family: 'Roboto Mono', monospace;
    color: #4a4a4a;
}

.right-section p {
    font-family: 'Merriweather Sans', sans-serif;
    color: #555;
}

.code-block {
    background: #2d2d2d;
    color: #f8f8f2;
    padding: 15px;
    border-radius: 10px;
    overflow-x: auto;
    font-family: 'Roboto Mono', monospace;
    margin: 20px 0;
}

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

/* 示例展示 */
.example-display {
    margin-top: 60px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 6px 8px rgba(0,0,0,0.15);
}

.example-display h2 {
    text-align: center;
    font-family: 'Roboto Mono', monospace;
    margin-bottom: 20px;
}

.example-display article {
    max-height: 600px;
    overflow-y: auto;
}

.example-display pre {
    background: #1e1e1e;
    color: #dcdcdc;
    padding: 10px;
    border-radius: 8px;
    overflow-x: auto;
}

.example-display img {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 10px;
    margin: 10px 0;
}

/* 提示信息 */
.reference-note {
    text-align: center;
    font-style: italic;
    color: #fff;
    margin-top: 40px;
    font-size: 1.1em;
}

/* 响应式设计 */
@media (max-width: 1440px) {
    .container {
        max-width: 1024px;
    }
}

@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 1024px) {
    .main-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 2.5em;
    }
    .navbar {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 2em;
    }
    .navbar a {
        padding: 8px 16px;
        font-size: 0.9em;
    }
}

@media (max-width: 320px) {
    .header h1 {
        font-size: 1.8em;
    }
    .navbar a {
        padding: 6px 12px;
        font-size: 0.8em;
    }
}

/* 图片装饰 */
.decorative-images {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 30px;
}

.decorative-images img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    opacity: 0.8;
    transition: transform 0.3s, opacity 0.3s;
}

.decorative-images img:hover {
    transform: scale(1.1);
    opacity: 1;
}

/* 链接样式 */
a {
    color: #64b5f6;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* 按钮样式 */
.button {
    display: inline-block;
    padding: 10px 20px;
    background: #8bc34a;
    color: #fff;
    border-radius: 25px;
    transition: background 0.3s, transform 0.3s;
}

.button:hover {
    background: #7cb342;
    transform: scale(1.05);
}

/* 瀑布流效果 */
.flow-container {
    column-count: 3;
    column-gap: 15px;
}

.flow-container img {
    width: 100%;
    margin-bottom: 15px;
    border-radius: 10px;
}

@media (max-width: 1024px) {
    .flow-container {
        column-count: 2;
    }
}

@media (max-width: 768px) {
    .flow-container {
        column-count: 1;
    }
}

