@@ -25,12 +25,6 @@ class BookStore {
2525        ] ; 
2626        this . currentTypewriterIndex  =  0 ; 
2727
28-         // Mobile clock tracking 
29-         this . previousMobileHours  =  '' ; 
30-         this . previousMobileMinutes  =  '' ; 
31-         this . previousMobileSeconds  =  '' ; 
32-         this . previousMobileDate  =  '' ; 
33-         
3428        this . init ( ) ; 
3529    } 
3630
@@ -1833,14 +1827,6 @@ class BookStore {
18331827            if  ( dateElement )  { 
18341828                dateElement . textContent  =  currentDate ; 
18351829            } 
1836-             
1837-             // Update mobile clock if it exists 
1838-             this . updateMobileClockWithAnimation ( 
1839-                 String ( now . getHours ( ) ) . padStart ( 2 ,  '0' ) , 
1840-                 String ( minutes ) . padStart ( 2 ,  '0' ) , 
1841-                 String ( seconds ) . padStart ( 2 ,  '0' ) , 
1842-                 currentDate 
1843-             ) ; 
18441830        } ; 
18451831
18461832        // Initial update 
@@ -1868,46 +1854,6 @@ class BookStore {
18681854        } 
18691855    } 
18701856
1871-     updateMobileClockWithAnimation ( hours ,  minutes ,  seconds ,  date )  { 
1872-         // Update mobile clock elements with animation 
1873-         this . updateClockElement ( 'mobile-hours' ,  hours ,  this . previousMobileHours ) ; 
1874-         this . updateClockElement ( 'mobile-minutes' ,  minutes ,  this . previousMobileMinutes ) ; 
1875-         this . updateClockElement ( 'mobile-seconds' ,  seconds ,  this . previousMobileSeconds ) ; 
1876-         
1877-         // Update mobile date 
1878-         const  mobileDateElement  =  document . getElementById ( 'mobile-live-date' ) ; 
1879-         if  ( mobileDateElement  &&  date  !==  this . previousMobileDate )  { 
1880-             mobileDateElement . textContent  =  date ; 
1881-         } 
1882-         
1883-         // Store previous values 
1884-         this . previousMobileHours  =  hours ; 
1885-         this . previousMobileMinutes  =  minutes ; 
1886-         this . previousMobileSeconds  =  seconds ; 
1887-         this . previousMobileDate  =  date ; 
1888-     } 
1889- 
1890-     updateClockElement ( elementId ,  newValue ,  previousValue )  { 
1891-         const  element  =  document . getElementById ( elementId ) ; 
1892-         if  ( ! element )  return ; 
1893-         
1894-         if  ( newValue  !==  previousValue )  { 
1895-             // Add rolling animation class 
1896-             element . classList . add ( 'flip' ) ; 
1897-             
1898-             // Update the value 
1899-             element . textContent  =  newValue ; 
1900-             
1901-             // Remove animation class after animation completes 
1902-             setTimeout ( ( )  =>  { 
1903-                 element . classList . remove ( 'flip' ) ; 
1904-             } ,  600 ) ; 
1905-         }  else  if  ( ! element . textContent  ||  element . textContent  ===  '--' )  { 
1906-             // Initial load 
1907-             element . textContent  =  newValue ; 
1908-         } 
1909-     } 
1910- 
19111857    // Infinite Horizontal Carousel functionality 
19121858    initializeCarousel ( )  { 
19131859        if  ( this . books . length  >  0 )  { 
0 commit comments