/*
Theme Name: 1Filmy4Wap Premium
Theme URI: https://judolbet88ok.myfqscore.co.uk
Author: 1Filmy4Wap Team
Author URI: https://judolbet88ok.myfqscore.co.uk
Description: Premium WordPress theme for 1Filmy4Wap - Watch & Download Web Series, Movies, and Hot Series in HD. Fast, secure, and SEO optimized.
Version: 2.0.0
License: GPL v2 or later
License URI: https://www.1filmy4wep.xyz/licenses/gpl-2.0.html
Text Domain: 1filmy4wap
Domain Path: /languages
Tags: entertainment, movies, web-series, video, responsive, seo-friendly, fast
*/

/* --- 1. GLOBAL RESET --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #f4f4f4;
    line-height: 1.6;
    color: #333;
}

/* ================================
   PREMIUM GOOGLE FONT – Poppins
================================ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* Apply to whole site */
body, h1, h2, h3, h4, h5, h6, p, a, button, input, textarea, span, div {
    font-family: 'Poppins', sans-serif !important;
}

/* --- 2. HEADER & NAVIGATION --- */
.site-header {
    width: 100%;
    background-color: #0f9d58;
}

.top-navbar {
    height: 80px; 
    display: flex;
    align-items: center;
    padding: 0 15px;
    border-bottom: 2px solid #fff; /* Bottom Accent Line */
}

.nav-container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

/* Navbar Layout 30/70 */
.nav-menu-btn {
    width: 30%;
    display: flex;
    justify-content: flex-start;
}

.nav-logo-area {
    width: 70%;
    display: flex;
    justify-content: flex-end;
}

.nav-logo-area img {
    max-height: 55px;
    width: auto;
    object-fit: contain;
}

/* --- 3. HAMBURGER MENU (ORANGE) --- */
.mobile-hamburger {
    cursor: pointer;
    display: inline-block;
}

.mobile-hamburger span {
    display: block;
    width: 32px;
    height: 4px;
    background-color: #fff;
    margin: 6px 0;
    border-radius: 5px;
    transition: 0.3s ease;
}

/* --- 4. FULL WIDTH SEARCH SECTION --- */
.search-container-new {
    width: 100%;
    padding: 25px 12px; /* Navbar aur Content ke darmiyan spacing */
    display: flex;
    justify-content: center;
    background-color: #ffffff; /* Transparent ki jagah ab ye White hai */
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); /* Halka shadow depth ke liye */
}

.search-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px; /* PC par zyada bada na ho */
}

.search-wrapper input {
    width: 100%;
    height: 54px;
    padding: 14px 20px;
    padding-right: 32%; /* Button ke liye space */
    border: 2px solid #0f9d58;
    border-radius: 12px;
    background: #ffffff;
    font-size: 16px;
    color: #333;
    outline: none;
    box-shadow: 0 4px 12px rgba(15, 157, 88, 0.15);
    display: block;
}

