
/* 全局样式设置 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background: linear-gradient(to bottom, #1e3c72, #2a5298);
    color: #ffffff;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    margin-top: 0;
}

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

header {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4b6cb7);
    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/cover;
    opacity: 0.3;
    z-index: -1;
}

header h1 {
    font-size: 3rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

header p {
    font-size: 1.2rem;
    color: #d4d4d4;
}

.section {
    padding: 60px 20px;
    background: linear-gradient(to right, #2a5298, #4b6cb7);
    position: relative;
}

.section:nth-child(even) {
    background: linear-gradient(to left, #2a5298, #4b6cb7);
}

.section-title {
    font-size: 2rem;
    margin-bottom: 20px;
}

.article-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.article-container h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.article-container p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

pre {
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}

code {
    color: #64ffda;
    font-family: 'Courier New', Courier, monospace;
}

.button {
    background-color: #64ffda;
    color: #1e3c72;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #2ec4b6;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    pre {
        font-size: 0.9rem;
    }
}

