.hidden-menu .menu-container {
    display: grid;
    gap: 20px;
    max-height: 98vh;
    overflow: visible;
    z-index: 500 !important;
}

::-webkit-scrollbar {
    width: 5px !important;
}

.menu-section {
    background: var(--menu-bg-secondary);
    border-radius: var(--menu-border-radius);
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--menu-transition);
    max-height: calc(98vh - 100px);
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 500 !important;
}

@media screen and (max-width: 950px) {
    .menu-section {
        max-height: calc(98vh - 80px);
    }
}

a {
    color: #ffffff;
    text-decoration: none;
    font-weight: normal;
}

.mli-eps {
    background: rgba(0, 0, 0, 0.8) none repeat scroll 0 0;
    border-radius: 5%;
    color: #fff;
    height: 15px;
    line-height: 10px;
    margin: 2px;
    position: absolute;
    right: auto;
    text-align: center;
    text-transform: uppercase;
    top: 15px;
    width: auto;
    z-index: 5;
    box-shadow: inset 0 0 0 0.4px #f7f7f7;
    background: linear-gradient(28.8deg, #000, #ff780000);
}

.film-quality {
    background: linear-gradient(28.8deg, #000, #ff780000);
    color: #00ff88;
    padding: 2px 6px;
    border-radius: 1px;
    font-size: 9px;
    font-weight: bold;
    backdrop-filter: blur(10px);
    text-transform: uppercase;
    border-left: 0px solid rgb(0 0 0 / 0%);
}

.film-version {
    color: white;
    padding: 2px 6px;
    border-radius: 1px;
    font-size: 9px;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    border-left: 0px solid rgb(0 0 0 / 0%);
    border-radius: 5%;
    height: 15px;
    position: absolute;
    right: auto;
    text-align: center;
    top: 0;
    width: auto;
    z-index: 5;
    box-shadow: inset 0 0 0 0.4px #f7f7f7;
    background: linear-gradient(28.8deg, #000, #ff780000);
}

.fa-twitter-square:before {
    content: "\f081";
    position: absolute;
    top: 21px;
    font-size: 28px;
}

.fa2-heart:before {
    content: "\f004";
    font-size: calc(1em + 7px) !important;
    margin-left: -10px !important;
    position: relative !important;
    display: inline-block !important;
    color: #f48625 !important;
    transition: all 0.3s ease !important;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-filters-wrapper {
    position: absolute;
    top: 50%;
    right: calc(100% + 20px);
    transform: translateY(-50%);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: translateY(-50%) translateX(25px) scale(0.85) rotate(-2deg);
}

.search-filters-wrapper.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0) scale(1) rotate(0deg);
}

.search-filters-content {
    background: linear-gradient(135deg, rgba(35, 35, 35, 0.95), rgba(20, 20, 20, 0.98));
    border-radius: 12px;
    padding: 14px 18px;
    border: 1px solid rgba(244, 134, 37, 0.25);
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.filter-label {
    color: #999;
    font-size: 13px;
    font-weight: 500;
    margin-right: 6px;
}

.filter-buttons {
    display: flex;
    align-items: center;
    gap: 4px;
}

.search-filter-btn {
    background: rgba(50, 50, 50, 0.7);
    border: 1px solid rgba(80, 80, 80, 0.5);
    color: #ccc;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    min-width: 80px;
    text-align: center;
    backdrop-filter: blur(5px);
    outline: none;
}

.search-filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 120%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(244, 134, 37, 0.2), rgba(255, 255, 255, 0.1), rgba(244, 134, 37, 0.2), transparent);
    transition: left 0.8s ease;
}

.search-filter-btn:hover {
    background: rgba(244, 134, 37, 0.2);
    border-color: rgba(244, 134, 37, 0.6);
    color: #f48625;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(244, 134, 37, 0.25);
}

.search-filter-btn:hover::before {
    left: 120%;
}

.search-filter-btn.active {
    background: linear-gradient(135deg, #f48625, #ff6b1a);
    border: 2px solid #f48625;
    color: white;
    font-weight: 700;
    box-shadow: 0 0 0 2px rgba(244, 134, 37, 0.3), 0 6px 25px rgba(244, 134, 37, 0.4);
    transform: scale(1.08);
    z-index: 10;
}

.search-filter-btn.active::before {
    display: none;
}

.search-filter-btn.switching {
    transform: scale(0.95) rotate(1deg);
    opacity: 0.7;
    transition: all 0.2s ease;
}

.search-box {
    position: relative;
    flex: 1;
}

.search-meta {
    font-size: 11px;
    color: #777;
    margin-top: 5px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.3s ease;
    opacity: 0.9;
}

.search-item:hover .search-meta {
    color: #f48625;
    opacity: 1;
}

.search-item {
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 8px;
    overflow: hidden;
}

.search-item:hover {
    transform: translateY(-1px) scale(1.005);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.pages {
    padding: 10px !important;
    background-color: #1E1E1E !important;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.8) !important;
}

.form-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid #3a3a3a;
}

.form-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #1a1a1a;
    border: 2px solid #3a3a3a;
    border-radius: 8px;
    color: #b0b0b0;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.form-link:hover {
    border-color: #ff6b35;
    color: #ff6b35;
    background: #222;
}

.form-link svg {
    width: 18px;
    height: 18px;
}

.register-link {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 140, 66, 0.1) 100%);
    border-color: rgba(255, 107, 53, 0.3);
    color: #ff6b35;
    font-weight: 600;
}