.search-wrapper button {
    position: absolute;
    right: 6px;
    top: 6px;
    height: 42px;
    width: 28%;
    background: #0f9d58;
    color: #ffffff;
    border: none;
    border-radius: 9px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.search-wrapper button:hover {
    background: #0b7a44;
}

/* --- 5. MOBILE SLIDE MENU (SIDEBAR) --- */
.mobile-slide-menu {
    position: fixed;
    top: 0;
    left: -100%; 
    width: 300px;
    height: 100%;
    background: #ffffff;
    z-index: 10001;
    transition: 0.4s cubic-bezier(0.1, 0.7, 0.1, 1);
    box-shadow: 5px 0 15px rgba(0,0,0,0.2);
}

.mobile-slide-menu.active {
    left: 0;
}

.menu-header {
    background: #0f9d58;
    color: #ffffff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-header h3 {
    font-size: 18px;
    font-weight: bold;
}

.close-btn {
    background: none;
    border: none;
    color: #f57f26;
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
}

.menu-list {
    overflow-y: auto;
    height: calc(100% - 80px);
}

.menu-list a {
    display: block;
    padding: 16px 20px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    border-bottom: 1px solid #f0f0f0;
    transition: 0.2s;
}

.menu-list a:hover {
    background-color: #f9f9f9;
    color: #0f9d58;
    padding-left: 25px;
}

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

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

/* --- 6. RESPONSIVE ADJUSTMENTS --- */

/* Tablet & Desktop */
@media (min-width: 768px) {
    .top-navbar { height: 90px; }
    .nav-logo-area img { max-height: 65px; }
}

/* Mobile Small Screens */
@media (max-width: 480px) {
    .search-container-new {
        padding: 20px 10px;
    }
    .search-wrapper button {
        width: 35%;
        font-size: 14px;
    }
    .search-wrapper input {
        padding-right: 38%;
        height: 50px;
    }
}
/* 1. SEO H1 Hidden */
.visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

/* 2. Latest Update Bar Style */
.latest-container { padding: 10px; margin-bottom: 5px; }
.latest-badge-inner {
    position: relative; display: flex; align-items: center; gap: 8px;
    background-color: #0f9d58; color: white; padding: 12px;
    border-radius: 5px; overflow: hidden; z-index: 1; font-weight: bold;
}
.latest-badge-inner::before {
    content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: conic-gradient(transparent, #ff7b00, transparent, #fff, transparent);
    animation: rotate 4s linear infinite; z-index: -1;
}
.latest-badge-inner::after {
    content: ''; position: absolute; top: 2px; left: 2px; right: 2px; bottom: 2px;
    background: #0f9d58; border-radius: 4px; z-index: -1;
}
@keyframes rotate { 100% { transform: rotate(360deg); } }

/* 3. Movie Grid Fix (The most important part) */
.movie-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Mobile pe 2 columns default */
    gap: 10px;
    padding: 10px;
}

/* PC ke liye 5 or 6 columns */
@media (min-width: 992px) {
    .movie-grid-wrapper {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* 4. Movie Card & Professional 2px Green Border */
.movie-card {
    background: #fff;
    border: 2px solid #0f9d58; /* 2px Green Border */
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.movie-poster img {
    width: 100%;
    height: auto;
    aspect-ratio: 2/3;
    object-fit: cover;
    display: block;
}

/* 5. Title Style */
.movie-details {
    padding: 8px 5px;
    background: #fff;
    text-align: center;
    border-top: 1px solid #eee;
}

.movie-title {
    font-size: 13px;
    color: #333;
    margin: 0;
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
}

a { text-decoration: none !important; }

/* ================================
   FOOTER SEO BOX (domain animation)
================================ */
/* ================================
   FOOTER SEO BOX (domain animation)
================================ */
.footer-seo-box {
    margin-top: 20px;
    padding: 14px 16px;
    border-top: 2px solid #0f9d58;
    background: #fff8f1;
    border-radius: 8px;
}
.footer-seo-box p {
    font-size: 1em;
    color: #222;
    line-height: 1.7;
    text-align: center;
}
.footer-seo-box a {
    color: #0f9d58;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin: 4px 8px;
    transition: all 0.3s ease;
    position: relative;
}
.footer-seo-box a:hover {
    transform: translateY(-2px) scale(1.03);
    color: #0b7d47;
    text-shadow: 0 0 8px rgba(15,157,88,0.4);
}
.footer-seo-box a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: #0f9d58;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.footer-seo-box a:hover::after {
    transform: scaleX(1);
}

/* ================================
   GREEN FOOTER (compact & premium)
================================ */
.green-footer {
    background: #0f9d58;
    color: white;
    padding: 22px 0 14px;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

/* ---- "Share To" label ---- */
.share-heading {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.85);
    margin-bottom: -10px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
}
.share-heading i {
    font-size: 1rem;
}

/* ================================
   SOCIAL ICONS – Expand on Hover
================================ */
.social-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

/* base pill – collapsed state */
.social-icons a {
    position: relative;
    display: flex;
    align-items: center;
    height: 48px;
    width: 48px;
    border-radius: 30px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.35);
    color: #fff;
    text-decoration: none;
    overflow: hidden;
    white-space: nowrap;
    flex-shrink: 0;
    transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                background 0.35s,
                border-color 0.35s,
                transform 0.35s;
}

/* icon fixed on left */
.social-icons a i {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: transform 0.3s;
}

/* label hidden by default */
.social-icons a .label {
    opacity: 0;
    transform: translateX(-15px);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.4px;
    padding-right: 20px;
    padding-left: 2px;
    pointer-events: none;
    transition: opacity 0.25s ease 0.08s,
                transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1) 0.08s;
}

/* ---------- HOVER EFFECT ---------- */
.social-icons a:hover {
    transform: translateY(-3px);
    border-color: transparent;
}
.social-icons a:hover .label {
    opacity: 1;
    transform: translateX(0);
}
.social-icons a:hover i {
    transform: scale(1.1);
}

/* Brand‑specific colours & expanded widths */
.social-icons a.share-wa:hover {
    width: 158px;
    background: #25D366;
    border-color: #25D366;
}
.social-icons a.share-fb:hover {
    width: 160px;
    background: #1877F2;
    border-color: #1877F2;
}
.social-icons a.share-tw:hover {
    width: 140px;
    background: #1DA1F2;
    border-color: #1DA1F2;
}
.social-icons a.share-tg:hover {
    width: 158px;
    background: #0088cc;
    border-color: #0088cc;
}

/* ---- Footer Links ---- */
.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
    margin-top: 12px;
}
.footer-links a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    position: relative;
    padding-bottom: 4px;
    transition: color 0.25s, transform 0.25s;
}
.footer-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: #fff;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.footer-links a:hover {
    color: #ffffff;
    transform: translateY(-2px);
}
.footer-links a:hover::after {
    transform: scaleX(1);
}

/* ---- Copyright ---- */
.copyright {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 5px;
}

