'use client'; import { forwardRef, HTMLAttributes } from 'react'; import styles from './scanlines.module.css'; export interface ScanlinesProps extends HTMLAttributes { /** Line opacity (0-1) */ opacity?: number; /** Line thickness in pixels */ lineWidth?: number; /** Gap between lines in pixels */ gap?: number; /** Line color */ color?: string; /** Enable flicker animation */ flicker?: boolean; /** Fixed position (covers viewport) or absolute (covers parent) */ position?: 'fixed' | 'absolute'; } export const Scanlines = forwardRef( ( { opacity = 0.1, lineWidth = 1, gap = 2, color = '#000000', flicker = false, position = 'fixed', className, style, ...props }, ref ) => { return (