
/* 全局样式 */
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #1E2450, #2B2B2B);
    color: #FFFFFF;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    color: #8F00FF;
    margin-top: 20px;
    margin-bottom: 10px;
}

p, table, pre {
    font-size: 16px;
    margin-bottom: 20px;
}

a {
    color: #39FF14;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

a:hover {
    color: #8F00FF;
}

/* 首屏设计 */
.hero-section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: url('https://images.gptkong.com/demo/sample1.png') no-repeat center/cover, linear-gradient(135deg, #1E2450, #2B2B2B);
    position: relative;
    overflow: hidden;
}

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

.hero-title {
    font-size: 48px;
    z-index: 1;
    position: relative;
}

.hero-subtitle {
    font-size: 24px;
    z-index: 1;
    position: relative;
    margin-top: 10px;
}

/* 网格布局 */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.grid-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out;
}

.grid-item:hover {
    transform: translateY(-5px);
}

/* 懒加载图片 */
.lazy-image {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    max-width: 100%;
    height: auto;
}

.lazy-image.loaded {
    opacity: 1;
}

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

th, td {
    border: 1px solid #8F00FF;
    padding: 10px;
    text-align: left;
}

th {
    background-color: #39FF14;
    color: #1E2450;
}

/* 动画与交互 */
.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #39FF14;
    color: #1E2450;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

.button:hover {
    box-shadow: 0 0 10px #8F00FF;
}

.button:active {
    transform: scale(0.95);
}

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

    .hero-subtitle {
        font-size: 18px;
    }

    h1, h2, h3 {
        font-size: 24px;
    }

    p, table, pre {
        font-size: 14px;
    }
}

/* 提示信息 */
.info-tip {
    text-align: center;
    font-size: 12px;
    color: #FFFFFF;
    margin-top: 20px;
}

