
/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #004d40, #1e88e5, #673ab7);
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3 {
    font-family: 'Arial Black', sans-serif;
    color: #f57c00;
}
p {
    font-size: 16px;
    color: #eee;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
/* 首屏动画效果 */
.hero {
    position: relative;
    height: 100vh;
    background: linear-gradient(135deg, #004d40, #1e88e5, #673ab7);
    overflow: hidden;
}
.door {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 500px;
    background: linear-gradient(135deg, rgba(255, 127, 80, 0.8), rgba(255, 99, 71, 0.6));
    border: 5px solid #ffeb3b;
    border-radius: 10px;
    box-shadow: 0 0 20px #ffeb3b, 0 0 40px rgba(255, 235, 59, 0.5);
    animation: glow 3s infinite alternate;
}
@keyframes glow {
    from { box-shadow: 0 0 20px #ffeb3b, 0 0 40px rgba(255, 235, 59, 0.5); }
    to { box-shadow: 0 0 30px #ffeb3b, 0 0 60px rgba(255, 235, 59, 0.8); }
}
.particles {
    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-repeat: no-repeat;
    background-position: center;
    animation: float 10s infinite ease-in-out;
}
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}
/* 文章排版样式 */
.article {
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 10px;
    margin-top: -100px;
    position: relative;
    z-index: 2;
}
.article h2 {
    font-size: 28px;
    margin-bottom: 20px;
}
.article pre {
    background: #1e1e1e;
    color: #00ff00;
    padding: 10px;
    border-radius: 5px;
    overflow-x: auto;
}
.article table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
.article th, .article td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: left;
}
/* 图片装饰样式 */
.images {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.images img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 2px solid #ffeb3b;
    border-radius: 10px;
    transition: transform 0.3s ease;
}
.images img:hover {
    transform: scale(1.1);
}
/* 响应式设计 */
@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
    }
    .door {
        width: 200px;
        height: 300px;
    }
    .article pre {
        font-size: 14px;
    }
}

