﻿ :root {
    --primary-orange: #ef7000;
    --secondary-orange: #f8aa0c;
    --dark-orange: #cc5500;
    --light-orange: #ff8533;
}

body::-webkit-scrollbar {
    width: 0.5em;
}

body::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 10px 10px 10px 10px rgba(51,51,51,0.0);
}

body::-webkit-scrollbar-thumb {
    background-color: darkgrey;
    outline: 1px solid slategrey;
    -webkit-box-shadow: inset 10px 10px 10px 10px rgba(244,137,37,1.3);
}

::-webkit-scrollbar {
    width: 2px;
    height: 2px;
}

::-webkit-scrollbar-thumb {
    border-radius: 1px;
    -webkit-box-shadow: inset 10px 6px 10px 10px #f48625;
}


 .vote-circle {
    position: absolute;
    top: 2px;
    right: 2px;
    z-index: 10;
    width: 25px;
    height: 16px;
    border-radius: 10%;
    background: rgb(0 0 0 / 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.vote-score {
    color: white;
    font-weight: bold;
    font-size: 10px;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(0,0,0,0.7);
}

 .vote-circle.high {
    border-color: #8e8685; 
}
.vote-circle.medium {
    border-color: #8e8685;  /
}
.vote-circle.low {
    border-color: #8e8685;  
}

.film-quality {
    position: absolute;
    top: 20px;
    left: 2px;
    z-index: 5;
    font-weight: bold;
    color: #ffffff;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(30, 20, 0, 0.9));
    padding: 2px 5px;
    border-radius: 1px;
    font-size: 11px;
    box-shadow: inset 0 0 0 0.4px #dfdfdf, 0 0 1px rgba(255, 204, 0, 0.3);
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-left: 1px solid rgba(255, 204, 0, 0.5);
}

 .film-version {
    position: absolute;
    top: 1px;
    left: 5px;
    z-index: 5;
    left: calc(2px + 0px + 0px);
    font-weight: bold;
    color: #ffffff;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(30, 20, 0, 0.9));
    padding: 2px 3px;
    border-radius: 1px;
    font-size: 11px;
    box-shadow: inset 0 0 0 0.4px #dfdfdf, 0 0 1px rgba(255, 204, 0, 0.3);
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.1px;
    text-transform: uppercase;
    border-left: 1px solid rgba(255, 204, 0, 0.5);
}
 

.mli-eps i {
    font-style: normal;
    margin-left: 3px;
    color: #ff6b6b;
    font-weight: bold;
}

 .eps-version-box {
    position: absolute;
    bottom: 5px;
    left: calc(0px + 50px + 2px);  
    z-index: 5;
    background: rgba(0, 0, 0, 0.7);
    color: #66ccff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
}

 .container2 {
    display: inline-flex;
    align-items: center;
    float: left;
    height: 70px;
    width: 200px;
    overflow: hidden;
}

.text {
    text-transform: uppercase;
    font-size: 16px;
    margin: 0;
    font-family: Arial, sans-serif;
    color: #ccc;
    margin-right: 2px;
    margin-left: 2px;
    font-weight: 500;
}

.logo {
    font-size: 25px;
    color: orange;
    margin: 0;
    transition: transform 0.3s ease, color 0.3s ease;
}

.fa-play-circle3:before {
    content: "\f04b";
    color: #ed760c;
    font-size: 25px;
}

.logo:hover {
    transform: scale(1.2);
    color: blue;
}

 .nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #f48625;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-menu > li > a:hover::after, 
.nav-menu > li > a.active::after {
    transform: scaleX(1);
}

.hidden-menu {
    background: #333;
    position: absolute;
    top: 100%;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.nav-menu > li:hover .hidden-menu, 
.nav-menu > li:focus-within .hidden-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.side-panel {
    background: rgba(51, 51, 51, 0.98);
    backdrop-filter: blur(10px);
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.side-panel.active {
    transform: translateX(0);
}

 .button-container {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

button {
    padding: 10px 20px;
    background-color: #f9f9f9;
    border: 0px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.selected-button {
    box-shadow: inset 0 0 0 2px #f48625;
    background-color: #f9f9f9;
    color: #f48625;
    border-radius: 5px;
}

.button, .pagi-load a, .up-second li a, .up-edit a, .qq-upload-button, 
button:not(.color-btn):not([class*=fr]), html input[type="button"], 
input[type="reset"], input[type="submit"], .meta-fav a {
    display: inline-block;
    line-height: 30px;
    border-radius: 0px;
    cursor: pointer;
    background-color: #21212100;
    color: white;
    padding: 0 20px;
    vertical-align: top;
    margin-left: 7px;
    height: 34px;
    line-height: 34px;
    text-transform: uppercase;
    box-shadow: inset 0 -1px var(--primary-orange);
    font-size: 13px;
}

 .tv-text {
    color: white;
}

.live-text {
    animation: blink 2s infinite;
    font-weight: bold;
    font-size: 10px;
}

.fa-tv {
    margin-right: 5px;
}

@keyframes blink {
    0% { color: white; }
    50% { color: #ff0000; }
    100% { color: white; }
}

 .search-box {
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border-radius: 4px;
    border: 1px solid #444;
    background: #2a2a2a;
    color: #fff;
}

.search-box button {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: 0;
    color: #666;
    cursor: pointer;
}

.suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-top: 5px;
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
}

.search-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.search-item:hover {
    background: #222;
}

.search-poster {
    width: 45px;
    height: 60px;
    margin-right: 15px;
    border-radius: 3px;
    overflow: hidden;
}

.search-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-info {
    flex: 1;
}

.search-title {
    font-weight: 500;
    color: #fff;
    margin-bottom: 3px;
}

.search-year {
    font-size: 13px;
    color: #666;
}

.search-more-results {
    padding: 3px;
    text-align: center;
    border-top: 2px solid #ffffff;
    background: #222;
    font-size: 15px;
    color: #fafafa;
}

.search-more-results a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.search-more-results a:hover {
    text-decoration: underline;
}

 .login-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    z-index: 1000;
}

.modal-content {
    position: relative;
    background-color: #1a1a1a;
    margin: 8% auto;
    padding: 30px;
    width: 99%;
    max-width: 400px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(239, 112, 0, 0.2);
    border: 1px solid rgba(239, 112, 0, 0.1);
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 10px;
    color: var(--primary-orange);
    font-size: 28px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--secondary-orange);
}

.modal-content h2 {
    color: white;
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
    background: linear-gradient(45deg, var(--primary-orange), var(--secondary-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.input-group {
    margin-bottom: 20px;
    position: relative;
}

.input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: var(--primary-orange);
}

.input-group input {
    width: 100%;
    padding: 20px 13px 20px 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgb(255 151 72 / 48%);
    border-radius: 1px;
    color: #ffffff;
    font-size: 15px;
    transition: all 0.3s ease;
}

.input-group input:focus {
    border-color: var(--primary-orange);
    box-shadow: 0 0 10px rgba(239, 112, 0, 0.2);
    outline: none;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: #999;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    accent-color: var(--primary-orange);
}

.button-group {
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.login-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(45deg, var(--primary-orange), var(--secondary-orange));
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(239, 112, 0, 0.3);
}

.btn-flash {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    transform: rotate(45deg);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: btnFlash 2s infinite;
}

@keyframes btnFlash {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.links-group {
    text-align: center;
}

.links-group a {
    display: block;
    margin: 10px 0;
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.links-group a:hover {
    color: var(--primary-orange);
}

.premium-link {
    color: var(--primary-orange) !important;
    font-weight: bold;
    font-size: 16px;
    margin-top: 20px !important;
}

.premium-link:hover {
    color: var(--secondary-orange) !important;
}

.login-loader {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    border-radius: 12px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    z-index: 2;
}

.loader-ring {
    width: 50px;
    height: 50px;
    border: 3px solid transparent;
    border-top: 3px solid var(--primary-orange);
    border-right: 3px solid var(--secondary-orange);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.login-loader span {
    color: var(--primary-orange);
    font-size: 16px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.modal-show {
    display: block;
    animation: modalFadeIn 0.3s ease-out;
}

 #showFilms, #showSeries, #showAll {
    padding: 1px 20px;
    margin: 0 10px;
    border: none;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #2c2c2c;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

#showFilms {
    background: linear-gradient(45deg, #333, #aaa);
}

#showSeries {
    background: linear-gradient(45deg, #454545, #121212);
}

#showAll {
    background: linear-gradient(45deg, #393939, #1e1e1e);
}

#showFilms:hover, #showSeries:hover, #showAll:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    filter: brightness(110%);
}

#showFilms:active, #showSeries:active, #showAll:active {
    transform: translateY(1px);
    box-shadow: 0 2px 3px rgba(0,0,0,0.2);
}

.selected-filter {
    opacity: 1;
    border: 2px solid #ffffff !important;
    box-shadow: 0 0 10px rgba(255,255,255,0.3) !important;
}

 .heart {
    font-size: 30px;
    color: gray; 
    cursor: pointer;
    transition: color 0.3s ease;
}

.heart.favorited {
    color: orange; 
}

.heart.unfavorited {
    color: red;  
}

 .interface-buttons {
    display: flex;
    justify-content: center; 
    gap: 10px; 
}

.interface-btn {
    cursor: pointer;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background-color: #f48625;  
    border: 1px solid #f486253b;
    border-radius: 5px;
    text-decoration: none;
    transition: transform 0.3s ease;  
    font-size: 16px;
}

.interface-btn.larger {
    padding: 12px 25px;  
    font-size: 20px; 
}

.interface-btn:hover {
    transform: scale(1.1);  
}

.interface-btn:active {
    transform: scale(1.05); 
}

.interface-btn.active {
    background-color: #d9534f;  
    color: #FFFFFF;
}

 .mobile-nav {
    display: none; 
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #222;
    height: 60px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.nav-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100%;
    padding: 0 10px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    font-size: 0.8rem;
}

.nav-item i {
    font-size: 1.5rem;
    margin-bottom: 4px;
    color: #ff8e2a;
}

.nav-item.active {
    color: #cdcdcd; 
}

 .lazy-block {
    opacity: 0;
    min-height: 240px;
    will-change: opacity, transform;
}

.lazy-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 8px;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.lazy-block[style*="opacity: 1"]::before {
    display: none;
}

 .film-ripz {
    background: rgb(0 0 0 / 0%) none repeat scroll 0 0;
    font-size: 9px;
    left: 2px;            
    position: absolute;
    top: 2px;            
    z-index: 1;
    padding: 2px;         
    text-shadow: 0 0 2px rgb(248, 170, 12);
    border-radius: 10%;
    display: inline-block;  
}

.film-verzz {
    position: absolute;
    left: calc(10px + 4px + 1em);  
    top: 2px;
    font-size: 9px;
    z-index: 1;
    padding: 2px;
    text-shadow: 0 0 2px rgb(248, 170, 12);
    box-shadow: inset 0 0 0 0.4px #f7f7f7;
    background: rgb(0 0 0) none repeat scroll 0 0;
    display: inline-block;
}

.film-ripz a {
    color: #fff;
    display: block;
    font-size: 10px;
    margin-bottom: 0px;
    border: 1px;
    padding: 1px;        
    box-shadow: inset 0 0 0 0.4px #f7f7f7;
    background: rgb(0 0 0) none repeat scroll 0 0;
}

.film-verz a {
    background: rgba(0, 0, 0, 0.7) none repeat scroll 0 0;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    color: #fff;
    display: block;
    font-size: 10px;
    margin-bottom: 4px;
    padding: 0 4px;
    padding: 2px 3px 2px 3px;
    text-shadow: 0 0 2px rgb(248, 170, 12);
    border-radius: 1%;
    box-shadow: inset 0 0 0 0.4px #f7f7f7;
    background: rgb(0 0 0) none repeat scroll 0 0;
}

.mli-eps i {
    display: block;
    font-size: 14px;
    font-style: normal;
    font-weight: bold;
    margin-top: 1px;
}

.mli-eps {background: rgba(0, 0, 0, 0.8) none repeat scroll 0 0;border-radius: 5%;color: #fff;/* font-size: 11px; */height: 15px;line-height: 8px;margin: 2px;padding-top: 5px 5px 5px 5px;position: absolute;right: auto;text-align: center;text-transform: uppercase;top: 0;width: 21px;z-index: 5;box-shadow: inset 0 0 0 0.4px #f7f7f7;padding: 3px 4px 3px 4px;top: 17px;background: linear-gradient(28.8deg, #000, #ff780000);}


.final {
    background: #ff0000;
    font-size: 9px;
    left: 1px;
    position: absolute;
    top: 37px;
    z-index: 1;
    padding: 1px 1px 1px 1px;
    text-shadow: 0 0 2px rgb(248, 170, 12);
    border-radius: 5%;
}

.vue {
    display: none;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    padding: 10px;
    background-color: rgba(0,0,0,.7);
    z-index: 4
}

.vue i {
    font-size: 40px;
    color: #fff;
}

.short-mask span.fa {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    line-height: 60px;
    color: #f48625;
    margin: 0 auto;
    font-size: 10px;
    background-color: #ffffff00;
}

 .berrors {
    background: #3b3b3b00;
    color: #a76846;
    margin: 0 0 20px;
    padding: 10px 20px;
    box-shadow: 0 0 2px 6px rgb(255 0 0 / 19%);
    margin: 20px 1px 20px 10px;
    background-color: #25252500;
    padding: 2px 20px 20px 200px;
}

.tit {
    width: 100%;
    display: inline-block;
    vertical-align: top;
    text-align: center;
    font-size: 18px;
    color: #fb7a11;
}

.ftabs .tabs-sel span.current {
    background-color: #f48625;
    color: #fff;
    margin-left: 0;
}

.ftabs .tabs-sel span, .fmeta-item {
    color: #ccc;
    display: inline-block;
    font-size: 0px;
    font-weight: 700;
    line-height: 34px;
    padding: 1px 15px 1px 30px;
    vertical-align: top;
}

 @media screen and (max-width: 768px) {
    #showFilms, #showSeries, #showAll {
        padding: 8px 16px;
        font-size: 12px;
        margin: 0 5px;
    }
    
    .mobile-nav {
        display: block;
    }
}

@media screen and (max-width: 480px) {
    #showFilms, #showSeries, #showAll {
        padding: 6px 12px;
        font-size: 11px;
        margin: 0 3px;
        width: 30%;
    }
    
    #guest-favorites-container .short {
        width: 170px;
        height: 240px;
        margin-bottom: 20px;
    }
    
    #guest-favorites-container .short-poster img {
        width: 170px;
        height: 240px;
    }
}

     .st-capt {
margin-right: 2px;
    font-size: 18px;
    color: #fff;
    background-color: #33333378;
    box-shadow: inset 0 0 0 2px #f48625;
     
     }
     
 .st-right {
    display: inline-block;
    vertical-align: top;
    padding: 0 20px;
    border-radius: 3px;
    color: #fff;
    background-color: #333;
    box-shadow: inset 0 0 0 2px #f48625;
}

     .st-tabs span.current {
    color: #fff;
    background-color: #33333345;
    box-shadow: inset 0 0 0 1px #f486259c;
}
.st-tabs span {
    color: #ccc;
    background-color: #3333339e;
    cursor: pointer;
}
}
     
     .pages {
    padding: 20px;
    background-color: #1e1e1e;
    box-shadow: 0 0 20px rgb(0 0 0 / 80%);
}
     .sect {
    margin-bottom: 1px;
}
     
     .kal-1xbet {
    background: rgb(237 0 0 / 98%) none repeat scroll 0 0;
    font-size: 8px;
    left: 4px;
    position: absolute;
    top: 22px;
    z-index: 1;
    padding: 1px;
    text-shadow: 0 0 2px #f8aa0c;
    border-radius: 10%;
  }

  .custom-mb-nav-item {
            text-decoration: none;
            color: inherit;
            display: inline-flex;
            align-items: center;
        }
        
        .tv-text {
            font-size: 14px !important;
        }
        
        .live-text {
            font-size: 8px !important;
        }
        
        .fa-tv {
            margin-right: 5px;
        }
        
         @media screen and (max-width: 767px) {
            .custom-mb-nav-item .tv-text {
                font-size: 14px !important;
                font-weight: 500;
            }
            
            .custom-mb-nav-item .live-text {
                font-size: 8px !important;
                font-weight: 500;
            }
        }

 .custom-mb-nav,
.custom-mb-overlay,
.custom-mb-submenu {
    display: none;
}

 @media screen and (max-width: 767px) {
     .custom-mb-nav {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: #222;
        z-index: 9990;
        padding: 8px 0;
        border-top-left-radius: 1px;
        border-top-right-radius: 1px;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    }
    
    .custom-mb-nav-items {
        display: flex;
        justify-content: space-around;
        align-items: center;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .custom-mb-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 5px 5px;
        color: #fff;
        text-decoration: none;
        flex: 1;
        text-align: center;
        position: relative;
        transition: transform 0.2s ease, color 0.2s ease;
    }
    
    .custom-mb-nav-item:active {
        transform: scale(0.95);
    }
    
    .custom-mb-nav-item i {
        font-size: 1.5rem;
        margin-bottom: 5px;
        transition: transform 0.3s ease;
    }
    
    .custom-mb-nav-item span {
        font-size: 0.75rem;
        font-weight: 500;
    }
    
    .custom-mb-nav-item.custom-mb-active {
        color: #ff9e3f;
    }
    
     .custom-mb-nav-item.custom-mb-has-submenu::after {
        content: "";
        position: absolute;
        top: 0;
        right: 20%;
        width: 6px;
        height: 6px;
        background-color: #ff9e3f;
        border-radius: 50%;
        opacity: 0.8;
    }
    
     .custom-mb-nav-item.custom-mb-submenu-active {
        color: #ff9e3f;
    }
    
    .custom-mb-nav-item.custom-mb-submenu-active i {
        transform: translateY(-3px);
    }
    
     .custom-mb-submenu {
        display: none;
        position: fixed;
        bottom: 75px; 
        left: 50%;
        transform: translateX(-50%);
        width: 85%;
        max-width: 360px;
        background-color: #222;
        border-radius: 16px;
        overflow: hidden;
        transition: transform 0.3s ease, opacity 0.25s ease;
        z-index: 9989;
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
        transform: translateX(-50%) translateY(20px);
        opacity: 0;
        pointer-events: none;
        padding: 5px 0;
    }
    
    .custom-mb-submenu.custom-mb-submenu-visible {
        display: block;
        transform: translateX(-50%) translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    
    .custom-mb-submenu-title {
        text-align: center;
        color: #fff;
        font-size: 0.9rem;
        padding: 10px 20px;
        margin-bottom: 5px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .custom-mb-submenu-content {
        max-height: 60vh;  
        overflow-y: auto;
    }
    
    .custom-mb-submenu-item {
        padding: 14px 20px;
        display: flex;
        align-items: center;
        color: #fff;
        text-decoration: none;
        transition: background-color 0.2s ease;
        position: relative;
    }
    
    .custom-mb-submenu-item:active {
        background-color: rgba(255, 255, 255, 0.15);
    }
    
     .custom-mb-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 9988;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease;
    }
    
    .custom-mb-overlay.custom-mb-overlay-visible {
        display: block;
        opacity: 1;
        visibility: visible;
    }
    
     .custom-mb-submenu-item::after {
        content: "›";
        position: absolute;
        right: 20px;
        font-size: 1.5rem;
        color: rgba(255, 255, 255, 0.5);
    }
    
     .custom-mb-has-nested {
        position: relative;
    }
    
    .custom-mb-arrow-icon {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 0.8rem;
        opacity: 0.7;
    }
    
     .custom-mb-has-nested::after {
        content: none !important;
    }
    
    .custom-mb-nested-submenu {
        transform: translateX(-50%) translateY(0) !important;
        opacity: 0;
        pointer-events: none;
        left: 150%; 
        transition: left 0.3s ease, opacity 0.3s ease;
    }
    
    .custom-mb-nested-submenu.custom-mb-submenu-visible {
        left: 50%;  
        opacity: 1;
        pointer-events: auto;
    }
    
    .custom-mb-back-btn {
        color: #ff9e3f;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        margin-right: 10px;
    }
    
     @keyframes customMbFadeIn {
        from {
            opacity: 0;
            transform: translateY(10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .custom-mb-submenu-item {
        animation: customMbFadeIn 0.2s forwards;
        opacity: 0;
    }
    
    .custom-mb-submenu-item:nth-child(1) { animation-delay: 0.05s; }
    .custom-mb-submenu-item:nth-child(2) { animation-delay: 0.1s; }
    .custom-mb-submenu-item:nth-child(3) { animation-delay: 0.15s; }
    .custom-mb-submenu-item:nth-child(4) { animation-delay: 0.2s; }
    .custom-mb-submenu-item:nth-child(5) { animation-delay: 0.25s; }
    .custom-mb-submenu-item:nth-child(6) { animation-delay: 0.3s; }
    .custom-mb-submenu-item:nth-child(7) { animation-delay: 0.35s; }
    .custom-mb-submenu-item:nth-child(8) { animation-delay: 0.4s; }
    .custom-mb-submenu-item:nth-child(9) { animation-delay: 0.45s; }
    .custom-mb-submenu-item:nth-child(10) { animation-delay: 0.5s; }
    
     body {
        padding-bottom: 70px;
    }
}

 @media screen and (max-width: 360px) {
    .custom-mb-nav-item i {
        font-size: 1.3rem;
    }
    
    .custom-mb-nav-item span {
        font-size: 0.7rem;
    }
}
