/**
 * LinkPage Plugin CSS - Tailwind Edition
 * Custom styles to complement Tailwind CSS
 * Version: 2.0.0
 */

/* Animated gradient background layers */
@keyframes pulse-slow {
    0%,
    100% {
        opacity: 0.6;
    }
    50% {
        opacity: 0.8;
    }
}

.linkpage-gradient-pulse {
    animation: pulse-slow 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Sparkle icon animation */
@keyframes sparkle {
    0%,
    100% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.1);
    }
}

.linkpage-sparkle {
    animation: sparkle 2s ease-in-out infinite;
}

/* Profile ring pulse */
@keyframes ring-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(236, 72, 153, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(236, 72, 153, 0);
    }
}

.linkpage-avatar-ring {
    animation: ring-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Smooth transitions for links */
.linkpage-link-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.linkpage-link-card:hover {
    transform: scale(1.02);
}

.linkpage-link-card:active {
    transform: scale(0.98);
}

/* Gallery hover effect */
.linkpage-gallery-item {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.linkpage-gallery-item:hover {
    transform: scale(1.05);
}

.linkpage-gallery-item img {
    transition: transform 0.5s ease;
}

.linkpage-gallery-item:hover img {
    transform: scale(1.05);
}

/* Footer background custom color */
.linkpage-footer-bg {
    background-color: hsl(240, 20%, 5%);
}

/* Ensure Playfair Display is loaded */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&display=swap');

/* Custom scrollbar for the page */
.linkpage-container::-webkit-scrollbar {
    width: 8px;
}

.linkpage-container::-webkit-scrollbar-track {
    background: hsl(240, 20%, 8%);
}

.linkpage-container::-webkit-scrollbar-thumb {
    background: hsl(330, 90%, 60%);
    border-radius: 4px;
}

.linkpage-container::-webkit-scrollbar-thumb:hover {
    background: hsl(340, 85%, 65%);
}
