.item-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.item-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.item-icon {
    width: 60px;
    height: 60px;
    /* background: var(--warning-gradient); */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}


.badge-count {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    animation: pulse 2s infinite;
}

.flying-item {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    font-size: 2rem;
    transform: scale(0);
}


.empty-state {
    opacity: 0.6;
    text-align: center;
    padding: 3rem 1rem;
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* 自定义滚动条 */
.items-scroll::-webkit-scrollbar {
    width: 6px;
}

.items-scroll::-webkit-scrollbar-track {
    background: var(--bs-gray-300);
    border-radius: 10px;
}

.items-scroll::-webkit-scrollbar-thumb {
    background: var(--bs-gray-600);
    border-radius: 10px;
}

.items-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--bs-indigo);
}

/* 动画类 */
.slide-in {
    animation: slideIn 0.5s ease-out forwards;
}

.slide-out {
    animation: slideOut 0.5s ease-out forwards;
}

.fade-in {
    animation: fadeIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-30px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* 响应式设计优化 */
@media (max-width: 991.98px) {
    .items-scroll {
        max-height: 40vh;
    }
    .card-container{
        margin-left: -12px;
        margin-right: -12px;
        border: 0;
        border-radius: 0;
        border-bottom: 1px solid var(--bs-gray-300);
        .card-header{
            border-radius: 0;
        }
    }
}

