
/* 全局样式与配色 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    color: #FFFFFF;
    background: linear-gradient(135deg, #0A2463, #7C3E66);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3 {
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

p {
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

a {
    color: #FFD700;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

code, pre {
    font-family: 'Fira Code', monospace;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    padding: 8px;
    display: block;
    overflow-x: auto;
}

pre {
    margin: 15px 0;
}

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

/* 导航栏 */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(10, 36, 99, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* 主内容区域 */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: url('https://images.gptkong.com/demo/sample1.png') no-repeat center center/cover;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 36, 99, 0.6);
    backdrop-filter: blur(5px);
    z-index: 1;
}

.hero h1 {
    position: relative;
    z-index: 2;
    font-size: 3rem;
}

.hero p {
    position: relative;
    z-index: 2;
    font-size: 1.2rem;
    max-width: 600px;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('https://images.gptkong.com/demo/sample2.png') no-repeat center bottom;
    animation: waveMove 5s infinite ease-in-out;
}

@keyframes waveMove {
    0% { transform: translateX(0); }
    50% { transform: translateX(-50px); }
    100% { transform: translateX(0); }
}

/* 图文模块 */
.content-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.content-card {
    background: rgba(124, 62, 102, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.content-card:hover {
    transform: translateY(-10px);
}

.content-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.content-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 215, 0, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.content-card:hover::after {
    opacity: 1;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .content-section {
        grid-template-columns: 1fr;
    }
}

