/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: #374151;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

/* Utility classes */
.min-h-screen {
    min-height: 100vh;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-grow {
    flex-grow: 1;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.space-x-1 > * + * {
    margin-left: 0.25rem;
}

.space-x-2 > * + * {
    margin-left: 0.5rem;
}

.space-x-4 > * + * {
    margin-left: 1rem;
}

.bg-gray-50 {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.bg-white {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.bg-black {
    background-color: #000000;
}

.bg-gray-900 {
    background-color: #111827;
}

.bg-purple-600 {
    background: linear-gradient(135deg, #9333ea, #7c3aed);
    box-shadow: 0 8px 32px rgba(147, 51, 234, 0.3);
}

.bg-purple-700 {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    box-shadow: 0 8px 32px rgba(124, 58, 237, 0.4);
}

.bg-purple-100 {
    background-color: #ede9fe;
}

.bg-purple-50 {
    background-color: #faf5ff;
}

.bg-gray-100 {
    background-color: #f3f4f6;
}



.text-white {
    color: #ffffff;
}

.text-gray-900 {
    color: #111827;
}

.text-gray-800 {
    color: #1f2937;
}

.text-gray-700 {
    color: #374151;
}

.text-gray-600 {
    color: #4b5563;
}

.text-gray-500 {
    color: #6b7280;
}

.text-gray-400 {
    color: #9ca3af;
}

.text-gray-300 {
    color: #d1d5db;
}

.text-purple-600 {
    color: #9333ea;
}

.text-purple-700 {
    color: #7c3aed;
}

.text-green-600 {
    color: #059669;
}

.text-red-500 {
    color: #ef4444;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}

.font-bold {
    font-weight: 700;
}

.font-medium {
    font-weight: 500;
}

.text-center {
    text-align: center;
}

.shadow-sm {
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.shadow-xl {
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.border {
    border-width: 1px;
}

.border-2 {
    border-width: 2px;
}

.border-t {
    border-top-width: 1px;
}

.border-dashed {
    border-style: dashed;
}

.border-gray-200 {
    border-color: #e5e7eb;
}

.border-gray-300 {
    border-color: #d1d5db;
}

.border-purple-400 {
    border-color: #c084fc;
}

.border-purple-500 {
    border-color: #a855f7;
}

.rounded {
    border-radius: 0.25rem;
}

.rounded-md {
    border-radius: 0.375rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-full {
    border-radius: 9999px;
}

.p-2 {
    padding: 0.5rem;
}

.p-3 {
    padding: 0.75rem;
}

.p-4 {
    padding: 1rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-8 {
    padding: 2rem;
}

.px-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.py-1 {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.py-6 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.ml-1 {
    margin-left: 0.25rem;
}

.ml-2 {
    margin-left: 0.5rem;
}

.ml-4 {
    margin-left: 1rem;
}

.mr-1 {
    margin-right: 0.25rem;
}

.mr-2 {
    margin-right: 0.5rem;
}

.mr-4 {
    margin-right: 1rem;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mt-12 {
    margin-top: 3rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mx-1 {
    margin-left: 0.25rem;
    margin-right: 0.25rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.w-4 {
    width: 1rem;
}

.w-5 {
    width: 1.25rem;
}

.w-16 {
    width: 4rem;
}

.w-20 {
    width: 5rem;
}

.w-full {
    width: 100%;
}

.h-1 {
    height: 0.25rem;
}

.h-4 {
    height: 1rem;
}

.h-16 {
    height: 4rem;
}

.h-48 {
    height: 12rem;
}

.h-full {
    height: 100%;
}

.max-w-4xl {
    max-width: 56rem;
}

.max-w-5xl {
    max-width: 64rem;
}

.max-w-6xl {
    max-width: 72rem;
}

.max-w-7xl {
    max-width: 80rem;
}

.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.top-0 {
    top: 0;
}

.bottom-0 {
    bottom: 0;
}

.left-0 {
    left: 0;
}

.right-0 {
    right: 0;
}

.overflow-hidden {
    overflow: hidden;
}

.object-contain {
    object-fit: contain;
}

.object-cover {
    object-fit: cover;
}

.resize-none {
    resize: none;
}

.transition-colors {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-opacity {
    transition-property: opacity;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.duration-300 {
    transition-duration: 300ms;
}

.duration-500 {
    transition-duration: 500ms;
}

.ease-in-out {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.ease-out {
    transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}

.hidden {
    display: none;
}

.cursor-not-allowed {
    cursor: not-allowed;
}

.opacity-0 {
    opacity: 0;
}

.opacity-100 {
    opacity: 1;
}

.bg-opacity-60 {
    background-color: rgb(0 0 0 / 0.6);
}

/* Custom styles */
.nav-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateY(0);
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.nav-btn:hover::before {
    left: 100%;
}

.nav-btn.active {
    background: rgba(237, 233, 254, 0.9);
    color: #7c3aed;
    box-shadow: 0 8px 32px rgba(124, 58, 237, 0.2);
    transform: translateY(-2px);
}

.nav-btn:not(.active) {
    color: #6b7280;
    background: rgba(255, 255, 255, 0.1);
}

.nav-btn:not(.active):hover:not(:disabled) {
    color: #374151;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.nav-btn:active {
    transform: translateY(0) scale(0.98);
}

.nav-btn:disabled {
    color: #d1d5db;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.05);
}

.phase {
    display: none;
}

.phase.active {
    display: block;
}

.image-item {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0) scale(1);
    overflow: hidden;
}

.image-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.image-item:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(147, 51, 234, 0.3);
}

.image-item:hover::before {
    opacity: 1;
}

.image-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 0.375rem;
    margin-bottom: 0.75rem;
}

.image-item .image-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
    word-break: break-word;
}

.image-item .image-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.image-item .btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    color: #374151;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
}

.image-item .btn-small::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(147, 51, 234, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.image-item .btn-small:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.image-item .btn-small:hover::before {
    width: 200px;
    height: 200px;
}

.image-item .btn-small:active {
    transform: translateY(0) scale(0.95);
}

.image-item .btn-danger {
    color: #dc2626;
    border-color: rgba(252, 165, 165, 0.5);
    background: rgba(254, 242, 242, 0.8);
}

.image-item .btn-danger:hover {
    background: rgba(254, 242, 242, 0.95);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.2);
}

.image-item .btn-danger::before {
    background: rgba(220, 38, 38, 0.1);
}

.progress-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.progress-step {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 0.5rem;
    position: relative;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transform: scale(1);
}

.progress-step::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: rotate 2s linear infinite;
}

.progress-step:hover {
    transform: scale(1.1);
}

.progress-step:hover::before {
    opacity: 1;
}

.progress-step.active {
    background: linear-gradient(135deg, #9333ea, #7c3aed);
    color: white;
    box-shadow: 0 8px 32px rgba(147, 51, 234, 0.4);
    transform: scale(1.1);
}

.progress-step.completed {
    background: linear-gradient(135deg, #059669, #047857);
    color: white;
    box-shadow: 0 8px 32px rgba(5, 150, 105, 0.4);
}

.progress-step:not(.active):not(.completed) {
    background: rgba(229, 231, 235, 0.8);
    color: #6b7280;
}

.progress-line {
    width: 3rem;
    height: 3px;
    background: rgba(229, 231, 235, 0.6);
    margin: 0 0.25rem;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.progress-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: shimmer 2s infinite;
}

.progress-line.completed {
    background: linear-gradient(90deg, #059669, #047857);
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.3);
}

.aspect-video {
    aspect-ratio: 16 / 9;
}

.drop-zone-active {
    border-color: #a855f7 !important;
    background-color: #faf5ff !important;
}

.drop-zone-active i {
    color: #a855f7 !important;
}

.fade-out {
    opacity: 0;
}

.fade-in {
    opacity: 1;
}

/* Enhanced button styles */
button, .btn {
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
}

button::before, .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

button:hover::before, .btn:hover::before {
    width: 300px;
    height: 300px;
}

button:hover, .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

button:active, .btn:active {
    transform: translateY(0) scale(0.98);
}

/* Enhanced input styles */
input, textarea {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

input:hover, textarea:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(147, 51, 234, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Focus styles */
input:focus, textarea:focus, button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.3), 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(147, 51, 234, 0.5);
    transform: translateY(-2px);
}

input[type="file"] {
    display: none;
}

/* Glass card effect */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Removed hover effects for glass-card to prevent unwanted style changes */

/* Theme Toggle Button */
.theme-toggle-btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #6b7280;
    position: relative;
    overflow: hidden;
}

.theme-toggle-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(147, 51, 234, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #9333ea;
    transform: translateY(-2px) rotate(15deg);
    box-shadow: 0 8px 25px rgba(147, 51, 234, 0.2);
}

.theme-toggle-btn:hover::before {
    width: 60px;
    height: 60px;
}

.theme-toggle-btn:active {
    transform: translateY(0) scale(0.95);
}

/* Dark Theme Styles */
.dark-theme {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.dark-theme .glass-card {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Removed dark theme hover effects for glass-card */

.dark-theme .bg-white {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.1);
}

.dark-theme .text-gray-900 {
    color: #f9fafb;
}

.dark-theme .text-gray-800 {
    color: #e5e7eb;
}

.dark-theme .text-gray-700 {
    color: #d1d5db;
}

.dark-theme .text-gray-600 {
    color: #9ca3af;
}

.dark-theme .text-gray-500 {
    color: #6b7280;
}

.dark-theme .nav-btn:not(.active) {
    color: #9ca3af;
    background: rgba(0, 0, 0, 0.2);
}

.dark-theme .nav-btn:not(.active):hover:not(:disabled) {
    color: #e5e7eb;
    background: rgba(0, 0, 0, 0.3);
}

.dark-theme .nav-btn.active {
    background: rgba(147, 51, 234, 0.3);
    color: #c084fc;
    box-shadow: 0 8px 32px rgba(147, 51, 234, 0.3);
}

.dark-theme .image-item {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.1);
}

.dark-theme .image-item:hover {
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(147, 51, 234, 0.4);
}

.dark-theme .theme-toggle-btn {
    background: rgba(0, 0, 0, 0.3);
    color: #fbbf24;
}

.dark-theme .theme-toggle-btn:hover {
    background: rgba(0, 0, 0, 0.4);
    color: #f59e0b;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
}

.dark-theme input, .dark-theme textarea {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.1);
    color: #e5e7eb;
}

.dark-theme input:hover, .dark-theme textarea:hover {
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(147, 51, 234, 0.4);
}

.dark-theme input::placeholder, .dark-theme textarea::placeholder {
    color: #6b7280;
}

/* Responsive design */
@media (min-width: 640px) {
    .sm\:px-6 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .sm\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .md\:flex-row {
        flex-direction: row;
    }
    
    .md\:mb-0 {
        margin-bottom: 0;
    }
    
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    
    .md\:order-1 {
        order: 1;
    }
    
    .md\:order-2 {
        order: 2;
    }
}

@media (min-width: 1024px) {
    .lg\:px-8 {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Animation keyframes */
@keyframes fadeIn {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from { 
        opacity: 1;
        transform: translateY(0);
    }
    to { 
        opacity: 0;
        transform: translateY(-20px);
    }
}

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

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

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

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

.animate-fade-in {
    animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-fade-out {
    animation: fadeOut 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

/* Image Animation Styles */
.image-animation-fade {
    animation: fadeInOut var(--animation-duration, 1s) ease-in-out var(--animation-delay, 0s) infinite;
}

.image-animation-slide {
    animation: slideInOut var(--animation-duration, 1s) ease-in-out var(--animation-delay, 0s) infinite;
}

.image-animation-zoom {
    animation: zoomInOut var(--animation-duration, 1s) ease-in-out var(--animation-delay, 0s) infinite;
}

.image-animation-rotate {
    animation: rotateAnimation var(--animation-duration, 1s) linear var(--animation-delay, 0s) infinite;
}

.image-animation-bounce {
    animation: bounceAnimation var(--animation-duration, 1s) ease-in-out var(--animation-delay, 0s) infinite;
}

.image-animation-shake {
    animation: shakeAnimation var(--animation-duration, 1s) ease-in-out var(--animation-delay, 0s) infinite;
}

.image-animation-pulse {
    animation: pulseAnimation var(--animation-duration, 1s) ease-in-out var(--animation-delay, 0s) infinite;
}

/* Image Animation Keyframes */
@keyframes fadeInOut {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes slideInOut {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

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

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

@keyframes bounceAnimation {
    0%, 100% { transform: translateY(0); }
    25% { transform: translateY(-10px); }
    50% { transform: translateY(0); }
    75% { transform: translateY(-5px); }
}

@keyframes shakeAnimation {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

@keyframes pulseAnimation {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

/* Image transform and filter styles */
.image-transform {
    transition: all 0.3s ease;
}

.image-filter {
    transition: filter 0.3s ease;
}

/* Image Transition Styles */
.image-transition-fade {
    animation: transitionFade var(--transition-duration, 0.8s) ease-in-out;
}

.image-transition-slide-left {
    animation: transitionSlideLeft var(--transition-duration, 0.8s) ease-in-out;
}

.image-transition-slide-right {
    animation: transitionSlideRight var(--transition-duration, 0.8s) ease-in-out;
}

.image-transition-slide-up {
    animation: transitionSlideUp var(--transition-duration, 0.8s) ease-in-out;
}

.image-transition-slide-down {
    animation: transitionSlideDown var(--transition-duration, 0.8s) ease-in-out;
}

.image-transition-zoom-in {
    animation: transitionZoomIn var(--transition-duration, 0.8s) ease-in-out;
}

.image-transition-zoom-out {
    animation: transitionZoomOut var(--transition-duration, 0.8s) ease-in-out;
}

.image-transition-flip {
    animation: transitionFlip var(--transition-duration, 0.8s) ease-in-out;
}

/* Image Transition Keyframes */
@keyframes transitionFade {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes transitionSlideLeft {
    0% { transform: translateX(100%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes transitionSlideRight {
    0% { transform: translateX(-100%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes transitionSlideUp {
    0% { transform: translateY(100%); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes transitionSlideDown {
    0% { transform: translateY(-100%); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes transitionZoomIn {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes transitionZoomOut {
    0% { transform: scale(1.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes transitionFlip {
    0% { transform: rotateY(-90deg); opacity: 0; }
    50% { transform: rotateY(0deg); opacity: 0.5; }
    100% { transform: rotateY(0deg); opacity: 1; }
}