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

body {
    font-family: 'Inter', sans-serif;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Custom gradient text */
.gradient-text {
    background: linear-gradient(135deg, #0ea5e9 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card hover animations */
.link-card {
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.link-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(14, 165, 233, 0.15), 0 10px 20px -5px rgba(236, 72, 153, 0.1);
    border-color: #bae6fd;
}

/* Custom button */
.btn-spark {
    background: linear-gradient(135deg, #0ea5e9 0%, #ec4899 100%);
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    transition: all 0.3s ease;
}

.btn-spark:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px -5px rgba(14, 165, 233, 0.4);
}

/* Filter button active state */
.filter-btn.active {
    background-color: #e0f2fe;
    color: #0369a1;
    border-color: #7dd3fc;
    font-weight: 600;
}

/* Tag styles */
.link-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.tag-design {
    background-color: #f0f9ff;
    color: #0369a1;
}

.tag-tech {
    background-color: #fdf2f8;
    color: #be185d;
}

.tag-fun {
    background-color: #fef3c7;
    color: #92400e;
}

.tag-learning {
    background-color: #d1fae5;
    color: #065f46;
}

/* Loading animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading-pulse {
    animation: pulse 1.5s ease-in-out infinite;
}