<style >
@keyframes waveAnimation {
    0%

{
    transform: translateX(0);
}

100% {
    transform: translateX(-50%);
}

}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.animated-wave path {
    animation: waveAnimation 10s linear infinite;
}

/* Film Roll Styling - Reduced sizes by 10% */
.film-frame {
    position: relative;
    width: auto;
    height: 180px; /* Reduced from 200px */
    margin: 0 8px;
    overflow: hidden;
    border-radius: 1rem;
    background: #000;
    flex-shrink: 0;
    cursor: pointer;
}

.film-image {
    height: 100%;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    border-radius: 1rem;
}

.film-frame:hover .film-image {
    transform: scale(1.05);
}

.film-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 1rem;
    z-index: 10;
    flex-wrap: wrap;
    padding: 16px;
}

.film-frame:hover .film-overlay {
    opacity: 1;
}

.add-to-cart-btn, .explore-license-btn, .favorite-btn {
    background: linear-gradient(135deg, #22c55e, #3b82f6);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    white-space: nowrap;
}

.explore-license-btn {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
}

.favorite-btn {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

    .favorite-btn.favorited {
        background: linear-gradient(135deg, #dc2626, #b91c1c);
    }

    .add-to-cart-btn:hover, .explore-license-btn:hover, .favorite-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
    }

.explore-license-btn:hover {
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.favorite-btn:hover {
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.film-frame.bounce {
    animation: bounce 0.6s ease-in-out;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.film-strip {
    display: flex;
    gap: 8px;
    padding: 16px 0;
    align-items: center;
    width: 100%;
    min-width: max-content;
}

.film-strip-wrapper {
    width: 100%;
    overflow: hidden;
}

.film-row {
    width: 100%;
    overflow: hidden;
}

.film-gallery-container {
    width: 100%;
    max-width: none;
}

/* Animation speeds slowed by 10% (increased duration) */
.film-strip.move-right {
    animation: moveRight 60s linear infinite; /* Increased from 30s */
}

.film-strip.move-left {
    animation: moveLeft 60s linear infinite; /* Increased from 30s */
}

.film-strip.paused {
    animation-play-state: paused;
}

@keyframes moveRight {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes moveLeft {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }
}

/* Responsive adjustments - All reduced by 10% */
@media (min-width: 1024px) {
    .film-frame {
        height: 225px; /* Reduced from 250px */
    }
}

@media (min-width: 1280px) {
    .film-frame {
        height: 270px; /* Reduced from 300px */
    }
}

@media (min-width: 1536px) {
    .film-frame {
        height: 315px; /* Reduced from 350px */
    }
}

img, .film-image {
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: auto;
}

.masonry-board {
    columns: 1;
    column-gap: 1.5rem;
}

@media (min-width: 640px) {
    .masonry-board {
        columns: 2;
    }
}

@media (min-width: 1024px) {
    .masonry-board {
        columns: 3;
    }
}

@media (min-width: 1280px) {
    .masonry-board {
        columns: 4;
    }
}

.masonry-card {
    background: rgba(36, 41, 46, 0.7);
    border-radius: 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.12);
    overflow: hidden;
    transition: box-shadow 0.3s;
}

    .masonry-card:hover {
        box-shadow: 0 8px 32px 0 rgba(34,197,94,0.18);
    }

.search-input {
    box-shadow: 0 0 4px 0px rgba(34, 197, 94, 0.25); /* soft green glow */
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.05) !important;
    backdrop-filter: blur(8px);
    transition: box-shadow 0.3s, border-color 0.3s;
}

    .search-input:focus {
        box-shadow: 0 0 16px 2px rgba(34, 197, 94, 0.45); /* stronger glow on focus */
        border-color: #22c55e;
    }

</style >
