@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --font-outfit: 'Outfit', sans-serif;
    --font-inter: 'Inter', sans-serif;
}

body {
    font-family: var(--font-inter) !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, .font-outfit {
    font-family: var(--font-outfit) !important;
}

/* Glassmorphism Utilities */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

/* Scrollbars */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: #f8fafc;
    border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Premium Buttons */
.btn-gold {
    background: linear-gradient(135deg, #e3b558 0%, #c4963b 100%);
    color: white;
    transition: all 0.3s ease;
}
.btn-gold:hover {
    background: linear-gradient(135deg, #d4a74c 0%, #b3852b 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(227, 181, 88, 0.6);
}

/* Animations */
@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up {
    animation: fade-in-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}
.animate-float {
    animation: float 4s ease-in-out infinite;
}

/* Pinata / Celebration Effect */
@keyframes shine-pinata {
    to { background-position: 200% center; }
}
@keyframes confetti-fall {
    0% { transform: translateY(-10px) rotate(0deg); opacity: 1; }
    100% { transform: translateY(20px) rotate(360deg); opacity: 0; }
}
.pinata-text {
    background: linear-gradient(to right, #ef5350, #f48fb1, #7e57c2, #2196f3, #26c6da, #43a047, #eeff41, #f9a825, #ff5722);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shine-pinata 2s linear infinite;
    font-weight: 800;
    position: relative;
    display: inline-block;
}
.pinata-confetti {
    position: absolute;
    width: 4px;
    height: 4px;
    background-color: #ffd700;
    animation: confetti-fall 1.5s ease-out infinite;
}
.pinata-confetti:nth-child(2n) { background-color: #ff00ff; animation-delay: 0.2s; left: 20%; }
.pinata-confetti:nth-child(3n) { background-color: #00ffff; animation-delay: 0.4s; left: 50%; }
.pinata-confetti:nth-child(4n) { background-color: #00ff00; animation-delay: 0.6s; left: 80%; }

/* Card Hover Effects */
.product-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Skeleton Loader */
@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

.shimmer {
    background: #f6f7f8;
    background-image: linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
    background-repeat: no-repeat;
    background-size: 1000px 100%;
    animation: shimmer 2s infinite linear;
}

.img-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    items-center: center;
    justify-content: center;
    background: #f1f5f9;
    color: #cbd5e1;
    font-size: 1.5rem;
}

.img-loading {
    opacity: 0;
}

.img-loaded {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}
