.tags {
    padding: 6rem 0;
    background: var(--background-color);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.tags-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.tags-header {
    text-align: center;
    margin-bottom: 4rem;
}

.tags-header h2 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 700;
}

.tags-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.tag {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem 2rem;
    border-radius: 100px;
    font-size: 1.1rem;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
}

.tag:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@keyframes tagAppear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 为每个标签设置不同的动画延迟 */
.tag:nth-child(1) { animation-delay: 0.1s; }
.tag:nth-child(2) { animation-delay: 0.2s; }
.tag:nth-child(3) { animation-delay: 0.3s; }
.tag:nth-child(4) { animation-delay: 0.4s; }
.tag:nth-child(5) { animation-delay: 0.5s; }
.tag:nth-child(6) { animation-delay: 0.6s; }
.tag:nth-child(7) { animation-delay: 0.7s; }
.tag:nth-child(8) { animation-delay: 0.8s; }
.tag:nth-child(9) { animation-delay: 0.9s; }
.tag:nth-child(10) { animation-delay: 1s; }
.tag:nth-child(11) { animation-delay: 1.1s; }

@media (max-width: 768px) {
    .tags-header h2 {
        font-size: 2.4rem;
    }
    
    .tag {
        font-size: 1rem;
        padding: 0.8rem 1.6rem;
    }
}
