
/* 基础全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: radial-gradient(circle, rgb(25, 39, 105), rgb(80, 40, 150));
    color: white;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background: linear-gradient(to right, rgb(76, 0, 153), rgb(138, 43, 226));
    padding: 20px;
    text-align: center;
    position: relative;
    animation: header-glow 8s infinite alternate;
}

@keyframes header-glow {
    from { background-position: 0% 50%; }
    to { background-position: 100% 50%; }
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

header p {
    font-size: 1rem;
    opacity: 0.8;
}

.split-container {
    display: flex;
    flex: 1;
    height: calc(100vh - 150px);
    margin-top: 20px;
}

.left-panel, .right-panel {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.left-panel {
    background: linear-gradient(to bottom, rgb(30, 55, 153), rgb(40, 60, 180));
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.right-panel {
    background: linear-gradient(to bottom, rgb(106, 90, 205), rgb(120, 100, 220));
}

.panel-content {
    z-index: 2;
    text-align: center;
    max-width: 80%;
}

.panel-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.panel-content p {
    font-size: 1rem;
    opacity: 0.9;
}

.panel-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: url('https://images.gptkong.com/demo/sample1.png'), url('https://images.gptkong.com/demo/sample2.png');
    background-size: 200px, 200px;
    background-repeat: no-repeat;
    background-position: 20% 80%, 80% 20%;
    opacity: 0.2;
    animation: panel-bg-move 20s infinite alternate;
}

@keyframes panel-bg-move {
    from { transform: translate(0, 0); }
    to { transform: translate(10px, 10px); }
}

.article-section {
    padding: 20px;
    background: linear-gradient(to bottom, rgba(30, 55, 153, 0.8), rgba(106, 90, 205, 0.8));
    margin-top: 20px;
}

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

.article-section p, .article-section ul, .article-section ol, .article-section table {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.article-section pre {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-size: 0.9rem;
}

.article-section code {
    color: #4CAF50;
    font-weight: bold;
}

footer {
    background: linear-gradient(to right, rgb(30, 55, 153), rgb(106, 90, 205));
    padding: 15px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .split-container {
        flex-direction: column;
        height: auto;
    }

    .left-panel, .right-panel {
        height: auto;
        padding: 15px;
    }

    header h1 {
        font-size: 2rem;
    }

    .panel-content h2 {
        font-size: 1.5rem;
    }
}

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

    .article-section pre {
        font-size: 0.8rem;
    }
}

