/* 标签云样式 */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    padding: 30px 20px
}

.tag-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    background: var(--footerColor);
    color: var(--fontColor)
}

.tag-item::before {
    content: "\e61c";
    font-family: iconfont !important;
    font-size: 14px;
    opacity: 0.7
}

.tag-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--boxShowColor)
}

.tag-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    border-radius: 12px;
    font-size: 12px;
    background: var(--bgColor);
    color: var(--entryConColor);
    opacity: 0.8
}

/* 热门标签样式（文章数 >= 10） */
.tag-item.popular {
    background: linear-gradient(135deg, rgba(241, 64, 75, 0.1), rgba(241, 64, 75, 0.05));
    color: var(--themeColor);
    font-weight: 500
}

.tag-item.popular .tag-count {
    background: var(--themeColor);
    color: var(--ButtonFontColor);
    opacity: 1
}

/* 超热门标签样式（文章数 >= 20） */
.tag-item.hot {
    background: linear-gradient(135deg, rgba(241, 64, 75, 0.2), rgba(241, 64, 75, 0.1));
    color: var(--themeColor);
    font-weight: 600;
    font-size: 15px
}

.tag-item.hot .tag-count {
    background: var(--themeColor);
    color: var(--ButtonFontColor);
    opacity: 1
}

/* 暗黑模式适配 */
.dark .tag-item {
    background: var(--footerColor);
    border: 1px solid var(--borderColor)
}

.dark .tag-item:hover {
    border-color: var(--themeColor)
}

.dark .tag-item.popular {
    background: linear-gradient(135deg, rgba(241, 99, 107, 0.15), rgba(241, 99, 107, 0.05))
}

.dark .tag-item.hot {
    background: linear-gradient(135deg, rgba(241, 99, 107, 0.25), rgba(241, 99, 107, 0.1))
}

/* 响应式 */
@media (max-width: 768px) {
    .tags-cloud {
        gap: 8px;
        padding: 20px 10px
    }

    .tag-item {
        padding: 6px 12px;
        font-size: 13px
    }

    .tag-item.hot {
        font-size: 14px
    }
}
