
        *{margin:0;padding:0;box-sizing:border-box;-webkit-tap-highlight-color:transparent}
        @font-face{font-family:'BonVF';src:url('/bonVF.woff2') format('woff2');font-weight:100 900;font-display:swap}
        body{background:#0a0a0c;color:#fff;font-family:'BonVF',system-ui,sans-serif;overflow-x:hidden;padding-bottom:104px}
        :root{--bg-primary:#0a0a0c;--bg-secondary:#121215;--bg-tertiary:#18181d;--bg-card:#0f0f13;--bg-card-hover:#15151c;--accent:var(--bm-accent);--accent-rgb:var(--bm-accent-rgb);--accent-dark:var(--bm-accent-dark);--accent-glow:rgba(var(--accent-rgb),0.12);--text-primary:#fff;--text-secondary:#a0a0a8;--text-tertiary:#6e6e7a;--border-subtle:rgba(255,255,255,0.06);--border-accent:rgba(var(--accent-rgb),0.25);--gradient-hero:linear-gradient(135deg,#fff,var(--accent));--gradient-donate:linear-gradient(135deg,#ff3366,#ff6633);--gradient-random:linear-gradient(135deg,#ffaa33,#ff6633);--gradient-story:linear-gradient(135deg,#1d5fff,#21cfff,#7b2cff)}
        ::-webkit-scrollbar{width:6px;height:6px}
        ::-webkit-scrollbar-track{background:#121215;border-radius:10px}
        ::-webkit-scrollbar-thumb{background:var(--accent);border-radius:10px}
        
        /* Hero Slider Premium - Improved with IMDb badge and professional dots */
        .hero-slider{position:relative;width:100%;height:85vh;min-height:620px;max-height:800px;overflow:hidden;border-radius:0 0 32px 32px;background:#000;margin-bottom:30px;box-shadow:0 20px 40px rgba(0,0,0,0.4)}
        .hero-track{position:relative;width:100%;height:100%}
        .hero-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity 0.8s cubic-bezier(0.25,0.1,0.2,1),visibility 0.8s;transform:scale(1.05);filter:blur(3px);transition:transform 6s ease,filter 0.8s ease,opacity 0.8s ease}
        .hero-slide.active{opacity:1;visibility:visible;z-index:2;transform:scale(1);filter:blur(0)}
        .hero-bg{width:100%;height:100%;object-fit:cover;animation:heroZoom 12s ease-in-out infinite alternate;transform-origin:center}
        @keyframes heroZoom{0%{transform:scale(1)}100%{transform:scale(1.1)}}
        .hero-overlay{position:absolute;inset:0;background:linear-gradient(to top,#0a0a0c 5%,rgba(0,0,0,0.6) 40%,rgba(0,0,0,0.3)),linear-gradient(to right,rgba(0,0,0,0.75) 0%,transparent 70%);pointer-events:none}
        .hero-content{position:absolute;bottom:15%;right:5%;width:90%;max-width:650px;z-index:5;animation:slideContent 0.7s cubic-bezier(0.2,0.9,0.4,1.1);text-shadow:0 2px 10px rgba(0,0,0,0.5)}
        @keyframes slideContent{0%{opacity:0;transform:translateX(40px) scale(0.95)}100%{opacity:1;transform:translateX(0) scale(1)}}
        .hero-title{font-size:clamp(2rem,6vw,3.8rem);font-weight:900;color:#fff;margin-bottom:1rem;line-height:1.2}
        .hero-desc{font-size:clamp(0.85rem,2.5vw,1.1rem);color:#e0e0e0;line-height:1.6;margin-bottom:1.8rem;opacity:0.9}
        .hero-buttons{display:flex;gap:16px;flex-wrap:wrap}
        .hero-btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 32px;border-radius:50px;font-weight:800;font-size:0.95rem;text-decoration:none;transition:all 0.25s ease;cursor:pointer}
        .hero-btn.main{background:var(--accent);color:#000;box-shadow:0 4px 12px rgba(47,124,255,0.3)}
        .hero-btn.main:hover{transform:translateY(-3px) scale(1.02);background:#fff;box-shadow:0 8px 20px rgba(0,0,0,0.3)}
        .hero-arrow{position:absolute;top:50%;transform:translateY(-50%);width:48px;height:48px;background:rgba(0,0,0,0.5);backdrop-filter:blur(8px);border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:10;transition:0.2s;border:1px solid rgba(255,255,255,0.15)}
        .hero-arrow:hover{background:var(--accent);transform:translateY(-50%) scale(1.1)}
        .hero-arrow svg{width:24px;height:24px;stroke:#fff}
        .hero-arrow:hover svg{stroke:#000}
        .hero-prev{right:20px}
        .hero-next{left:20px}
        
        /* IMDb Badge - like movie.php with LTR fix */
        .imdb-rating-badge{
            position:absolute;bottom:20px;left:20px;z-index:12;
            background:rgba(0,0,0,0.7);backdrop-filter:blur(8px);
            border-radius:12px;padding:8px 14px;
            display:flex;align-items:center;gap:10px;
            font-weight:700;font-size:14px;color:#f5c518;
            border-left:3px solid #f5c518;
            box-shadow:0 4px 12px rgba(0,0,0,0.3);
            direction:ltr;
            unicode-bidi:embed;
        }
        .imdb-rating-badge .imdb-logo svg,.imdb-rating-badge .imdb-logo img{width:42px;height:20px;display:block;object-fit:contain}
        .imdb-rating-badge .rating-score{font-size:15px;font-weight:700;color:#fff;letter-spacing:0.3px;line-height:1}
        .imdb-rating-badge .rating-score small{font-size:11px;font-weight:400;color:#ddd;margin-left:2px}
        .imdb-rating-badge .rating-votes{font-size:11px;color:#ccc;margin-left:4px;font-weight:normal}
        
        /* Hero simple dots - no progress */
        .hero-dots{position:absolute;bottom:22px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:10px;z-index:15}
        .hero-dot{width:10px;height:10px;border-radius:999px;background:rgba(255,255,255,0.45);border:0;padding:0;cursor:pointer;transition:all .25s ease;box-shadow:0 0 0 1px rgba(255,255,255,.08)}
        .hero-dot:hover{background:#fff;transform:scale(1.12)}
        .hero-dot.active{width:30px;background:var(--accent);box-shadow:0 0 12px var(--accent)}
        .hero-dot .dot-inner{display:none}
        @media(max-width:768px){.hero-dots{bottom:16px}.hero-dot{width:8px;height:8px}.hero-dot.active{width:24px}}
        
        /* Rest of styles (keep all original styles unchanged) */
        .header{position:sticky;top:0;z-index:100;backdrop-filter:blur(20px);background:rgba(10,10,14,0.85);border-bottom:1px solid rgba(255,255,255,0.06)}
        .header-inner{max-width:1400px;height:64px;margin:0 auto;padding:0 20px;display:flex;align-items:center;justify-content:space-between}
        .logo{display:flex;align-items:center;gap:10px;text-decoration:none}
        .logo-icon{width:32px;height:32px}
        .logo-text{font-size:20px;font-weight:800;color:var(--accent)}
        .donate-btn{display:flex;align-items:center;gap:6px;background:var(--gradient-donate);padding:6px 16px;border-radius:40px;text-decoration:none;color:#fff;font-weight:700;font-size:12px;cursor:pointer;border:none}
        .menu-btn{background:#121215;border:1px solid rgba(255,255,255,0.06);border-radius:40px;width:40px;height:40px;display:flex;align-items:center;justify-content:center;cursor:pointer}
        .menu-btn svg{width:22px;height:22px;stroke:#fff}
        .notif-bell{position:relative;cursor:pointer;background:#121215;border:1px solid rgba(255,255,255,0.06);border-radius:40px;width:40px;height:40px;display:flex;align-items:center;justify-content:center}
        .notif-bell svg{width:22px;height:22px;stroke:#fff}
        .notif-badge{position:absolute;top:-3px;right:-3px;background:#ff3366;color:#fff;border-radius:50%;width:16px;height:16px;font-size:10px;display:flex;align-items:center;justify-content:center;font-weight:bold}


        /* Header Upgrade - soft glass on hero, solid after cover */
        .header{
            position:fixed;top:0;left:0;right:0;z-index:100;
            background:rgba(10,10,14,0.28);
            border-bottom:1px solid rgba(255,255,255,0.08);
            backdrop-filter:blur(14px) saturate(145%);
            -webkit-backdrop-filter:blur(14px) saturate(145%);
            box-shadow:none;
            transition:background .28s ease,border-color .28s ease,box-shadow .28s ease,backdrop-filter .28s ease,transform .28s ease;
        }
        .header.header-glass{
            background:linear-gradient(180deg,rgba(10,10,14,0.42),rgba(10,10,14,0.18));
            border-bottom-color:rgba(255,255,255,0.10);
            box-shadow:0 10px 35px rgba(0,0,0,0.10);
        }
        .header.header-solid,
        .no-hero .header{
            background:rgba(10,10,14,0.92);
            border-bottom-color:rgba(255,255,255,0.07);
            backdrop-filter:blur(20px) saturate(155%);
            -webkit-backdrop-filter:blur(20px) saturate(155%);
            box-shadow:0 14px 35px rgba(0,0,0,0.32);
        }
        body.no-hero{padding-top:76px}
        .header-inner{max-width:1400px;height:68px;margin:0 auto;padding:0 18px;display:flex;align-items:center;justify-content:space-between;gap:18px}
        .logo{position:relative;z-index:2;display:flex;align-items:center;gap:10px;text-decoration:none;flex-shrink:0}
        .header-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}
        .desktop-nav{display:none;align-items:center;gap:6px;margin-inline-start:18px;margin-inline-end:auto}
        .desktop-nav-item{
            display:inline-flex;align-items:center;gap:8px;height:42px;padding:0 14px;
            border-radius:999px;color:rgba(255,255,255,0.82);text-decoration:none;
            font-size:13px;font-weight:700;transition:background .2s ease,color .2s ease,transform .2s ease;
        }
        .desktop-nav-item svg{width:17px;height:17px;stroke:currentColor;flex-shrink:0}
        .desktop-nav-item:hover{background:rgba(255,255,255,0.08);color:#fff;transform:translateY(-1px)}
        .desktop-nav-item.request-link{color:var(--accent);background:rgba(var(--accent-rgb),0.08);border:1px solid rgba(var(--accent-rgb),0.16)}
        .desktop-nav-item.request-link:hover{background:var(--accent-glow);border-color:var(--border-accent)}
        .auth-dropdown{position:relative;display:none}
        .auth-trigger,
        .user-trigger{
            height:42px;border:1px solid rgba(255,255,255,0.10);border-radius:999px;
            background:rgba(18,18,22,0.62);color:#fff;padding:0 14px;
            display:flex;align-items:center;gap:8px;font-family:inherit;font-size:13px;font-weight:800;cursor:pointer;
            transition:background .2s ease,border-color .2s ease,transform .2s ease;
        }
        .auth-trigger:hover,
        .user-trigger:hover{background:rgba(255,255,255,0.08);border-color:var(--border-accent);transform:translateY(-1px)}
        .auth-trigger svg,
        .user-trigger svg{width:17px;height:17px;stroke:currentColor;flex-shrink:0}
        .auth-menu{
            position:absolute;top:calc(100% + 12px);inset-inline-end:0;min-width:190px;
            background:rgba(18,18,22,0.94);border:1px solid rgba(255,255,255,0.10);
            border-radius:20px;padding:8px;box-shadow:0 24px 60px rgba(0,0,0,0.42);
            backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);
            opacity:0;visibility:hidden;transform:translateY(8px) scale(.98);transition:.2s ease;z-index:300;
        }
        .auth-dropdown:hover .auth-menu,
        .auth-dropdown:focus-within .auth-menu{opacity:1;visibility:visible;transform:translateY(0) scale(1)}
        .auth-menu:before{content:"";position:absolute;top:-10px;inset-inline-end:24px;border-inline-start:9px solid transparent;border-inline-end:9px solid transparent;border-bottom:10px solid rgba(18,18,22,0.94)}
        .auth-menu a{
            display:flex;align-items:center;gap:10px;padding:11px 12px;border-radius:14px;
            color:#fff;text-decoration:none;font-size:13px;font-weight:700;transition:.18s ease;
        }
        .auth-menu a:hover{background:var(--accent-glow);color:var(--accent)}
        .auth-menu a svg{width:18px;height:18px;stroke:currentColor;flex-shrink:0}
        .notif-bell,.menu-btn{background:rgba(18,18,22,0.62);border-color:rgba(255,255,255,0.10);transition:background .2s ease,border-color .2s ease,transform .2s ease}
        .notif-bell:hover,.menu-btn:hover{background:rgba(255,255,255,0.08);border-color:var(--border-accent);transform:translateY(-1px)}
        .donate-btn{height:40px;box-shadow:0 10px 22px rgba(255,51,102,0.16);transition:transform .2s ease,box-shadow .2s ease}
        .donate-btn:hover{transform:translateY(-1px);box-shadow:0 14px 28px rgba(255,51,102,0.24)}
        @media(min-width:992px){
            body{padding-bottom:0}
            .bottom-nav{display:none}
            .header-inner{height:72px;padding:0 24px}
            .desktop-nav{display:flex}
            .auth-dropdown{display:block}
            .menu-btn{display:none!important}
        }
        @media(max-width:991px){
            .header-inner{height:64px}
            .desktop-nav,.auth-dropdown{display:none!important}
            .menu-btn{display:flex}
            body.no-hero{padding-top:68px}
        }
        .menu-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,0.7);z-index:1000;opacity:0;visibility:hidden;transition:.3s}
        .menu-overlay.active{opacity:1;visibility:visible}
        .sidebar-menu{position:fixed;top:0;right:0;width:280px;height:100%;background:#121215;backdrop-filter:blur(20px);z-index:1001;transform:translateX(100%);transition:transform .3s;display:flex;flex-direction:column;border-left:1px solid var(--border-accent)}
        .sidebar-menu.open{transform:translateX(0)}
        .sidebar-header{padding:24px 20px;border-bottom:1px solid rgba(255,255,255,0.06);display:flex;justify-content:space-between;align-items:center}
        .sidebar-close{background:none;border:none;cursor:pointer}
        .sidebar-close svg{width:24px;height:24px;stroke:#fff}
        .sidebar-user{padding:20px;background:var(--accent-glow);border-bottom:1px solid var(--border-accent);text-align:center}
        .sidebar-avatar{width:60px;height:60px;background:var(--accent);border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 12px}
        .sidebar-avatar svg{width:32px;height:32px;stroke:#000}
        .sidebar-username{font-weight:700;font-size:16px;margin-bottom:4px}
        .sidebar-userrole{font-size:11px;color:var(--text-tertiary)}
        .sidebar-nav{flex:1;padding:16px 0}
        .sidebar-item{display:flex;align-items:center;gap:14px;padding:14px 20px;text-decoration:none;color:#fff;transition:.2s;font-size:14px}
        .sidebar-item:hover{background:var(--accent-glow);color:var(--accent)}
        .sidebar-item svg{width:22px;height:22px;stroke:currentColor}
        .sidebar-footer{padding:20px;border-top:1px solid rgba(255,255,255,0.06)}
        .notif-sidebar{position:fixed;top:0;right:0;width:320px;height:100%;background:#121215;backdrop-filter:blur(20px);z-index:1002;transform:translateX(100%);transition:transform .3s;display:flex;flex-direction:column;border-left:1px solid var(--border-accent)}
        .notif-sidebar.open{transform:translateX(0)}
        .notif-header{padding:20px;border-bottom:1px solid rgba(255,255,255,0.06);display:flex;justify-content:space-between;align-items:center}
        .notif-header h3{font-size:18px;color:var(--accent);margin:0}
        .notif-close{background:none;border:none;cursor:pointer}
        .notif-close svg{width:24px;height:24px;stroke:#fff}
        .notif-list{flex:1;overflow-y:auto;padding:12px}
        .notif-item{background:rgba(47,124,255,0.08);border-radius:16px;padding:12px;margin-bottom:12px;border-left:2px solid var(--accent)}
        .notif-message{color:var(--text-secondary);line-height:1.4;margin-bottom:6px;font-size:13px}
        .notif-date{font-size:10px;color:var(--text-tertiary)}
        .stories-section{padding:12px 16px 0 16px;max-width:900px;margin:0 auto}
        .stories-title{font-size:14px;font-weight:700;color:var(--accent);margin-bottom:12px;display:flex;align-items:center;gap:8px}
        .stories-title svg{width:1.2em;height:1.2em;stroke:currentColor}
        .stories-container{display:flex;gap:14px;overflow-x:auto;padding-bottom:8px}
        .story-item{flex-shrink:0;text-align:center;cursor:pointer;width:70px}
        .story-avatar{width:70px;height:70px;border-radius:50%;background:var(--gradient-story);display:flex;align-items:center;justify-content:center;margin-bottom:6px}
        .story-avatar img,.story-avatar video{width:66px;height:66px;border-radius:50%;object-fit:cover;border:2px solid var(--bg-primary);background:#18181d}
        .story-name{font-size:11px;color:var(--text-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
        .story-modal{display:none;position:fixed;inset:0;background:rgba(0,0,0,0.98);z-index:10002;align-items:center;justify-content:center;flex-direction:column}
        .story-modal.active{display:flex}
        .story-progress-container{position:absolute;top:20px;right:20px;left:80px;display:flex;gap:4px;z-index:10}
        .story-progress-bar{flex:1;height:3px;background:rgba(255,255,255,0.3);border-radius:3px;overflow:hidden}
        .story-progress-fill{height:100%;width:0;transition:width .1s linear}
        .story-progress-fill.active{background:var(--accent)}
        .story-content{max-width:90%;max-height:85vh;position:relative;text-align:center}
        .story-media{max-width:100%;max-height:70vh;border-radius:20px;object-fit:contain}
        .story-caption{margin-top:16px;padding:12px 20px;background:rgba(0,0,0,0.6);backdrop-filter:blur(10px);border-radius:40px;color:#fff;font-size:14px}
        .story-link{display:inline-block;margin-top:12px;padding:10px 24px;background:var(--accent);color:#000;text-decoration:none;border-radius:40px;font-weight:700;font-size:13px}
        .story-close{position:absolute;top:20px;left:20px;background:rgba(0,0,0,0.5);border:none;border-radius:50%;width:40px;height:40px;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:10}
        .story-close svg{width:24px;height:24px;stroke:#fff}
        .story-nav{position:absolute;top:50%;transform:translateY(-50%);background:rgba(0,0,0,0.5);border:none;border-radius:50%;width:40px;height:40px;display:flex;align-items:center;justify-content:center;cursor:pointer}
        .story-nav.prev{right:20px}
        .story-nav.next{left:20px}
        .story-nav svg{width:24px;height:24px;stroke:#fff}
        .story-download-btn{position:absolute;bottom:20px;right:20px;background:rgba(0,0,0,0.6);backdrop-filter:blur(8px);border:1px solid var(--accent);border-radius:40px;padding:8px 16px;color:var(--accent);font-size:12px;cursor:pointer;z-index:20;display:flex;align-items:center;gap:6px}
        .search-section{position:relative;padding:8px 16px 16px;max-width:900px;margin:0 auto}
        .search-input{width:100%;height:50px;background:#121215;border:1px solid rgba(255,255,255,0.06);border-radius:40px;padding:0 20px;color:#fff;font-size:14px;outline:none}
        .search-input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-glow)}
        .search-results{position:absolute;top:100%;left:0;right:0;background:#121215;border-radius:20px;border:1px solid var(--border-accent);margin-top:8px;max-height:400px;overflow-y:auto;z-index:1000;display:none}
        .search-results.active{display:block}
        .search-result-item{display:flex;align-items:center;padding:12px 16px;cursor:pointer;border-bottom:1px solid rgba(255,255,255,0.06)}
        .search-result-item:hover{background:#15151c}
        .search-result-poster{width:40px;height:60px;border-radius:8px;object-fit:cover;margin-left:12px;background:#18181d;flex-shrink:0}
        .search-result-info{flex:1}
        .search-result-title{font-size:14px;font-weight:600;margin-bottom:4px}
        .search-result-original{font-size:11px;color:var(--text-tertiary);margin-bottom:2px}
        .search-result-meta{font-size:10px;color:var(--text-tertiary);display:flex;gap:12px}
        .search-result-badge{font-size:9px;padding:2px 8px;border-radius:20px;background:var(--accent-glow);color:var(--accent);display:inline-block}
        .advanced-search-link{display:inline-flex;align-items:center;gap:8px;margin-top:12px;font-size:13px;color:var(--accent);text-decoration:none}
        .filter-bar{padding:8px 16px 20px;display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:center;border-bottom:1px solid rgba(255,255,255,0.06);margin-bottom:8px}
        .type-buttons{display:flex;gap:8px;background:#121215;padding:4px;border-radius:40px;border:1px solid rgba(255,255,255,0.06)}
        .type-btn{padding:8px 20px;border-radius:30px;font-size:13px;cursor:pointer;background:transparent;color:var(--text-secondary);border:none;transition:all .2s}
        .type-btn.active{background:var(--accent);color:#000;font-weight:600}
        .random-btn{background:var(--gradient-random);border:none;padding:8px 18px;border-radius:40px;color:#fff;font-weight:700;font-size:12px;cursor:pointer;display:inline-flex;align-items:center;gap:6px}
        .genres-section,.countries-section{padding:0 16px 20px;max-width:900px;margin:0 auto}
        .section-title{font-size:14px;font-weight:700;color:var(--accent);margin-bottom:12px;display:flex;align-items:center;gap:8px}
        .section-title svg{width:1.2em;height:1.2em;stroke:currentColor}
        .section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
        .genres-scroll,.countries-scroll{display:flex;overflow-x:auto;gap:12px;padding:8px 0 12px}
        .genre-chip,.country-chip{display:inline-flex;align-items:center;gap:8px;background:rgba(18,18,22,0.7);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,0.06);border-radius:60px;padding:8px 18px;font-size:13px;font-weight:500;color:var(--text-secondary);text-decoration:none;white-space:nowrap}
        .genre-chip:hover,.country-chip:hover{background:var(--accent-glow);border-color:var(--accent);color:var(--accent)}
        .scroll-horizontal{display:flex;overflow-x:auto;gap:12px;padding-bottom:12px}
        .scroll-card{flex-shrink:0;width:130px;background:#0f0f13;border-radius:16px;border:1px solid rgba(255,255,255,0.06);overflow:hidden;cursor:pointer;text-decoration:none;color:inherit;position:relative}
        .scroll-card-poster{width:100%;aspect-ratio:2/3;object-fit:cover;background:#18181d}
        .year-badge{position:absolute;top:8px;inset-inline-start:8px;background:rgba(0,0,0,0.7);backdrop-filter:blur(4px);padding:2px 8px;border-radius:20px;font-size:10px;font-weight:700;color:var(--accent);z-index:2}
        .scroll-card-info{padding:8px}
        .scroll-card-title-fa{font-size:11px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
        .scroll-card-title-en{font-size:9px;color:var(--text-tertiary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:4px}
        .scroll-card-meta{font-size:9px;color:var(--text-tertiary);display:flex;gap:6px}
        /* قلب حرفه‌ای روی پوستر */
        .watchlist-icon-grid{
            position:absolute;bottom:10px;right:10px;z-index:6;
            width:32px;height:32px;display:flex;align-items:center;justify-content:center;
            border-radius:50%;cursor:pointer;
            background:rgba(0,0,0,0.55);backdrop-filter:blur(6px);
            border:1px solid rgba(255,255,255,0.2);
            transition:all 0.2s ease;
            opacity:0.9;
        }
        .watchlist-icon-grid:hover{transform:scale(1.08);background:rgba(0,0,0,0.75);border-color:var(--accent);}
        .watchlist-icon-grid.active svg{fill:var(--accent);stroke:var(--accent);}
        .watchlist-icon-grid svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2;}
        .watchlist-icon-grid.active{background:rgba(0,0,0,0.75);border-color:var(--accent);}
        @media(min-width:600px){.scroll-card{width:150px}}
        @media(min-width:992px){.scroll-card{width:170px}}
        .movies-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:0 12px}
        @media(min-width:600px){.movies-grid{grid-template-columns:repeat(4,1fr);gap:16px}}
        @media(min-width:900px){.movies-grid{grid-template-columns:repeat(5,1fr)}}
        @media(min-width:1200px){.movies-grid{grid-template-columns:repeat(6,1fr)}}
        @media(min-width:1400px){.movies-grid{grid-template-columns:repeat(8,1fr)}}
        .grid-item{background:#0f0f13;border:1px solid rgba(255,255,255,0.06);border-radius:16px;overflow:hidden;cursor:pointer;text-decoration:none;color:inherit;display:block;position:relative}
        .grid-item:hover{transform:translateY(-3px);border-color:var(--border-accent)}
        .grid-poster{width:100%;aspect-ratio:2/3;object-fit:cover;background:#18181d}
        .grid-info{padding:8px 6px}
        .grid-title-fa{font-size:11px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
        .grid-title-en{font-size:9px;color:var(--text-tertiary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:4px}
        .grid-meta{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:var(--text-tertiary)}
        .grid-badge{font-size:8px;padding:2px 6px;border-radius:20px;background:var(--accent-glow);color:var(--accent)}
        .view-all-btn{background:none;border:none;color:var(--accent);font-size:11px;cursor:pointer;display:flex;align-items:center;gap:4px;text-decoration:none;}
        .load-more-btn{text-align:center;padding:20px;color:var(--accent);font-size:12px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px}
        .toast-container{position:fixed;top:80px;right:16px;left:16px;z-index:10001;display:flex;flex-direction:column;gap:8px;pointer-events:none}
        .toast{background:#18181d;border:1px solid var(--border-accent);border-radius:60px;padding:12px 20px;animation:slideIn .3s;pointer-events:auto;backdrop-filter:blur(10px);font-size:13px;text-align:center}
        .loading-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0a0a0c;z-index:9999;display:flex;align-items:center;justify-content:center;transition:opacity .5s}
        .loading-overlay.hide{opacity:0;visibility:hidden;pointer-events:none}
        .loading-spinner{width:50px;height:50px;border:3px solid rgba(255,255,255,0.1);border-top-color:var(--accent);border-radius:50%;animation:spin 1s linear infinite}
        /* Telegram-like mobile footer: soft floating dock with warm rounded cuts */
        .bottom-nav{
            position:fixed;
            left:50%;
            bottom:max(10px, env(safe-area-inset-bottom));
            transform:translateX(-50%);
            width:min(calc(100% - 26px), 540px);
            height:74px;
            display:flex;
            align-items:center;
            justify-content:space-around;
            gap:4px;
            padding:7px 10px;
            z-index:100;
            border-radius:32px;
            background:
                radial-gradient(circle at 50% -20%,rgba(var(--accent-rgb),0.18),transparent 46%),
                linear-gradient(180deg,rgba(24,30,38,0.96),rgba(13,17,24,0.94));
            border:1px solid rgba(var(--accent-rgb),0.18);
            box-shadow:0 18px 38px rgba(0,0,0,0.38),0 0 0 1px rgba(var(--accent-rgb),0.05),inset 0 1px 0 rgba(255,255,255,0.06);
            backdrop-filter:blur(22px) saturate(145%);
            -webkit-backdrop-filter:blur(22px) saturate(145%);
            overflow:visible;
        }
        .bottom-nav:before,
        .bottom-nav:after{
            content:"";
            position:absolute;
            pointer-events:none;
            z-index:-1;
        }
        .bottom-nav:before{
            inset:-12px 20px auto 20px;
            height:34px;
            border-radius:0 0 36px 36px;
            background:radial-gradient(ellipse at center,rgba(var(--accent-rgb),0.20),transparent 68%);
            filter:blur(8px);
        }
        .bottom-nav:after{
            inset:0;
            border-radius:inherit;
            background:linear-gradient(180deg,rgba(255,255,255,0.08),transparent 42%);
            z-index:0;
        }
        .nav-item{
            position:relative;
            z-index:1;
            flex:1;
            max-width:132px;
            min-width:62px;
            height:58px;
            padding:8px 10px;
            display:flex;
            flex-direction:column;
            align-items:center;
            justify-content:center;
            gap:4px;
            cursor:pointer;
            opacity:.68;
            text-decoration:none;
            color:rgba(255,255,255,0.82);
            border-radius:28px;
            transition:opacity .22s ease,background .22s ease,color .22s ease,transform .22s ease,box-shadow .22s ease;
        }
        .nav-item:hover{opacity:1;background:rgba(255,255,255,0.05)}
        .nav-item.active{
            min-width:96px;
            opacity:1;
            color:var(--accent);
            background:linear-gradient(180deg,rgba(var(--accent-rgb),0.24),rgba(var(--accent-rgb),0.11));
            border:1px solid rgba(var(--accent-rgb),0.20);
            box-shadow:0 12px 26px rgba(0,0,0,0.24),0 0 22px rgba(var(--accent-rgb),0.10), inset 0 1px 0 rgba(255,255,255,0.08);
            transform:translateY(-4px);
        }
        .nav-item.active:before{
            content:"";
            position:absolute;
            inset:-5px;
            border-radius:32px;
            background:radial-gradient(circle at 50% 0%,rgba(var(--accent-rgb),0.24),transparent 64%);
            z-index:-1;
        }
        .nav-item svg{
            width:23px;
            height:23px;
            stroke:currentColor;
            stroke-width:2.2;
            transition:transform .22s ease,stroke .22s ease;
        }
        .nav-item.active svg{transform:translateY(-1px)}
        .nav-label{
            max-width:78px;
            color:currentColor;
            font-size:10px;
            font-weight:800;
            line-height:1.1;
            white-space:nowrap;
            overflow:hidden;
            text-overflow:ellipsis;
        }
        @media(max-width:380px){
            .bottom-nav{width:calc(100% - 18px);padding-inline:6px}
            .nav-item{min-width:54px;padding-inline:7px}
            .nav-item.active{min-width:84px}
            .nav-label{font-size:9px;max-width:62px}
        }
        @media(min-width:992px){.bottom-nav{display:none!important}}
        .empty-search-state{text-align:center;padding:40px 20px;color:var(--text-tertiary)}
        .empty-search-state svg{width:60px;height:60px;margin-bottom:16px;opacity:.5}


        /* Upgrade Pack 1-4: soft horizontal fades, skeletons, quick actions, smart dock */
        .scroll-horizontal,.genres-scroll,.countries-scroll,.stories-container{
            scroll-behavior:smooth;
            -webkit-overflow-scrolling:touch;
            overscroll-behavior-inline:contain;
            scroll-snap-type:x proximity;
            padding-inline:4px 24px;
            -webkit-mask-image:linear-gradient(to right,transparent 0,#000 28px,#000 calc(100% - 28px),transparent 100%);
            mask-image:linear-gradient(to right,transparent 0,#000 28px,#000 calc(100% - 28px),transparent 100%);
        }
        .scroll-card{scroll-snap-align:start;transition:transform .24s ease,border-color .24s ease,box-shadow .24s ease,background .24s ease}
        .scroll-card:hover{transform:translateY(-4px);border-color:var(--border-accent);box-shadow:0 16px 32px rgba(0,0,0,.28)}
        .poster-wrap{position:relative;width:100%;aspect-ratio:2/3;overflow:hidden;background:#18181d;border-radius:inherit}
        .poster-wrap:after{content:"";position:absolute;inset:0;z-index:3;background:radial-gradient(circle at center,rgba(0,0,0,.10),rgba(0,0,0,.22));opacity:0;transition:opacity .22s ease;pointer-events:none}
        .grid-item:hover .poster-wrap:after,.scroll-card:hover .poster-wrap:after,.grid-item.quick-open .poster-wrap:after,.scroll-card.quick-open .poster-wrap:after{opacity:.34}
        .scroll-card .poster-wrap{border-radius:16px 16px 0 0}
        .grid-item .poster-wrap{border-radius:16px 16px 0 0}
        .poster-wrap.is-loading:before,
        .skeleton-shimmer:before{
            content:"";position:absolute;inset:0;z-index:1;
            background:linear-gradient(105deg,transparent 0%,rgba(255,255,255,.06) 42%,rgba(255,255,255,.16) 50%,rgba(255,255,255,.06) 58%,transparent 100%);
            transform:translateX(100%);animation:skeletonSweep 1.35s ease-in-out infinite;
        }
        .poster-wrap.is-loading img{opacity:0}
        .poster-wrap.is-loaded img{opacity:1}
        .bm-poster-img{width:100%;height:100%;object-fit:cover;display:block;transition:opacity .28s ease,transform .35s ease;opacity:0}
        .scroll-card:hover .bm-poster-img,.grid-item:hover .bm-poster-img{transform:scale(1.045)}
        .imdb-card-badge{
            position:absolute;left:8px;bottom:8px;z-index:4;
            display:inline-flex;align-items:center;gap:5px;height:24px;padding:3px 7px;
            border-radius:999px;background:rgba(0,0,0,.68);border:1px solid rgba(245,197,24,.24);
            color:#fff;font-size:10px;font-weight:900;line-height:1;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
            box-shadow:0 8px 18px rgba(0,0,0,.28);
            direction:ltr;unicode-bidi:embed;
        }
        .imdb-mini-svg{width:30px;height:15px;display:block;flex:0 0 auto;border-radius:3px;object-fit:contain}
        .imdb-card-badge b{font-size:10px;color:#fff;font-family:Arial,Helvetica,sans-serif;letter-spacing:.1px}
        .meta-imdb{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;color:#fff;direction:ltr;unicode-bidi:embed;}
        .meta-imdb .imdb-mini-svg{width:28px;height:14px;object-fit:contain}
        .card-quick-actions{
            position:absolute;inset:0;z-index:5;
            display:flex;align-items:center;justify-content:center;gap:8px;
            opacity:0;transform:scale(.92);pointer-events:none;
            transition:opacity .22s ease,transform .22s ease;
        }
        .grid-item:hover .card-quick-actions,.scroll-card:hover .card-quick-actions,
        .grid-item.quick-open .card-quick-actions,.scroll-card.quick-open .card-quick-actions{
            opacity:1;transform:scale(1);pointer-events:auto;
        }
        .quick-action{
            width:50px;height:50px;border-radius:50%;border:1px solid rgba(255,255,255,.13);
            background:rgba(10,10,14,.38);color:rgba(255,255,255,.88);display:inline-flex;align-items:center;justify-content:center;
            backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
            box-shadow:0 10px 24px rgba(0,0,0,.26);cursor:pointer;transition:transform .18s ease,background .18s ease,color .18s ease,border-color .18s ease,opacity .18s ease;
        }
        .quick-action svg{width:22px;height:22px;stroke:currentColor;fill:none;pointer-events:none}
        .quick-action:hover{transform:scale(1.06);background:rgba(var(--accent-rgb),.82);color:#000;border-color:rgba(var(--accent-rgb),.92)}
        .quick-watchlist.active svg,.watchlist-icon-grid.active svg{fill:currentColor}
        .quick-action.active{color:var(--accent);border-color:var(--border-accent);background:rgba(var(--accent-rgb),.13)}
        .quick-action.active:hover{color:#000;background:var(--accent)}
        .movies-grid.skeleton-mode{align-items:start}
        .movie-skeleton-card{position:relative;overflow:hidden;border-radius:16px;border:1px solid rgba(255,255,255,.06);background:#0f0f13;min-height:220px}
        .movie-skeleton-poster{position:relative;aspect-ratio:2/3;background:linear-gradient(180deg,#1b1b22,#101015);overflow:hidden}
        .movie-skeleton-info{padding:9px 7px 10px}
        .skeleton-line{position:relative;overflow:hidden;height:10px;border-radius:999px;background:rgba(255,255,255,.08);margin-bottom:7px}
        .skeleton-line.short{width:58%}.skeleton-line.mid{width:78%}.skeleton-line.tiny{width:38%;height:8px}
        .skeleton-line:before,.movie-skeleton-poster:before{content:"";position:absolute;inset:0;background:linear-gradient(105deg,transparent 0%,rgba(255,255,255,.05) 42%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.05) 58%,transparent 100%);transform:translateX(100%);animation:skeletonSweep 1.35s ease-in-out infinite}
        .bottom-nav{transition:transform .28s cubic-bezier(.2,.8,.2,1),opacity .22s ease,filter .22s ease}
        .bottom-nav.nav-hidden{transform:translate(-50%, calc(100% + 26px));opacity:0;pointer-events:none;filter:blur(1px)}
        .bottom-nav.nav-compact{height:66px;border-radius:30px;opacity:.96}
        @keyframes skeletonSweep{0%{transform:translateX(100%)}100%{transform:translateX(-100%)}}
        @media(max-width:768px){.scroll-horizontal,.genres-scroll,.countries-scroll,.stories-container{padding-inline:2px 18px;-webkit-mask-image:linear-gradient(to right,transparent 0,#000 18px,#000 calc(100% - 18px),transparent 100%);mask-image:linear-gradient(to right,transparent 0,#000 18px,#000 calc(100% - 18px),transparent 100%)}}
        
        /* ========== اصلاح دکمه پلی برای موبایل و تبلت ========== */
/* حذف قانون اجباری برای موبایل - اجازه می‌دهیم کلاس quick-open کار را انجام دهد */
@media (hover: none) and (pointer: coarse), (max-width: 991px) {
    /* دکمه‌ها فقط زمانی که کارت حالت quick-open دارد نمایش داده شوند */
    .grid-item.quick-open .card-quick-actions,
    .scroll-card.quick-open .card-quick-actions {
        opacity: 1 !important;
        transform: scale(1) !important;
        pointer-events: auto !important;
    }
    .quick-action {
        width: 48px !important;
        height: 48px !important;
        background: rgba(10, 10, 14, 0.85) !important;
        backdrop-filter: blur(14px) !important;
        z-index: 10;
    }
    /* بازخورد لمسی */
    .quick-action:active {
        transform: scale(0.94);
        background: var(--accent) !important;
        color: #000 !important;
    }
}

        @keyframes fadeInUp{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
        @keyframes slideIn{from{transform:translateX(100%);opacity:0}to{transform:translateX(0);opacity:1}}
        @keyframes spin{to{transform:rotate(360deg)}}
        @media(max-width:768px){.hero-slider{height:70vh;min-height:550px}.hero-arrow{width:40px;height:40px}.hero-dots{gap:8px}}
        @media(max-width:480px){.hero-slider{height:60vh;min-height:480px}.hero-arrow{display:none}}

        @media(min-width:992px){.search-section,.filter-bar,.genres-section,.countries-section,.new-releases-section,.collections-section,.admin-picks-section,.dubbed-section,.top-movies-section,.top-series-section,.user-rated-section,.updated-section,.smart-suggestions-section{max-width:100%!important;padding-left:20px!important;padding-right:20px!important}.movies-grid{padding:0 20px}}
.typing-footer {
    margin-top: 56px;
    background: linear-gradient(180deg, #0c0c10 0%, #08080c 100%);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 40px 20px 32px;
}
.typing-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.footer-headline {
    margin-bottom: 32px;
}
.headline-text {
    display: inline-block;
    font-size: clamp(1rem, 4vw, 1.25rem);
    font-weight: 700;
    background: linear-gradient(135deg, #fff, var(--accent, #2f7cff));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.2px;
}
.headline-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent, #2f7cff), transparent);
    margin: 12px auto 0;
    border-radius: 4px;
}
.footer-social {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 28px;
    margin-bottom: 36px;
}
.social-icon {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 24px;
    border-radius: 60px;
    background: rgba(18, 18, 22, 0.6);
    border: 1px solid rgba(255,255,255,0.06);
    color: #b0b0b8;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
}
.social-icon svg {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}
.social-icon:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.15);
}
.social-icon.telegram:hover { color: #26A5E4; border-color: #26A5E4; }
.social-icon.instagram:hover { color: #E4405F; border-color: #E4405F; }
.social-icon.twitter:hover { color: #1DA1F2; border-color: #1DA1F2; }
.social-icon:hover svg { transform: scale(1.05); }
.footer-typing-line {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    background: rgba(255,255,255,0.02);
    padding: 8px 20px;
    border-radius: 60px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    backdrop-filter: blur(4px);
}
.typing-container {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.typing-text {
    color: rgba(255,255,255,0.85);
    direction: ltr;
    font-family: monospace, 'BonVF', monospace;
    font-size: 0.9rem;
}
.typing-cursor {
    display: inline-block;
    width: 2px;
    height: 1.2em;
    background-color: var(--accent, #2f7cff);
    vertical-align: middle;
    margin-left: 2px;
    animation: blink 0.8s step-end infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
.separator {
    color: rgba(255,255,255,0.3);
    font-weight: 300;
}
.manuel-link {
    color: var(--accent, #2f7cff);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s;
    padding: 4px 8px;
    border-radius: 30px;
    background: rgba(47,124,255,0.08);
}
.manuel-link:hover {
    opacity: 0.8;
    text-decoration: underline;
    background: rgba(47,124,255,0.15);
}
@media (max-width: 640px) {
    .typing-footer {
        padding: 32px 16px 24px;
        margin-top: 40px;
    }
    .footer-social {
        gap: 16px;
        margin-bottom: 28px;
    }
    .social-icon {
        padding: 6px 18px;
        font-size: 0.75rem;
    }
    .social-icon svg {
        width: 16px;
        height: 16px;
    }
    .footer-typing-line {
        font-size: 0.75rem;
        padding: 6px 14px;
        gap: 6px;
    }
    .typing-text {
        font-size: 0.75rem;
    }
}
body {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
    

/* ===== BankMovie Pro Ads Layer: premium, safe, responsive ===== */
.bm-ad-slot{position:relative;z-index:2;margin:24px auto;max-width:1220px;padding:0 20px;direction:inherit}
.bm-ad-slot.bm-ad-hero{max-width:1340px;margin:18px auto 28px}
.bm-ad-slot.bm-ad-wide{max-width:1220px;margin:24px auto}
.bm-ad-slot.bm-ad-inline{width:100%;max-width:100%;padding:0;margin:22px 0}
.bm-ad-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:14px}
.bm-ad-card{position:relative;display:block;min-height:118px;border-radius:28px;overflow:hidden;text-decoration:none;color:#fff;background:linear-gradient(135deg,rgba(var(--accent-rgb),.18),rgba(255,255,255,.055) 48%,rgba(0,0,0,.34));border:1px solid rgba(var(--accent-rgb),.24);box-shadow:0 20px 54px rgba(0,0,0,.34),0 0 0 1px rgba(255,255,255,.035) inset;isolation:isolate;transform:translateZ(0);transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease,filter .22s ease}
.bm-ad-card:hover{transform:translateY(-4px);border-color:rgba(var(--accent-rgb),.56);box-shadow:0 26px 70px rgba(0,0,0,.44),0 0 34px rgba(var(--accent-rgb),.13)}
.bm-ad-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;filter:saturate(1.08) contrast(1.02);transition:transform .45s ease,filter .45s ease}
.bm-ad-card:hover img{transform:scale(1.035);filter:saturate(1.18) contrast(1.06)}
.bm-ad-card:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.62),rgba(0,0,0,.20) 44%,rgba(0,0,0,.66)),radial-gradient(circle at 18% 0%,rgba(var(--accent-rgb),.30),transparent 46%);z-index:-1}
.bm-ad-card:after{content:"";position:absolute;top:-80%;bottom:-80%;width:90px;left:-120px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.22),transparent);transform:rotate(18deg);transition:left .75s ease;pointer-events:none}
.bm-ad-card:hover:after{left:calc(100% + 120px)}
.bm-ad-glow{position:absolute;inset:auto 18px 0 18px;height:2px;background:linear-gradient(90deg,transparent,var(--accent),transparent);opacity:.78;filter:drop-shadow(0 0 10px var(--accent))}
.bm-ad-badge{position:absolute;top:13px;inset-inline-start:14px;display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 12px;border-radius:999px;background:rgba(0,0,0,.62);border:1px solid rgba(255,255,255,.16);color:rgba(255,255,255,.86);font-size:11px;font-weight:900;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.bm-ad-badge:before{content:"";width:6px;height:6px;border-radius:50%;background:var(--accent);box-shadow:0 0 12px var(--accent)}
.bm-ad-cta{position:absolute;bottom:14px;inset-inline-end:14px;display:inline-flex;align-items:center;justify-content:center;height:34px;padding:0 16px;border-radius:999px;background:var(--accent);color:#050505;font-size:12px;font-weight:950;box-shadow:0 10px 24px rgba(var(--accent-rgb),.20)}
.bm-ad-fallback{min-height:118px;display:flex;align-items:center;gap:14px;padding:48px 22px 22px}.bm-ad-fallback-icon{width:44px;height:44px;border-radius:16px;background:rgba(var(--accent-rgb),.18);border:1px solid rgba(var(--accent-rgb),.28);display:inline-flex;align-items:center;justify-content:center;color:var(--accent);font-size:12px;font-weight:950;letter-spacing:.8px}.bm-ad-fallback strong{font-size:clamp(15px,2.4vw,22px);font-weight:950;text-shadow:0 6px 18px rgba(0,0,0,.45)}
.bm-ad-floating{display:none}.bm-ad-close{position:absolute;top:-10px;inset-inline-end:10px;z-index:4;width:30px;height:30px;border:0;border-radius:50%;background:rgba(0,0,0,.78);color:#fff;font-size:20px;line-height:30px;cursor:pointer;border:1px solid rgba(255,255,255,.18);box-shadow:0 10px 22px rgba(0,0,0,.34);backdrop-filter:blur(10px)}
@media(max-width:768px){.bm-ad-slot{padding:0 14px;margin:18px auto}.bm-ad-card{min-height:94px;border-radius:22px}.bm-ad-fallback{min-height:94px;padding:44px 16px 18px}.bm-ad-cta{height:30px;padding:0 12px;font-size:11px}.bm-ad-badge{height:25px;font-size:10px}.bm-ad-floating{display:block;position:fixed;left:12px;right:12px;bottom:max(92px,calc(env(safe-area-inset-bottom) + 86px));z-index:96;margin:0!important;padding:0!important;max-width:none}.bm-ad-floating .bm-ad-card{min-height:72px;border-radius:20px;box-shadow:0 20px 54px rgba(0,0,0,.55),0 0 0 1px rgba(var(--accent-rgb),.22)}.bm-ad-floating .bm-ad-grid{grid-template-columns:1fr}.bm-ad-floating .bm-ad-badge{top:9px;inset-inline-start:10px}.bm-ad-floating .bm-ad-cta{bottom:10px;inset-inline-end:10px}.bm-ad-floating .bm-ad-fallback{min-height:72px;padding:34px 14px 14px}.bm-ad-floating .bm-ad-fallback-icon{width:34px;height:34px;border-radius:12px}.bm-ad-floating .bm-ad-fallback strong{font-size:13px}}
@media(min-width:769px){.bm-ad-floating{display:none!important}}


/* ===== Custom Section SVG Icons ===== */
.section-title .section-icon-svg{width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;margin-left:6px;flex:0 0 auto;filter:drop-shadow(0 0 10px rgba(var(--accent-rgb),.22))}
.section-title .section-icon-svg svg{width:22px;height:22px;display:block}
.section-icon-turkey svg .turkey-bg{fill:#e30a17}
.section-icon-turkey svg .turkey-moon,.section-icon-turkey svg .turkey-star{fill:#fff}
.section-icon-anime{border-radius:10px;background:rgba(var(--accent-rgb),.12);border:1px solid rgba(var(--accent-rgb),.28)}
.section-icon-anime svg{stroke:var(--accent);fill:none}
.section-icon-korea{border-radius:50%;background:#fff;border:1px solid rgba(255,255,255,.28);box-shadow:0 0 0 2px rgba(var(--accent-rgb),.10)}
.section-icon-korea svg .kr-white{fill:#fff}.section-icon-korea svg .kr-red{fill:#e43d5b}.section-icon-korea svg .kr-blue{fill:#2757b7}.section-icon-korea svg .kr-line{stroke:#111;stroke-width:2.1;stroke-linecap:round}
@media(max-width:560px){
    .arc-switch{max-width:335px!important;padding:3px!important}
    .arc-pill{top:3px!important;bottom:3px!important}
    .arc-tab{padding:7px 3px!important;font-size:10px!important;gap:3px!important}
    .arc-icon-local,.arc-icon-ext{width:16px!important;height:16px!important}
    .arc-tab svg{width:13px!important;height:13px!important}
    .section-title .section-icon-svg{width:20px;height:20px;margin-left:4px}
    .section-title .section-icon-svg svg{width:20px;height:20px}
}

/* ===== Archive Switcher — حرفه‌ای ===== */
.arc-switch-wrap{
    display:flex;justify-content:center;align-items:center;
    padding:22px 16px 10px;gap:16px;flex-wrap:wrap;
}
.arc-switch{
    position:relative;
    display:flex;
    background:rgba(255,255,255,.055);
    border:1px solid rgba(255,255,255,.10);
    border-radius:999px;
    padding:5px;
    gap:0;
    box-shadow:0 4px 24px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.06);
}
/* حلقه درخشان دور سوئیچر فعال */
.arc-switch::before{
    content:'';position:absolute;inset:-1px;border-radius:inherit;
    background:linear-gradient(90deg,rgba(var(--accent-rgb),.0),rgba(var(--accent-rgb),.35),rgba(var(--accent-rgb),.0));
    background-size:200% 100%;animation:arcShine 2.8s linear infinite;
    border-radius:999px;z-index:-1;
}
@keyframes arcShine{to{background-position:200% 0}}
.arc-pill{
    position:absolute;top:5px;bottom:5px;
    border-radius:999px;
    background:linear-gradient(135deg,var(--accent),rgba(var(--accent-rgb),.8));
    transition:left .38s cubic-bezier(.4,0,.2,1),width .38s cubic-bezier(.4,0,.2,1);
    z-index:0;
    box-shadow:0 3px 14px rgba(var(--accent-rgb),.4),0 1px 4px rgba(0,0,0,.4);
}
.arc-tab{
    position:relative;z-index:1;
    display:flex;align-items:center;gap:8px;
    padding:10px 22px;
    border-radius:999px;border:none;background:transparent;
    color:rgba(255,255,255,.45);
    font-size:13px;font-weight:700;
    cursor:pointer;transition:color .25s;
    white-space:nowrap;font-family:inherit;
    user-select:none;
}
.arc-tab svg{transition:stroke .25s;flex-shrink:0}
.arc-tab-active{color:#050505!important}
.arc-tab-active svg{stroke:#050505!important}
.arc-tab-disabled{opacity:.55;filter:saturate(.65);cursor:not-allowed!important;position:relative}
.arc-tab-disabled:not(.arc-tab-active){color:rgba(255,255,255,.34)!important}
.arc-tab-disabled:after{content:'OFF';font-size:8px;font-weight:950;letter-spacing:.04em;background:rgba(255,90,90,.20);border:1px solid rgba(255,110,110,.35);color:#ffb4b4;border-radius:999px;padding:1px 5px;margin-inline-start:-2px}
.archive-guide-btn{display:inline-flex;align-items:center;gap:8px;height:38px;padding:0 15px;border-radius:999px;border:1px solid rgba(var(--accent-rgb),.28);background:rgba(var(--accent-rgb),.10);color:var(--accent);font-size:12px;font-weight:900;font-family:inherit;cursor:pointer;transition:.2s}
.archive-guide-btn:hover{background:rgba(var(--accent-rgb),.18);border-color:rgba(var(--accent-rgb),.48);transform:translateY(-1px)}
.archive-guide-btn svg{width:15px;height:15px;stroke:currentColor;fill:none}
.archive-guide-overlay{position:fixed;inset:0;z-index:20020;display:flex;align-items:center;justify-content:center;padding:18px;background:rgba(0,0,0,.78);backdrop-filter:blur(18px);opacity:0;visibility:hidden;transition:.22s ease}
.archive-guide-overlay.open{opacity:1;visibility:visible}
.archive-guide-modal{width:min(720px,100%);max-height:min(86vh,760px);overflow:auto;border-radius:32px;background:linear-gradient(145deg,rgba(15,16,23,.96),rgba(6,7,10,.98));border:1px solid rgba(var(--accent-rgb),.26);box-shadow:0 30px 110px rgba(0,0,0,.65),0 0 0 1px rgba(255,255,255,.05) inset;position:relative;padding:24px}
.archive-guide-modal:before{content:'';position:absolute;inset:0;border-radius:inherit;background:radial-gradient(circle at 10% 0%,rgba(var(--accent-rgb),.18),transparent 42%),radial-gradient(circle at 90% 12%,rgba(168,85,247,.13),transparent 34%);pointer-events:none}
.archive-guide-head,.archive-guide-grid,.archive-guide-foot{position:relative;z-index:1}
.archive-guide-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:18px}
.archive-guide-kicker{display:inline-flex;align-items:center;gap:7px;color:var(--accent);font-size:11px;font-weight:950;margin-bottom:7px}
.archive-guide-title{font-size:clamp(20px,4vw,28px);font-weight:950;color:#fff;line-height:1.4}
.archive-guide-sub{color:rgba(255,255,255,.58);font-size:13px;font-weight:650;line-height:1.9;margin-top:6px}
.archive-guide-close{width:38px;height:38px;border-radius:50%;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.07);color:#fff;font-size:24px;cursor:pointer;flex-shrink:0}
.archive-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.archive-guide-card{border-radius:22px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.09);padding:15px;transition:.2s}
.archive-guide-card:hover{border-color:rgba(var(--accent-rgb),.30);background:rgba(var(--accent-rgb),.075);transform:translateY(-2px)}
.archive-guide-card h4{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:950;color:#fff;margin-bottom:10px}
.archive-guide-num{width:28px;height:28px;border-radius:12px;background:var(--accent);color:#050505;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:950}
.archive-guide-card p{color:rgba(255,255,255,.66);font-size:12px;font-weight:650;line-height:1.9;margin:0}
.archive-guide-foot{margin-top:14px;border-radius:20px;padding:13px 15px;background:rgba(var(--accent-rgb),.10);border:1px solid rgba(var(--accent-rgb),.24);color:rgba(255,255,255,.78);font-size:13px;font-weight:800;line-height:1.9}
@media(max-width:640px){.archive-guide-grid{grid-template-columns:1fr}.archive-guide-modal{border-radius:26px;padding:18px}.archive-guide-btn{width:100%;justify-content:center}.arc-switch-wrap{align-items:stretch}.arc-tab-disabled:after{display:none}}
/* آیکون SVG انیمیشنی برای هر تب */
.arc-icon-local,.arc-icon-ext{
    display:flex;align-items:center;justify-content:center;
    width:22px;height:22px;
}
/* badge جدید */
.arc-new-badge{
    font-size:9px;font-weight:800;padding:2px 6px;border-radius:20px;
    background:rgba(255,68,100,.85);color:#fff;
    animation:arcBadgePulse 2s ease-in-out infinite;
}
@keyframes arcBadgePulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.7;transform:scale(.94)}}
@media(max-width:560px){
    .arc-switch-wrap{padding:16px 8px 6px;gap:8px}
    .arc-switch{width:100%;max-width:360px;padding:4px;border-radius:26px}
    .arc-tab{flex:1;justify-content:center;gap:4px;padding:8px 4px;font-size:11px;font-weight:800;letter-spacing:-.2px;min-width:0}
    .arc-icon-local,.arc-icon-ext{width:18px;height:18px}
    .arc-tab svg{width:14px!important;height:14px!important}
    .arc-new-badge{display:none}
    .arc-hint{font-size:10px;padding-bottom:2px}
}
/* توضیح زیر سوئیچر */
.arc-hint{
    font-size:11px;color:rgba(255,255,255,.3);font-weight:600;
    text-align:center;padding:0 16px 4px;letter-spacing:.01em;
    transition:opacity .3s;
}
/* --- ext page --- */
.ext-page{
    padding:0 16px 24px;
    transition:opacity .32s;
}
.ext-search-bar{margin-bottom:14px}
.ext-search-inner{
    display:flex;align-items:center;gap:10px;
    background:rgba(255,255,255,.07);
    border:1px solid rgba(255,255,255,.1);
    border-radius:14px;padding:11px 16px;
    transition:border-color .2s;
}
.ext-search-inner:focus-within{border-color:rgba(var(--accent-rgb),.5)}
.ext-search-inner svg{flex-shrink:0;opacity:.4}
.ext-search-inner input{
    flex:1;background:transparent;border:none;outline:none;
    color:var(--text-primary,#fff);font-size:14px;
    font-family:inherit;direction:rtl;
}
.ext-search-inner input::placeholder{color:rgba(255,255,255,.3)}
.ext-filters{
    display:flex;gap:8px;overflow-x:auto;
    padding-bottom:6px;margin-bottom:16px;
    scrollbar-width:none;
}
.ext-filters::-webkit-scrollbar{display:none}
.ext-filter{
    flex-shrink:0;
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.1);
    border-radius:999px;padding:7px 16px;
    color:rgba(255,255,255,.55);font-size:12px;font-weight:600;
    cursor:pointer;transition:all .2s;white-space:nowrap;
    font-family:inherit;
}
.ext-filter.active,.ext-filter:hover{
    background:rgba(var(--accent-rgb),.15);
    border-color:rgba(var(--accent-rgb),.5);
    color:var(--accent,#2f7cff);
}
.ext-status{
    display:flex;flex-direction:column;align-items:center;
    justify-content:center;gap:14px;padding:40px 20px;
    color:rgba(255,255,255,.3);font-size:13px;text-align:center;
}
.ext-pagination{display:flex;align-items:center;gap:10px}
.ext-pagination button{
    width:28px;height:28px;border-radius:50%;
    display:flex;align-items:center;justify-content:center;
    background:rgba(255,255,255,.07);
    border:1px solid rgba(255,255,255,.12);
    color:rgba(255,255,255,.7);cursor:pointer;transition:all .2s;
    flex-shrink:0;
}
.ext-pagination button:hover:not(:disabled){
    background:rgba(var(--accent-rgb),.2);
    border-color:rgba(var(--accent-rgb),.5);
    color:var(--accent,#2f7cff);
}
.ext-pagination button:disabled{opacity:.25;cursor:not-allowed}
#extPageInfo{font-size:12px;color:rgba(255,255,255,.45);font-weight:600;min-width:50px;text-align:center}
/* shared sections inside ext-page */
.ext-shared-sections{margin-top:8px}


/* === v28 footer social cleanup: fixed brand colors, no Twitter, no Manuel typing line === */
.footer-social .social-icon.telegram,
.footer-social .social-icon.telegram:visited {
    color: #26A5E4 !important;
    border-color: rgba(38,165,228,.45) !important;
    background: rgba(38,165,228,.10) !important;
}
.footer-social .social-icon.instagram,
.footer-social .social-icon.instagram:visited {
    color: #E4405F !important;
    border-color: rgba(228,64,95,.48) !important;
    background: linear-gradient(135deg, rgba(245,133,41,.13), rgba(221,42,123,.13), rgba(129,52,175,.13)) !important;
}
.footer-social .social-icon.telegram:hover,
.footer-social .social-icon.instagram:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}
.footer-social .social-icon.twitter,
.footer-typing-line,
.manuel-link {
    display: none !important;
}


/* ===== V63 FINAL HEADER: NO GLASS, NO BLACK BAR, ICONS ONLY ON MOBILE ===== */
#siteHeader,
#siteHeader.header,
#siteHeader.header-solid,
#siteHeader.header-glass,
#siteHeader.bm-smart-header,
#siteHeader.bm-header-fixed-top,
.header#siteHeader{
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
}
#siteHeader::before,
#siteHeader::after,
#siteHeader .header-inner::before,
#siteHeader .header-inner::after{
  display:none !important;
  content:none !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}
#siteHeader .request-link,
#siteHeader .bm-header-request,
#siteHeader a[href*="request.php"],
#siteHeader .bm-header-collections-icon,
#siteHeader .bm-icon-only-collection:not(.bm-header-collection),
#siteHeader .header-actions a.collection-link:not(.bm-header-collection){
  display:none !important;
}

@media (min-width: 992px){
  #siteHeader{
    position:absolute !important;
    top:0 !important;
    left:0 !important;
    right:0 !important;
    width:100% !important;
    z-index:1600 !important;
  }
  #siteHeader .header-inner{
    width:min(1420px, calc(100% - 28px)) !important;
    min-height:62px !important;
    margin:8px auto 0 !important;
    padding:0 8px !important;
    display:grid !important;
    grid-template-columns:auto minmax(0,1fr) auto !important;
    align-items:center !important;
    gap:14px !important;
    background:transparent !important;
    background-color:transparent !important;
    background-image:none !important;
    border:0 !important;
    box-shadow:none !important;
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
  }
  #siteHeader .logo{grid-column:3 !important;justify-self:end !important;display:flex !important;align-items:center !important;background:transparent !important;border:0 !important;box-shadow:none !important;}
  #siteHeader .bm-header-logo-img{height:30px !important;width:auto !important;max-width:104px !important;object-fit:contain !important;filter:drop-shadow(0 5px 12px rgba(0,0,0,.32)) !important;}
  #siteHeader .desktop-nav{grid-column:2 !important;justify-self:center !important;display:flex !important;align-items:center !important;gap:18px !important;background:transparent !important;border:0 !important;box-shadow:none !important;}
  #siteHeader .desktop-nav-item{
    height:auto !important;
    min-height:0 !important;
    padding:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    background-color:transparent !important;
    background-image:none !important;
    border:0 !important;
    box-shadow:none !important;
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
    color:#fff !important;
    text-decoration:none !important;
    font-size:13px !important;
    font-weight:900 !important;
    text-shadow:0 2px 10px rgba(0,0,0,.55) !important;
  }
  #siteHeader .desktop-nav-item:hover,
  #siteHeader .desktop-nav-item.active{
    background:transparent !important;
    color:#52a8ff !important;
    border:0 !important;
    box-shadow:none !important;
  }
  #siteHeader .header-actions{grid-column:1 !important;justify-self:start !important;display:flex !important;align-items:center !important;gap:14px !important;direction:ltr !important;background:transparent !important;border:0 !important;box-shadow:none !important;}
  #siteHeader .menu-btn,
  #siteHeader .bm-header-collection{display:none !important;}
  #siteHeader .notif-bell,
  #siteHeader .bm-header-search,
  #siteHeader .auth-trigger,
  #siteHeader .user-trigger{
    width:auto !important;
    height:auto !important;
    min-width:0 !important;
    padding:0 !important;
    border-radius:0 !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    background:transparent !important;
    background-color:transparent !important;
    background-image:none !important;
    border:0 !important;
    box-shadow:none !important;
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
    color:#fff !important;
    text-decoration:none !important;
    font-size:13px !important;
    font-weight:900 !important;
    text-shadow:0 2px 10px rgba(0,0,0,.55) !important;
  }
  #siteHeader .notif-bell svg,
  #siteHeader .bm-header-search svg{width:20px !important;height:20px !important;stroke:currentColor !important;}
}

@media (max-width: 991px){
  #siteHeader,
  #siteHeader.header,
  #siteHeader.header-solid,
  #siteHeader.header-glass,
  #siteHeader.bm-smart-header,
  #siteHeader.bm-header-fixed-top{
    position:absolute !important;
    top:0 !important;
    left:0 !important;
    right:0 !important;
    width:100% !important;
    height:60px !important;
    min-height:60px !important;
    z-index:1600 !important;
    background:transparent !important;
    background-color:transparent !important;
    background-image:none !important;
    border:0 !important;
    box-shadow:none !important;
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
  }
  #siteHeader .header-inner{
    position:relative !important;
    display:block !important;
    width:100% !important;
    height:60px !important;
    min-height:60px !important;
    margin:0 !important;
    padding:0 !important;
    background:transparent !important;
    background-color:transparent !important;
    background-image:none !important;
    border:0 !important;
    box-shadow:none !important;
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
    overflow:visible !important;
  }
  #siteHeader .desktop-nav,
  #siteHeader .auth-dropdown{display:none !important;}
  #siteHeader .logo{
    position:absolute !important;
    left:50% !important;
    top:10px !important;
    transform:translateX(-50%) !important;
    z-index:4 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:68px !important;
    height:28px !important;
    max-width:68px !important;
    padding:0 !important;
    margin:0 !important;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
  }
  #siteHeader .bm-header-logo-img{
    display:block !important;
    height:auto !important;
    max-height:28px !important;
    width:auto !important;
    max-width:68px !important;
    object-fit:contain !important;
    opacity:1 !important;
    visibility:visible !important;
    filter:drop-shadow(0 3px 8px rgba(0,0,0,.32)) !important;
  }
  #siteHeader .header-actions{
    position:relative !important;
    display:block !important;
    width:100% !important;
    height:60px !important;
    min-height:60px !important;
    margin:0 !important;
    padding:0 !important;
    background:transparent !important;
    background-color:transparent !important;
    background-image:none !important;
    border:0 !important;
    box-shadow:none !important;
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
  }
  #siteHeader .menu-btn,
  #siteHeader .bm-header-collection,
  #siteHeader .notif-bell,
  #siteHeader .bm-header-search{
    position:absolute !important;
    top:13px !important;
    width:31px !important;
    height:31px !important;
    min-width:31px !important;
    padding:0 !important;
    margin:0 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    background:transparent !important;
    background-color:transparent !important;
    background-image:none !important;
    border:0 !important;
    box-shadow:none !important;
    border-radius:0 !important;
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
    color:#fff !important;
    text-decoration:none !important;
  }
  #siteHeader .menu-btn{left:22px !important;}
  #siteHeader .bm-header-collection{left:62px !important;color:#3f96ff !important;}
  #siteHeader .notif-bell{right:62px !important;}
  #siteHeader .bm-header-search{right:22px !important;}
  #siteHeader .menu-btn svg,
  #siteHeader .bm-header-collection svg,
  #siteHeader .notif-bell svg,
  #siteHeader .bm-header-search svg{
    width:24px !important;
    height:24px !important;
    stroke:currentColor !important;
    color:currentColor !important;
    stroke-width:2.1 !important;
    filter:drop-shadow(0 2px 5px rgba(0,0,0,.38)) !important;
  }
  #siteHeader .notif-badge{
    position:absolute !important;
    top:-2px !important;
    right:-2px !important;
    width:9px !important;
    height:9px !important;
    border-radius:50% !important;
    background:#ff3f6d !important;
    box-shadow:none !important;
  }
  #siteHeader .menu-btn:hover,
  #siteHeader .bm-header-collection:hover,
  #siteHeader .notif-bell:hover,
  #siteHeader .bm-header-search:hover{
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
    transform:none !important;
  }
}


/* ===== V64 desktop responsive + mobile logo size tune ===== */
@media (min-width: 1200px){
  #siteHeader .header-inner{
    min-height:72px !important;
    width:min(1480px, calc(100% - 36px)) !important;
    margin:10px auto 0 !important;
    grid-template-columns: minmax(220px,auto) minmax(420px,1fr) minmax(190px,auto) !important;
    gap:24px !important;
  }
  #siteHeader .bm-header-logo-img{
    max-width:158px !important;
    height:44px !important;
    max-height:44px !important;
  }
  #siteHeader .desktop-nav{
    gap:26px !important;
    justify-content:center !important;
    min-width:0 !important;
  }
  #siteHeader .desktop-nav-item{
    font-size:15px !important;
    font-weight:950 !important;
    line-height:1 !important;
    white-space:nowrap !important;
  }
  #siteHeader .header-actions{
    gap:18px !important;
  }
  #siteHeader .notif-bell,
  #siteHeader .bm-header-search,
  #siteHeader .auth-trigger,
  #siteHeader .user-trigger{
    font-size:14px !important;
    font-weight:950 !important;
  }
  #siteHeader .notif-bell svg,
  #siteHeader .bm-header-search svg{
    width:22px !important;
    height:22px !important;
  }
}

@media (min-width: 992px) and (max-width: 1199px){
  #siteHeader .header-inner{
    min-height:64px !important;
    width:calc(100% - 24px) !important;
    margin:8px auto 0 !important;
    grid-template-columns: minmax(160px,auto) minmax(300px,1fr) minmax(135px,auto) !important;
    gap:14px !important;
  }
  #siteHeader .bm-header-logo-img{
    max-width:126px !important;
    height:36px !important;
    max-height:36px !important;
  }
  #siteHeader .desktop-nav{
    gap:15px !important;
    min-width:0 !important;
    overflow:hidden !important;
  }
  #siteHeader .desktop-nav-item{
    font-size:13px !important;
    font-weight:900 !important;
    white-space:nowrap !important;
  }
  #siteHeader .header-actions{
    gap:12px !important;
    min-width:0 !important;
  }
  #siteHeader .auth-trigger,
  #siteHeader .user-trigger{
    font-size:13px !important;
    white-space:nowrap !important;
  }
  #siteHeader .notif-bell svg,
  #siteHeader .bm-header-search svg{
    width:20px !important;
    height:20px !important;
  }
}

@media (max-width: 991px){
  #siteHeader .logo{
    top:9px !important;
    width:82px !important;
    max-width:82px !important;
    height:32px !important;
  }
  #siteHeader .bm-header-logo-img{
    max-width:82px !important;
    max-height:32px !important;
  }
}

@media (max-width: 390px){
  #siteHeader .logo{
    width:78px !important;
    max-width:78px !important;
  }
  #siteHeader .bm-header-logo-img{
    max-width:78px !important;
    max-height:31px !important;
  }
  #siteHeader .menu-btn{left:16px !important;}
  #siteHeader .bm-header-collection{left:54px !important;}
  #siteHeader .notif-bell{right:54px !important;}
  #siteHeader .bm-header-search{right:16px !important;}
}


/* ===== V65 desktop RTL-grid fix + mobile logo tune ===== */
@media (min-width: 992px){
  #siteHeader,
  #siteHeader.header,
  #siteHeader.header-solid,
  #siteHeader.header-glass,
  #siteHeader.bm-smart-header,
  #siteHeader.bm-header-fixed-top{
    position:absolute !important;
    top:0 !important;
    left:0 !important;
    right:0 !important;
    width:100% !important;
    z-index:1600 !important;
    background:transparent !important;
    background-color:transparent !important;
    background-image:none !important;
    border:0 !important;
    border-bottom:0 !important;
    box-shadow:none !important;
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
    direction:ltr !important;
  }
  #siteHeader .header-inner{
    direction:ltr !important;
    position:relative !important;
    width:min(1460px, calc(100% - 40px)) !important;
    max-width:1460px !important;
    min-height:82px !important;
    height:82px !important;
    margin:0 auto !important;
    padding:0 !important;
    display:grid !important;
    grid-template-columns:minmax(180px, 260px) minmax(360px, 1fr) minmax(180px, 260px) !important;
    align-items:center !important;
    gap:24px !important;
    background:transparent !important;
    background-color:transparent !important;
    background-image:none !important;
    border:0 !important;
    box-shadow:none !important;
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
  }
  #siteHeader .logo{
    grid-column:3 !important;
    justify-self:end !important;
    align-self:center !important;
    position:relative !important;
    left:auto !important;
    right:auto !important;
    top:auto !important;
    transform:none !important;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    width:auto !important;
    height:auto !important;
    max-width:none !important;
    padding:0 !important;
    margin:0 !important;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
  }
  #siteHeader .bm-header-logo-img{
    display:block !important;
    width:auto !important;
    height:52px !important;
    max-height:52px !important;
    max-width:188px !important;
    object-fit:contain !important;
    opacity:1 !important;
    visibility:visible !important;
    filter:drop-shadow(0 7px 16px rgba(0,0,0,.38)) !important;
  }
  #siteHeader .desktop-nav{
    grid-column:2 !important;
    justify-self:center !important;
    align-self:center !important;
    display:flex !important;
    flex-direction:row-reverse !important;
    align-items:center !important;
    justify-content:center !important;
    gap:32px !important;
    min-width:0 !important;
    width:auto !important;
    direction:rtl !important;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
  }
  #siteHeader .desktop-nav-item{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    height:auto !important;
    min-height:0 !important;
    padding:0 !important;
    margin:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    background-color:transparent !important;
    background-image:none !important;
    border:0 !important;
    box-shadow:none !important;
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
    color:#fff !important;
    text-decoration:none !important;
    font-size:16px !important;
    line-height:1 !important;
    font-weight:950 !important;
    white-space:nowrap !important;
    text-shadow:0 2px 10px rgba(0,0,0,.52) !important;
  }
  #siteHeader .desktop-nav-item:hover,
  #siteHeader .desktop-nav-item.active{
    color:#4ba6ff !important;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
  }
  #siteHeader .header-actions{
    grid-column:1 !important;
    justify-self:start !important;
    align-self:center !important;
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:22px !important;
    min-width:0 !important;
    width:auto !important;
    direction:ltr !important;
    position:relative !important;
    height:auto !important;
    min-height:0 !important;
    padding:0 !important;
    margin:0 !important;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
  }
  #siteHeader .menu-btn,
  #siteHeader .bm-header-collection{
    display:none !important;
  }
  #siteHeader .notif-bell,
  #siteHeader .bm-header-search,
  #siteHeader .auth-trigger,
  #siteHeader .user-trigger{
    position:relative !important;
    left:auto !important;
    right:auto !important;
    top:auto !important;
    width:auto !important;
    height:auto !important;
    min-width:0 !important;
    padding:0 !important;
    margin:0 !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    border-radius:0 !important;
    background:transparent !important;
    background-color:transparent !important;
    background-image:none !important;
    border:0 !important;
    box-shadow:none !important;
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
    color:#fff !important;
    text-decoration:none !important;
    font-size:15px !important;
    font-weight:950 !important;
    white-space:nowrap !important;
    text-shadow:0 2px 10px rgba(0,0,0,.52) !important;
  }
  #siteHeader .notif-bell svg,
  #siteHeader .bm-header-search svg{
    width:24px !important;
    height:24px !important;
    stroke:currentColor !important;
    color:currentColor !important;
    filter:drop-shadow(0 2px 6px rgba(0,0,0,.35)) !important;
  }
  #siteHeader .notif-badge{
    top:-4px !important;
    right:-4px !important;
    width:10px !important;
    height:10px !important;
    background:#ff3f6d !important;
    box-shadow:none !important;
  }
}

@media (min-width: 992px) and (max-width: 1240px){
  #siteHeader .header-inner{
    width:calc(100% - 26px) !important;
    min-height:72px !important;
    height:72px !important;
    grid-template-columns:minmax(140px, 210px) minmax(300px, 1fr) minmax(145px, 210px) !important;
    gap:16px !important;
  }
  #siteHeader .bm-header-logo-img{
    height:42px !important;
    max-height:42px !important;
    max-width:150px !important;
  }
  #siteHeader .desktop-nav{
    gap:20px !important;
  }
  #siteHeader .desktop-nav-item{
    font-size:14px !important;
  }
  #siteHeader .header-actions{
    gap:15px !important;
  }
  #siteHeader .notif-bell svg,
  #siteHeader .bm-header-search svg{
    width:22px !important;
    height:22px !important;
  }
}

@media (max-width: 991px){
  #siteHeader .logo{
    top:8px !important;
    width:92px !important;
    max-width:92px !important;
    height:36px !important;
  }
  #siteHeader .bm-header-logo-img{
    max-width:92px !important;
    max-height:36px !important;
    height:auto !important;
  }
}

@media (max-width: 390px){
  #siteHeader .logo{
    width:86px !important;
    max-width:86px !important;
    height:34px !important;
  }
  #siteHeader .bm-header-logo-img{
    max-width:86px !important;
    max-height:34px !important;
  }
}
