* {
    font-family: 'Nunito', system-ui, -apple-system, sans-serif;
}

.gradient-text {
    background: linear-gradient(135deg, #F5A623 0%, #FF6B35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* Shopping bag bounce animation */
.shopping-bag-icon {
    animation: bounce-gentle 2s ease-in-out infinite;
}

@keyframes bounce-gentle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Add button pulse */
.add-button {
    animation: pulse-shadow 2s ease-in-out infinite;
}

@keyframes pulse-shadow {
    0%, 100% { box-shadow: 0 10px 25px -5px rgba(255, 107, 53, 0.3); }
    50% { box-shadow: 0 10px 40px -5px rgba(255, 107, 53, 0.5); }
}

/* Category pill hover */
.category-pill {
    transform: scale(1);
}

.category-pill:hover {
    transform: scale(1.05);
}

/* Listing card animations */
.listing-card {
    transform: translateY(0);
}

.listing-card:hover {
    transform: translateY(-5px);
}

/* Sold stamp */
.sold-stamp {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 12px 24px;
    font-size: 1.5rem;
    font-weight: 900;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.5);
    animation: stamp-appear 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 10;
}

@keyframes stamp-appear {
    0% {
        transform: translate(-50%, -50%) rotate(-15deg) scale(2);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) rotate(-15deg) scale(1);
        opacity: 1;
    }
}

/* Confetti */
.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
    overflow: hidden;
}

.confetti-piece {
    position: absolute;
    top: -20px;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    animation: confetti-fall 2s ease-out forwards;
}

@keyframes confetti-fall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Toast notification */
.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: linear-gradient(135deg, #1f2937, #374151);
    color: white;
    padding: 16px 24px;
    border-radius: 16px;
    font-weight: 600;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.toast-visible {
    transform: translateX(-50%) translateY(0);
}

/* Modal animation */
.modal-content {
    animation: modal-pop 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes modal-pop {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Slow bounce for empty state */
.animate-bounce-slow {
    animation: bounce-slow 3s ease-in-out infinite;
}

@keyframes bounce-slow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Line clamp utilities */
.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Mobile optimizations */
@media (max-width: 640px) {
    .sold-stamp {
        font-size: 1rem;
        padding: 8px 16px;
    }
}