
/* 基础样式 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background: #f5f5f5;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .container {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* 分屏设计 */
.left-panel, .right-panel {
    width: 100%;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease-in-out;
}

@media (min-width: 768px) {
    .left-panel, .right-panel {
        width: 48%;
    }
}

.left-panel {
    background: linear-gradient(135deg, #ff69b4, #ffffff);
}

.right-panel {
    background: linear-gradient(135deg, #1e90ff, #ffffff);
}

.panel-header {
    text-align: center;
    padding: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    position: relative;
}

.panel-header::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: #fff;
    margin: 10px auto 0;
}

.panel-content {
    padding: 20px;
    color: #333;
}

/* 示例内容展示 */
.article-section {
    margin-top: 40px;
    width: 100%;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    box-sizing: border-box;
}

.article-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}

.article-section p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.article-section pre {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 5px;
    font-size: 14px;
    overflow-x: auto;
}

/* 图片展示 */
.image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
    justify-content: center;
}

.image-gallery img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s ease-in-out;
}

.image-gallery img:hover {
    transform: scale(1.05);
}

/* 提示信息 */
.info-tip {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #ff69b4;
    color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

/* 响应式适配 */
@media (max-width: 767px) {
    .left-panel, .right-panel {
        margin-bottom: 20px;
    }

    .panel-header {
        font-size: 20px;
    }

    .article-section h2 {
        font-size: 24px;
    }

    .image-gallery img {
        width: 80px;
        height: 80px;
    }
}

@media (min-width: 1200px) {
    .container {
        padding: 40px;
    }

    .panel-header {
        font-size: 28px;
    }

    .article-section h2 {
        font-size: 32px;
    }

    .image-gallery img {
        width: 120px;
        height: 120px;
    }
}