/* ================================
   MOBILE RESPONSIVE FIXES
================================ */
@media (max-width: 768px) {
    .green-footer {
        padding: 18px 0 12px;
    }
    
    .footer-content {
        gap: 14px;
        padding: 0 12px;
    }
    
    .share-heading {
        font-size: 0.8rem;
        margin-bottom: -6px;
    }
    
    /* Social icons container */
    .social-icons {
        gap: 10px;
        flex-wrap: nowrap;           /* ek line mein rakhe, wrap nahi honge */
        overflow-x: auto;            /* agar zaroorat ho to scroll */
        -webkit-overflow-scrolling: touch;
        padding: 0 5px;
        max-width: 100%;
    }
    
    /* Individual icon pills - chhote size */
    .social-icons a {
        height: 40px;
        width: 40px;
        border-radius: 24px;
        flex-shrink: 0;
    }
    
    .social-icons a i {
        min-width: 40px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Label mobile mein bhi chhota */
    .social-icons a .label {
        font-size: 0.7rem;
        padding-right: 12px;
        transform: translateX(-10px);
    }
    
    /* Hover widths mobile ke liye adjust */
    .social-icons a.share-wa:hover {
        width: 120px;
    }
    .social-icons a.share-fb:hover {
        width: 122px;
    }
    .social-icons a.share-tw:hover {
        width: 105px;
    }
    .social-icons a.share-tg:hover {
        width: 120px;
    }
    
    /* Hover effect thoda subtle */
    .social-icons a:hover {
        transform: translateY(-2px);
    }
    
    /* Footer links */
    .footer-links {
        gap: 12px;
        margin-top: 6px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-links a {
        font-size: 13px;
        padding-bottom: 3px;
    }
    
    .copyright {
        font-size: 0.75rem;
        margin-top: 2px;
    }
}

/* Extra small phones */
@media (max-width: 400px) {
    .social-icons {
        gap: 6px;
    }
    
    .social-icons a {
        height: 36px;
        width: 36px;
        border-radius: 20px;
    }
    
    .social-icons a i {
        min-width: 36px;
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
    
    .social-icons a .label {
        font-size: 0.65rem;
        padding-right: 10px;
    }
    
    .social-icons a.share-wa:hover {
        width: 105px;
    }
    .social-icons a.share-fb:hover {
        width: 108px;
    }
    .social-icons a.share-tw:hover {
        width: 92px;
    }
    .social-icons a.share-tg:hover {
        width: 105px;
    }
    
    .footer-links a {
        font-size: 12px;
        margin: 2px 4px;
    }
}

/* Pangination ki Css Hia Ye */
/* ================================
   NOVA PAGINATION – Safe & Bigger
================================ */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    padding: 35px 0;
}

/* Specific target only inside pagination wrapper */
.pagination-wrapper .nova-pagination {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8f9fa;
    border: 1px solid #e8eaed;
    border-radius: 14px;
    padding: 8px 14px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
}

/* ================================
   BUTTONS – Bigger (+15%)
================================ */
.pagination-wrapper .nova-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 24px;
    height: 55px;                    /* 48px → 55px */
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;                  /* 14px → 16px */
    letter-spacing: 0.3px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid #dadce0;
    background: #ffffff;
    color: #333;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

.pagination-wrapper .nova-btn i {
    font-size: 16px;                  /* 14px → 16px */
    transition: transform 0.2s ease;
}

/* Click arrow move */
.pagination-wrapper .nova-btn:active i.fa-arrow-left {
    transform: translateX(-5px);
}
.pagination-wrapper .nova-btn:active i.fa-arrow-right {
    transform: translateX(5px);
}

/* Subtle hover */
.pagination-wrapper .nova-btn:hover {
    background: #f1f3f4;
    border-color: #0f9d58;
    color: #0f9d58;
}

/* Click feedback */
.pagination-wrapper .nova-btn:active {
    transform: scale(0.97);
}

/* ================================
   PAGE BOXES – Bigger (+15%)
================================ */
.pagination-wrapper .nova-numbers {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}

.pagination-wrapper .nova-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 55px;                  /* 48px → 55px */
    height: 55px;                     /* 48px → 55px */
    padding: 0 6px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 17px;                  /* 15px → 17px */
    color: #555;
    text-decoration: none;
    background: #ffffff;
    border: 1px solid #e8eaed;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

/* Subtle hover */
.pagination-wrapper .nova-page:hover:not(.active):not(.dots) {
    background: #f1f3f4;
    border-color: #0f9d58;
    color: #0f9d58;
}

/* Active page */
.pagination-wrapper .nova-page.active {
    background: #0f9d58;
    color: #fff;
    border-color: #0f9d58;
    font-weight: 700;
}

/* Dots */
.pagination-wrapper .nova-page.dots {
    color: #999;
    cursor: default;
    pointer-events: none;
    font-size: 15px;                  /* 14px → 15px */
    letter-spacing: 1px;
    background: transparent;
    border-color: transparent;
    min-width: 30px;                  /* 28px → 30px */
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
    .pagination-wrapper .nova-pagination {
        gap: 6px;
        padding: 6px 10px;
        border-radius: 12px;
    }
    .pagination-wrapper .nova-btn {
        padding: 12px 18px;
        height: 46px;
        font-size: 14px;
        border-radius: 8px;
        gap: 5px;
    }
    .pagination-wrapper .nova-btn i {
        font-size: 14px;
    }
    .pagination-wrapper .nova-page {
        min-width: 44px;
        height: 44px;
        font-size: 14px;
        border-radius: 8px;
    }
    .pagination-wrapper .nova-page.dots {
        min-width: 24px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .pagination-wrapper .nova-pagination {
        gap: 4px;
        padding: 4px 6px;
        border-radius: 10px;
    }
    .pagination-wrapper .nova-btn {
        padding: 10px 12px;
        height: 38px;
        font-size: 13px;
        border-radius: 7px;
        gap: 3px;
    }
    .pagination-wrapper .nova-btn span {
        display: none;
    }
    .pagination-wrapper .nova-page {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
        border-radius: 7px;
    }
    .pagination-wrapper .nova-page.dots {
        min-width: 18px;
        font-size: 12px;
    }
}
/* complete css additional */

/* --- LATEST UPDATE BAR --- */
.latest-container { padding: 10px; margin-bottom: 5px; }
.latest-badge-inner {
    position: relative; display: flex; align-items: center; gap: 8px;
    background-color: #0f9d58; color: white; padding: 12px;
    border-radius: 5px; overflow: hidden; z-index: 1; font-weight: bold;
}
.latest-badge-inner::before {
    content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: conic-gradient(transparent, #ff7b00, transparent, #fff, transparent);
    animation: rotate 4s linear infinite; z-index: -1;
}
.latest-badge-inner::after {
    content: ''; position: absolute; top: 2px; left: 2px; right: 2px; bottom: 2px;
    background: #0f9d58; border-radius: 4px; z-index: -1;
}
@keyframes rotate { 100% { transform: rotate(360deg); } }

/* --- MOVIE GRID (PC pe 6, Mobile pe 2, tighter gaps for wider cards) --- */
.movie-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;                         /* 12px → 8px, cards wider */
    padding: 8px;                     /* 10px → 8px */
}

@media (min-width: 992px) {
    .movie-grid-wrapper {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* --- MOVIE CARD & 2PX GREEN BORDER --- */
.movie-card {
    background: #fff;
    border: 2px solid #0f9d58;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: 0.3s;
}

/* ================================
   POSTER AREA (20% BIGGER + PLAY BUTTON)
================================ */
.movie-poster {
    width: 100%;
    height: 360px;                    /* 300px → 360px (20% increase) */
    overflow: hidden;
    background: #111;
    position: relative;               /* Play button positioning */
    cursor: pointer;
}

.movie-poster img {
    width: 100% !important;
    height: 100% !important;
    object-fit: fill;                 /* ✅ Poori image fit, aapki original setting */
    display: block;
    transition: transform 0.35s ease; /* Hover zoom ke liye */
}

/* Hover par image zoom */
.movie-poster:hover img {
    transform: scale(1.06);
}

/* ================================
   PREMIUM PLAY BUTTON (White Circle + Green Icon)
================================ */
.movie-poster::after {
    content: '\f04b';                 /* Font Awesome Play icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.6);
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 2px solid #ffffff;        /* ✅ White border */
    color: #0f9d58;                   /* ✅ Green icon */
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    z-index: 2;
}

/* Hover par play button show */
.movie-poster:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Dark overlay on hover */
.movie-poster::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 1;
}
.movie-poster:hover::before {
    opacity: 1;
}

/* --- TITLE BOX (20% bigger min-height) --- */
.movie-details {
    padding: 14px 6px;                /* 12px → 14px */
    background: #fff;
    text-align: center;
    border-top: 1px solid #f1f1f1;
    min-height: 120px;                /* 100px → 120px (20% increase) */
    display: flex;
    align-items: center;
    justify-content: center;
}

.movie-title {
    font-size: 18px !important;
    color: #000;
    margin: 0;
    font-weight: 400 !important;
    line-height: 1.3;                 /* 1.2 → 1.3 for better readability */
    display: -webkit-box;
    -webkit-line-clamp: 4; 
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- UTILITY --- */
.visually-hidden {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

a { text-decoration: none !important; }

/* ================================
   MOBILE VIEW (20% bigger + play btn)
================================ */
@media (max-width: 767px) {
    .movie-grid-wrapper {
        gap: 6px;
        padding: 6px;
    }
    
    .movie-poster {
        height: 288px;                /* 240px → 288px (20% increase) */
    }
    
    .movie-poster::after {
        width: 46px;
        height: 46px;
        font-size: 18px;
    }
    
    .movie-details {
        min-height: 102px;            /* 85px → 102px (20% increase) */
    }
    
    .movie-title {
        font-size: 15px !important;
    }
}

/* ================================
   TABLET & LAPTOP (1024px+ = 6 POSTS, 20% bigger)
================================ */
@media screen and (min-width: 1024px) {
    .movie-grid-wrapper {
        display: grid !important;
        grid-template-columns: repeat(6, 1fr) !important; 
        gap: 8px !important;          /* 10px → 8px for wider cards */
        padding: 8px !important;
    }

    .movie-poster {
        height: 336px !important;     /* 280px → 336px (20% increase) */
        width: 100% !important;
    }

    .movie-poster img {
        width: 100% !important;
        height: 100% !important;
        object-fit: fill !important;
    }
    
    .movie-poster::after {
        width: 54px;
        height: 54px;
        font-size: 20px;
    }

    .movie-details {
        min-height: 108px !important; /* 90px → 108px (20% increase) */
        padding: 12px 5px !important;
    }

    .movie-title {
        font-size: 16px !important; 
        line-height: 1.3 !important;
        font-weight: 400 !important;
    }
}

/* ================================
   SMALLER TABLET (601px to 1023px = 4 POSTS, 20% bigger)
================================ */
@media screen and (min-width: 601px) and (max-width: 1023px) {
    .movie-grid-wrapper {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 8px !important;
    }
    
    .movie-poster {
        height: 312px !important;     /* 260px → 312px (20% increase) */
    }
    
    .movie-poster::after {
        width: 50px;
        height: 50px;
        font-size: 19px;
    }
    
    .movie-details {
        min-height: 105px !important;
    }
}



/* Filters of POdst ke loaidng Ka CSS */
filters post ka css 


/* ================================
   PREMIUM FILTER SPINNER OVERLAY
================================ */
.movie-container {
    position: relative;
}

.filter-spinner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
    min-height: 300px;
}

.filter-spinner-box {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

/* Premium Spinner Circle */
.premium-spinner {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid #e8eaed;
    border-top-color: #0f9d58;
    animation: premiumSpin 0.8s linear infinite;
    box-shadow: 0 4px 15px rgba(15, 157, 88, 0.15);
}

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

.spinner-text {
    color: #555;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    animation: pulseText 1.5s ease-in-out infinite;
}

@keyframes pulseText {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ================================
   FILTER INFO BAR
================================ */
.active-filter-info {
    text-align: center;
    margin-bottom: 15px;
    color: #666;
    font-size: 14px;
    padding: 8px 0;
    display: none;
}

.active-filter-info strong {
    color: #0f9d58;
    font-weight: 700;
}

/* ================================
   GRID SMOOTH TRANSITION
================================ */
.movie-grid-wrapper {
    transition: opacity 0.2s ease;
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
    .premium-spinner {
        width: 44px;
        height: 44px;
        border-width: 3px;
    }
    .spinner-text {
        font-size: 14px;
    }
    .filter-spinner-overlay {
        min-height: 200px;
    }
}


/* ================================
   Filtera Ki CSs hai Ye Yaha Se
================================ */
.post-filters-container {
    max-width: 100%;
    margin: 0 0 20px 0;
    padding: 0;
}

.post-filters {
    display: flex;
    align-items: center;
    gap: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    flex-wrap: nowrap;
    overflow: hidden;
}

/* ---- LABEL AREA ---- */
.filter-label-area {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: rgba(15, 157, 88, 0.04);
    white-space: nowrap;
    flex-shrink: 0;
}

.filter-label-area i {
    color: #0f9d58;
    font-size: 14px;
}

.filter-label-text {
    font-weight: 600;
    color: #444;
    font-size: 13px;
}

.active-filter-name {
    font-weight: 700;
    color: #0f9d58;
    font-size: 13px;
    margin-left: 2px;
}

/* ---- BUTTONS ---- */
.filter-buttons {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 8px;
    flex: 1;
    flex-wrap: nowrap;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 1.5px solid transparent;
    background: transparent;
    color: #666;
    white-space: nowrap;
    font-family: inherit;
    letter-spacing: 0.2px;
    outline: none;
    flex-shrink: 0;
}

.filter-btn i {
    font-size: 12px;
}

/* Hover */
.filter-btn:hover:not(.active) {
    background: rgba(15, 157, 88, 0.05);
    border-color: rgba(15, 157, 88, 0.25);
    color: #0f9d58;
}


/* Active */
.filter-btn.active {
    background: #0f9d58;
    color: #fff;
    border-color: #0f9d58;
    cursor: default;
}

/* Click */
.filter-btn:active:not(.active) {
    transform: scale(0.96);
}

/* ================================
   SPINNER OVERLAY – Grid Only
================================ */
.movie-grid-wrapper {
    position: relative;
    min-height: 200px;
}

.filter-spinner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
    min-height: 300px;
}

.filter-spinner-box {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.premium-spinner {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid #e8eaed;
    border-top-color: #0f9d58;
    animation: premiumSpin 0.8s linear infinite;
}

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

.spinner-text {
    color: #555;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ================================
   RESPONSIVE – Mobile
================================ */
@media (max-width: 640px) {
    .post-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .filter-label-area {
        padding: 10px 12px;
        flex-shrink: 0;
    }

    .filter-label-area i {
        font-size: 13px;
    }

    .filter-label-text,
    .active-filter-name {
        font-size: 12px;
    }

    .filter-buttons {
        flex-wrap: nowrap;
        padding: 4px 4px;
        gap: 2px;
    }

    .filter-btn {
        padding: 8px 12px;
        font-size: 12px;
        border-radius: 8px;
        gap: 4px;
    }

    .filter-btn i {
        font-size: 11px;
    }

    .premium-spinner {
        width: 44px;
        height: 44px;
    }

    .spinner-text {
        font-size: 14px;
    }

    .filter-spinner-overlay {
        min-height: 200px;
    }
}

/* Tablet */
@media (min-width: 641px) and (max-width: 900px) {
    .filter-btn {
        padding: 9px 14px;
        font-size: 12px;
    }
}


/* ================================
   PREMIUM BANNER BAR – Clean & Thin
================================ */
.premium-banner-box {
    background: #0f9d58;
    width: 100%;
    height: 50px;                        /* 40px → 50px (+10px) */
    display: flex;
    align-items: center;
    padding: 0 16px;
    margin: 0 0 12px 0;                  /* margin bottom kam (25px → 12px) */
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
}

.banner-content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: none;
    margin: 0;
    padding: 0;
    gap: 12px;
}

/* Main title – white, light weight, bigger */
.main-page-title {
    font-size: 16px;                     /* 14px → 16px */
    font-weight: 300;                    /* 500 → 300 */
    color: #ffffff;
    margin: 0;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Keyword / dynamic name – orange, light weight, big.main-page-titleger */
.main-page-title span {
    color: #f57f26;
    font-weight: 300;                    /* 400 → 300 */
    font-size: 15px;                     /* 13px → 15px */
}

/* Hide category / tag description if present */
.archive-description {
    display: none;
}

/* Page indicator (when paged > 1) – right side */
.page-indicator {
    font-size: 13px;                     /* 12px → 13px */
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;                    /* 400 → 300 */
    margin: 0;
    padding: 0;
    background: transparent;
    white-space: nowrap;
    flex-shrink: 0;
}

.page-indicator span {
    color: #ff8c00;
    font-weight: 300;                    /* 600 → 300 */
    font-size: 14px;                     /* 13px → 14px */
}

/* Mobile – auto height, stack if needed */
@media (max-width: 600px) {
    .premium-banner-box {
        height: auto;
        min-height: 50px;                /* match new height */
        padding: 8px 12px;
    }
    .banner-content {
        flex-wrap: wrap;
        gap: 6px;
    }
    .main-page-title {
        font-size: 14px;                 /* mobile slightly smaller */
    }
    .main-page-title span {
        font-size: 16px;
			  font-weight:700;
    }
    .page-indicator {
        font-size: 12px;
    }
    .page-indicator span {
        font-size: 13px;
    }
}

/* ================================
   SINGLE POST – COMPLETE PREMIUM CSS
   (All headings unified, clean layout)
================================ */

/* ----- GLOBAL FIX : RIGHT SIDE SCROLL/GAP ----- */
html, body {
    overflow-x: hidden;
}

.single-post-wrapper {
    overflow-x: hidden;
    max-width: 100vw;
    box-sizing: border-box;
}

/* ----- MAIN CONTAINER (grey bg, subtle shadow) ----- */
.single-main-container {
    border: none !important;
    border-radius: 0 !important;
    padding: 30px 16px 16px 16px;
    margin-bottom: 25px;
    background: #f9f9f9;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.single-main-container > *:first-child {
    margin-top: 20px;
}

/* ----- H1 TITLE (bold, compact) ----- */
.single-main-title {
    font-weight: 700 !important;
    font-size: 14px !important;
    line-height: 1.2;
    color: #ffffff !important;
    margin: 0;
}

/* ----- POSTER IMAGE (2px black, 10px radius) ----- */
.poster-img {
    border: 2px solid #000000 !important;
    border-radius: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    box-sizing: border-box;
    object-fit: contain;
    display: block;
}

/* ----- CONTENT IMAGES (NO BORDER, only radius) ----- */
.single-content img {
    border: none !important;
    border-radius: 10px !important;
    max-width: 100% !important;
    height: auto !important;
    box-sizing: border-box;
    display: block;
    margin: 0 auto 10px auto;
}

.single-content p img,
.single-content div img {
    margin-bottom: 8px;
}

/* ================================
   TIGHT, PREMIUM TEXT STYLING
================================ */
.single-content {
    font-family: 'Segoe UI', Roboto, system-ui, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: #222222;
    word-wrap: break-word;
    overflow-wrap: break-word;
    padding: 12px 0;
}

.single-content p {
    margin: 0 0 12px 0;
}

.single-content h2,
.single-content h3,
.single-content h4 {
    font-weight: 700;
    color: #111111;
    margin: 20px 0 10px 0;
    line-height: 1.3;
}

.single-content h2 { font-size: 24px; }
.single-content h3 { font-size: 20px; }
.single-content h4 { font-size: 18px; }

.single-content a {
    color: #222222;
    text-decoration: none;
    border-bottom: none !important;
    transition: color 0.2s ease;
}
.single-content a:hover {
    color: #000000;
}

.single-content ul,
.single-content ol {
    margin: 0 0 12px 20px;
    padding-left: 20px;
}
.single-content li {
    margin-bottom: 4px;
}

.single-content blockquote {
    margin: 16px 0;
    padding: 14px 20px;
    background: #f8f8f8;
    border-left: 4px solid #222222;
    border-radius: 4px;
    color: #444;
    font-style: italic;
}

.single-content pre {
    background: #f5f5f5;
    padding: 14px;
    border-radius: 6px;
    overflow-x: auto;
    font-size: 14px;
    line-height: 1.5;
    border: 1px solid #ddd;
}

.single-content hr {
    border: none;
    border-top: 1px solid #d0d0d0;
    margin: 15px 0;
}

.single-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
.single-content th,
.single-content td {
    padding: 10px 12px;
    border: 1px solid #bbb;
    text-align: left;
}
.single-content th {
    background: #f0f0f0;
    font-weight: 700;
}

.single-content br {
    line-height: 0;
}

/* ================================
   PREMIUM VPN WARNING + FOOTER BOX
================================ */
.single-post-footer-box {
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 0;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.vpn-warning {
    background: #fff8f8;
    border-left: 4px solid #dc3545;
    padding: 14px 18px;
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-bottom: 1px solid #f0f0f0;
}
.vpn-warning::before {
    content: "⚠️";
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 1px;
}
.vpn-warning p {
    margin: 0;
    font-size: 14px;
    color: #444;
    line-height: 1.5;
}
.vpn-warning strong {
    color: #dc3545;
    font-weight: 700;
}

.download-instruction {
    padding: 14px 18px;
    background: #ffffff;
}
.download-instruction p {
    margin: 0 0 8px 0;
    font-size: 13.5px;
    color: #555;
    line-height: 1.6;
    display: flex;
    align-items: center;
    gap: 8px;
}
.download-instruction p:last-child {
    margin-bottom: 0;
}
.download-instruction p:nth-child(1)::before {
    content: "✅"; font-size: 14px; flex-shrink: 0;
}
.download-instruction p:nth-child(2)::before {
    content: "🚩"; font-size: 14px; flex-shrink: 0;
}
.download-instruction p:nth-child(3)::before {
    content: "💬"; font-size: 14px; flex-shrink: 0;
}

/* ================================
   POST META BAR – Green BG
================================ */
.single-meta-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    background: #0f9d58;
    border: none;
    border-radius: 0px;
    padding: 18px 24px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.meta-item i {
    color: #ffffff;
    font-size: 14px;
}
.meta-label {
    font-size: 12px;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.meta-value {
    font-size: 13px;
    color: #ffffff;
    font-weight: 700;
}

.meta-divider {
    width: 1px;
    height: 22px;
    background: rgba(255,255,255,0.3);
    margin: 0 8px;
}

/* ================================
   UNIFIED SECTION HEADINGS – Premium Green Banner
   (Tags, Related, Recent, Widgets, Comments Heading)
================================ */
.tags-heading,
.related-heading,
.widget-heading,
.recent-heading,
.comments-heading {
    background: #0f9d58;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    padding: 0 18px;
    margin: 0;
    height: 44px;
    line-height: 44px;
    display: flex;
    align-items: center;
    width: 100%;
    border-radius: 6px;
    letter-spacing: 0.3px;
    border-bottom: none !important;
}

/* ================================
   SECTION CONTAINERS – Premium Padding
================================ */
.single-tags-section,
.single-related,
.single-recent-box,
.sidebar-widget {
    background: #ffffff;
    border: 1px solid #e8eaed;
    border-radius: 10px;
    padding: 0;
    margin-bottom: 20px;
    overflow: hidden;
}

.single-tags-section .tags-heading,
.single-related .related-heading,
.single-recent-box .recent-heading,
.sidebar-widget .widget-heading {
    border-radius: 0;
}

.single-tags {
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.single-tags i {
    color: #0f9d58;
    font-size: 13px;
}
.single-tags a {
    color: #0f9d58;
    background: rgba(15,157,88,0.05);
    padding: 6px 14px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(15,157,88,0.12);
    transition: all 0.25s ease;
}
.single-tags a:hover {
    background: #0f9d58;
    color: #ffffff;
    border-color: #0f9d58;
}

.single-related .movie-grid-wrapper,
.single-recent-box .movie-grid-wrapper {
    padding: 16px 18px;
    gap: 10px;
}

.category-list {
    list-style: none;
    padding: 12px 18px;
    margin: 0;
}
.category-list li {
    margin-bottom: 2px;
}
.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    color: #444;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.2s ease;
}
.category-list a:hover {
    color: #0f9d58;
    padding-left: 6px;
}
.category-list a span {
    background: #f0f0f0;
    color: #888;
    font-size: 10px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 20px;
}
.category-list a:hover span {
    background: #0f9d58;
    color: #ffffff;
}

/* Popular Tags */
.tag-cloud {
    padding: 16px 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tag-link {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(15,157,88,0.05);
    color: #0f9d58;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    border-radius: 20px;
    border: 1px solid rgba(15,157,88,0.12);
    transition: all 0.25s ease;
    letter-spacing: 0.2px;
}
.tag-link:hover {
    background: #0f9d58;
    color: #ffffff;
    border-color: #0f9d58;
    transform: translateY(-2px);
}

/* ================================
   GRID LAYOUT – Desktop/Tablet
================================ */
@media (min-width: 768px) {
    .single-post-wrapper {
        display: grid !important;
        grid-template-columns: 1fr 260px !important;
        gap: 20px;
        max-width: 1100px;
        margin: 0 auto;
        padding: 20px 15px;
    }
    
    .single-article {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }
    
    .single-comments {
        grid-column: 1 !important;
        grid-row: 2 !important;
    }
    
    .single-related {
        grid-column: 1 !important;
        grid-row: 3 !important;
    }
    
    .single-recent-box {
        grid-column: 1 !important;
        grid-row: 4 !important;
    }
    
    .single-sidebar {
        grid-column: 2 !important;
        grid-row: 1 / 5 !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .poster-img,
    .single-content img {
        max-width: 70% !important;
        width: 70% !important;
        margin: 0 auto !important;
    }
    .single-poster-wrapper {
        text-align: center !important;
    }
}

@media (min-width: 1025px) {
    .single-post-wrapper {
        grid-template-columns: 1fr 300px !important;
    }
}

/* ================================
   GLOBAL RESPONSIVE FINE-TUNING
================================ */
@media (max-width: 768px) {
    .single-main-container {
        padding: 20px 10px 10px 10px;
    }
    .single-content {
        font-size: 16px;
    }
    .single-content h2 { font-size: 21px; }
    .single-content h3 { font-size: 18px; }
    
    .tags-heading,
    .related-heading,
    .widget-heading,
    .recent-heading,
    .comments-heading {
        font-size: 14px;
        height: 38px;
        line-height: 38px;
        padding: 0 14px;
    }
    
    .single-tags {
        padding: 12px 14px;
    }
    .single-related .movie-grid-wrapper,
    .single-recent-box .movie-grid-wrapper {
        padding: 12px 14px;
    }
    .category-list {
        padding: 10px 14px;
    }
    .tag-cloud {
        padding: 12px 14px;
        gap: 6px;
    }
    
    .single-meta-bar {
        gap: 6px;
        padding: 14px 16px;
    }
    .meta-divider {
        margin: 0 4px;
        height: 18px;
    }
    .meta-item i { font-size: 12px; }
    .meta-label { font-size: 10px; }
    .meta-value { font-size: 11px; }
    
    .vpn-warning {
        padding: 12px 14px;
    }
    .vpn-warning p { font-size: 13px; }
    .download-instruction {
        padding: 12px 14px;
    }
    .download-instruction p {
        font-size: 12.5px;
        gap: 6px;
    }
}

@media (max-width: 480px) {
    .single-content {
        font-size: 15px;
    }
    .single-content blockquote {
        padding: 12px 16px;
    }
    
    .tags-heading,
    .related-heading,
    .widget-heading,
    .recent-heading,
    .comments-heading {
        font-size: 13px;
        height: 34px;
        line-height: 34px;
        padding: 0 10px;
    }
    
    .single-tags {
        padding: 10px 12px;
    }
    .single-related .movie-grid-wrapper,
    .single-recent-box .movie-grid-wrapper {
        padding: 10px 12px;
    }
    .category-list {
        padding: 8px 12px;
    }
    .tag-cloud {
        padding: 10px 12px;
        gap: 5px;
    }
    .tag-link {
        padding: 4px 8px;
        font-size: 10px;
    }
    
    .single-meta-bar {
        justify-content: flex-start;
        gap: 4px;
        padding: 10px 12px;
    }
    .meta-label { display: none; }
    .meta-item { gap: 4px; }
    
    .vpn-warning {
        padding: 10px 12px;
        gap: 8px;
    }
    .vpn-warning::before { font-size: 16px; }
    .vpn-warning p { font-size: 12px; }
    .download-instruction {
        padding: 10px 12px;
    }
    .download-instruction p { font-size: 12px; }
}

/* ================================
   PREMIUM TWO-COLUMN COMMENT SYSTEM
================================ */
.comments-main-container {
    display: flex;
    gap: 20px;
    background: #ffffff;
    border: 1px solid #e8eaed;
    border-radius: 12px;
    overflow: hidden;
    margin: 30px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

/* LEFT: Form Section (70%) */
.comments-form-section {
    flex: 0 0 70%;
    padding: 24px;
    background: #ffffff;
    border-right: 1px solid #f0f0f0;
}

#comment-form .form-row {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
}
#comment-form .form-row input { flex: 1; }
#comment-form input[type="text"],
#comment-form input[type="email"],
#comment-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}
#comment-form textarea {
    min-height: 120px;
    resize: vertical;
    margin-bottom: 12px;
}
#comment-form input:focus,
#comment-form textarea:focus {
    border-color: #0f9d58;
    box-shadow: 0 0 0 3px rgba(15,157,88,0.06);
    outline: none;
}
.avatar-upload {
    margin-bottom: 14px;
}
.avatar-upload label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
}
.submit-btn {
    width: 100%;
    padding: 14px 24px;
    background: #0f9d58;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.3px;
    transition: background 0.3s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.submit-btn:hover {
    background: #0b7d47;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(15,157,88,0.25);
}
.submit-btn:disabled {
    background: #aaa;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
#replying-to {
    margin-top: 10px;
    background: #f0fdf5;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 13px;
    border: 1px solid #0f9d58;
    display: flex;
    align-items: center;
    gap: 8px;
}
#replying-to-name {
    font-weight: 700;
    color: #0f9d58;
}
#cancel-reply {
    color: #888;
    text-decoration: none;
    font-weight: 600;
}
#cancel-reply:hover {
    color: #e74c3c;
}

/* RIGHT: Scrollable Comments (30%) */
.comments-list-section {
    flex: 1;
    background: #fafafa;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
}
.comments-scroll-wrapper {
    max-height: 450px;
    overflow-y: auto;
    padding-right: 8px;
}
.comments-scroll-wrapper::-webkit-scrollbar {
    width: 4px;
}
.comments-scroll-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}
.comments-scroll-wrapper::-webkit-scrollbar-thumb {
    background: #0f9d58;
    border-radius: 10px;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.comment {
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e8eaed;
}
.comment:last-child {
    border-bottom: none;
}
.comment-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}
.comment-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid #0f9d58;
    object-fit: cover;
    flex-shrink: 0;
}
.comment-avatar.small {
    width: 26px;
    height: 26px;
}
.comment-author {
    font-weight: 700;
    color: #0f9d58;
    font-size: 14px;
    display: block;
}
.comment-date {
    color: #aaa;
    font-size: 11px;
}
.reply-link {
    margin-left: auto;
    color: #0f9d58;
    font-size: 14px;
    transition: transform 0.2s;
}
.reply-link:hover {
    transform: scale(1.2);
}
.comment-content {
    padding-left: 44px;
    font-size: 14px;
    color: #444;
    line-height: 1.5;
}
.comment-replies {
    list-style: none;
    padding-left: 24px;
    margin-top: 12px;
    border-left: 2px solid #0f9d58;
}
.comment-reply {
    margin-bottom: 10px;
    padding: 10px 12px;
    background: #ffffff;
    border-radius: 6px;
}
.comment-reply .comment-content {
    padding-left: 0;
}
.reply-to {
    color: #f07a11;
    font-size: 11px;
    font-style: italic;
    margin-left: 5px;
}

.load-more-wrap {
    text-align: center;
    margin-top: 10px;
}
#load-more-comments-btn {
    background: #ffffff;
    border: 1px solid #0f9d58;
    color: #0f9d58;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s;
}
#load-more-comments-btn:hover {
    background: #0f9d58;
    color: #ffffff;
}
.no-comments {
    text-align: center;
    color: #aaa;
    padding: 30px 0;
}

/* Comment system responsive */
@media (max-width: 768px) {
    .comments-main-container {
        flex-direction: column;
    }
    .comments-form-section {
        flex: auto;
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
    }
    .comments-list-section {
        flex: auto;
        padding: 20px 16px;
    }
    .comments-scroll-wrapper {
        max-height: 350px;
    }
    .comment-content {
        padding-left: 0;
    }
}

/* Ye Hai Header Categirie i css */
/* ================================
   PREMIUM CATEGORY BUTTONS – No Circle, Bigger Icon
================================ */
.trending-categories-wrapper {
    display: flex;
    align-items: center;
    margin: 20px 0;
    padding: 6px 2px;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.trending-label {
    display: none !important;
}

.trending-categories-scroll {
    display: flex;
    gap: 10px;
	  justify-content: left;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 0;
    flex: 1;
}

.trending-categories-scroll::-webkit-scrollbar {
    display: none;
}

/* Individual Button */
.trending-cat-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.2px;
    white-space: nowrap;
    height: 44px;
    padding: 0 16px;
    border-radius: 8px;
    flex-shrink: 0;
    scroll-snap-align: start;
    transition: box-shadow 0.25s ease, filter 0.25s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
}

.trending-cat-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.25) 0%, transparent 60%);
    pointer-events: none;
}

