/*
Theme Name: NeoMovies
Author: NeoMovies
Version: 1.2
Description: A Fully custom made movie website theme with and All in One Options including Auto SEO, Auto IMDb Info and more.
Date : 22/08/2025
*/

/*--------------------------------------------------------------
# Base Styles & Fluid Typography
--------------------------------------------------------------*/
:root {
    --font-size-sm: clamp(0.8rem, 0.17vw + 0.76rem, 0.89rem);
    --font-size-base: clamp(1rem, 0.34vw + 0.91rem, 1.19rem);
    --font-size-md: clamp(1.25rem, 0.61vw + 1.1rem, 1.58rem);
    --font-size-lg: clamp(1.56rem, 1vw + 1.31rem, 2.11rem);
    --font-size-xl: clamp(1.95rem, 1.56vw + 1.56rem, 2.81rem);
}

body {
    background-color: #121212;
    color: #e0e0e0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: var(--font-size-base);
    line-height: 1.5;
    margin: 0;
}

.site {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

a {
    color: #ff0000;
    text-decoration: none;
}

a:hover {
    color: #e0e0e0;
}

img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    user-select: none;
}

/*--------------------------------------------------------------
# Header & Navigation
--------------------------------------------------------------*/
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.1rem 0;
    border-bottom: 1px solid #333;
    gap: 1rem;
}

.site-branding {
    text-align: left;
}

.site-title a {
    color: #fff;
    font-size: var(--font-size-md);
    font-weight: bold;
}

.site-description {
    display: none;
}

/* Navbar Styles */
.navbar {
    background-color: transparent !important;
}

.navbar .form-control {
    background-color: #1e1e1e;
    border: 1px solid #555;
    color: #e0e0e0;
}

.navbar .form-control::placeholder {
    color: #aaa;
}

.navbar .form-control:focus {
    background-color: #333;
    border-color: #ff0000;
    color: #e0e0e0;
    box-shadow: 0 0 0 0.2rem rgba(255, 0, 0, 0.25);
}

.navbar .btn-outline-light {
    border-color: #555;
    color: #e0e0e0;
}

.navbar .btn-outline-light:hover {
    background-color: #555;
    border-color: #777;
}

.navbar-brand {
    font-weight: bold;
}

.custom-logo-link {
    height: auto !important;
}

.logo-wrapper {
    height: auto !important;
}

.logo-wrapper .custom-logo {
    max-height: 70px;
    width: auto;
    max-width: 100%;
}

.navbar-nav .nav-link:hover {
    background-color: #333;
    border-radius: 5px;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--bs-heading-color);
    line-height: unset !important;
}
.screenshots img {
    border-radius: 0px !important;
}
.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.main-navigation {
    order: 2;
}

.menu-toggle {
    display: none;
}

@media (max-width: 1024px) and (min-width: 769px) {
    .menu-toggle {
        display: block;
    }
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0.5rem;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    display: block;
    padding: 0.25rem 0.75rem;
    color: #e0e0e0;
    border-radius: 5px;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
    background-color: #333;
}

.main-navigation .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #1e1e1e;
    border: 1px solid #333;
    padding: 0.5rem;
    z-index: 100;
    min-width: 200px;
    border-radius: 5px;
}

.main-navigation li:hover > .sub-menu {
    display: block;
}

.main-navigation .sub-menu li {
    width: 100%;
}

.main-navigation .sub-menu a {
    padding: 0.5rem 1rem;
}
.main-navigation ul li.menu-item-has-children > a::after {
    content: "\f078";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 5px;
}
.submenu-toggle {
    display: none;
}

/*--------------------------------------------------------------
# Live Search Results
--------------------------------------------------------------*/
.search-results-container {
    position: relative;
    background: #2a2a2a;
    border: 2px solid #ff0000;
    border-top: none;
    z-index: 1000;
    box-sizing: border-box;
    border-radius: 5px !important;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
}

.search-results-scroll-container {
    overflow-y: auto;
    max-height: 300px;
}

