* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html, body {
            touch-action: manipulation; /* scroll + pinch-zoom allowed */
            -webkit-text-size-adjust: 100%;
        }
        body {
            background-color: #030303;
            color: #ffffff;
            font-family: 'Outfit', sans-serif;
            overflow-x: hidden;
        }

        /* Fast Scrollbar */
        ::-webkit-scrollbar { width: 4px; height: 4px; }
        ::-webkit-scrollbar-track { background: #111; }
        ::-webkit-scrollbar-thumb { background: #00f2ff; border-radius: 4px; }

        /* ========== HEADER ========== */
        header {
            position: sticky;
            top: 0;
            z-index: 1000;
            background: rgba(3,3,3,0.96);
            backdrop-filter: blur(24px);
            -webkit-backdrop-filter: blur(24px);
            border-bottom: 1px solid rgba(0,242,255,0.12);
            padding: 0 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 64px;
            box-shadow: 0 4px 30px rgba(0,0,0,0.5);
        }

        /* Logo */
        .logo {
            font-size: 24px;
            font-weight: 900;
            text-decoration: none;
            letter-spacing: -0.5px;
            display: flex;
            align-items: center;
            gap: 9px;
            flex-shrink: 0;
            min-width: 0;
        }
        .logo-icon {
            width: 36px; height: 36px;
            background: linear-gradient(135deg, #ff2d78, #a020f0);
            border-radius: 8px;
            display: flex; align-items: center; justify-content: center;
            flex-shrink: 0;
            box-shadow: 0 4px 15px rgba(160,32,240,0.45);
        }
        .logo-icon svg { width: 18px; height: 18px; fill: #fff; }
        .logo-text {
            background: linear-gradient(90deg, #ff2d78, #cc22dd, #a020f0);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-weight: 900;
        }

        /* ========== SEARCH BAR ========== */
        .search-wrapper {
            position: relative;
            width: 300px; max-width: 100%; height: 42px;
            flex: 1 1 auto; min-width: 0;
            border-radius: 10px;
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.1);
            display: flex; align-items: center;
            padding: 0 14px;
            transition: all 0.3s ease;
            -webkit-tap-highlight-color: transparent;
        }
        .search-wrapper * { -webkit-tap-highlight-color: transparent; }
        .search-wrapper:focus-within {
            border-color: #00f2ff;
            box-shadow: 0 0 0 3px rgba(0,242,255,0.1);
            background: rgba(0,242,255,0.04);
        }
        .search-wrapper::before {
            content: "\f002";
            font-family: "Font Awesome 6 Free"; font-weight: 900;
            color: rgba(255,255,255,0.4); margin-right: 9px; font-size: 13px;
        }
        .search-wrapper:focus-within::before { color: #00f2ff; }
        .search-wrapper input {
            background: transparent; border: none; outline: none;
            color: #fff; width: 100%; font-size: 14px; font-family: 'Outfit', sans-serif;
        }
        .search-wrapper input::placeholder { color: rgba(255,255,255,0.35); }

        /* ========== SEARCH SUGGESTIONS ========== */
        .suggestions {
            position: absolute; top: 100%; left: 0; right: 0;
            background: #111; border: 1px solid #222;
            border-radius: 12px; margin-top: 8px;
            max-height: 350px; overflow-y: auto;
            display: none; z-index: 100;
            box-shadow: 0 20px 50px rgba(0,0,0,0.7);
        }
        .suggestion-item {
            display: flex; align-items: center; gap: 10px;
            padding: 10px; cursor: pointer; border-bottom: 1px solid #1a1a1a;
        }
        .suggestion-item:hover { background: #1a1a1a; }
        .suggestion-item img { width: 35px; height: 50px; object-fit: cover; border-radius: 5px; }

        /* ========== SCROLLING TICKER ========== */
        .scrolling-text {
            background: linear-gradient(90deg, #0a0a0a, #111, #0a0a0a);
            border-bottom: 1px solid rgba(0,242,255,0.15);
            overflow: hidden; padding: 9px 0;
            white-space: nowrap;
            font-family: 'Hind Siliguri', sans-serif; font-weight: 600;
            color: #00f2ff; font-size: 13px;
        }

        /* ========== POPULAR MOVIES HORIZONTAL SLIDER ========== */
        .popular-slider-section {
            margin: 14px 5% 16px;
        }
        .popular-slider-header {
            display: flex; align-items: center; gap: 10px;
            margin-bottom: 12px;
        }
        .popular-slider-header .section-title-bar {
            width: 4px; height: 20px; border-radius: 2px;
            background: #ff0059;
            box-shadow: 0 0 8px rgba(255,0,89,0.6);
            flex-shrink: 0;
        }
        .popular-slider-header h3 {
            font-size: 16px; font-weight: 800; color: #fff;
            display: flex; align-items: center; gap: 8px;
        }
        .popular-slider-header h3 i { color: #ff0059; font-size: 14px; }
        .popular-slider-wrap {
            overflow: hidden;
            position: relative;
            mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
            -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
        }
        .popular-slider-track {
            display: flex; gap: 10px;
            animation: popularSlide 30s linear infinite;
            width: max-content;
        }
        .popular-slider-track:hover { animation-play-state: paused; }
        .popular-movie-card {
            display: flex; flex-direction: column; align-items: center; gap: 7px;
            cursor: pointer; transition: transform 0.2s;
            width: 90px; flex-shrink: 0;
        }
        .popular-movie-card:hover { transform: translateY(-4px); }
        .popular-movie-card img {
            width: 90px; height: 126px;
            object-fit: cover; border-radius: 8px;
            border: 1px solid rgba(255,255,255,0.08);
            transition: border-color 0.2s, box-shadow 0.2s;
        }
        .popular-movie-card:hover img {
            border-color: rgba(255,0,89,0.5);
            box-shadow: 0 8px 20px rgba(255,0,89,0.2);
        }
        .pop-poster { position: relative; width: 100%; line-height: 0; }
        /* soft dark fade at the bottom of the poster so the number stays readable */
        .pop-poster::after {
            content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%;
            border-radius: 0 0 8px 8px;
            background: linear-gradient(to top, rgba(0,0,0,0.45), transparent);
            pointer-events: none;
        }
        /* rank number on top of the poster, bottom-left corner (outlined style) */
        .pop-rank {
            position: absolute; left: 4px; bottom: 0; z-index: 2;
            font-family: 'Outfit', sans-serif; font-weight: 800;
            font-size: 84px; line-height: 0.95; letter-spacing: -3px;
            color: transparent;
            -webkit-text-stroke: 1.5px rgba(255,255,255,0.5);
            pointer-events: none; user-select: none;
        }
        .two-digit .pop-rank { font-size: 64px; letter-spacing: -6px; }
        .popular-movie-card .pop-title {
            font-size: 10px; font-weight: 600;
            color: rgba(255,255,255,0.75);
            text-align: center; width: 100%;
            white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
        }
        @keyframes popularSlide {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }

        /* ========== ANNOUNCEMENT BANNER ========== */
        .announcement-banner {
            display: flex; gap: 12px;
            margin: 0 5% 16px;
            flex-wrap: wrap;
        }
        .ann-item {
            flex: 1; min-width: 260px;
            display: flex; align-items: center; gap: 14px;
            padding: 14px 18px; border-radius: 12px;
            background: #111; border: 1px solid #1e1e1e;
            position: relative; overflow: hidden;
            transition: transform 0.25s, box-shadow 0.25s;
        }
        .ann-item:hover { transform: translateY(-2px); }
        .ann-item::before {
            content: ''; position: absolute;
            left: 0; top: 0; bottom: 0; width: 3px; border-radius: 3px 0 0 3px;
        }
        .ann-telegram::before { background: #00cfff; }
        .ann-notice::before { background: #ffbc00; }
        .ann-telegram:hover { box-shadow: 0 8px 25px rgba(0,207,255,0.12); border-color: rgba(0,207,255,0.2); }
        .ann-notice:hover { box-shadow: 0 8px 25px rgba(255,188,0,0.12); border-color: rgba(255,188,0,0.2); }
        .ann-icon {
            width: 42px; height: 42px; border-radius: 10px;
            display: flex; align-items: center; justify-content: center;
            font-size: 18px; flex-shrink: 0;
        }
        .ann-telegram .ann-icon { background: rgba(0,207,255,0.1); color: #00cfff; }
        .ann-notice .ann-icon { background: rgba(255,188,0,0.1); color: #ffbc00; }
        .ann-text { flex: 1; }
        .ann-tag {
            font-size: 10px; font-weight: 800;
            text-transform: uppercase; letter-spacing: 0.8px;
            display: block; margin-bottom: 3px;
        }
        .ann-telegram .ann-tag { color: #00cfff; }
        .ann-notice .ann-tag { color: #ffbc00; }
        .ann-text p { font-size: 12px; color: rgba(255,255,255,0.6); line-height: 1.4; }
        .ann-btn {
            padding: 8px 16px; border-radius: 8px;
            font-size: 12px; font-weight: 700;
            text-decoration: none; flex-shrink: 0;
            transition: 0.2s; font-family: 'Outfit', sans-serif; white-space: nowrap;
        }
        .ann-telegram .ann-btn { background: rgba(0,207,255,0.1); border: 1px solid rgba(0,207,255,0.3); color: #00cfff; }
        .ann-telegram .ann-btn:hover { background: #00cfff; color: #000; }
        .ann-notice .ann-btn { background: rgba(255,188,0,0.1); border: 1px solid rgba(255,188,0,0.3); color: #ffbc00; }
        .ann-notice .ann-btn:hover { background: #ffbc00; color: #000; }
        @media (max-width: 767px) { .announcement-banner { display: none !important; } }

        /* ========== BUTTON GROUP ========== */
        .btn-group {
            display: flex; gap: 10px;
            padding: 0 5% 14px;
            max-width: 100%; margin: 0;
        }
        .btn-nav {
            flex: 1; padding: 11px 10px;
            border-radius: 10px;
            border: 1px solid rgba(255,255,255,0.1);
            font-size: 13px; font-weight: 700;
            cursor: pointer; display: flex; align-items: center;
            justify-content: center; gap: 6px;
            color: #fff; background: rgba(255,255,255,0.04);
            transition: all 0.22s; font-family: 'Outfit', sans-serif;
        }
        .btn-nav:hover { transform: translateY(-2px); border-color: #00f2ff; background: rgba(0,242,255,0.06); }
        .btn-telegram { border-color: rgba(0,207,255,0.3); }
        .btn-telegram:hover { background: rgba(0,207,255,0.08) !important; border-color: rgba(0,207,255,0.6) !important; box-shadow: 0 6px 18px rgba(0,207,255,0.12); }
        .btn-req { border-color: rgba(99,102,241,0.3); }
        .btn-req:hover { background: rgba(99,102,241,0.1) !important; border-color: rgba(99,102,241,0.6) !important; }
        .btn-18 { border-color: rgba(255,0,89,0.3); }
        .btn-18:hover { background: rgba(255,0,89,0.08) !important; border-color: rgba(255,0,89,0.5) !important; }
        .btn-18.active { background: rgba(0,255,150,0.1); border-color: #00ff91; color: #00ff91; }

        /* ========== CATEGORY CHIPS ========== */
        .category-scroll {
            display: flex; gap: 7px;
            padding: 4px 5% 12px;
            max-width: 1400px; margin: 0 auto;
            overflow-x: auto;
        }
        .chip {
            padding: 7px 16px;
            background: #0f0f0f; border: 1px solid #222;
            border-radius: 8px;
            font-size: 12px; font-weight: 600;
            cursor: pointer; white-space: nowrap;
            transition: all 0.2s; font-family: 'Outfit', sans-serif;
            color: rgba(255,255,255,0.7);
        }
        .chip:hover { border-color: rgba(0,242,255,0.4); color: #fff; background: rgba(0,242,255,0.05); }
        .chip.active {
            background: #00f2ff; color: #000; border-color: #00f2ff;
            box-shadow: 0 4px 14px rgba(0,242,255,0.3); font-weight: 800;
        }

        /* ========== MAIN CONTAINER ========== */
        .main-container { max-width: 1400px; margin: 0 auto; padding: 0 5% 80px; }

        /* Section header */
        .section-header {
            display: flex; align-items: center; justify-content: space-between;
            margin: 10px 0 14px;
        }
        .section-title {
            font-size: 18px; font-weight: 800; color: #fff;
            display: flex; align-items: center; gap: 10px;
        }
        .section-title-bar {
            width: 4px; height: 20px; border-radius: 2px;
            background: #00f2ff; box-shadow: 0 0 8px rgba(0,242,255,0.6); flex-shrink: 0;
        }
        .section-title .icon { color: #00f2ff; font-size: 16px; }

        /* ========== MOVIE GRID ========== */
        .movie-grid { display: grid; gap: 12px; }
        @media (min-width: 1024px) { .movie-grid { grid-template-columns: repeat(6, 1fr); } }
        @media (min-width: 769px) and (max-width: 1023px) { .movie-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; } }
        @media (max-width: 768px) { .movie-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; } }

        /* ========== SKELETON ========== */
        .skeleton-card {
            background: linear-gradient(90deg, #111 25%, #1a1a1a 50%, #111 75%);
            background-size: 200% 100%;
            animation: skeleton-loading 1.5s infinite;
            border-radius: 12px; aspect-ratio: 2/3;
        }
        @keyframes skeleton-loading {
            0% { background-position: 200% 0; }
            100% { background-position: -200% 0; }
        }

        /* ========== MOVIE CARD ========== */
        .card {
            background: #111; border-radius: 12px; overflow: hidden;
            border: 1px solid #1e1e1e; position: relative; cursor: pointer;
            transition: transform 0.3s cubic-bezier(0.25,0.46,0.45,0.94),
                        border-color 0.3s ease, box-shadow 0.3s ease;
        }
        .card:hover {
            transform: translateY(-6px) scale(1.025);
            border-color: rgba(0,242,255,0.4);
            box-shadow: 0 20px 50px rgba(0,0,0,0.55), 0 0 0 1px rgba(0,242,255,0.12);
        }
        .poster { position: relative; aspect-ratio: 2/3; overflow: hidden; }
        .poster img {
            width: 100%; height: 100%; object-fit: cover;
            transition: transform 0.4s ease;
        }
        .card:hover .poster img { transform: scale(1.07); }

        /* Blur */
        .blur-effect { filter: blur(25px); }
        .reveal-18 .blur-effect { filter: blur(0); }

        /* ========== BADGES ========== */
        .b-type {
            position: absolute; bottom: 8px; right: 8px;
            background: #00f2ff; color: #000;
            padding: 3px 8px; font-size: 10px; font-weight: 800;
            border-radius: 5px; z-index: 2;
        }
        .b-top {
            position: absolute; top: 0; left: 0;
            background: #ff0059; color: #fff;
            padding: 4px 10px; font-size: 10px; font-weight: 800;
            border-radius: 0 0 10px 0; z-index: 5;
        }
        .b-bottom {
            position: absolute; bottom: 0; left: 0;
            background: #7000ff; color: #fff;
            padding: 4px 10px; font-size: 10px; font-weight: 800;
            border-radius: 0 10px 0 0; z-index: 5;
        }
        .b-pre {
            position: absolute; top: 0; right: 0;
            background: #ffbc00; color: #000;
            padding: 4px 10px; font-size: 10px; font-weight: 800;
            border-radius: 0 0 0 10px; z-index: 5;
        }
        /* bottom-left stack: yellow badge sits right above the purple badge */
        .b-stack {
            position: absolute; bottom: 0; left: 0; z-index: 5;
            display: flex; flex-direction: column; align-items: flex-start;
            max-width: 75%; pointer-events: none;
        }
        .b-stack .b-pre, .b-stack .b-bottom { position: static; top: auto; right: auto; bottom: auto; left: auto; border-radius: 0 8px 0 0; }
        /* view count: small pill, top-right */
        .b-views {
            position: absolute; top: 6px; right: 6px; z-index: 6;
            display: inline-flex; align-items: center; gap: 4px;
            background: rgba(0,0,0,0.6); color: #fff;
            backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
            padding: 3px 7px; font-size: 10px; font-weight: 700; line-height: 1.25;
            border-radius: 20px; white-space: nowrap;
        }
        .b-views i { font-size: 9px; color: #00ffa3; }
        .modal-views {
            display: inline-flex; align-items: center; gap: 6px;
            background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14);
            color: #fff; font-size: 13px; font-weight: 700;
            padding: 6px 14px; border-radius: 20px; margin: 10px 0 0; width: fit-content;
        }
        .modal-views i { color: #00ffa3; font-size: 12px; }
        .movie-page-poster-col { display: flex; flex-direction: column; align-items: center; }

        /* ========== PLAY OVERLAY ========== */
        .play-overlay {
            position: absolute; inset: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
            display: flex; flex-direction: column;
            align-items: center; justify-content: center;
            opacity: 0; transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
            z-index: 5; pointer-events: none;
        }
        .card:hover .play-overlay { opacity: 1; }

        .swirl-wrapper {
            position: relative; width: 68px; height: 68px;
            display: flex; align-items: center; justify-content: center;
            margin-bottom: 8px;
            transition: transform 0.4s cubic-bezier(0.175,0.885,0.32,1.275);
        }
        .card:hover .swirl-wrapper { transform: scale(1.1); }

        .play-icon-box {
            position: relative; width: 52px; height: 52px;
            background: #ffffff; border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            box-shadow: 0 0 0 6px rgba(255,255,255,0.15), 0 0 25px rgba(0,242,255,0.3);
            z-index: 5;
        }
        .play-icon-box i { font-size: 22px; color: #000; margin-left: 4px; }

        .swirl {
            position: absolute; width: 100%; height: 100%;
            border-radius: 50%; border: 1.5px solid transparent;
            opacity: 0; transition: all 0.5s ease 0.1s;
        }
        .card:hover .swirl { opacity: 0.8; }
        .swirl-1 { border-top: 1.5px solid #fff; border-bottom: 1.5px solid #fff; }
        .swirl-2 { border-left: 1.5px solid #00f2ff; border-right: 1.5px solid #00f2ff; }
        .swirl-1 { animation: swirlRotate 1.5s linear infinite; }
        .swirl-2 { animation: swirlRotate 2s linear reverse infinite; }
        @keyframes swirlRotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

        .flixify-text {
            color: #fff; font-size: 13px; font-weight: 700;
            letter-spacing: 0.5px; opacity: 0;
            transform: translateY(8px); transition: all 0.4s ease 0.2s;
        }
        .card:hover .flixify-text { opacity: 1; transform: translateY(0); }

        .card-info { padding: 10px 10px 12px; }
        .movie-title {
            font-size: 13px; font-weight: 700;
            white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
        }

        /* ========== MOVIE DETAILS PAGE ========== */
        .movie-page {
            display: none;
            background: #030303;
            min-height: 70vh;
            animation: moviePageIn 0.35s ease;
        }
        @keyframes moviePageIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

        .movie-page-hero {
            position: relative; width: 100%; height: 240px;
            overflow: hidden; background: #050505;
        }
        .movie-page-hero-bg {
            position: absolute; inset: 0; background-size: cover; background-position: center 25%;
            filter: blur(8px) brightness(0.4) saturate(1.4); transform: scale(1.15);
        }
        .movie-page-hero-gradient {
            position: absolute; inset: 0;
            background: linear-gradient(180deg, rgba(3,3,3,0.15) 0%, rgba(3,3,3,0.55) 60%, #030303 100%);
        }
        .movie-page-back {
            position: absolute; top: 18px; left: 5%; z-index: 5;
            display: inline-flex; align-items: center; gap: 8px;
            padding: 10px 18px; border-radius: 30px;
            background: rgba(10,10,10,0.55); border: 1px solid rgba(255,255,255,0.15);
            color: #fff; font-weight: 700; font-size: 13px; cursor: pointer;
            backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
            transition: 0.25s; font-family: 'Outfit', sans-serif;
        }
        .movie-page-back:hover { background: #00f2ff; color: #000; border-color: #00f2ff; }

        .movie-page-body {
            max-width: 980px; margin: -160px auto 0; padding: 0 5% 70px;
            position: relative; z-index: 2;
            display: flex; gap: 36px; align-items: flex-start;
        }
        .movie-page-poster-col { flex-shrink: 0; width: 210px; }
        .movie-page-poster {
            width: 210px; display: block; border-radius: 14px;
            box-shadow: 0 22px 50px rgba(0,0,0,0.65); border: 3px solid #0d0d0d;
        }
        .movie-page-info-col { flex: 1; min-width: 0; padding-top: 0; text-align: left; }
        .movie-page-title { font-size: 28px; font-weight: 800; line-height: 1.25; margin: 0 0 12px; }

        @media (max-width: 1023px) {
            .movie-page-hero { height: 210px; }
            .movie-page-body { flex-direction: column; align-items: center; margin-top: -150px; padding: 0 24px 60px; text-align: center; }
            .movie-page-poster-col { width: 160px; margin-bottom: 16px; }
            .movie-page-poster { width: 160px; }
            .movie-page-info-col { width: 100%; padding-top: 0; text-align: center; }
            .movie-page-title { font-size: 22px; }
            .modal-meta { width: 100%; justify-content: center; }
            .modal-action-btns { justify-content: center; }
        }
        @media (max-width: 767px) {
            .movie-page-hero { height: 190px; }
            .movie-page-body { margin-top: -135px; padding-bottom: 95px; }
        }

        /* ========== MOVIE PAGE SHIMMER LOADER (shown while deep-linked movie data is fetching) ========== */
        .movie-page-loader { display: none; }
        .mp-skel-shimmer {
            background: linear-gradient(90deg, #111 25%, #1c1c1c 37%, #111 63%);
            background-size: 400% 100%;
            animation: mpShimmer 1.4s ease infinite;
            border-radius: 8px;
        }
        @keyframes mpShimmer {
            0%   { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }
        .mp-skel-hero {
            width: 100%; height: 240px;
            border-radius: 0;
        }
        .mp-skel-body {
            max-width: 980px; margin: -160px auto 0; padding: 0 5% 70px;
            position: relative; z-index: 2;
            display: flex; gap: 36px; align-items: flex-start;
        }
        .mp-skel-poster { width: 210px; height: 300px; flex-shrink: 0; }
        .mp-skel-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
        .mp-skel-title { height: 30px; width: 70%; }
        .mp-skel-chip-row { display: flex; gap: 8px; }
        .mp-skel-chip { height: 22px; width: 64px; border-radius: 20px; }
        .mp-skel-btn { height: 44px; width: 160px; margin-top: 8px; border-radius: 9px; }
        @media (max-width: 1023px) {
            .mp-skel-hero { height: 210px; }
            .mp-skel-body { flex-direction: column; align-items: center; margin-top: -150px; padding: 0 24px 60px; }
            .mp-skel-poster { width: 160px; height: 230px; }
            .mp-skel-info { align-items: center; width: 100%; }
            .mp-skel-title { width: 80%; max-width: 260px; }
            .mp-skel-chip-row { justify-content: center; }
            .mp-skel-btn { margin-left: auto; margin-right: auto; }
        }
        @media (max-width: 767px) {
            .mp-skel-hero { height: 190px; }
            .mp-skel-body { margin-top: -135px; padding-bottom: 95px; }
        }

        /* ========== DEEP-LINK PENDING STATE ==========
           Applied to <html> the instant the page loads with a ?id=... in the
           URL, before any JS has fetched movie data. Without this, the home
           grid renders first (it's plain HTML/CSS) and only swaps to the
           movie page after the API call finishes — which looks like "refresh
           always dumps me back on the home page". This shows the existing
           shimmer skeleton immediately instead, so the reveal is either the
           real movie (fast) or the home grid as a deliberate fallback (only
           if the id turns out to be invalid), never a flash of the wrong page. */
        html.dl-pending .popular-slider-section,
        html.dl-pending .announcement-banner,
        html.dl-pending #catList,
        html.dl-pending .main-container,
        html.dl-pending .scrolling-text,
        html.dl-pending .btn-group { display: none !important; }
        html.dl-pending .movie-page { display: block !important; }
        html.dl-pending .movie-page-loader { display: block !important; }
        html.dl-pending #moviePageHero,
        html.dl-pending #moviePageBody { display: none !important; }

        /* ========== RELATED MOVIES (on movie detail page) ========== */
        .related-movies-section {
            display: none;
            max-width: 980px; margin: 10px auto 0; padding: 0 5% 60px;
        }
        .related-movies-header {
            display: flex; align-items: center; gap: 10px;
            margin-bottom: 14px;
        }
        .related-movies-header .section-title-bar {
            width: 4px; height: 20px; border-radius: 2px;
            background: #00f2ff;
            box-shadow: 0 0 8px rgba(0,242,255,0.6);
            flex-shrink: 0;
        }
        .related-movies-header h3 {
            font-size: 16px; font-weight: 800; color: #fff;
            display: flex; align-items: center; gap: 8px;
        }
        .related-movies-header h3 i { color: #00f2ff; font-size: 14px; }
        @media (max-width: 767px) {
            .related-movies-section { padding-bottom: 95px; }
        }

        .youtube-btn {
            display: inline-flex; align-items: center; gap: 5px;
            padding: 8px 18px; background: rgba(255,0,0,0.9); color: white;
            border: none; border-radius: 8px; font-weight: 600; font-size: 13px;
            cursor: pointer; margin-top: 10px; margin-bottom: 4px; text-decoration: none;
        }
        .youtube-btn:hover { background: #ff0000; }

        .modal-screenshot {
            width: 100%; border-radius: 10px; border: 1px solid #1e1e1e;
            margin: 12px 0; display: block;
        }
        .modal-meta { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 12px 0; }
        .modal-cat {
            background: rgba(0,242,255,0.08); color: #00f2ff;
            padding: 4px 12px; border-radius: 6px;
            font-size: 11px; font-weight: 600; border: 1px solid rgba(0,242,255,0.2);
        }
        .modal-action-btns { display: flex; gap: 8px; margin: 15px 0; }
        .modal-btn {
            flex: 1; padding: 11px; border-radius: 10px; border: 1px solid #2a2a2a;
            background: #181818; color: #fff; font-size: 13px; font-weight: 600;
            cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 5px;
            font-family: 'Outfit', sans-serif; transition: 0.2s;
        }
        .modal-btn:hover { border-color: rgba(255,255,255,0.2); background: #222; }

        /* ===== Share | Download split bar ===== */
        .modal-action-btns { display: flex; justify-content: center; margin: 14px 0; }
        .split-bar {
            display: flex; width: 100%; max-width: 320px; height: 46px; margin: 0 auto; padding: 2px;
            border-radius: 999px; overflow: hidden; position: relative;
            background: linear-gradient(90deg, #1fb5ff 0%, #3b6bff 50%, #b45cff 100%);
            box-shadow: -6px 6px 20px rgba(30,150,255,.30), 6px 6px 20px rgba(160,80,255,.34);
        }
        .sb-btn {
            flex: 1 1 0; min-width: 0; height: 100%; border: 0; margin: 0; cursor: pointer;
            display: flex; align-items: center; justify-content: center;
            font-family: 'Outfit', sans-serif; color: #fff; -webkit-tap-highlight-color: transparent;
            transition: filter .25s ease, transform .15s ease;
        }
        .sb-btn i { font-size: 15px; color: #fff; filter: drop-shadow(0 1px 3px rgba(0,0,0,.35)); }
        .sb-div { width: 1px; height: 18px; margin: 0 10px; background: rgba(255,255,255,.45); }
        .sb-label { font-size: 14px; font-weight: 700; letter-spacing: .1px; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.4); white-space: nowrap; }
        .sb-share {
            border-radius: 999px 0 0 999px; padding-right: 14px;
            background:
                radial-gradient(90% 140% at 0% 0%, rgba(40,150,200,.35), transparent 60%),
                linear-gradient(135deg, #12304f 0%, #090b1f 45%, #03030d 100%);
        }
        .sb-dl {
            border-radius: 0 999px 999px 0; margin-left: -12px; padding-left: 18px;
            clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%);
            background:
                linear-gradient(100deg, rgba(120,235,255,.55) 0, transparent 18px),
                linear-gradient(100deg, #0a7bff 0%, #2b3cf0 40%, #4a1fd0 70%, #a23cff 100%);
        }
        .sb-btn:hover { filter: brightness(1.18); }
        .sb-btn:active { transform: scale(.98); }
        .sb-dl[data-started="1"] { cursor: default; filter: brightness(.9); }
        .sb-share.copied i { color: #5dffb0; }

        /* ===== Download Now button ===== */
        .dl-action-wrap { text-align: center; margin: 14px auto 4px; max-width: 320px; }
        .dl-btn {
            display: flex; align-items: center; justify-content: center;
            width: 100%; max-width: 320px; height: 46px; margin: 10px auto; padding: 0 16px;
            border: 2px solid transparent; border-radius: 999px; overflow: hidden;
            color: #fff; text-decoration: none; cursor: pointer;
            font-family: 'Outfit', sans-serif;
            background:
                linear-gradient(100deg, #00d4c8 0%, #12a0ff 34%, #4a4cff 68%, #b042ff 100%) padding-box,
                linear-gradient(90deg, #8ffff0, #7fc4ff 50%, #e0a8ff) border-box;
            box-shadow: -6px 6px 20px rgba(0,212,200,.40), 6px 6px 20px rgba(176,66,255,.38);
            transition: filter .25s ease, transform .15s ease;
        }
        .dl-btn:hover { filter: brightness(1.15); }
        .dl-btn:active { transform: scale(.98); }
        .dl-btn > i { font-size: 15px; color: #fff; filter: drop-shadow(0 1px 3px rgba(0,0,0,.35)); }

        /* ===== Step indicator: Verify -> Download ===== */
        .dl-steps { display: flex; align-items: flex-start; justify-content: center; gap: 0; margin-bottom: 14px; }
        .dl-step {
            display: flex; flex-direction: column; align-items: center; gap: 5px;
            font-size: 10px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase;
            color: rgba(255,255,255,.6); white-space: nowrap; transition: color .3s;
        }
        .dl-step-dot {
            width: 28px; height: 28px; flex-shrink: 0; border-radius: 9px;
            background: rgba(20,16,50,.9); border: 1.5px solid rgba(140,110,255,.45);
            display: flex; align-items: center; justify-content: center;
            font-size: 13px; font-weight: 900; color: rgba(255,255,255,.75); transition: all .3s;
        }
        .dl-step-line {
            width: 24px; height: 2px; margin-top: 14px; flex-shrink: 0;
            background: repeating-linear-gradient(90deg, rgba(150,120,255,.55) 0 4px, transparent 4px 8px);
            transition: background .4s;
        }
        .dl-step.active { color: #fff; }
        .dl-step.active .dl-step-dot {
            background: linear-gradient(145deg, #7a3cff, #2a6bff); border-color: rgba(255,255,255,.5); color: #fff;
            box-shadow: 0 0 18px rgba(110,90,255,.75);
        }
        .dl-step.done { color: #fff; }
        .dl-step.done .dl-step-dot {
            background: linear-gradient(145deg, #2fe6a8, #12b886); border-color: transparent; color: #fff;
            box-shadow: 0 0 12px rgba(40,220,160,.45); animation: stepPop .35s ease;
        }
        .dl-step.done .dl-step-dot i { font-size: 13px; }
        .dl-step.done + .dl-step-line { background: linear-gradient(90deg, #2fe6a8, #12b886); }
        @keyframes stepPop { 0% { transform: scale(.6); } 70% { transform: scale(1.12); } 100% { transform: scale(1); } }

        /* ===== "Generating link" card ===== */
        .dl-generating {
            padding: 14px 16px; margin-bottom: 4px; border-radius: 16px; border: 1.5px solid transparent;
            background: linear-gradient(180deg, rgba(20,16,50,.96), rgba(9,8,26,.96)) padding-box,
                        linear-gradient(90deg, #8a6cf5, #46a8ff) border-box;
        }
        .dl-generating .dl-gen-label {
            display: flex; align-items: center; justify-content: center; gap: 8px;
            font-size: 14px; font-weight: 800; color: #fff; margin-bottom: 10px;
        }
        .dl-generating .dl-gen-label i { color: #b58cff; animation: dlGenSpin 1s linear infinite; }
        @keyframes dlGenSpin { to { transform: rotate(360deg); } }
        .dl-progress-track { width: 100%; height: 6px; border-radius: 6px; background: rgba(255,255,255,.12); overflow: hidden; }
        .dl-progress-fill {
            height: 100%; border-radius: 6px; width: 0%;
            background: linear-gradient(90deg, #b13cff, #2f4dff, #3bd8ff); transition: width 1s linear;
        }
        .dl-gen-sub { margin-top: 8px; font-size: 12.5px; color: rgba(255,255,255,.85); font-weight: 600; }

        /* poster skeleton while the next movie's poster loads */
        .movie-page-poster.is-loading {
            aspect-ratio: 2 / 3; color: transparent; object-fit: cover;
            background: linear-gradient(100deg, #141414 30%, #232323 50%, #141414 70%) 0 0 / 200% 100%;
            animation: posterShimmer 1.2s linear infinite;
        }
        @keyframes posterShimmer { to { background-position: -200% 0; } }

        .countdown { margin: 12px 0; color: #00f2ff; font-weight: 600; }

        #moreBtn {
            background: #111; border: 1px solid #222; color: #fff;
            padding: 13px 50px; border-radius: 10px; cursor: pointer; font-weight: 700;
            margin: 30px auto; display: none; font-size: 14px; font-family: 'Outfit', sans-serif;
            transition: 0.2s;
        }
        #moreBtn:hover { background: #00f2ff; color: #000; border-color: #00f2ff; box-shadow: 0 8px 24px rgba(0,242,255,0.3); }

        .ss-overlay {
            position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0,0,0,0.98); display: none; z-index: 3000;
            justify-content: center; align-items: center; padding: 20px;
        }
        .ss-content { position: relative; max-width: 90%; max-height: 90vh; }
        .ss-content img { max-width: 100%; max-height: 90vh; border-radius: 12px; border: 1px solid #333; }
        .close-ss {
            position: absolute; top: 10px; right: 10px;
            width: 40px; height: 40px; border-radius: 50%;
            background: rgba(255,255,255,0.15); border: 1px solid #333;
            color: white; font-size: 22px; cursor: pointer;
            display: flex; align-items: center; justify-content: center; z-index: 10;
        }
        .close-ss:hover { background: #ff0059; }

        /* ========== FOOTER ========== */
        .footer {
            background: #0a0a0a; border-top: 1px solid #1a1a1a;
            padding: 20px; text-align: center; margin-top: 40px; font-size: 13px;
            color: rgba(255,255,255,0.4);
        }
        .footer a { color: #00f2ff; text-decoration: none; font-weight: 600; }

        .marquee {
            display: inline-block; white-space: nowrap; padding-left: 100%;
            animation: marqueeMove 18s linear infinite;
        }
        @keyframes marqueeMove { from { transform: translateX(0); } to { transform: translateX(-100%); } }

        .colored-text {
            font-weight: bold;
            background: linear-gradient(90deg, #12f3ff, #12efff, #1eff12, #ffef12, #ff12b8);
            -webkit-background-clip: text; -webkit-text-fill-color: transparent;
            background-clip: text; color: transparent;
            background-size: 300% 100%; animation: gradientAnimation 8s ease infinite;
        }
        @keyframes gradientAnimation {
            0% { background-position: 0% 50%; } 25% { background-position: 50% 50%; }
            50% { background-position: 100% 50%; } 75% { background-position: 50% 50%; }
            100% { background-position: 0% 50%; }
        }

        /* ========== AUTH MODAL STYLES ========== */
        .auth-modal-overlay {
            position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            background: linear-gradient(135deg, #0a0a0f 0%, #14141f 100%);
            backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
            display: none; justify-content: center; align-items: center;
            z-index: 10000; padding: 20px;
            animation: authFadeIn 0.25s ease-out; overflow-y: auto;
        }
        @keyframes authFadeIn { from { opacity: 0; } to { opacity: 1; } }

        .auth-modal-content {
            background: rgba(20, 20, 30, 0.95);
            backdrop-filter: blur(0px); border-radius: 24px;
            border: 1px solid rgba(255, 255, 255, 0.08);
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 8px 20px -8px rgba(0, 0, 0, 0.3);
            width: 100%; max-width: 440px; position: relative;
            overflow: hidden; animation: authSlideUp 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
            margin: auto; transition: transform 0.2s ease, box-shadow 0.2s ease;
        }
        .auth-modal-content:hover { box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6); }

        @keyframes authSlideUp {
            from { opacity: 0; transform: translateY(20px) scale(0.98); }
            to { opacity: 1; transform: translateY(0) scale(1); }
        }

        .modal-header { text-align: center; padding: 36px 40px 18px; position: relative; }
        .auth-icon-avatar {
            width: 60px; height: 60px; border-radius: 18px;
            background: linear-gradient(135deg, #ff2d78, #a020f0);
            display: flex; align-items: center; justify-content: center;
            margin: 0 auto 18px; box-shadow: 0 10px 26px -6px rgba(160,32,240,0.55);
        }
        .auth-icon-avatar i { font-size: 24px; color: #fff; }
        .auth-modal-title {
            font-size: 1.7rem; font-weight: 800; margin-bottom: 6px; letter-spacing: -0.3px; line-height: 1.2;
            background: linear-gradient(90deg, #ffffff, #cdd3ff);
            -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
        }
        .auth-modal-subtitle { font-size: 0.88rem; color: rgba(255, 255, 255, 0.45); font-weight: 400; }

        .auth-form-container {
            padding: 4px 40px 32px;
            display: flex; flex-direction: column; align-items: center;
        }
        .form-group { position: relative; margin-bottom: 18px; width: 100%; }
        .form-group .input-icon {
            position: absolute; left: 17px; top: 50%; transform: translateY(-50%);
            color: rgba(255,255,255,0.32); font-size: 14px; pointer-events: none;
            transition: color 0.2s ease; z-index: 1;
        }
        .form-group:focus-within .input-icon { color: #ff2d78; }
        .form-input {
            width: 100%; padding: 14px 18px 14px 44px;
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 14px; color: #ffffff; font-size: 0.95rem;
            box-sizing: border-box; transition: all 0.2s ease;
            font-family: 'Outfit', sans-serif; outline: none;
        }
        .form-input::placeholder { color: rgba(255, 255, 255, 0.32); }
        .form-input:focus { border-color: #ff2d78; background: rgba(255, 45, 120, 0.06); box-shadow: 0 0 0 3px rgba(255, 45, 120, 0.12); }
        .password-toggle-btn {
            position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
            background: none; border: none; color: rgba(255,255,255,0.35); cursor: pointer;
            font-size: 14px; padding: 4px; display: flex; z-index: 1; transition: color 0.2s ease;
        }
        .password-toggle-btn:hover { color: rgba(255,255,255,0.75); }

        .form-options { display: flex; justify-content: flex-end; margin-bottom: 24px; width: 100%; }
        .forgot-password-link {
            color: rgba(255, 255, 255, 0.55); text-decoration: none;
            font-size: 0.8rem; font-weight: 500; transition: color 0.2s ease; cursor: pointer;
        }
        .forgot-password-link:hover { color: #ff2d78; }

        .auth-submit-btn {
            width: 100%; padding: 14px 20px; border: none; border-radius: 14px;
            background: linear-gradient(135deg, #ff2d78, #a020f0); color: #ffffff; font-size: 0.95rem; font-weight: 700;
            cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px;
            transition: all 0.2s ease; font-family: 'Outfit', sans-serif;
            box-shadow: 0 10px 26px -8px rgba(160,32,240,0.55);
            letter-spacing: 0.2px;
        }
        .auth-submit-btn:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 14px 30px -8px rgba(160,32,240,0.7); filter: brightness(1.06); }
        .auth-submit-btn:active:not(:disabled) { transform: translateY(0px); }
        .auth-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }

        .auth-message {
            margin-top: 20px; padding: 12px 16px; border-radius: 12px;
            font-size: 0.85rem; font-weight: 500; display: none;
            text-align: center; width: 100%; box-sizing: border-box;
        }
        .auth-message.success { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.3); color: #22c55e; }
        .auth-message.error { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: #ef4444; }

        .auth-footer {
            text-align: center; padding: 24px 40px 32px;
            border-top: 1px solid rgba(255, 255, 255, 0.06);
            width: 100%; background: rgba(0, 0, 0, 0.2);
        }
        .auth-footer p { color: rgba(255, 255, 255, 0.5); font-size: 0.85rem; margin-bottom: 0; font-weight: 400; }
        .register-link { color: #3b82f6; font-weight: 600; text-decoration: none; transition: color 0.2s ease; margin-left: 4px; }
        .register-link:hover { color: #60a5fa; text-decoration: underline; }

        .back-to-login {
            color: #3b82f6; text-decoration: none; font-size: 0.85rem; font-weight: 500;
            display: inline-flex; align-items: center; gap: 6px; transition: all 0.2s ease;
            padding: 8px 16px; border-radius: 12px; background: rgba(59,130,246,0.08); cursor: pointer;
        }
        .back-to-login:hover { background: rgba(59,130,246,0.15); gap: 8px; }

        .contact-admin-btn {
            background: linear-gradient(135deg, #1db954, #0d8c3f); color: white;
            border: none; border-radius: 14px; padding: 12px 20px; font-weight: 600;
            cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
            gap: 10px; text-decoration: none; text-align: center; font-size: 0.9rem;
            transition: all 0.2s ease; width: 100%; margin: 10px auto;
        }
        .contact-admin-btn:hover { background: linear-gradient(135deg, #14833b, #0a5c2a); transform: translateY(-1px); }

        @media (max-width: 520px) {
            .auth-modal-content { max-width: 95%; border-radius: 20px; }
            .modal-header { padding: 32px 24px 16px; }
            .auth-modal-title { font-size: 1.6rem; }
            .auth-form-container { padding: 0 24px 28px; }
            .auth-footer { padding: 20px 24px 28px; }
            .form-input { padding: 12px 16px 12px 44px; }
        }

        .auth-modal-overlay::-webkit-scrollbar { width: 4px; }
        .auth-modal-overlay::-webkit-scrollbar-track { background: rgba(255,255,255,0.03); }
        .auth-modal-overlay::-webkit-scrollbar-thumb { background: rgba(59,130,246,0.3); border-radius: 10px; }
        .auth-modal-overlay::-webkit-scrollbar-thumb:hover { background: rgba(59,130,246,0.5); }

        /* ========== ACCOUNT EXPIRED POPUP ========== */
        .expiry-modal-overlay {
            position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(3,3,3,0.85);
            backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
            display: none; justify-content: center; align-items: center;
            z-index: 20000; padding: 20px;
            animation: authFadeIn 0.25s ease-out;
        }
        .expiry-modal-box {
            background: rgba(20, 20, 30, 0.97);
            border-radius: 22px; border: 1px solid rgba(255, 87, 87, 0.25);
            box-shadow: 0 25px 60px -12px rgba(0,0,0,0.6), 0 0 40px -10px rgba(255,45,45,0.25);
            width: 100%; max-width: 400px; text-align: center;
            padding: 36px 32px 30px; animation: authSlideUp 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
            font-family: 'Hind Siliguri', 'Outfit', sans-serif;
        }
        .expiry-icon-circle {
            width: 66px; height: 66px; border-radius: 50%; margin: 0 auto 20px;
            background: linear-gradient(135deg, #ff3b3b, #ff2d78);
            display: flex; align-items: center; justify-content: center;
            box-shadow: 0 10px 26px -6px rgba(255,59,59,0.55);
        }
        .expiry-icon-circle i { font-size: 26px; color: #fff; }
        .expiry-modal-title {
            font-size: 1.3rem; font-weight: 700; color: #fff; margin-bottom: 10px;
            font-family: 'Hind Siliguri', sans-serif;
        }
        .expiry-modal-text {
            font-size: 0.95rem; color: rgba(255,255,255,0.65); line-height: 1.7;
            margin-bottom: 26px; font-family: 'Hind Siliguri', sans-serif;
        }
        .expiry-contact-btn {
            width: 100%; padding: 13px 20px; border: none; border-radius: 14px;
            background: linear-gradient(135deg, #ff3b3b, #ff2d78); color: #fff;
            font-size: 0.95rem; font-weight: 700; cursor: pointer;
            display: flex; align-items: center; justify-content: center; gap: 9px;
            transition: all 0.2s ease; font-family: 'Hind Siliguri', 'Outfit', sans-serif;
            box-shadow: 0 10px 24px -8px rgba(255,45,45,0.5); text-decoration: none;
        }
        .expiry-contact-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
        @media (max-width: 480px) {
            .expiry-modal-box { padding: 30px 24px 24px; }
        }

        /* ========== USER PROFILE STYLES (Desktop) ========== */
        .desktop-profile-area {
            display: flex; align-items: center; gap: 12px; margin-left: 15px;
        }
        .profile-desktop-btn {
            display: flex; align-items: center; gap: 10px;
            background: rgba(0,242,255,0.1); border: 1px solid rgba(0,242,255,0.3);
            border-radius: 50px; padding: 6px 16px; cursor: pointer; transition: all 0.3s ease;
        }
        .profile-desktop-btn:hover { background: rgba(0,242,255,0.2); border-color: #00f2ff; }
        .profile-avatar-desk {
            width: 32px; height: 32px; border-radius: 50%;
            background: linear-gradient(135deg, #00f2ff, #00a3ff);
            display: flex; align-items: center; justify-content: center;
            font-size: 14px; font-weight: bold; color: #000;
        }
        .profile-desk-info { display: flex; flex-direction: column; }
        .profile-desk-name { font-size: 13px; font-weight: 600; color: #fff; }
        .profile-desk-status { font-size: 10px; color: #00f2ff; }
        .logout-btn-desktop {
            background: linear-gradient(90deg, #ff0059, #ff3366);
            border: none; border-radius: 50px; padding: 8px 18px;
            color: white; font-weight: 600; font-size: 13px;
            cursor: pointer; display: flex; align-items: center; gap: 6px; transition: all 0.3s ease;
        }
        .logout-btn-desktop:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(255,0,89,0.3); }

        /* Profile Dropdown */
        .profile-dropdown-desk {
            position: absolute; top: 100%; right: 10px; margin-top: 6px;
            background: rgba(20,20,30,0.95); backdrop-filter: blur(14px);
            border: 1px solid rgba(0,242,255,0.2); border-radius: 10px;
            min-width: 200px; z-index: 1000;
            box-shadow: 0 4px 18px rgba(0,0,0,0.2); animation: fadeInDown 0.15s ease;
        }
        @keyframes fadeInDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
        .dropdown-header-desk {
            padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,0.06);
            display: flex; align-items: center; gap: 8px;
        }
        .dropdown-avatar-desk {
            width: 34px; height: 34px; border-radius: 50%;
            background: linear-gradient(135deg, #00ff91, #00f2ff);
            display: flex; align-items: center; justify-content: center;
            font-size: 14px; font-weight: bold; color: #000;
        }
        .dropdown-info-desk h4 { margin: 0; font-size: 13px; color: #fff; }
        .dropdown-info-desk p { margin: 0; font-size: 10px; color: rgba(255,255,255,0.55); }
        .dropdown-body-desk { padding: 8px 12px; }

        /* ========== MOBILE BOTTOM NAV ========== */
        .mobile-bottom-nav {
            position: fixed; bottom: 0; left: 0; right: 0;
            background: rgba(3,3,3,0.97);
            backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
            border-top: 1px solid rgba(0,242,255,0.12);
            display: none; justify-content: space-around; align-items: center;
            padding: 8px 0 14px; z-index: 999;
        }
        .mobile-nav-item {
            display: flex; flex-direction: column; align-items: center;
            gap: 3px; cursor: pointer; padding: 6px 14px; border-radius: 10px;
            color: rgba(255,255,255,0.45); transition: 0.2s; font-size: 10px;
            font-family: 'Outfit', sans-serif; font-weight: 600; position: relative;
        }
        .mobile-nav-item i { font-size: 19px; }
        .mobile-nav-item span { font-size: 11px; }
        .mobile-nav-item.active, .mobile-nav-item:hover {
            color: #00f2ff; background: rgba(0,242,255,0.08);
        }
        .mobile-profile-avatar {
            width: 28px; height: 28px; border-radius: 50%;
            background: linear-gradient(135deg, #00f2ff, #00a3ff);
            display: flex; align-items: center; justify-content: center;
            font-size: 12px; font-weight: bold; color: #000; margin-bottom: 2px;
        }
        .mobile-user-badge {
            position: absolute; top: -2px; right: 6px;
            width: 10px; height: 10px; background: #00ff91;
            border-radius: 50%; border: 2px solid #0a0a0f;
        }
        .mobile-profile-popup {
            position: fixed; bottom: 70px; left: 15px; right: 15px;
            background: rgba(20,20,30,0.98); backdrop-filter: blur(20px);
            border-radius: 20px; border: 1px solid rgba(0,242,255,0.3);
            padding: 20px; z-index: 1001; animation: slideUp 0.3s ease;
            box-shadow: 0 10px 40px rgba(0,0,0,0.5);
        }
        @keyframes slideUp { from { transform: translateY(100px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

        @media (max-width: 768px) {
            .mobile-bottom-nav { display: flex; }
            body { padding-bottom: 70px; }
            .desktop-profile-area { display: none !important; }
            #userProfile { display: none !important; }

            /* Header: let the search bar shrink instead of overflowing past the logo */
            header { padding: 0 4%; gap: 10px; }
            .header-actions { flex: 1 1 auto; min-width: 0; justify-content: flex-end; }
            .search-wrapper { width: auto; }
        }
        @media (max-width: 480px) {
            .logo { font-size: 17px; gap: 6px; }
            .logo-icon { width: 28px; height: 28px; }
            .logo-icon svg { width: 14px; height: 14px; }
            .logo-sub { display: none; }
            .search-wrapper { padding: 0 10px; }
            .search-wrapper input { font-size: 13px; }
        }
        @media (min-width: 769px) {
            .mobile-bottom-nav { display: none !important; }
            #userProfile { display: none !important; }
        }

        @keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

        /* =====================================================================
           MOBILE READABILITY OVERRIDES (bigger text, 2-column grid)
           Keep at the END of this <style> so it wins over the rules above.
           ===================================================================== */
        @media (max-width: 768px) {

            /* Header & search (16px input stops iOS auto-zoom on focus) */
            .search-wrapper { height: 44px; }
            .search-wrapper::before { font-size: 15px; }
            .search-wrapper input,
            .search-wrapper input[type="text"] { font-size: 16px; }
            .suggestion-item { padding: 12px; }
            .suggestion-item img { width: 44px; height: 64px; }
            .suggestion-item h4 { font-size: 15px !important; }
            .suggestion-item div[style*="font-size:10px"],
            .suggestion-item div[style*="font-size: 10px"] { font-size: 12px !important; }

            /* Ticker, chips, buttons */
            .scrolling-text { font-size: 15px; padding: 11px 0; }
            .category-scroll { gap: 8px; padding-bottom: 14px; }
            .chip { font-size: 14px; padding: 9px 18px; border-radius: 10px; }
            .btn-nav { font-size: 14px; padding: 13px 10px; }

            /* Section titles */
            .section-title { font-size: 21px; }
            .section-title .icon { font-size: 18px; }
            .popular-slider-header h3,
            .related-movies-header h3 { font-size: 19px; }

            /* Popular slider */
            .popular-movie-card { width: 110px; }
            .popular-movie-card img { width: 110px; height: 154px; }
            .pop-rank { font-size: 106px; left: 5px; }
            .two-digit .pop-rank { font-size: 80px; }
            .popular-movie-card .pop-title { font-size: 12.5px; }

            /* Movie card: badges + title */
            .b-top, .b-bottom, .b-pre, .b-type {
                font-size: 10px; line-height: 1.25; font-weight: 700;
                padding: 3px 7px; white-space: nowrap;
            }
            .b-top { max-width: 68%; border-radius: 0 0 8px 0; }
            .b-stack { max-width: 75%; }
            .b-stack .b-pre, .b-stack .b-bottom { max-width: 100%; }
            .b-type { max-width: 32%; bottom: 6px; right: 6px; border-radius: 5px; }
            .card-info { padding: 10px 10px 12px; }
            .movie-title {
                font-size: 15px; line-height: 1.35;
                white-space: nowrap;
                overflow: hidden; text-overflow: ellipsis;
                display: block;
            }

            /* Movie details page */
            .movie-page-title { font-size: 25px; }
            .movie-page-poster-col, .movie-page-poster { width: 180px; }
            .modal-cat { font-size: 13px; padding: 6px 13px; }
            .youtube-btn { font-size: 15px; padding: 11px 20px; }

            /* Bottom nav */
            .mobile-nav-item { font-size: 12px; padding: 6px 18px; }
            .mobile-nav-item span { font-size: 12px; }
            .mobile-nav-item i { font-size: 22px; }

            /* Footer */
            .footer { font-size: 14px; }
        }

        /* Phones: 2 columns so posters and text are big enough to read.
           (Tablets 600-768px keep 3 columns.) */
        @media (max-width: 599px) {
            .movie-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
        }
    

        #noInternet.popSc {
            position: fixed; inset: 0; z-index: 99999999;
            background: rgba(0,0,0,0.75); backdrop-filter: blur(20px) saturate(160%);
            -webkit-backdrop-filter: blur(20px) saturate(160%);
            display: flex; justify-content: center; align-items: center; padding: 20px;
            font-family: 'Outfit', sans-serif; transition: all 0.3s ease;
        }
        #noInternet.hidden { display: none; opacity: 0; visibility: hidden; }
        #noInternet .popBo {
            background: rgba(30,30,40,0.6); border: 1px solid rgba(255,255,255,0.1);
            padding: 40px 30px; border-radius: 25px; max-width: 400px; width: 100%;
            text-align: center; box-shadow: 0 25px 50px rgba(0,0,0,0.6); color: #fff;
            animation: ni-popIn 0.4s cubic-bezier(0.175,0.885,0.32,1.275);
        }
        #noInternet .popBo svg { width: 65px; height: 65px; stroke: #ff0059; fill: none; stroke-width: 1.5; margin-bottom: 20px; }
        #noInternet .popBo h2 { font-size: 24px; margin: 0 0 12px 0; font-weight: 700; background: linear-gradient(90deg,#ff0059,#00f7ff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
        #noInternet .popBo p { font-size: 15px; color: rgba(255,255,255,0.8); line-height: 1.6; margin-bottom: 25px; }
        #noInternet .popBtn { background: linear-gradient(135deg,#ff0059,#00f7ff); border: none; width: 55px; height: 55px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 8px 20px rgba(255,0,89,0.4); transition: 0.3s; margin: 0 auto; }
        #noInternet .popBtn svg { width: 24px; height: 24px; stroke: #fff; margin-bottom: 0; }
        #noInternet .popBtn:hover { transform: scale(1.1) rotate(15deg); }
        .tNtf span { position: fixed; left: 50%; transform: translateX(-50%); bottom: -80px; z-index: 99999999; background: rgba(255,255,255,0.15); backdrop-filter: blur(15px); border: 1px solid rgba(255,255,255,0.2); color: #fff; padding: 12px 25px; border-radius: 50px; font-size: 14px; box-shadow: 0 10px 30px rgba(0,0,0,0.4); transition: all 0.5s ease; }
        .tNtf.show span { bottom: 30px; }
        @keyframes ni-popIn { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }
        .r-icn { animation: rotateIcn 1.5s infinite linear; }
        @keyframes rotateIcn { from { transform: rotate(0deg); } to { transform: rotate(359deg); } }
/* =====================================================================
   COMING SOON — countdown on cards + movie page (Share only, no Download)
   ===================================================================== */
.card.is-soon { border-color: rgba(150, 100, 255, .38); }
.card.is-soon:hover { border-color: rgba(176, 110, 255, .75); box-shadow: 0 20px 50px rgba(0,0,0,.55), 0 0 0 1px rgba(176,110,255,.25), 0 0 26px rgba(130,70,255,.28); }

/* overlay on the poster (always visible, replaces the hover play icon) */
.cs-ov {
    position: absolute; inset: 0; z-index: 4; pointer-events: none;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    background: linear-gradient(180deg, rgba(10,6,30,.28) 0%, rgba(10,6,30,.58) 55%, rgba(10,6,30,.82) 100%);
    padding: 0 8px; text-align: center;
}
.cs-ov-tag {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 10px; font-weight: 800; letter-spacing: 1.1px; text-transform: uppercase; color: #fff;
    padding: 5px 11px; border-radius: 999px;
    background: linear-gradient(90deg, #7a3cff, #1fb5ff);
    box-shadow: 0 4px 16px rgba(110, 70, 255, .55);
}
.cs-ov-tag i { font-size: 10px; }
.cs-ov-time {
    font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 17px; letter-spacing: .4px; color: #fff;
    font-variant-numeric: tabular-nums; text-shadow: 0 2px 10px rgba(0,0,0,.7);
    background: rgba(0,0,0,.42); border: 1px solid rgba(255,255,255,.16);
    padding: 5px 11px; border-radius: 10px; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
@media (max-width: 600px) {
    .cs-ov { gap: 6px; }
    .cs-ov-tag { font-size: 8.5px; padding: 4px 8px; letter-spacing: .8px; }
    .cs-ov-time { font-size: 13px; padding: 4px 8px; border-radius: 8px; }
}

/* popular slider tag */
.pop-soon {
    position: absolute; bottom: 6px; right: 6px; z-index: 4; line-height: 1;
    font-size: 9px; font-weight: 800; letter-spacing: .8px; color: #fff;
    padding: 4px 7px; border-radius: 6px;
    background: linear-gradient(90deg, #7a3cff, #1fb5ff);
}

/* "Coming Soon" filter chip */
.chip.chip-soon { border-color: rgba(176,110,255,.55); color: #d9c4ff; }
.chip.chip-soon i { margin-right: 4px; font-size: .9em; }
.chip.chip-soon.active { color: #fff; border-color: transparent; background: linear-gradient(90deg, #7a3cff, #1fb5ff); }

/* movie page: countdown panel */
.cs-panel { display: block; width: 100%; max-width: 320px; margin: 14px auto 6px; }
.cs-panel-inner {
    position: relative; overflow: hidden; text-align: center;
    padding: 16px 14px 14px; border-radius: 18px;
    background:
        radial-gradient(120% 90% at 0% 0%, rgba(40,150,255,.18), transparent 60%),
        radial-gradient(120% 90% at 100% 100%, rgba(170,70,255,.2), transparent 60%),
        linear-gradient(160deg, #0d0f26 0%, #07071a 100%);
    border: 1px solid rgba(140, 120, 255, .30);
    box-shadow: 0 10px 34px -10px rgba(90, 70, 255, .55), inset 0 1px 0 rgba(255,255,255,.06);
}
.cs-p-pill {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 11px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: #fff;
    padding: 5px 13px; border-radius: 999px;
    background: linear-gradient(90deg, #7a3cff, #1fb5ff);
    box-shadow: 0 4px 16px rgba(110, 70, 255, .5);
}
.cs-p-title { margin: 12px 0 10px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.7); letter-spacing: .4px; }
.cs-digits { display: flex; align-items: flex-start; justify-content: center; gap: 4px; }
.cs-unit {
    flex: 1 1 0; min-width: 0; max-width: 64px; padding: 9px 0 7px; border-radius: 12px;
    background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.10);
    display: flex; flex-direction: column; align-items: center; gap: 3px;
}
.cs-unit b {
    font-family: 'Outfit', sans-serif; font-size: 26px; font-weight: 800; line-height: 1; color: #fff;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(180deg, #ffffff 30%, #b9c8ff 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.cs-unit small { font-size: 9.5px; font-weight: 700; letter-spacing: .9px; text-transform: uppercase; color: rgba(255,255,255,.55); }
.cs-sep { align-self: flex-start; margin-top: 9px; font-size: 20px; font-weight: 800; color: rgba(160,140,255,.7); animation: csBlink 1s steps(2, start) infinite; }
@keyframes csBlink { 50% { opacity: .25; } }
.cs-p-date {
    margin-top: 12px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px;
    font-size: 12px; font-weight: 600; color: rgba(255,255,255,.78);
}
.cs-p-date i { margin-right: 5px; color: #7fb4ff; }
@media (max-width: 380px) {
    .cs-unit b { font-size: 22px; }
    .cs-sep { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { .cs-sep { animation: none; } }

/* Share-only bar: the Share button becomes the whole pill */
.split-bar.cs-only .sb-share {
    border-radius: 999px; padding: 0 14px;
    background:
        radial-gradient(90% 140% at 0% 0%, rgba(40,150,200,.35), transparent 60%),
        linear-gradient(135deg, #12304f 0%, #090b1f 45%, #03030d 100%);
}
.sb-dl:disabled { cursor: wait; filter: brightness(.85); }