
/* 全局样式 */
body {
    font-family: 'Lora', serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, #0074D9, #6C5CE7);
    color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    margin-top: 20px;
    margin-bottom: 10px;
}
p {
    font-size: 16px;
    margin-bottom: 15px;
}
a {
    color: #FFD700;
    text-decoration: none;
    transition: all 0.3s ease;
}
a:hover {
    color: #FFA500;
    text-shadow: 0 0 5px rgba(255, 165, 0, 0.8);
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.header {
    background: linear-gradient(to right, #6C5CE7, #0074D9);
    color: white;
    text-align: center;
    padding: 40px 20px;
    position: relative;
}
.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.gptkong.com/demo/sample1.png') no-repeat center center;
    background-size: cover;
    opacity: 0.2;
    z-index: -1;
}
.header h1 {
    font-size: 3rem;
    margin: 0;
}
.header p {
    font-size: 1.2rem;
    margin: 10px 0 0;
}
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}
.card {
    background: #FFFFFF;
    color: #2C3E50;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}
.code-block {
    background: #2C3E50;
    color: #FFFFFF;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.4;
}
.table-container {
    overflow-x: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
th, td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}
th {
    background-color: #FFD700;
    color: #2C3E50;
}
.footer {
    background: linear-gradient(to left, #6C5CE7, #0074D9);
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}
.footer p {
    margin: 0;
}
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }
    .header p {
        font-size: 1rem;
    }
    .grid {
        grid-template-columns: 1fr;
    }
}

