
/* 字体引入 */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@700&family=Open+Sans&display=swap');

/* 全局样式 */
body {
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #000f4c, #5f0f7a);
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    overflow-x: hidden;
}

/* 标题样式 */
h1, h2, h3 {
    font-family: 'Roboto', sans-serif;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

p {
    line-height: 1.6;
}

/* 选项卡容器 */
.tab-container {
    display: flex;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px 0;
}

/* 选项卡按钮 */
.tab-button {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    padding: 10px 20px;
    margin: 0 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.tab-button.active, .tab-button:hover {
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
    transform: scale(1.1);
}

/* 选项卡内容 */
.tab-content {
    display: none;
    padding: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin: 20px auto;
    max-width: 1200px;
    animation: fadeIn 0.5s ease-in-out;
}

.tab-content.active {
    display: block;
}

/* FadeIn 动画 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 代码块样式 */
pre {
    background: rgba(0, 0, 0, 0.8);
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}

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

/* 示例数据展示 */
.sample-data {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    margin: 40px auto;
    max-width: 1200px;
}

/* 提示信息 */
.reference-note {
    text-align: center;
    font-size: 1.2em;
    margin: 20px 0;
    color: #ff69b4;
}

/* 图片样式 */
.image-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

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

.image-container img:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .tab-container {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-button {
        margin: 10px 0;
        width: 80%;
    }
    
    .tab-content, .sample-data {
        padding: 20px;
    }
    
    .image-container img {
        width: 80px;
        height: 80px;
    }
}

@media (min-width: 1440px) {
    .image-container img {
        width: 150px;
        height: 150px;
    }
}

