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

.animate-pop {
    animation: pop 0.3s ease-in-out;
}

@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

.skeleton {
    background: linear-gradient(90deg, #2d2d2d 25%, #3d3d3d 50%, #2d2d2d 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px rgba(147, 51, 234, 0.5); }
    50% { box-shadow: 0 0 20px rgba(147, 51, 234, 0.8), 0 0 30px rgba(147, 51, 234, 0.6); }
}

.animate-glow {
    animation: glow 2s ease-in-out infinite;
}

* {
    scrollbar-width: thin;
    scrollbar-color: #9333EA #1F1F1F;
}

*::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

*::-webkit-scrollbar-track {
    background: #1F1F1F;
}

*::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #9333EA 0%, #FFD93D 100%);
    border-radius: 4px;
}

*::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #A855F7 0%, #FFED4E 100%);
}

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

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(to right, #9333EA 0%, #9333EA 75%, #4a5568 75%, #4a5568 100%);
    outline: none;
    border-radius: 4px;
    height: 6px;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #9333EA 0%, #FFD93D 100%);
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(147, 51, 234, 0.5);
}

input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #9333EA 0%, #FFD93D 100%);
    cursor: pointer;
    border-radius: 50%;
    border: none;
    box-shadow: 0 0 10px rgba(147, 51, 234, 0.5);
}

/* Higgsfield-inspired gradient backgrounds */
.bg-higgsfield-gradient {
    background: linear-gradient(135deg, #9333EA 0%, #7C3AED 50%, #9333EA 100%);
}

/* Custom animations for the Higgsfield tribute */
@keyframes higgsfield-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.higgsfield-pulse {
    animation: higgsfield-pulse 3s ease-in-out infinite;
}