.trending-cat-btn:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    filter: brightness(1.05);
}

.trending-cat-btn:active {
    filter: brightness(0.98);
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

/* Icon — NO circle, bigger */
.trending-cat-icon {
    width: 32px;                              /* ✅ Aur bada */
    height: 32px;
    border-radius: 0;                         /* ✅ Circle khatam */
    overflow: hidden;
    flex-shrink: 0;
    background: transparent;                  /* ✅ No background */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-sizing: border-box;
}

.trending-cat-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;                      /* ✅ Poori image dikhe */
    border-radius: 0;
    border: none !important;
}

.trending-cat-name {
    line-height: 1;
    position: relative;
    z-index: 1;
}

/* ================================
   RESPONSIVE
================================ */
@media (min-width: 768px) {
    .trending-cat-btn {
        height: 46px;
        font-size: 15px;
        padding: 0 18px;
    }
    .trending-cat-icon {
        width: 34px;                          /* ✅ Desktop pe aur bada */
        height: 34px;
    }
}

@media (max-width: 400px) {
    .trending-cat-btn {
        height: 38px;
        font-size: 12px;
        padding: 0 12px;
        gap: 6px;
    }
    .trending-cat-icon {
        width: 26px;                          /* ✅ Mobile pe bhi bada */
        height: 26px;
    }
}

