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

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #7c3aed, #db2777);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #6d28d9, #be185d);
}

/* Smooth transitions for all interactive elements */
* {
    transition: all 0.2s ease-in-out;
}

/* Custom gradient backgrounds */
.gradient-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Card hover effects */
.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
/* Swipe card animations */
.swipe-card {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.swipe-left {
    transform: translateX(-100%) rotate(-15deg);
    opacity: 0;
}

.swipe-right {
    transform: translateX(100%) rotate(15deg);
    opacity: 0;
}

/* Profile stack layout */
#profile-stack {
    height: 600px;
}

#profile-stack .swipe-card:nth-child(1) {
    z-index: 8;
}

#profile-stack .swipe-card:nth-child(2) {
    z-index: 7;
    transform: scale(0.95) translateY(-10px);
    opacity: 0.9;
}

#profile-stack .swipe-card:nth-child(3) {
    z-index: 6;
    transform: scale(0.9) translateY(-20px);
    opacity: 0.8;
}

#profile-stack .swipe-card:nth-child(4) {
    z-index: 5;
    transform: scale(0.85) translateY(-30px);
    opacity: 0.7;
}
/* Pulse animation for notifications */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Custom button styles */
.btn-primary {
    background: linear-gradient(135deg, #7c3aed, #db2777);
    background-size: 200% 200%;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Responsive image containers */
.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.image-container img {
    transition: transform 0.3s ease;
}

.image-container:hover img {
    transform: scale(1.05);
}

/* Loading spinner */
.loading-spinner {
    border: 3px solid #f3f4f6;
    border-top: 3px solid #7c3aed;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}