
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    background: linear-gradient(to bottom, #0f0f1e, #1b1b2f);
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 2px;
}
a {
    text-decoration: none;
    color: #39d353;
    transition: all 0.3s ease;
}
a:hover {
    color: #ff7e5f;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
/* 背景与渐变效果 */
.header {
    position: relative;
    height: 100vh;
    background: linear-gradient(135deg, #0f0f1e, #1b1b2f, #0f0f1e);
    background-size: 300% 300%;
    animation: gradientShift 10s infinite alternate;
}
@keyframes gradientShift {
    from { background-position: 0% 50%; }
    to { background-position: 100% 50%; }
}
.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.gptkong.com/demo/sample1.png'), url('https://images.gptkong.com/demo/sample2.png');
    background-size: 300px, 200px;
    background-repeat: no-repeat;
    background-position: 20% 80%, 80% 20%;
    opacity: 0.1;
}
/* 动态标题效果 */
.title {
    font-size: 3rem;
    color: #39d353;
    text-shadow: 0 0 10px #39d353, 0 0 20px #39d353, 0 0 40px #39d353;
    animation: glowTitle 2s infinite alternate;
}
@keyframes glowTitle {
    from { text-shadow: 0 0 10px #39d353; }
    to { text-shadow: 0 0 30px #39d353; }
}
/* 网格布局与视差滚动 */
.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 40px 0;
}
.grid-item {
    background: rgba(99, 91, 255, 0.2);
    border-radius: 10px;
    padding: 20px;
    transform: skewY(-5deg);
    transition: all 0.3s ease;
}
.grid-item:nth-child(even) {
    background: rgba(255, 126, 95, 0.2);
    transform: skewY(5deg);
}
.grid-item:hover {
    transform: scale(1.1) skewY(0deg);
}
.parallax {
    height: 400px;
    background-image: url('https://images.gptkong.com/demo/sample3.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}
/* 按钮与交互效果 */
.button {
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    background: #635bff;
    color: #ffffff;
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all 0.5s ease;
}
.button:hover::before {
    width: 200px;
    height: 200px;
    opacity: 1;
}
/* 响应式设计 */
@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
    .title {
        font-size: 2rem;
    }
}
@media (max-width: 480px) {
    .header {
        height: 80vh;
    }
    .parallax {
        height: 200px;
    }
}

