
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(to bottom, #0A1F44, #6C5CE7);
    color: #FFFFFF;
    line-height: 1.6;
    padding: 20px;
    overflow-x: hidden;
}

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

p, li {
    font-size: 1rem;
    color: #FFFFFF;
    margin-bottom: 1rem;
}

a {
    color: #6C5CE7;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #BDC3C7;
}

button {
    background-color: #6C5CE7;
    color: #FFFFFF;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #BDC3C7;
}

/* 首屏设计 */
.header-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    text-align: center;
    background: url('https://images.gptkong.com/demo/sample1.png') no-repeat center center/cover;
    position: relative;
    overflow: hidden;
}

.header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 31, 68, 0.7);
}

.header-title {
    font-size: 3rem;
    z-index: 1;
}

.header-subtitle {
    font-size: 1.5rem;
    margin-top: 1rem;
    z-index: 1;
}

.particle {
    width: 5px;
    height: 5px;
    background: #BDC3C7;
    border-radius: 50%;
    position: absolute;
    animation: particle 5s infinite ease-in-out;
}

@keyframes particle {
    0% { transform: translate(0, 0); opacity: 1; }
    100% { transform: translate(200px, -200px); opacity: 0; }
}

/* 内容布局 */
.content-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(10, 31, 68, 0.9);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    margin-top: -50px;
    position: relative;
    z-index: 2;
}

.content-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.grid-item {
    background: #0A1F44;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.grid-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 10px;
}

/* 示例数据展示 */
.sample-data {
    margin-top: 40px;
    padding: 20px;
    background: rgba(189, 195, 199, 0.1);
    border-radius: 10px;
}

.sample-data ul {
    list-style: none;
    padding: 0;
}

.sample-data li {
    background: rgba(189, 195, 199, 0.2);
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 5px;
}

/* 自适应设计 */
@media (max-width: 768px) {
    .header-title {
        font-size: 2rem;
    }

    .header-subtitle {
        font-size: 1.2rem;
    }

    .content-section {
        padding: 15px;
    }

    pre code {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .header-title {
        font-size: 1.5rem;
    }

    .header-subtitle {
        font-size: 1rem;
    }

    .grid-container {
        grid-template-columns: 1fr;
    }
}

