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

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

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

a:hover {
    color: #FFA500;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

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

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 25, 47, 0.8), rgba(20, 40, 80, 0.8));
    z-index: 1;
}

.hero-title {
    position: relative;
    z-index: 2;
    font-size: 3rem;
    letter-spacing: 2px;
    animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* 内容区域样式 */
.content-section {
    background: linear-gradient(135deg, #0A192F, #1E3A5F);
    padding: 40px 0;
}

.content-section h2 {
    text-align: center;
    margin-bottom: 30px;
}

.article {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
}

.article pre {
    background: #1E3A5F;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-size: 0.9rem;
    color: #FFD700;
}

.article table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.article th, .article td {
    border: 1px solid #FFFFFF;
    padding: 10px;
    text-align: center;
}

.article th {
    background: #FF6F61;
    color: #FFFFFF;
}

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

    .article pre {
        font-size: 0.8rem;
    }

    .container {
        padding: 10px;
    }
}

/* 装饰性图片 */
.decorative-image {
    width: 100%;
    max-width: 320px;
    margin: 20px auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

/* 动画效果 */
.button-hover {
    animation: buttonHover 0.5s ease-in-out;
}

@keyframes buttonHover {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

