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

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

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

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Animation for Instagram Export Steps - Icons remain static */

/* Progress dots animation */
.progress-dots {
    animation: progressFlow 2s infinite;
}

@keyframes progressFlow {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

/* File processing animation */
.file-process {
    animation: fileProcessing 3s infinite;
}

@keyframes fileProcessing {
    0% { width: 0%; background: #ef4444; }
    50% { width: 70%; background: #f59e0b; }
    100% { width: 100%; background: #10b981; }
}

/* Staggered animation delays */
.progress-dots:nth-child(1) { animation-delay: 0s; }
.progress-dots:nth-child(2) { animation-delay: 0.5s; }
.progress-dots:nth-child(3) { animation-delay: 1s; }

.pulse-animation:nth-child(1) { animation-delay: 0s; }
.pulse-animation:nth-child(2) { animation-delay: 0.3s; }
.pulse-animation:nth-child(3) { animation-delay: 0.6s; }

/* Enhanced Picker UI Animations */

/* Progress bar animation */
.progress-bar-animated {
    width: 0%;
    transition: width 0.5s ease-out;
}

.progress-0 { width: 0%; }
.progress-10 { width: 10%; }
.progress-20 { width: 20%; }
.progress-30 { width: 30%; }
.progress-40 { width: 40%; }
.progress-50 { width: 50%; }
.progress-60 { width: 60%; }
.progress-70 { width: 70%; }
.progress-75 { width: 75%; }
.progress-80 { width: 80%; }
.progress-90 { width: 90%; }
.progress-100 { width: 100%; }

/* Processing circle animation */
.processing-circle {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Winner card entrance animation */
.winner-card {
    transform: translateX(-20px);
    opacity: 0;
    transition: all 0.3s ease-out;
}

.winner-card.animate-in {
    transform: translateX(0);
    opacity: 1;
}

/* Hover effects for interactive elements */
.hover-lift {
    transition: all 0.2s ease;
}

.hover-lift:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Upload area states */
.upload-processing {
    background: linear-gradient(45deg, #f3f4f6, #e5e7eb);
}

/* Mobile responsive enhancements */
@media (max-width: 640px) {
    .winner-card {
        padding: 0.75rem;
    }
    
    .winner-card .font-bold {
        font-size: 1rem;
    }
}

/* Mobile Menu Styles */
nav {
    position: relative;
}

#mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    background: white;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Enhanced Progress Bar Animations */
.progress-bar-enhanced {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, #ec4899, #8b5cf6, #ec4899);
    background-size: 200% 100%;
    animation: progressShine 2s infinite;
}

@keyframes progressShine {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.progress-bar-glow {
    box-shadow: 0 0 10px rgba(236, 72, 153, 0.5);
    animation: progressGlow 1.5s infinite alternate;
}

@keyframes progressGlow {
    0% { box-shadow: 0 0 5px rgba(236, 72, 153, 0.3); }
    100% { box-shadow: 0 0 20px rgba(236, 72, 153, 0.8); }
}

/* Processing UI Animations */
.processing-bounce {
    animation: bounceIn 0.6s ease-out;
}

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); opacity: 1; }
}

.processing-dots {
    display: inline-block;
    animation: processingDots 1.4s infinite ease-in-out both;
}

.processing-dots:nth-child(1) { animation-delay: -0.32s; }
.processing-dots:nth-child(2) { animation-delay: -0.16s; }

@keyframes processingDots {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Completion Message Animations */
.completion-card {
    animation: slideInUp 0.5s ease-out;
}

@keyframes slideInUp {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.countdown-pulse {
    animation: countdownPulse 1s infinite;
}

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

/* Status Message Transitions */
.status-transition {
    transition: all 0.3s ease;
}

.status-uploading {
    background: linear-gradient(135deg, #fce7f3, #fdf2f8);
    border-color: #ec4899;
}

.status-processing {
    background: linear-gradient(135deg, #f3e8ff, #faf5ff);
    border-color: #8b5cf6;
}

.status-complete {
    background: linear-gradient(135deg, #ecfdf5, #f0fdf4);
    border-color: #10b981;
}