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

body {
    font-family: 'Roboto Mono', monospace;
    background: linear-gradient(135deg, #000046, #1CB5E0, #000);
    color: #fff;
    line-height: 1.8;
    overflow-x: hidden;
}

/* 头部标题样式 */
header {
    text-align: center;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}

header h1 {
    font-size: 3rem;
    font-weight: bold;
    background: linear-gradient(90deg, #FF7F50, #39FF14);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
}

header p {
    font-size: 1.2rem;
    margin-top: 10px;
    color: #ddd;
}

/* 视差滚动效果 */
.parallax {
    height: 100vh;
    background-image: url('https://images.gptkong.com/demo/sample1.png'), 
                      url('https://images.gptkong.com/demo/sample2.png');
    background-position: center, right bottom;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}

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

/* 内容模块样式 */
.module {
    padding: 60px 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.module h2 {
    font-size: 2.5rem;
    color: #FFD700;
    margin-bottom: 20px;
}

.module p {
    font-size: 1rem;
    color: #eee;
    max-width: 800px;
    margin: 0 auto;
}

.module img {
    max-width: 100%;
    height: auto;
    margin-top: 20px;
    border-radius: 10px;
}

/* 动画效果 */
@keyframes star-twinkle {
    0% { opacity: 0.2; }
    50% { opacity: 1; }
    100% { opacity: 0.2; }
}

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

/* 按钮样式 */
button {
    background: linear-gradient(135deg, #FF7F50, #39FF14);
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

/* 响应式布局 */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    .module h2 {
        font-size: 2rem;
    }

    .module p {
        font-size: 0.9rem;
    }
}

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

    .module h2 {
        font-size: 1.5rem;
    }

    .module p {
        font-size: 0.8rem;
    }
}