.search-results-scroll-container::-webkit-scrollbar {
    width: 8px;
}

.search-results-container::-webkit-scrollbar-track {
    background: #2a2a2a;
}

.search-results-container::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 4px;
}

.search-results-container::-webkit-scrollbar-thumb:hover {
    background: #777;
}

.search-result-item {
    border-bottom: 1px solid #444;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item a {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    gap: 1rem;
    transition: background-color 0.2s ease-in-out;
}

.search-result-item a:hover {
    background-color: #3c3c3c;
}

.search-result-item-image {
    width: 40px;
    height: 60px;
    flex-shrink: 0;
}

.search-result-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 3px;
}

.search-result-item-details {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.search-result-item-title {
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-item-year {
    font-size: 0.875rem;
    color: #aaa;
    display: inline;
}

.search-result-item-rating {
    font-size: 0.875rem;
    color: #aaa;
    display: inline;
}

.view-more-results {
    display: block;
    text-align: center;
    padding: 0.75rem;
    background: #333;
    border-top: 1px solid #444;
    border-radius: 0 0 5px 5px;
}

.view-more-results a {
    color: #e0e0e0;
    font-weight: bold;
}

.loading-spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 4px solid #bb86fc;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.search-error,
.no-results {
    padding: 1rem;
    text-align: center;
    color: #aaa;
}

/*--------------------------------------------------------------
# Search Modal
--------------------------------------------------------------*/
.header-search {
    order: 3;
}

.search-toggle {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 0.5rem;
    font-size: 1rem;
}

.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding-top: 5%;
}

.search-modal.is-active {
    opacity: 1;
    visibility: visible;
}

body.search-modal-is-active {
    overflow: hidden;
}

.search-modal-content {
    position: relative;
    width: 350px;
}

.search-form {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.search-field {
    flex-grow: 1;
    border: 1px solid #555;
    background: #333;
    color: #fff;
    font-size: var(--font-size-base);
    box-sizing: border-box;
}

.search-submit {
    background: #333;
    border: 1px solid #555;
    border-left: none;
    color: #fff;
    cursor: pointer;
    padding: 0.8rem;
    border-radius: 0 20px 20px 0;
    font-size: var(--font-size-base);
    box-sizing: border-box;
}

.close-search-modal {
    position: absolute;
    top: -3rem;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/*--------------------------------------------------------------
# Content Area Layout
--------------------------------------------------------------*/
.site-content {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

#primary {
    flex: 1;
    min-width: 0;
}

#secondary {
    width: 350px;
    flex-shrink: 0;
}

.no-sidebar #primary {
    flex-basis: 100%;
}

/*--------------------------------------------------------------
# Homepage & Archive Grid
--------------------------------------------------------------*/
.home .site-main,
.archive .site-main,
.search .site-main {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}

.posts-container {
    display: contents;
}

.movie-card-layout {
    position: relative;
    background: #1e1e1e;
    border-radius: 5px !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: none;
}

.movie-card-layout:hover {
    transform: none;
    box-shadow: none;
}

.buttontg:hover {
    background-color: #e7e7e7;
    border: 1px solid #555;
    color: #000;
}
.buttontg {
    background-color: #009de1;
    color: #fff;
    align-items: center;
    border: 1px solid #e7e7e7;
    border-radius: 4px;
}
.button {
    color: #fff;
    padding: 8px 6px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    margin: 2px 1px;
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
    cursor: pointer;
}
button {
    color: #fff;
    padding: 8px 6px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    margin: 2px 1px;
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
    cursor: pointer;
}
.button5 {
    background-color: #555;
    color: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 4px;
    margin-bottom: 4px;
}
.button4k {
    background-color: #FFAA2C;
    color: black;
    border-color: #EDBA26;
    align-items: center;
    border: 1px solid #e7e7e7;
    border-radius: 4px;
}
.alert {
    padding: 5px;
    background-color: #2d964b;
    margin-bottom: 20px;
    margin-top: 10px;
    width: 90%;
}
.alert {
    border-radius: 5px;
}
.closebtn {
    margin-left: 15px;
    margin-top: 4.5px;
    color: #fff;
    font-weight: 700;
    float: right;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
	margin: 3px;
}
.button.red {
    background-color: red;
    color: #fff;
    align-items: center;
    border: 1px solid #e7e7e7;
    border-radius: 4px;
}
.movie-card-layout .movie-poster-link {
    display: block;
}

.movie-card-layout .movie-poster {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 150%;
}

@media only screen and (max-width: 768px) {
    .mobile-poster-section .poster-image::after {
        content: none;
    }
    .additional-poster-section .poster-image {
        position: relative;
    }
    .additional-poster-section .poster-image img {
        width: 100%;
        height: auto;
        object-fit: cover;
        display: block;
    }
    .additional-poster-section .poster-image::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 100%;
        background: linear-gradient(to bottom, transparent 10%, rgba(18, 18, 18, 1) 100%);
        pointer-events: none;
    }
    .mobile-post-meta {
        font-size: 18px;
        margin-bottom: 1rem;
        padding-bottom: 20px;
    }
    .mobile-post-meta p {
        margin: 0.5rem 0;
    }
    .imdb-rating-top {
    position: absolute;
    bottom: 3px;
    right: -3px;
    background: linear-gradient(to bottom, #00ff89, transparent);
    color: #fff;
    padding: 6px 12px;
    font-size: 25px;
    font-weight: bold;
    border-radius: 8px;
    z-index: 5;
    max-width: calc(100% - 20px);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
}

.movie-card-layout .poster-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
}

.movie-card-layout .poster-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0;
}
.movie-card-layout .poster-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(18, 18, 18, 0.8), transparent);
    pointer-events: none;
}
@media only screen and (min-width: 769px) {
    .movie-card-layout .poster-image img {
        width: 100%;
        height: 100%;
        margin: 0;
    }
    .movie-card-layout .poster-image::after {
        display: none;
    }
}

