/**
 * Zibll 扩展插件 - 前台样式
 * Version: 1.0.0
 */

/* 标签云相关样式增强 */
.zibllx-tagcloud-wrapper {
    margin: 20px 0;
}

/* 标签卡片动画效果 */
.tags-links-box .links-card {
    transition: all 0.3s ease;
}

.tags-links-box .links-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 排序按钮样式优化 */
.tags-sort-buttons {
    margin-bottom: 20px;
}

.tags-sort-buttons .but {
    margin: 0 5px;
    padding: 8px 16px;
    transition: all 0.3s ease;
}

.tags-sort-buttons .but:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 标签首字母图标样式 */
.tags-links-box .avatar {
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
}

/* 响应式优化 */
@media (max-width: 767.98px) {
    .tags-sort-buttons .but {
        margin: 5px 3px;
        padding: 6px 12px;
        font-size: 13px;
    }
}

/* 分页样式增强 */
.pagenav {
    margin-top: 30px;
    text-align: center;
}

.pagenav a,
.pagenav span {
    display: inline-block;
    margin: 0 3px;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pagenav a:hover {
    transform: translateY(-2px);
}

/* 加载动画 */
@keyframes zibllx-fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tags-links-box .links-card {
    animation: zibllx-fadeIn 0.5s ease-out;
}

/* 为不同索引的卡片添加延迟动画 */
.tags-links-box .links-card:nth-child(1) { animation-delay: 0s; }
.tags-links-box .links-card:nth-child(2) { animation-delay: 0.05s; }
.tags-links-box .links-card:nth-child(3) { animation-delay: 0.1s; }
.tags-links-box .links-card:nth-child(4) { animation-delay: 0.15s; }
.tags-links-box .links-card:nth-child(5) { animation-delay: 0.2s; }
