
/* 全局样式 */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #1e3c72 100%);
    overflow-x: hidden;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
h1, h2, h3 {
    font-weight: bold;
    color: #007BFF;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}
p {
    margin-bottom: 15px;
    font-size: 1rem;
}
a {
    color: #ff6f61;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #ff4d3b;
}
pre {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    font-size: 0.9rem;
    margin: 20px 0;
}
code {
    color: #ffcc00;
    font-family: 'Courier New', Courier, monospace;
}
button {
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    transition: all 0.3s ease;
    border-radius: 5px;
    cursor: pointer;
}
button:hover {
    background-color: #45a049;
    transform: scale(1.1);
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    overflow: hidden;
}
th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
th {
    background-color: rgba(0, 0, 0, 0.2);
    color: #fff;
}
td {
    color: #fff;
}
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.navbar a {
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    transition: color 0.3s ease;
}
.navbar a:hover {
    color: #ff6f61;
}
.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;
    position: relative;
}
.parallax-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 1;
}
@media (max-width: 768px) {
    .parallax-background {
        background-attachment: scroll;
    }
    .container {
        padding: 10px;
    }
    pre {
        font-size: 0.8rem;
    }
    table {
        font-size: 0.9rem;
    }
}

