
/* 基础样式 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    color: #ffffff;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    overflow-x: hidden;
}

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

a:hover {
    color: #ff6f61;
}

/* 头部样式 */
header {
    position: fixed;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

header h1 {
    font-size: 24px;
    color: #00bfff;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    font-size: 16px;
    font-weight: 500;
}

@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }
    header h1 {
        font-size: 20px;
    }
    nav ul {
        gap: 10px;
    }
    nav ul li a {
        font-size: 14px;
    }
}

/* 主页横幅 */
.banner {
    height: 100vh;
    background: url('https://images.gptkong.com/demo/sample1.png') center center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(0, 191, 255, 0.5), transparent);
    animation: aurora-move 15s linear infinite;
}

.banner-content {
    position: relative;
    text-align: center;
    z-index: 1;
}

.banner-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #00bfff, #8a2be2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.banner-content p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

@keyframes aurora-move {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 主体内容 */
section {
    padding: 100px 50px;
    min-height: 100vh;
    background: linear-gradient(135deg, #2c5364, #203a43, #0f2027);
}

section:nth-child(even) {
    background: linear-gradient(135deg, #203a43, #2c5364, #0f2027);
}

section h2 {
    font-size: 36px;
    color: #00bfff;
    margin-bottom: 20px;
}

section p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
}

section pre {
    background: #1a1a40;
    padding: 20px;
    border-radius: 5px;
    overflow-x: auto;
}

section code {
    color: #00ffea;
    font-family: 'Courier New', Courier, monospace;
}

/* 图像样式 */
.image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.image-gallery img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
}

/* 按钮样式 */
.button {
    background-color: #00bfff;
    color: #ffffff;
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.button:hover {
    background-color: #00a2e8;
    transform: scale(1.05);
}

/* 示例展示 */
.article-section {
    background: #1a1a40;
    padding: 50px;
    border-radius: 10px;
    margin-top: 50px;
}

.article-section h2 {
    font-size: 28px;
    color: #00bfff;
    margin-bottom: 20px;
}

.article-section article {
    font-size: 16px;
    line-height: 1.8;
}

.article-section pre {
    background: #0f2027;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 20px;
}

.article-section code {
    color: #00ffea;
}

/* 视觉冲击区域 */
.visual-impact {
    background: url('https://images.gptkong.com/demo/sample5.png') center center/cover no-repeat;
    height: 100vh;
    position: relative;
}

.visual-impact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.visual-impact-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.visual-impact-content h2 {
    font-size: 40px;
    color: #ffffff;
    margin-bottom: 20px;
}

.visual-impact-content .button {
    margin-top: 20px;
}

/* 提示信息 */
.footer {
    background: #0f2027;
    text-align: center;
    padding: 20px;
    font-size: 14px;
    color: #ffffff;
}

.footer p {
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 1440px) {
    header {
        padding: 20px 40px;
    }
    section {
        padding: 80px 40px;
    }
}

@media (max-width: 1200px) {
    header {
        padding: 15px 30px;
    }
    section {
        padding: 70px 30px;
    }
}

@media (max-width: 1024px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }
    nav ul {
        flex-direction: column;
        gap: 10px;
    }
    .banner-content h2 {
        font-size: 36px;
    }
    .banner-content p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .image-gallery {
        flex-direction: column;
        align-items: center;
    }
    .banner-content h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 10px 20px;
    }
    header h1 {
        font-size: 18px;
    }
    nav ul li a {
        font-size: 12px;
    }
    section h2 {
        font-size: 28px;
    }
    section p {
        font-size: 16px;
    }
    .banner-content h2 {
        font-size: 24px;
    }
    .banner-content p {
        font-size: 14px;
    }
    .button {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 320px) {
    section {
        padding: 50px 20px;
    }
    .banner-content h2 {
        font-size: 20px;
    }
    .banner-content p {
        font-size: 12px;
    }
    .article-section h2 {
        font-size: 24px;
    }
    .article-section article {
        font-size: 14px;
    }
}