/* Ye hai posts wlaa index.php ka main comtainer ko jo padding di hai oski ccss */


/* ================================
   HOMEPAGE – Padding + Light BG (Tablet & Desktop Only)
================================ */

@media (min-width: 768px) {
    /* Body spacing */
    .main-content {
        padding: 10px 6px;
    }

    /* Posts Container */
    .movie-container {
        padding: 4px;
        background: #f9fafb;
    }
}
/* Navbar ka Css */
/* ================================
   HEADER LOGO – Perfect Fit, No Overlap
================================ */

/* Nav Container */
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}

/* Hamburger Area */
.nav-menu-btn {
    width: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Logo Area */
.nav-logo-area {
    width: 80%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.nav-logo-area a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Image – container ke hisaab se fit */
.nav-logo-area img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* ye Hai post ke content ka css */
/* ================================================
   FILMY4WAP POST STYLES (fm- prefix)
   ================================================ */

/* ---- Poster ---- */
.fm-poster-wrap { text-align: center; }
.fm-poster { max-width: 100%; height: auto; }

/* ---- Info Table ---- */
.fm-info-box {
    text-align: center;
    font-family: sans-serif;
    line-height: 1.2;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
    background: #fafafa;
}
.fm-info-title {
    margin: 0 0 8px 0;
    font-size: 22px;
    color: #000;
}
.fm-info-hr {
    border: 0;
    border-top: 1px solid #ddd;
}
.fm-info-hr-lg { width: 80%; }
.fm-info-hr-sm { width: 60%; }
.fm-info-row {
    margin: 4px 0;
    color: #555;
}
.fm-info-size {
    margin: 4px 0;
    background: #eee;
    display: inline-block;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 14px;
}

/* ---- Screenshots ---- */
.fm-shot-heading {
    text-align: center;
    margin: 20px 0 10px 0;
}
.fm-shot-fig {
    text-align: center;
}
.fm-shot-fig img {
    max-width: 100%;
    height: auto;
}
.fm-separator {
    border: 0;
    border-top: 1px solid #ddd;
    margin: 20px 0;
}

/* ---- Screenshot Link Buttons ---- */
.fm-shot-link-wrap { text-align: center; margin: 20px 0; }
.fm-shot-link-wrap--inline { margin: 0; }
.fm-shot-link {
    display: inline-block;
    padding: 10px 20px;
    background: #10b981;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}

/* ---- Download Section ---- */
.fm-dl-wrap {
    max-width: 500px;
    margin: 30px auto;
    font-family: 'Segoe UI', Roboto, Helvetica, sans-serif;
    line-height: normal;
}
.fm-dl-heading-wrap {
    text-align: center;
    margin-bottom: 20px;
}
.fm-dl-heading {
    color: #ff0000;
    font-size: 18px;
    font-weight: 400;
    text-transform: uppercase;
    margin: 0 0 5px 0;
    letter-spacing: 1px;
    padding: 0;
}
.fm-dl-underline {
    height: 2px;
    width: 40px;
    background: #ff0000;
    margin: 0 auto;
    border-radius: 5px;
}

/* ---- Watch Online Button ---- */
.fm-watch-wrap {
    text-align: center;
    margin-bottom: 25px;
}
.fm-watch-link {
    text-decoration: none;
    display: block;
}
.fm-watch-btn {
    width: 95%;
    height: 50px;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 400;
    cursor: pointer;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 0;
    line-height: 1;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
    transition: all 0.3s ease;
    outline: none;
}
.fm-watch-btn:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 6px 18px rgba(217, 119, 6, 0.45);
    transform: translateY(-2px);
}
.fm-watch-icon {
    background: #000;
    color: #fbbf24;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 10px;
    flex-shrink: 0;
}

/* ---- Quality Group + Download Buttons ---- */
.fm-quality-group {
    text-align: center;
    margin-bottom: 25px;
}
.fm-quality-label {
    color: #ff0000;
    font-size: 15px;
    font-weight: 400;
    margin: 0 0 10px 0;
    padding: 0;
}
.fm-dl-btn-wrap {
    text-decoration: none;
    display: inline-block;
    width: 95%;
}
.fm-dl-btn {
    width: 100%;
    height: 45px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 400;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    margin: 0 0 6px 0;
    transition: all 0.3s ease;
}

/* Button Color Variants */
.fm-dl-btn.fm-green { background: #10b981; }
.fm-dl-btn.fm-green:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.fm-dl-btn.fm-orange { background: #f97316; }
.fm-dl-btn.fm-orange:hover {
    background: #ea580c;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.fm-dl-btn.fm-blue { background: #3b82f6; }
.fm-dl-btn.fm-blue:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
/* ye hai updateed */