.movie-card-layout .poster-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    font-weight: bold;
    color: #fff;
}

.movie-card-layout .post-views-card {
    position: absolute;
    bottom: 0.0rem;
    right: 0.0rem;
    padding: 0.25rem 0.5rem;
    background: #1e1e1e;
    color: #fff;
    font-size: 0.75rem;
}

.movie-card-layout .movie-quality {
    position: absolute;
    top: 0.0rem;
    right: 0.0rem;
}

.movie-card-layout .imdb-rating,
.movie-card-layout .movie-quality {
    padding: 0.25rem 0.5rem;
}

.movie-card-layout .imdb-rating {
    background: linear-gradient(to bottom, #00ff89, transparent);
}

.movie-card-layout .movie-quality {
    background: linear-gradient(to bottom, rgba(0, 166, 255, 0.8), transparent);
}

.movie-card-layout .entry-header {
    padding: 5px;
    text-align: center;
    max-height: 72px;
}

.movie-card-layout .entry-title {
    font-size: 14px;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.movie-card-layout .entry-title a {
    color: #e0e0e0;
}

.movie-card-layout .entry-meta {
    font-size: var(--font-size-sm);
    color: #aaa;
}

.page-header {
    margin-bottom: 2rem;
}

.search .page-header {
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
}

.search .page-title {
    display: none;
}

/*--------------------------------------------------------------
# Load More Button
--------------------------------------------------------------*/
.load-more-wrapper {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 2rem;
}

.load-more-container {
    display: inline-block;
}

#load-more {
    background-color: red;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

#load-more:hover {
    background-color: #3700b3;
}

#load-more:disabled {
    background-color: #333;
    color: #aaa;
    cursor: not-allowed;
}

/*--------------------------------------------------------------
# Single Post & Page Layout
--------------------------------------------------------------*/
.single-post-layout {
    background: none;
    border: none;
    padding: 0;
}

