/*
Theme Name:NoxMovie Theme
Author: By Rashed.in
Description: A WordPress theme for movie listings with customizable width, height, and colors
Version: 1.0.0
Text Domain: movie-theme
*/

body {
    font-family: 'Noto Sans', sans-serif;
    background-color: #303030;
    color: #f9f9f9;
    font-size: .88rem;
    line-height: 1.5rem;
}
body:not(.single) {
    background-color: #f3f4f6;
}
.unselectable {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}
.mt-dark-mode {
    background-color: #1a202c;
    color: #e2e8f0;
}
.mt-dark-mode .mt-movie-card {
    background-color: #2d3748;
}
.mt-dark-mode .mt-header {
    background-color: #2d3748;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.mt-movie-poster {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: opacity 0.3s ease;
}
.mt-movie-poster:hover {
    opacity: 0.9;
}
.mt-header {
    background: #ffffff;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
body.single .mt-header {
    background: linear-gradient(105deg, #000000f0, #2d0000);
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1250px;
    margin: 0 auto;
}
.mt-logo img {
    height: 30px;
    border-radius: 0;
    transition: transform 0.3s ease;
}
.mt-logo img:hover {
    transform: scale(1.05);
}
.mt-site-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    font-family: 'Changa', sans-serif;
}
body.single .mt-site-title {
    color: #f9f9f9;
}
.mt-site-title:hover {
    color: #16cfc1;
}
.mt-post-title {
    text-decoration: none;
    transition: color 0.3s ease;
}
.mt-post-title:hover {
    color: #16cfc1;
}
.mt-search-bar {
    border: 1px solid #d1d5db;
    border-radius: 9999px;
    padding: 0.5rem 1.5rem;
    width: 100%;
    max-width: 18rem;
    transition: all 0.3s ease;
    background-color: #f9fafb;
}
.mt-search-bar:focus {
    border-color: #16cfc1;
    box-shadow: 0 0 0 3px rgba(22, 207, 193, 0.2);
    outline: none;
    background-color: #ffffff;
}
.mt-telegram-btn {
    background: linear-gradient(90deg, #16cfc1, #1d4ed8);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-weight: 500;
    white-space: nowrap;
}
.mt-telegram-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.mt-menu-item {
    background-color: #e5e7eb;
    color: #374151;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin: 0 0.25rem;
    text-decoration: none;
    font-family: 'Changa', sans-serif;
}
body.single .mt-menu-item {
    background-color: transparent;
    color: #f9f9f9;
}
.mt-menu-item:hover {
    background-color: #16cfc1;
    color: #ffffff;
}
.mt-dark-mode .mt-menu-item {
    background-color: #4b5563;
    color: #e2e8f0;
}
.mt-dark-mode .mt-menu-item:hover {
    background-color: #16cfc1;
    color: #ffffff;
}
.mt-post-meta {
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
}
.mt-download-link {
    margin-top: 0.25rem;
    text-decoration: none;
}
.mt-download-link:hover {
    color: #16cfc1;
}
.mt-single-post {
    max-width: var(--site-max-width, 800px);
    margin: 0 auto;
    padding: 20px;
    background-color: #242424;
}
body.single {
    background-color: #242424;
}
.mt-single-post .post-title {
    font-size: 22px;
    line-height: 2.2rem;
    font-family: 'Changa', sans-serif;
    color: #fff;
}
.mt-single-post .post-byline {
    font-size: .88rem;
    color: #f9f9f9;
}
.mt-single-post .entry-inner {
    color: #f9f9f9;
    line-height: 1.5rem;
    font-size: .88rem;
}
.mt-single-post .entry-inner h3 {
    text-align: center;
    color: #eef425;
    font-family: 'Changa', sans-serif;
    margin: 1rem 0;
}
.mt-single-post .entry-inner h5 {
    text-align: center;
    color: #fff;
    font-family: 'Changa', sans-serif;
    margin: 1rem 0;
}
.mt-single-post .entry-inner h5 span {
    color: #eef425;
}
.mt-single-post .entry-inner p {
    margin: 0.5rem 0;
}
.dwd-button {
    padding: 10px;
    background: linear-gradient(135deg, #67df03b8, #1356d5b8);
    color: #fff;
    border: none;
    border-radius: 10%;
    cursor: pointer;
    min-width: 250px;
    font-size: 16px;
    font-family: 'Changa', sans-serif;
    margin: 5px;
    text-align: center;
    display: inline-block;
}
.dwd-button:hover {
    background: #16cfc1;
}
.single-foot-content {
    background: none;
    padding: 20px;
    border-radius: 10%;
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.11);
    max-width: 600px;
    margin: 30px auto;
    animation: fadeIn 1s ease-in-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
.single-foot-content p {
    font-size: 14px;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px;
    border-radius: 10px;
    margin: 10px 0;
}
@media (max-width: 768px) {
    .mt-header {
        padding: 1rem;
    }
    .nav-container {
        flex-direction: column;
        align-items: flex-start;
    }
    .mt-header-actions {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    .mt-search-bar {
        max-width: 100%;
        width: 100%;
    }
    .mt-telegram-btn {
        width: 100%;
        text-align: center;
    }
    .mt-menu-item {
        width: 100%;
        text-align: center;
        margin: 0.25rem 0;
    }
    .mt-single-post .post-title {
        font-size: 1.5rem;
    }
}
@media (min-width: 769px) {
    .mt-header {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 1.5rem;
        padding: 1rem 2rem;
    }
    .mt-header-actions {
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }
}