
/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #4c6ef5, #8e44ad);
    color: white;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-weight: bold;
    margin-bottom: 20px;
}

p {
    font-size: 16px;
    margin-bottom: 15px;
}

ul {
    list-style: none;
    padding-left: 0;
}

li {
    margin-bottom: 10px;
}

a {
    color: #ff7961;
    text-decoration: none;
}

a:hover {
    color: #f9d423;
}

/* 首屏设计 */
.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 fixed;
    background-size: cover;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-title {
    font-size: 48px;
    margin-bottom: 20px;
    animation: fadeIn 2s ease-in-out;
}

.hero-btn {
    background: linear-gradient(135deg, #ff7961, #f9d423);
    color: black;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    transform: scale(1.1);
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* 内容模块 */
.module {
    padding: 50px 20px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    margin: 20px auto;
    max-width: 1000px;
}

.module h2 {
    font-size: 28px;
}

.module p {
    font-size: 16px;
}

.module ul {
    margin-top: 15px;
}

.module pre {
    background: #1e1e1e;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    white-space: pre-wrap;
}

/* 图片展示 */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    padding: 20px;
}

.image-grid img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.image-grid img:hover {
    transform: scale(1.1);
}

/* 动画效果 */
.body-animation {
    animation: auroraExpand 2s ease-in-out;
}

@keyframes auroraExpand {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 400px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }

    .module {
        padding: 30px 10px;
    }

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .module h2 {
        font-size: 24px;
    }
}

