
    .tags-cloud {
        max-width: 1000px;
        margin: 0 auto;
        padding: 2rem;
        text-align: center;
    }

    .tags-cloud h1 {
        margin-bottom: 2rem;
        color: #495057;
        font-size: 2.5rem;
    }

    .cloud-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        padding: 2rem;
        background: white;
        border-radius: 10px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        min-height: 400px;
        align-items: center;
    }

    .tag-cloud-item {
        display: inline-block;
        padding: 0.5rem 1rem;
        margin: 0.3rem;
        text-decoration: none;
        border-radius: 20px;
        transition: all 0.3s ease;
        position: relative;
        color: white;
        font-weight: 500;
    }

    .tag-cloud-item:hover {
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    .tag-cloud-item::after {
        content: attr(data-count);
        position: absolute;
        top: -8px;
        right: -8px;
        background: #ff6b6b;
        color: white;
        border-radius: 50%;
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
    }

    /* 不同大小的标签 */
    .tag-cloud-item.xs {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
        background: #74c0fc;
    }

    .tag-cloud-item.sm {
        font-size: 1rem;
        padding: 0.5rem 1rem;
        background: #4dabf7;
    }

    .tag-cloud-item.md {
        font-size: 1.2rem;
        padding: 0.6rem 1.2rem;
        background: #339af0;
    }

    .tag-cloud-item.lg {
        font-size: 1.4rem;
        padding: 0.7rem 1.4rem;
        background: #1c7ed6;
    }

    .tag-cloud-item.xl {
        font-size: 1.6rem;
        padding: 0.8rem 1.6rem;
        background: #1971c2;
    }

    .no-tags {
        text-align: center;
        padding: 3rem;
        color: #6c757d;
        font-style: italic;
        font-size: 1.1rem;
    }

    /* 动画效果 */
    @keyframes float {

        0%,
        100% {
            transform: translateY(0);
        }

        50% {
            transform: translateY(-10px);
        }
    }

    .tag-cloud-item:hover {
        animation: float 2s ease-in-out infinite;
    }

    @media (max-width: 768px) {
        .tags-cloud {
            padding: 1rem;
        }

        .cloud-container {
            padding: 1rem;
            gap: 0.5rem;
        }

        .tag-cloud-item.xs {
            font-size: 0.8rem;
        }

        .tag-cloud-item.sm {
            font-size: 0.9rem;
        }

        .tag-cloud-item.md {
            font-size: 1rem;
        }

        .tag-cloud-item.lg {
            font-size: 1.1rem;
        }

        .tag-cloud-item.xl {
            font-size: 1.2rem;
        }
    }
