
/* 全局样式 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
header {
    background: linear-gradient(45deg, #ff7e5f, #feb47b);
    padding: 20px;
    text-align: center;
    color: #fff;
}
header h1 {
    margin: 0;
    font-size: 2.5em;
    font-weight: bold;
}
nav {
    display: flex;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
}
nav a {
    color: #fff;
    padding: 15px 20px;
    text-decoration: none;
    font-size: 1em;
    transition: background 0.3s, color 0.3s;
}
nav a:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #000;
}
.main {
    flex: 1;
    display: flex;
    flex-direction: row;
    padding: 20px;
    background: radial-gradient(circle, rgba(255, 87, 34, 0.1), transparent);
    animation: aurora-move 15s linear infinite;
}
.left-panel, .right-panel {
    flex: 1;
    padding: 20px;
    box-sizing: border-box;
}
.left-panel {
    background: linear-gradient(180deg, #1e3c72, #2a5298);
    color: #fff;
    position: relative;
}
.left-panel::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;
}
.left-panel h2 {
    font-size: 2em;
    margin-bottom: 10px;
}
.left-panel p {
    font-size: 1em;
    line-height: 1.8;
}
.right-panel {
    background: linear-gradient(180deg, #f7971e, #ffd200);
    color: #333;
}
.right-panel h2 {
    font-size: 2em;
    margin-bottom: 10px;
}
.right-panel p {
    font-size: 1em;
    line-height: 1.8;
}
.article-section {
    background: #fff;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.article-section h2 {
    color: #007BFF;
    font-size: 1.8em;
    margin-bottom: 10px;
}
.article-section p {
    color: #666;
    margin-bottom: 15px;
}
.article-section pre {
    background: #f4f4f4;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}
.article-section code {
    font-family: 'Courier New', Courier, monospace;
    color: #d63384;
}
.table-responsive {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 20px;
}
.table-responsive table {
    width: 100%;
    border-collapse: collapse;
}
.table-responsive th, .table-responsive td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}
.footer {
    background: linear-gradient(45deg, #00c6ff, #0072ff);
    color: #fff;
    text-align: center;
    padding: 15px;
}
.footer p {
    margin: 0;
    font-size: 1em;
}
@keyframes aurora-move {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
/* 响应式设计 */
@media (max-width: 1440px) {
    .main {
        flex-direction: row;
    }
}
@media (max-width: 1200px) {
    .main {
        flex-direction: row;
    }
}
@media (max-width: 1024px) {
    .main {
        flex-direction: row;
    }
}
@media (max-width: 768px) {
    .main {
        flex-direction: column;
    }
    nav {
        flex-direction: column;
    }
}
@media (max-width: 480px) {
    header h1 {
        font-size: 2em;
    }
    nav a {
        padding: 10px;
        font-size: 0.9em;
    }
    .left-panel, .right-panel {
        padding: 10px;
    }
    .article-section h2 {
        font-size: 1.5em;
    }
}
@media (max-width: 320px) {
    header h1 {
        font-size: 1.5em;
    }
    nav a {
        padding: 8px;
        font-size: 0.8em;
    }
    .main {
        padding: 10px;
    }
    .article-section h2 {
        font-size: 1.2em;
    }
}
/* 图片样式 */
img.decorative {
    width: 100%;
    max-width: 320px;
    height: auto;
    margin: 10px 0;
}
/* 链接样式 */
a {
    color: #007BFF;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

