
/* 全局样式与背景设计 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(to bottom, #000046, #1cb5e0);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

.container {
    display: flex;
    flex-direction: row;
    height: 100vh;
    padding: 20px;
    box-sizing: border-box;
}

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

.left-pane {
    background: linear-gradient(135deg, #1a1a40, #3b3b98);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.right-pane {
    background: #ffffff;
    color: #333333;
    text-align: left;
    position: relative;
}

/* 标题与文字样式 */
h1, h2, h3 {
    font-weight: bold;
    line-height: 1.2;
    margin: 0 0 10px;
}

h2 {
    font-size: 24px;
    color: #8b00ff;
}

p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 15px;
}

pre {
    background-color: #f4f4f4;
    padding: 15px;
    border-radius: 8px;
    font-size: 14px;
    overflow-x: auto;
}

code {
    font-family: 'Courier New', Courier, monospace;
    color: #d63384;
}

/* 按钮与交互样式 */
.button {
    background-color: #8b00ff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: inline-block;
    margin-top: 20px;
}

.button:hover {
    transform: scale(1.1);
    background-color: #6c00cc;
}

.button[rel="nofollow"] {
    opacity: 0.8;
}

/* 图片与装饰元素 */
.image-decorator {
    width: 100%;
    max-width: 320px;
    height: auto;
    margin: 20px auto;
    display: block;
}

.image-decorator-small {
    width: 80px;
    height: 80px;
    margin: 10px;
    display: inline-block;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .left-pane, .right-pane {
        flex: none;
        height: auto;
    }

    pre {
        font-size: 12px;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.key-content {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards;
}

/* 提示信息 */
.info-tip {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    position: absolute;
    bottom: 20px;
    right: 20px;
}