.post-header-background {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 2rem;
    border-radius: 5px !important;
    overflow: hidden;
    background: var(--bg);
}

.post-header-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(18, 18, 18, 0.2) 0%, rgba(18, 18, 18, 1) 100%),
                linear-gradient(to left, rgba(18, 18, 18, 0.2) 0%, rgba(18, 18, 18, 1) 100%);
}

.post-header-background::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 7px;
    background: linear-gradient(to top right, orange, green);
    z-index: -1;
}

.post-header-container {
    display: flex;
    align-items: flex-end;
    gap: 15px;
    position: relative;
    z-index: 1;
}

.post-header-image {
    position: relative;
}

.post-header-image img {
    position: relative;
    border-radius: 5px !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
    width: 100%;
    max-width: 250px;
    height: auto;
    display: block;
	min-width: 250px;
}

.post-header-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 40%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
}

.imdb-rating-on-image {
    position: absolute;
    bottom: 0rem;
    right: 0rem;
    font-size: var(--font-size-lg);
    font-weight: bold;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
	background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 1px 5px;
}

.post-header-details {
    padding-bottom: 1rem;
}

.post-header-details .entry-title {
    font-size: var(--font-size-lg);
    margin-bottom: 1rem;
}

.movie-meta-inline {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: var(--font-size-sm);
}

.movie-meta-block {
    font-size: var(--font-size-sm);
}

.movie-meta-inline a,
.movie-meta-block a {
    color: #fff;
}

.post-thumbnail {
    position: relative;
}

.post-views-single {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(to bottom right, rgba(0,0,0,0.8), transparent);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: var(--font-size-sm);
    color: #fff;
}

