
/* 基础样式 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #1a237e, #0d47a1);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    color: #bbdefb;
}
p {
    color: #e3f2fd;
}
a {
    color: #4caf50;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #81c784;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.parallax-background {
    background-image: url('https://images.gptkong.com/demo/sample1.png');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}
.parallax-background h1 {
    font-size: 48px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}
.grid-item {
    background: linear-gradient(135deg, #2962ff, #2979ff);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}
.grid-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}
.grid-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}
.grid-item h3 {
    font-size: 24px;
    margin-bottom: 10px;
}
.grid-item p {
    font-size: 16px;
    margin-bottom: 15px;
}
.grid-item .icon {
    font-size: 48px;
    color: #4caf50;
    margin-bottom: 15px;
}
.article-container {
    margin-top: 40px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    color: #ffffff;
}
.article-container h2 {
    color: #bbdefb;
    font-size: 36px;
    margin-bottom: 20px;
}
.article-container pre {
    background: #1e1e1e;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}
.article-container code {
    color: #4caf50;
    font-size: 14px;
}
.article-container table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
.article-container th, .article-container td {
    border: 1px solid #455a64;
    padding: 10px;
    text-align: left;
}
.article-container th {
    background: #37474f;
    color: #ffffff;
}
@media (max-width: 768px) {
    .parallax-background h1 {
        font-size: 36px;
    }
    .grid-container {
        grid-template-columns: 1fr;
    }
    .article-container h2 {
        font-size: 28px;
    }
    .article-container pre {
        font-size: 12px;
    }
}

