/* ============================================================
   ANIM-CINEMA.CSS - MOTOR Y REACTIVIDAD
   ============================================================ */

.sprockets {
    height: 12px;
    width: 100%;
    margin: 8px 0;
    
    /* Color inicial */
    background-color: rgba(78, 78, 78, 0.3);
    
    /* Usamos un gradiente lineal que crea bloques de 14px.
       Para que los bordes sean redondeados y no círculos, 
       usamos 'mask-image' con una forma rectangular suavizada.
    */
    mask-image: repeating-linear-gradient(90deg, #000 0px, #000 14px, transparent 14px, transparent 28px);
    mask-size: 28px 100%;
    
    /* Aplicamos el redondeo aquí; al estar en el contenedor, 
       la máscara recortará los rectángulos del gradiente */
    border-radius: 5px; 
    
    transition: all 0.5s ease;
}

.film-strip:hover .sprockets {
    background-color: rgba(78, 78, 78, 0.95);
    opacity: 1;
}

/* --- Resto del motor --- */

.frames-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 20px;
    padding: 25px 0;
    width: max-content;
    will-change: transform;
}

.frames-row img {
    height: 350px !important; 
    width: auto !important;
    filter: grayscale(100%) contrast(1.1) brightness(0.8);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid #050505;
    flex-shrink: 0;
}

.frames-row img:hover {
    filter: grayscale(0%) contrast(1.2) brightness(1.1);
    transform: scale(1.05) translateY(-5px);
    border-color: #050505;
}

.film-strip.tilt-left { transform: rotate(-1.5deg) translateY(0); }
.film-strip.tilt-right { transform: rotate(1.2deg) translateY(0); }

.note {
    text-align: center;
    font-family: 'Bebas Neue', sans-serif;
    color: #333;
    letter-spacing: 4px;
    font-size: 1rem;
    margin-top: 20px;
    text-transform: uppercase;
    transition: all 0.6s ease;
}

/* ============================================================
   NOTE - INTERACCIÓN DORADA Y OPACIDAD
   ============================================================ */

.note {
    text-align: center;
    font-family: 'Bebas Neue', sans-serif;
    color: #333;
    letter-spacing: 4px;
    font-size: 1rem;
    margin-top: 20px;
    text-transform: uppercase;
    transition: all 0.6s ease;
    opacity: 1; /* Opacidad base */
}

/* Interacción: Cambia a amarillo dorado y ajusta opacidad */
.film-strip:hover + .note,
.film-strip:hover .note {
    /* Color Dorado */
    color: rgb(17, 219, 219); 
    
    /* Opacidad controlada (cambia el 0.8 por el valor que desees) */
    opacity: 0.4; 
}