  /* Custom Styles & 120Hz Animations */
        body {
            font-family: 'Inter', sans-serif;
            background-color: #050505;
            color: #f5f5f5;
            overflow-x: hidden;
        }
        
        /* Hàm gia tốc chuẩn 120Hz cực mượt */
        .smooth-120hz {
            transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
            will-change: transform, opacity, background-color, color, width, box-shadow, border-color;
        }

        .movie-card:hover .movie-overlay {
            opacity: 1;
        }
        
        .movie-card:hover img {
            transform: scale(1.05);
        }

        /* HIỆU ỨNG QUÉT SÁNG CHÉO (GLASS SWEEP) ĐỘC ĐÁO */
        .movie-card::after {
            content: "";
            position: absolute;
            top: 0;
            left: -100%;
            width: 50%;
            height: 100%;
            background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0) 100%);
            transform: skewX(-25deg);
            transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
            z-index: 10;
            pointer-events: none;
        }
        .movie-card:hover::after {
            left: 150%;
        }

        /* POP-UP ICON PLAY */
        .movie-card .fa-circle-play {
            transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
        }
        .movie-card:hover .fa-circle-play {
            transform: scale(1.25);
        }

        /* Ẩn scrollbar cho toàn trang nếu cần (vẫn giữ class cũ) */
        .no-scrollbar::-webkit-scrollbar {
            display: none;
        }
        .no-scrollbar {
            -ms-overflow-style: none;
            scrollbar-width: none;
        }

        /* TẠO THANH CUỘN MỎNG ĐẸP CHO SIDEBAR */
        .custom-scrollbar::-webkit-scrollbar {
            width: 5px; /* Độ mỏng của thanh cuộn */
        }
        .custom-scrollbar::-webkit-scrollbar-track {
            background: rgba(0, 0, 0, 0.2); /* Nền track tối */
        }
        .custom-scrollbar::-webkit-scrollbar-thumb {
            background-color: #525252; /* Màu xám tối mặc định (neutral-600) */
            border-radius: 10px; /* Bo tròn con lăn */
        }
        .custom-scrollbar::-webkit-scrollbar-thumb:hover {
            background-color: #dc2626; /* Hover sáng lên màu đỏ cực xịn */
        }
        /* Hỗ trợ cho Firefox */
        .custom-scrollbar {
            scrollbar-width: thin;
            scrollbar-color: #525252 rgba(0,0,0,0.2);
        }

        /* THAY THẾ JS BẰNG CSS FOCUS-WITHIN CHO FORM TÌM KIẾM */
        #formsearch:focus-within {
            transform: scale(1.02);
            box-shadow: 0 0 15px rgba(220, 38, 38, 0.3);
        }
        .container {max-width:1600px}
/* ===== Soft Neon Pagination ===== */ .pagination, .page-item { margin: 0; padding: 0; list-style: none; } .pagination { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px; } /* Button */ .page-link, .pagination li a, .pagination li span { display: flex; align-items: center; justify-content: center; min-width: 48px; height: 48px; padding: 0 16px; border-radius: 999px; text-decoration: none; background: #111827; color: #d1d5db; font-size: 16px; font-weight: 700; border: 1px solid rgba(255,255,255,0.08); transition: all 0.25s ease; box-shadow: inset 0 0 0 rgba(255,255,255,0), 0 4px 12px rgba(0,0,0,0.25); } /* Hover */ .page-link:hover, .pagination li a:hover { background: #14b8a6; color: #ffffff; transform: scale(1.08); box-shadow: 0 0 12px rgba(20,184,166,0.5), 0 0 24px rgba(20,184,166,0.35); } /* Active */ .page-item.active .page-link, .page-item .page-link.active, .pagination li span.active { background: linear-gradient(135deg, #f59e0b, #ef4444); color: #ffffff; transform: scale(1.12); border-color: transparent; box-shadow: 0 0 14px rgba(245,158,11,0.6), 0 0 28px rgba(239,68,68,0.4); cursor: default; } /* Prev / Next */ .page-item:first-child .page-link, .page-item:last-child .page-link { min-width: 58px; font-size: 22px; font-weight: 900; } /* Mobile */ @media (max-width: 640px) { .page-link, .pagination li a, .pagination li span { min-width: 42px; height: 42px; font-size: 14px; } .page-item:first-child .page-link, .page-item:last-child .page-link { min-width: 50px; font-size: 18px; } }


 /* =========================================
           HIỆU ỨNG ĐỘC ĐÁO CHO THẺ DIỄN VIÊN 3:4
           ========================================= */
        .actor-card {
            border: 1px solid transparent;
        }
        .actor-card:hover {
            border-color: #dc2626;
            box-shadow: 0 0 25px rgba(220, 38, 38, 0.4), inset 0 0 15px rgba(220, 38, 38, 0.2);
        }
        
        /* Glass Sweep Effect */
        .actor-card::after {
            content: "";
            position: absolute;
            top: 0;
            left: -100%;
            width: 50%;
            height: 100%;
            background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0) 100%);
            transform: skewX(-25deg);
            transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
            z-index: 10;
            pointer-events: none;
        }
        .actor-card:hover::after {
            left: 150%;
        }

        /* Slide-up Info */
        .actor-info-box {
            transform: translateY(20px);
        }
        .actor-card:hover .actor-info-box {
            transform: translateY(0);
        }

        #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}