.register-link:hover {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2) 0%, rgba(255, 140, 66, 0.2) 100%);
    border-color: #ff6b35;
}

.login-btn {
    background: linear-gradient(45deg, #020202, var(--secondary-orange)) !important;
}

.st-tabs span.sort-label {
    pointer-events: none;
    margin-right: 8px;
    font-size: 15px;
    color: #cfcfcf;
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    box-shadow: inset 0 0 0 2px #f48625;
    border-radius: 1px;
    padding: 0px 20px;
    line-height: 30px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.st-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 20px;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 8px;
    scrollbar-width: thin;
    scrollbar-color: #f48625 #1a1a1a;
    scroll-behavior: smooth;
}

.st-tabs::-webkit-scrollbar {
    height: 6px;
}

.st-tabs::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 1px;
}

.st-tabs::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #f48625 0%, #e67e22 100%);
    border-radius: 1px;
    transition: background 0.3s;
}

.st-tabs::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, #e67e22 0%, #d35400 100%);
}

.sect-t {
    margin-bottom: 20px;
    line-height: 30px;
}

.st-tabs span {
    color: #ccc;
    cursor: pointer;
    line-height: 30px;
    padding: 0 16px;
    border-radius: 1px;
    white-space: nowrap;
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: buttonPulse 0.5s ease-out;
    animation-fill-mode: both;
}

@keyframes buttonPulse {
    0% { transform: scale(0.8); opacity: 0; }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); opacity: 1; }
}

.st-tabs span:nth-child(2) { animation-delay: 0.1s; }
.st-tabs span:nth-child(3) { animation-delay: 0.2s; }
.st-tabs span:nth-child(4) { animation-delay: 0.3s; }
.st-tabs span:nth-child(5) { animation-delay: 0.4s; }
.st-tabs span:nth-child(6) { animation-delay: 0.5s; }

.st-tabs span::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(244, 134, 37, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.st-tabs span:hover {
    transform: scale(1.02);
    background: linear-gradient(135deg, #454545 0%, #353535 100%);
}

.st-tabs span:hover::before { opacity: 1; }
.st-tabs span:active { transform: scale(0.98); }
.st-tabs span.current { border-radius: 1px; }

.st-tabs span.current::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, #f48625 0%, #e67e22 100%);
    pointer-events: none;
}

.st-tabs span.current {
    color: #fff;
    background-color: #33333345;
    box-shadow: inset 0 0 0 1px #f48625;
}

.st-tabs span.current a {
    line-height: 30px;
    color: #f48625;
    font-weight: bold;
}

.st-tabs span.current a strong {
    line-height: 30px;
    color: #f48625;
}

.st-tabs span a {
    color: #ccc;
    text-decoration: none;
    display: block;
    line-height: 30px;
    transition: color 0.3s;
}

.st-tabs span:hover a { color: #fff; }

@media (max-width: 768px) {
    .st-tabs { gap: 4px; padding-bottom: 6px; overflow-x: scroll; }
    .st-tabs::-webkit-scrollbar { height: 4px; }
    .st-tabs span { padding: 0 8px; font-size: 12px; flex: 0 0 auto; min-width: fit-content; }
    .st-tabs span.sort-label { padding: 0px 10px; font-size: 12px; margin-right: 6px; }
}

@media (max-width: 480px) {
    .st-tabs { gap: 3px; }
    .st-tabs span { padding: 0 6px; font-size: 11px; }
    .st-tabs span.sort-label { padding: 0px 8px; font-size: 11px; margin-right: 4px; }
}

.filter-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 15px;
    background: linear-gradient(145deg, #1a1a1a, #2d2d2d);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    margin: 20px auto;
}

.filter-option {
    background: linear-gradient(145deg, #2c2c2c, #242424);
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 1;
    min-width: 120px;
    text-align: center;
}

.filter-option:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.filter-option:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.4);
    background: linear-gradient(145deg, #333333, #292929);
}

.filter-option:hover:before { left: 100%; }
.filter-option:active { transform: translateY(1px); box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); }

.filter-option.active {
    background: linear-gradient(145deg, #3a3a3a, #444444) !important;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.3) !important;
    border: 1px solid #FF8C00 !important;
}

#showFilms, #showSeries, #showAll {
    padding: 1px 40px;
    margin: 0 10px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #2c2c2c;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.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: #333333;
    color: white;
}

.cont {
    padding: 20px 0px;
    min-height: 800px;
}

.footer {
    max-width: 1200px;
    margin: 0px auto;
    position: relative;
    z-index: 20;
}

.mobile-only-section { display: none; }

@media (max-width: 767px) {
    .mobile-only-section { display: block !important; }
}

@media screen and (max-width: 480px) {
    .filter-container { flex-direction: column; padding: 10px; }
    .filter-option { padding: 10px 25px; font-size: 14px; width: 100%; margin: 5px 0; }
    #showFilms, #showSeries, #showAll { padding: 5px 21px; font-size: 11px; margin: 0 14px; width: 99%; }
}

.ui-dialog {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0;
    z-index: 1002;
}
