/* Custom styles for Vibe Code Deluxe */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
}

.bg-clip-text {
    -webkit-background-clip: text;
    background-clip: text;
}

.transition-colors {
    transition-property: background-color, border-color, color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

/* Premium hover effects */
button:hover {
    transform: translateY(-2px);
    transition: all 0.2s ease;
}

button:active {
    transform: translateY(0);
}

/* Warehouse-inspired animations */
@keyframes bounce-cart {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes confetti {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: scale(1) rotate(360deg);
        opacity: 0;
    }
}

@keyframes pulse-slow {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.02);
    }
}

/* Abundance meter animations */
.abundance-meter {
    background: linear-gradient(90deg, #10B981 0%, #F59E0B 50%, #DC2626 100%);
}

/* Premium card shadows */
.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .text-4xl {
        font-size: 1.875rem;
        line-height: 2.25rem;
    }
    
    .text-5xl {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }
    
    .text-7xl {
        font-size: 3rem;
        line-height: 1;
    }
    
    .px-8 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .grid-cols-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Costco-inspired visual elements */
.warehouse-pattern {
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(0,0,0,.05) 10px,
        rgba(0,0,0,.05) 20px
    );
}

/* Loading states */
.loading-dots::after {
    content: '';
    animation: dots 1.5s infinite;
}

@keyframes dots {
    0%, 20% {
        color: rgba(0,0,0,0);
        text-shadow: .25em 0 0 rgba(0,0,0,0),
                     .5em 0 0 rgba(0,0,0,0);
    }
    40% {
        color: gray;
        text-shadow: .25em 0 0 rgba(0,0,0,0),
                     .5em 0 0 rgba(0,0,0,0);
    }
    60% {
        text-shadow: .25em 0 0 gray,
                     .5em 0 0 rgba(0,0,0,0);
    }
    80%, 100% {
        text-shadow: .25em 0 0 gray,
                     .5em 0 0 gray;
    }
}

/* Success animations */
.success-bounce {
    animation: bounce-cart 0.6s ease-in-out;
}

/* Premium gradients */
.gradient-premium {
    background: linear-gradient(135deg, #2E86AB 0%, #F59E0B 50%, #DC2626 100%);
}

/* Warehouse club styling */
.bulk-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Category lock indicators */
.category-locked {
    position: relative;
    opacity: 0.7;
}

.category-locked::before {
    content: '🔒';
    position: absolute;
    top: -8px;
    right: -8px;
    background: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    border: 2px solid #e5e7eb;
}