
/* 基础样式设置 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0A1F44, #4FC3F7);
    color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    display: flex;
    flex-wrap: wrap;
    height: auto;
    min-height: 100vh;
}

.left-panel, .right-panel {
    flex: 1;
    padding: 20px;
    box-sizing: border-box;
}

.left-panel {
    background: #0A1F44;
    color: #FFFFFF;
    text-align: center;
}

.right-panel {
    background: #FFFFFF;
    color: #0A1F44;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    .left-panel, .right-panel {
        flex: none;
        width: 100%;
    }
}

/* 标题与文本样式 */
h1, h2, h3, h4 {
    font-weight: bold;
    color: #9C27B0;
}

p {
    font-family: 'Source Han Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.highlight {
    color: #9C27B0;
    font-weight: bold;
}

/* 代码块样式 */
pre {
    background: #0A1F44;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
}

code {
    color: #4FC3F7;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

/* 图片样式 */
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 10px 0;
}

/* 按钮样式 */
button {
    background: #9C27B0;
    color: #FFFFFF;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover {
    background: #4FC3F7;
}

/* 动画效果 */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 响应式设计 */
@media (max-width: 480px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.6rem; }
    p { font-size: 0.9rem; }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
        margin: 0 auto;
    }
}

