/* Custom Utilities & Animations */

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-spin-slow {
    animation: spin 3s linear infinite;
}

/* Hide scrollbar for Tabs */
.custom-scrollbar::-webkit-scrollbar {
    display: none;
}
.custom-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Tooltip (Simple Data-tip via CSS) */
.tooltip {
    position: relative;
}
.tooltip::before {
    content: attr(data-tip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-5px);
    background: #1f2937;
    color: white;
    font-size: 0.70rem;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}
.tooltip:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Heart Animation */
@keyframes heartPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); color: #ef4444; }
    100% { transform: scale(1); }
}

.like-btn.liked i {
    animation: heartPulse 0.4s ease-in-out forwards;
}