        body { background-color: #111827; font-family: 'Segoe UI', sans-serif; }
        .search-focused { box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.3); border-color: #e11d48; }
        /* Fix hover bridge for dropdown */
        .dropdown-bridge { padding-top: 10px; } 
        
        .pagination li { margin: 0; padding: 0; list-style: none; }
        .pagination li a, .pagination li span { 
            display: flex; align-items: center; justify-content: center; 
            width: 50px; height: 50px; 
            background: #ffffff; color: #1f2937; 
            font-weight: 800; font-size: 18px; 
            border-radius: 12px; 
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); 
            border: 2px solid transparent;
            transition: all 0.2s ease-in-out;
            cursor: pointer;
        }
        .pagination li a:hover { 
            background: #f3f4f6; transform: translateY(-3px); 
            color: #e11d48; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        }
        .pagination li span.active { 
            background: #e11d48; color: #ffffff; border-color: #e11d48;
            transform: scale(1.1); box-shadow: 0 10px 15px -3px rgba(225, 29, 72, 0.4);
            cursor: default;
        }
        .pagination li:first-child a, .pagination li:last-child a {
            width: auto; padding: 0 20px; font-size: 14px; text-transform: uppercase;
        }


            .pagination {
                margin: 0;
                padding: 0;
                list-style: none;
            }


            .page-item {
                margin: 0;
                padding: 0;
            }


            .page-link {
                display: flex;
                align-items: center;
                justify-content: center;
                width: 50px;
                height: 50px;
                background-color: #ffffff;
                color: #374151; 
                font-weight: 800; 
                font-size: 18px; 
                border-radius: 12px; 
                text-decoration: none;
                box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); 
                border: 2px solid transparent;
                transition: all 0.2s ease-in-out;
            }


            .page-link:hover {
                background-color: #f3f4f6;
                color: #e11d48;        
                transform: translateY(-3px); 
                box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
                border-color: rgba(225, 29, 72, 0.1);
            }


            .page-item .page-link.active, 
            .page-item.active .page-link {
                background-color: #e11d48; 
                color: #ffffff;           
                border-color: #e11d48;
                transform: scale(1.1);    
                box-shadow: 0 10px 15px -3px rgba(225, 29, 72, 0.4);
                cursor: default;
                z-index: 10;
            }
            

            .page-item:first-child .page-link, 
            .page-item:last-child .page-link {
                font-size: 24px; 
                line-height: 1;
                padding-bottom: 4px;
            }

            
            #player-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  /*margin: 20px auto;*/
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  cursor: pointer;
}

#player-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity .5s ease, filter .5s ease;
}

#player-box .poster-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1;
  pointer-events: none;
  transition: background .5s ease;
}

#player-box.blur img {
  filter: blur(8px) brightness(0.6);
}

#player-box.blur .poster-overlay {
  background: rgba(0,0,0,0.6);
}


.play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  font-size: 60px;
  color: #fff;
  background: rgba(0,0,0,0.5);
  border-radius: 50%;
  padding: 25px;
  z-index: 2;
  transition: transform .3s ease, background .3s ease;
  animation: pulse 2s infinite;
  border: solid 2px #FFF;
}

#player-box:hover .play-btn {
  transform: translate(-50%,-50%) scale(1.1);
  background: rgba(233,32,32,0.7);
}


@keyframes pulse {
  0% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.05); }
  100% { transform: translate(-50%, -50%) scale(1); }
}

.spinner {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 60px; height: 60px;
  border: 6px solid rgba(255,255,255,.3);
  border-top: 6px solid #ff4444;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: none;
  z-index: 3;
  transition: opacity .3s ease;
}
@keyframes spin {100%{transform:translate(-50%,-50%) rotate(360deg)}}

#player-box iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity .6s ease, transform .6s ease;
  z-index: 1;
}
#player-box iframe.show {
  opacity: 1;
  transform: scale(1);
}
#prevmore {display:none}