.imdb-rating-single {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    font-size: var(--font-size-lg);
    font-weight: bold;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.release-date-mobile {
    display: none;
}

.single-post-layout .entry-content {
    margin-top: -2rem;
    position: relative;
    z-index: 2;
}

.single-post-layout .entry-meta {
    font-size: 0.875rem;
    color: #aaa;
}

.single-post-layout .post-thumbnail {
    margin-bottom: 1.5rem;
}

.single-post-layout .post-thumbnail img {
    position: relative;
    max-width: 100%;
    height: auto;
    border-radius: 5px !important;
}

.single-post-layout .entry-content,
.page .entry-content {
    font-size: 1.1rem;
    line-height: 1.7;
}

.movie-details-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.screenshots {
    margin-bottom: 2rem;
}

.screenshots img {
    position: relative;
    max-width: 100%;
    height: auto;
    border-radius: 5px !important;
    margin-bottom: 1rem;
}

.download-links .download-button {
    display: inline-block;
    margin-right: 1rem;
    margin-bottom: 1rem;
}

/*--------------------------------------------------------------
# Sidebar, Related Posts & Comments
--------------------------------------------------------------*/
#secondary .widget,
#respond {
    position: relative;
    background: #1e1e1e;
    border-radius: 5px !important;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.related-posts,
.comments-area {
	margin: 20px 10px 10px 10px;
}

.related-posts {
    padding-top: 0;
}

.widget-title,
.related-posts h2,
.comments-title {
    font-size: var(--font-size-md);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    margin-top: 0;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

@media (max-width: 1024px) {
    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .search-modal {
        padding-top: 15%;
    }

    .search-modal-content {
        width: 90%;
    }
}

@media (max-width: 768px) {
    .related-posts-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

/*--------------------------------------------------------------
# Custom Widget
--------------------------------------------------------------*/
.widget_neomovies_posts_widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.neomovies-widget-post {
    margin-bottom: 1rem;
    overflow: hidden;
}

.neomovies-widget-post a {
    display: flex;
    gap: 1rem;
    align-items: center;
    overflow: hidden;
}

.neomovies-widget-post-image {
    width: 80px;
    aspect-ratio: 2 / 3;
}

.neomovies-widget-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.neomovies-widget-post-title {
    font-size: var(--font-size-base);
    margin: 0 0 0.25rem;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    max-height: 4.5em;
    max-width: 100%;
}

.neomovies-widget-post-details {
    overflow: hidden;
}

.neomovies-widget-post-rating {
    font-size: 0.875rem;
    color: #aaa;
}

/*--------------------------------------------------------------
# Comments
--------------------------------------------------------------*/
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.comment-body {
    position: relative;
    background: #1e1e1e;
    border-radius: 5px !important;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.comment-meta {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.comment-author .avatar {
    border-radius: 50%;
    margin-right: 1rem;
}

.comment-author .fn {
    font-weight: bold;
    font-style: normal;
}

.comment-metadata a {
    color: #aaa;
    font-size: 0.875rem;
}

.comment-content {
    line-height: 1.7;
}

.reply a {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.875rem;
    padding: 0.25rem 0.75rem;
    border-radius: 5px;
    background: #333;
}

#respond {
    padding: 1.5rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: calc(100% - 1.5rem);
    padding: 0.75rem;
    background: #333;
    border: 1px solid #555;
    color: #e0e0e0;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.comment-form .submit {
    background: #bb86fc;
    color: #121212;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.site-footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
    border-top: 1px solid #333;
    color: #aaa;
}

.footer-navigation {
    margin-bottom: 1rem;
}

.footer-navigation ul {
    display: flex;
    justify-content: center;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-navigation li:not(:last-child)::after {
    content: "·";
    margin-left: 1rem;
    color: #aaa;
}

/*--------------------------------------------------------------
# Responsive Design
--------------------------------------------------------------*/
@media (max-width: 1024px) {
    .home .site-main,
    .archive .site-main,
    .search .site-main {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 800px) {
    .home .site-main,
    .archive .site-main,
    .search .site-main {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        background: none;
        border: none;
        color: #fff;
        font-size: 1.5rem;
    }

    .main-navigation ul {
        display: block;
        position: fixed;
        top: 0;
        left: -280px;
        width: 240px;
        height: 100vh;
        background: #1e1e1e;
        padding: 2rem;
        z-index: 1001;
        transition: left 0.3s ease;
        overflow-y: auto;
    }

    .main-navigation .sub-menu {
        position: static;
        width: auto;
        height: auto;
        background: none;
        padding: 0 0 0 1rem;
        display: none;
        overflow: hidden;
        transition: height 0.3s ease;
    }

    /* Make submenu push content below */
    .main-navigation ul ul {
        padding-left: 1rem;
        background: #1e1e1e;
        border-left: 3px solid #ff0000; /* accent color */
        margin: 0.5rem 0;
        border-radius: 5px;
    }

    .main-navigation li {
        display: block;
        margin-bottom: 0.5rem;
    }

    .submenu-toggle {
        background: none;
        border: none;
        color: #e0e0e0;
        cursor: pointer;
        padding: 0;
        font-size: 1rem;
        margin-left: 0.5rem;
        display: inline;
    }

    .submenu-toggle:hover {
        color: #ff0000;
    }

    .submenu-toggle i {
        pointer-events: none;
    }

    .mobile-menu-active .main-navigation ul {
        left: 0;
    }

    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        z-index: 1000;
        display: none;
    }

    .mobile-menu-active .mobile-menu-overlay {
        display: block;
    }

    .site-content {
        flex-direction: column;
    }

    #secondary {
        width: 100%;
    }

    .home .site-main,
    .archive .site-main,
    .search .site-main {
        grid-template-columns: repeat(2, 1fr);
    }

    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .home .site-main,
    .archive .site-main,
    .search .site-main {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .site-header {
        flex-wrap: nowrap;
    }

    .header-right {
        width: auto;
        margin-top: 0;
    }

    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .search-field {
        width: 100%;
    }

    .release-date-desktop {
        display: none;
    }

    .release-date-mobile {
        display: inline;
    }

    .movie-card-layout .entry-title {
        font-size: 14px;
    }
}

/* Download Button New */
.dld {
    background-color: #f2f2f2;
    color: black;
    border-radius: 4px;
    border: 2px solid black;
    display: inline-block;
    font-size: 17px;
    padding: 5px 30px;
    margin: 5px 5px 5px 5px;
    font-weight: 700;
}
.dld:hover {
 background: linear-gradient(to bottom, #CACACA 5%, #CACACA 100%);
 background-color: yellow;
 color: black;
}
.gd {
    background-color: #ffdd00;
    color: black;
    border-radius: 4px;
    border: 2px solid black;
    display: inline-block;
    font-size: 17px;
    padding: 5px 30px;
    margin: 5px 5px 5px 5px;
    font-weight: 700;
}
.gd:hover {
 background-color: #cfb302;
 color: black;
}

/* How to Download */
.down{
    background-color: #02a677;
    color: #fff;
    border: 1px solid black;
    border-radius: 4px;
    margin-bottom: 4px;
	  padding: 5px 10px;
}
.down:hover {
    background-color: grey;
    color: #fff;
    border: 1px solid black;
    border-radius: 4px;
    margin-bottom: 4px;
	  padding: 5px 10px;
}

/* Telegram Button */
.tg{
    background-color: #009de1;
    color: #fff;
    border: 1px solid black;
    border-radius: 4px;
    margin-bottom: 4px;
	  padding: 5px 10px;
}
.tg:hover {
    background-color: grey;
    color: #fff;
    border: 1px solid black;
    border-radius: 4px;
    margin-bottom: 4px;
	  padding: 5px 10px;
}
.report{
    background-color: red;
    color: #fff;
    border: 1px solid black;
    border-radius: 4px;
    margin-bottom: 4px;
	  padding: 5px 10px;
}
.report:hover {
    background-color: grey;
    color: #fff;
    border: 1px solid black;
    border-radius: 4px;
    margin-bottom: 4px;
	  padding: 5px 10px;
}
/* Slider CSS */
.neoimgs {
 border-radius: 8px;
 box-shadow: rgba(0, 0, 0, 0.11) 0px 0px 8px 0px;
 box-sizing: border-box; clear: both;
 color: #545450;
 cursor: pointer;
 font-size: 16px; 
 line-height: 1;
 outline: 0px;
 width: auto;
}
.screenshots {
 box-sizing: border-box;
 clear: both;
 margin: 0px auto;
 outline: 0px;
 padding: 7px;
 width: auto;
}
.screenshots img {
    max-width: 100%;
    height: auto;
    margin-bottom: 5px;
}
.neoscr {
 box-sizing: border-box;
 list-style: none none;
 margin: 0px !important;
 outline: 0px;
 padding: 0px !important;
 text-wrap: nowrap;
}
/* Buttons & Alert */
.buttontg:hover {
    background-color: #e7e7e7;
    border: 1px solid #555;
    color: #000;
}
.buttontg {
    background-color: #009de1;
    color: #fff;
    align-items: center;
    border: 1px solid #e7e7e7;
    border-radius: 4px;
}
.button {
    color: #fff;
    padding: 8px 6px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    margin: 2px 1px;
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
    cursor: pointer;
}

.button5 {
    background-color: #555;
    color: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 4px;
    margin-bottom: 4px;
}
.button4k {
    background-color: #FFAA2C;
    color: black;
    border-color: #EDBA26;
    align-items: center;
    border: 1px solid #e7e7e7;
    border-radius: 4px;
}

.alert {
    padding: 5px;
    background-color: #2d964b;
    margin-bottom: 20px;
    margin-top: 10px;
    width: 90%;
	  border-radius: 4px;
}
.closebtn {
    margin-left: 15px;
    margin-top: 4.5px;
    color: #fff;
    font-weight: 700;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
}
/* Series Buttons */
.sr1 {
	  color: #fff;
    background-color: #0265cf;
    border-color: #007bff;
    border-radius: 3px;
    border: 2px solid black;
    display: inline-block;
    font-size: 15px;
    padding: 4px 8px;
}
.sr1:hover{
	  background-color: #004F89;
    color: dark;
    border-radius: 3px;
    border: 2px solid black;
    display: inline-block;
    font-size: 15px;
    padding: 4px 8px;
}
.sr2 {
	  color: #fff;
    background-color: #36454F;
    border-color: #28a745;
    border-radius: 3px;
    border: 2px solid black;
    display: inline-block;
    font-size: 15px;
    padding: 4px 8px;
}
.sr2:hover{
	  background-color: #596066;
    color: dark;
    border-radius: 3px;
    border: 2px solid black;
    display: inline-block;
    font-size: 15px;
    padding: 4px 8px;
}
.sr3 {
	  color: #fff;
    background-color: #008080;
    border-color: #28a745;
    border-radius: 3px;
    border: 2px solid black;
    display: inline-block;
    font-size: 15px;
    padding: 4px 8px;
}
.sr3:hover{
	  background-color: #23913c;
    color: dark;
    border-radius: 3px;
    border: 2px solid black;
    display: inline-block;
    font-size: 15px;
    padding: 4px 8px;
}
.myPlayer {
    position: relative;
	padding-top: 56.25%;
    height:100%;
}
.myPlayer iframe, .myPlayer object, .myPlayer embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin:0px;
}
#primary-navigation li, #primary-navigation li a {
	text-transform: none;
}
.inf {
    background-color: #0dcaf0;
    color: black;
    border-radius: 4px;
    border: 2px solid black;
    display: inline-block;
    font-size: 15px;
    padding: 2px 15px;
    margin: 1px;
}
.inf:hover {
 background: #06a7c7;
 color: black;
}
.scs {
    background-color: #6c757d;
    color: black;
    border-radius: 4px;
    border: 1px solid black;
    display: inline-block;
    font-size: 14px;
    padding: 2px 10px;
    margin: 1px;
}
.scs:hover {
 background: #50585e;
 color: black;
}

.dll {
    background-color: #c90036;
    color: black;
    border-radius: 4px;
    border: 1px solid black;
    display: inline-block;
    font-size: 14px;
    padding: 2px 10px;
    margin: 1px;
}
.dll:hover {
 background: #94032a;
 color: black;
}
.ply {
    background-color: #00855d;
    color: black;
    border-radius: 4px;
    border: 1px solid black;
    display: inline-block;
    font-size: 14px;
    padding: 2px 10px;
    margin: 1px;
}
.ply:hover {
 background: #024f38;
 color: black;
}

#loading-animation {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
#custom_html-2 {
  text-align: center;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  padding: 0 10px;
  box-sizing: border-box;
}
#custom_html-2 .widget-title {
  text-align: center;
  margin-bottom: 15px;
}
#custom_html-2 img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.prm {
    background-color: #ffdd00;
    color: black;
    border-radius: 4px;
    border: 2px solid black;
    display: inline-block;
    font-size: 17px;
    padding: 5px 30px;
    margin: 5px 5px 5px 5px;
    font-weight: 700;
}
.prm:hover {
 background-color: #cfb302;
 color: black;
}
@media only screen and (max-width: 768px) {
    .mobile-background {
        background-size: cover;
        background-position: center;
        position: relative;
        padding: 2rem 1rem;
        border-radius: 5px !important;
        overflow: hidden;
        margin-bottom: 1rem;
        background: var(--bg);
    }

    .mobile-background::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(to bottom, rgba(18, 18, 18, 0.5) 20%, rgba(18, 18, 18, 0.8) 100%);
        pointer-events: none;
        z-index: 1;
    }

    .mobile-background::after {
        content: '';
        position: absolute;
        top: -2px;
        left: -2px;
        right: -2px;
        bottom: -2px;
        border-radius: 7px;
        background: linear-gradient(to top right, orange, green);
        z-index: -1;
    }
    .mobile-poster-overlay {
        text-align: center;
        margin-top: 2rem;
        position: relative;
        max-width: 200px;
        margin: auto;
        z-index: 2;
    }
    .mobile-poster-img {
        width: 200px;
        height: auto;
        border-radius: 5px !important;
        display: block;
        margin: 0 auto;
        position: relative;
        z-index: 3;
    }
    .mobile-poster-overlay .poster-image {
        position: relative;
    }
.mobile-background {
    position: relative;
    background-image: none !important;
}
.mobile-background::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: linear-gradient(to bottom, #0000004d 0%, rgb(18 18 18) 100%), var(--bg);
    background-size: cover;
    background-position: center;

    z-index: 0;
}
.mobile-background .imdb-rating-on-image {
    position: absolute;
    bottom: 0rem;
    right: 0rem;
    font-size: var(--font-size-lg);
    font-weight: bold;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 1px 5px;
    z-index: 1;
}
    .mobile-poster-overlay .poster-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        display: flex;
        justify-content: flex-end;
        font-size: 0.875rem;
        font-weight: bold;
        color: #fff;
    }
    .mobile-poster-overlay .imdb-rating-on-image {
        position: absolute;
        bottom: 0;
        right: 0;
        font-size: var(--font-size-lg);
        font-weight: bold;
        color: #fff;
        text-shadow: 0 2px 4px rgba(0,0,0,0.5);
        background: rgba(0, 0, 0, 0.8);
        padding: 5px 10px;
        border-radius: 5px;
        z-index: 1;
    }
    .mobile-poster-overlay .movie-quality {
        position: absolute;
        top: 0;
        right: 0;
        z-index: 1;
    }
    .movie-card-layout .post-views-card {
        bottom: 0;
        left: 0;
        z-index: 1;
    }
    .entry-title {
        text-align: center;
        margin-top: 1rem;
        position: relative;
        z-index: 2;
        color: #fff;
        text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    }
    .mobile-meta-box {
        position: relative;
        background: #1e1e1e;
        border-radius: 5px !important;
		padding: 0.5rem;
        margin: 1rem 0 3rem;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
	.movie-meta-block {
    font-size: 16px !important;
	}
    .movie-meta-inline span {
        font-size: var(--font-size-sm);
    }
    .imdb-rating-on-image {
        display: none;
    }
    .entry-content {
        margin-top: 2rem;
    }
    body, html {
        overflow-x: hidden;
    }
    #secondary .widget {
        margin: 0 1rem 2rem;
    }
    .entry-content img {
        border-radius: 0 !important;
    }
    .entry-content .neoimgs {
        border-radius: 0 !important;
    }
    .main-navigation ul li.menu-item-has-children > a::after {
        display: none;
    }
}

/* Bootstrap Navbar Overrides for Dark Theme */
.navbar {
    background-color: #2a2a2a !important;
    border-bottom: 1px solid #444 !important;
    border-radius: 6px;
    min-height: 70px;
}

.navbar .dropdown-menu {
    background-color: #333 !important;
    border: 1px solid #555 !important;
}

.navbar .dropdown-menu .dropdown-item {
    color: #e0e0e0 !important;
}

.navbar .dropdown-menu .dropdown-item:hover {
    background-color: #555 !important;
    color: #fff !important;
}

.navbar-toggler {
    border-color: #555 !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.form-control {
    background-color: #333 !important;
    border-color: #555 !important;
    color: #e0e0e0 !important;
}

.form-control::placeholder {
    color: #aaa !important;
}

.btn-outline-secondary {
    color: #e0e0e0 !important;
    border-color: #555 !important;
}

.btn-outline-secondary:hover {
    background-color: #555 !important;
    border-color: #555 !important;
    color: #fff !important;
}

/* Navbar Search Results */
#search-results {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    background: #2a2a2a;
    border: 1px solid #444;
    border-top: none;
    z-index: 1000;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    box-sizing: border-box;
    margin-top: 0.25rem;
}
