/* Custom Styles for Image Magnifier */
#lens {
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(2px);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(255, 255, 255, 0.5);
}

#lens.active {
    opacity: 1 !important;
}

#zoom-preview {
    background-size: 200%;
    background-repeat: no-repeat;
    background-position: center;
}

#zoom-preview.active {
    background-image: none !important;
}

/* Thumbnail Styles */
.thumbnail-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.thumbnail-card:hover {
    transform: translateY(-2px);
}

.thumbnail-card.active {
    border-color: #8b5cf6;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

/* Inline Lens Styles */
#inline-lens {
    width: 200px;
    height: 200px;
    background-size: 400%;
}

/* Corner Zoom Styles */
#corner-zoom-content {
    background-size: 300%;
}

/* Glass Lens Styles */
#glass-lens {
    width: 120px;
    height: 120px;
    background-size: 250%;
}

/* Smooth Transitions */
* {
    transition: all 0.3s ease;
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

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

.loading {
    animation: pulse 2s infinite;
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-4px);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glass Morphism Effect */
.glass {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}