/*
Theme Name: SSR Premium Clean Mobile Fit (Badge Fixed)
Author: Naveed Ali Shah
Description: 2-Col Mobile, Visible Badges, Clear Titles
Version: 16.0
*/

:root {
    --bg: #050505;
    --card-bg: #111;
    --gold: #ffb400;
    --text: #fff;
    --border: 1px solid #ffb400;
}

* { box-sizing: border-box; margin: 0; padding: 0; outline: none; }
body { background: var(--bg); color: var(--text); font-family: sans-serif; font-size: 15px; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
img { width: 100%; display: block; }

/* HEADER */
header { background: #080808; border-bottom: 2px solid var(--gold); padding: 15px 0; position: sticky; top: 0; z-index: 1000; }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 0 15px; display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 24px; font-weight: 900; color: var(--gold); text-transform: uppercase; }
.nav-menu { display: flex; gap: 20px; }
.nav-menu a { color: #ccc; font-weight: bold; font-size: 13px; text-transform: uppercase; }

/* --- MAIN LAYOUT --- */
.site-wrapper {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 15px;
    display: flex;
    gap: 30px;
    align-items: start;
}

.main-content {
    flex: 1;
    min-width: 0;
}

.side-panel {
    width: 300px;
    flex-shrink: 0;
    position: sticky;
    top: 80px;
}

/* --- SECTIONS --- */
.section-head h2 {
    font-size: 18px; font-weight: 800; color: var(--text);
    border-bottom: 2px solid var(--gold);
    display: inline-block; padding-bottom: 5px; margin-bottom: 20px;
    text-transform: uppercase;
}

/* --- GRID SYSTEM --- */
.movies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Desktop: 3 Columns */
    gap: 20px;
}

/* --- CARD DESIGN --- */
.movie-card {
    position: relative;
    background: var(--card-bg);
    border: var(--border);
    border-radius: 6px;
    margin-top: 25px; /* Thoda gap badhaya taake badge na takraye */
    transition: transform 0.3s;
    /* overflow: hidden HATA DIYA taake NEW badge dikhe */
}
.movie-card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(255,180,0,0.15); }

/* Tab */
.card-tab {
    position: absolute; top: -11px; left: -1px;
    width: 70px; height: 12px;
    background: var(--card-bg);
    border-top: var(--border); border-left: var(--border); border-right: var(--border);
    border-radius: 5px 5px 0 0; z-index: 1;
}

/* Poster */
.card-poster { display: block; position: relative; padding: 4px; }
.poster-image {
    width: 100%;
    height: 225px; 
    object-fit: cover;
    border-radius: 4px;
}

/* Badges (Fixed Z-Index & Visibility) */
.lbl-new {
    position: absolute; 
    top: -20px; 
    right: 0;
    background: red; 
    color: #fff; 
    font-size: 9px; 
    font-weight: 900;
    padding: 3px 6px; 
    border-radius: 3px; 
    animation: pulse 1s infinite;
    z-index: 10; /* Ensure it is on top */
}
.lbl-rating {
    position: absolute; top: 8px; right: 8px;
    background: var(--gold); color: #000; font-size: 10px; font-weight: 800;
    padding: 2px 5px; border-radius: 3px;
    z-index: 5;
}

/* Info */
.card-info { padding: 10px; border-top: 1px solid #222; text-align: center; }

/* TITLE FIXED */
.card-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    /* Fixed height hata diya taake text na kate */
    min-height: 34px; 
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Maximum 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    line-height: 1.3;
}

.card-meta { display: flex; justify-content: space-between; font-size: 10px; color: #aaa; margin-bottom: 8px; }
.tag-hd { background: #333; color: #fff; padding: 1px 4px; border-radius: 2px; }

/* Download Button */
.btn-download {
    display: flex; align-items: center; justify-content: center; gap: 5px;
    background: #000; color: #fff; border: 1px solid #333;
    font-size: 11px; font-weight: 700; padding: 6px; border-radius: 4px;
    text-transform: uppercase; transition: 0.3s;
}
.btn-download:hover { background: var(--gold); color: #000; border-color: var(--gold); }
.anim-icon { animation: bounce 2s infinite; }

/* --- PAGINATION --- */
.pagination-area { text-align: center; margin: 40px 0; }
.page-numbers {
    background: var(--gold); color: #000;
    padding: 10px 25px; border-radius: 25px;
    font-weight: bold; font-size: 14px;
    display: inline-block;
}

/* --- SIDEBAR WIDGETS --- */
.side-widget { 
    background: var(--card-bg); 
    border: 1px solid #333; 
    padding: 15px; 
    margin-bottom: 20px; 
    border-radius: 6px;
}
.side-widget h3 { 
    font-size: 14px; color: var(--gold); 
    border-bottom: 1px solid #333; 
    padding-bottom: 8px; margin-bottom: 12px; 
    text-transform: uppercase;
}
.side-search { 
    width: 100%; padding: 10px; background: #000; 
    border: 1px solid #333; color: #fff; border-radius: 4px; 
}
.text-list li { border-bottom: 1px solid #222; padding: 8px 0; font-size: 13px; }
.tags-box a { 
    display: inline-block; background: #222; 
    padding: 5px 10px; margin: 3px; font-size: 10px; 
    border: 1px solid #333; border-radius: 15px; 
    text-transform: uppercase; font-weight: bold;
}
.tags-box a:hover { background: var(--gold); color: #000; border-color: var(--gold); }

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 900px) {
    .site-wrapper { flex-direction: column; gap: 30px; }
    .side-panel { width: 100%; }
    .movies-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
    .movies-grid {
        grid-template-columns: repeat(2, 1fr); 
        gap: 12px; 
    }
    
    .movie-card { margin-top: 20px; }

    .poster-image {
        height: 180px; 
    }

    .card-title {
        font-size: 12px; 
        min-height: 32px; /* Adjusted for mobile */
        line-height: 1.3;
    }
    
    .btn-download {
        font-size: 10px;
        padding: 5px;
    }

    .nav-menu { display: none; }
}

@keyframes pulse { 0% {opacity:1;} 50% {opacity:0.6;} }
@keyframes bounce { 0%,100% {transform:translateY(0);} 50% {transform:translateY(-3px);} }
















/* =========================================
   PREMIUM HEADER 2026 EDITION
   ========================================= */

/* 1. Header Container (Glass Effect) */
.premium-header {
    background: rgba(8, 8, 8, 0.95); /* Deep Black Transparent */
    backdrop-filter: blur(15px); /* Blur Effect */
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 180, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* Bottom Glowing Line (Celebration Vibe) */
.premium-header::after {
    content: '';
    position: absolute; bottom: -1px; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, #ffb400, #ffeb3b, #ffb400, transparent);
    animation: shimmer 3s infinite linear;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 2. Logo Design (Text + Badge) */
.logo-text {
    font-size: 24px;
    font-weight: 900;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 2026 Badge */
.year-badge {
    background: linear-gradient(45deg, #ffb400, #ffd700);
    color: #000;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 800;
    box-shadow: 0 0 10px rgba(255, 180, 0, 0.6);
}

/* 3. Desktop Navigation */
.nav-menu {
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-menu li { list-style: none; }

.nav-menu a {
    color: #ccc;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 8px 0;
    position: relative;
    transition: 0.3s;
}

.nav-menu a:hover { color: #ffb400; text-shadow: 0 0 8px rgba(255, 180, 0, 0.4); }

/* Hover Line Effect */
.nav-menu a::before {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0%; height: 2px;
    background: #ffb400; transition: 0.3s;
}
.nav-menu a:hover::before { width: 100%; }

/* 4. Mobile Toggle (Hamburger Animation) */
.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle .bar {
    width: 25px; height: 3px;
    background: #ffb400;
    border-radius: 2px;
    transition: 0.3s;
}

/* Hamburger Animation classes */
.menu-toggle.open .bar:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.menu-toggle.open .bar:nth-child(2) { opacity: 0; }
.menu-toggle.open .bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* ============================
   MOBILE RESPONSIVENESS
   ============================ */
@media (max-width: 900px) {
    .menu-toggle { display: flex; }

    .nav-container {
        position: absolute;
        top: 100%; left: 0;
        width: 100%;
        background: #080808;
        border-bottom: 2px solid #ffb400;
        transform: translateY(-150%); /* Hidden by default */
        transition: transform 0.4s ease-in-out;
        z-index: 999;
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    }

    .nav-container.active {
        transform: translateY(0); /* Show menu */
    }

    .nav-menu {
        flex-direction: column;
        gap: 0;
        text-align: center;
        padding: 20px 0;
    }

    .nav-menu li {
        border-bottom: 1px solid #222;
        width: 100%;
    }
    
    .nav-menu a {
        display: block;
        padding: 15px;
        font-size: 14px;
    }
}

/* Shimmer Animation for Border */
@keyframes shimmer {
    0% { background-position: -200%; }
    100% { background-position: 200%; }
}





























/* =========================================
   PREMIUM FOOTER 2026 (Responsive)
   ========================================= */

footer {
    background: #050505; /* Deep Black */
    color: #fff;
    margin-top: 60px;
    position: relative;
    border-top: 1px solid rgba(255, 180, 0, 0.3);
}

/* Glowing Gold Top Line (Like Header) */
footer::before {
    content: '';
    position: absolute; top: 0; left: 0; width: 100%; height: 3px;
    background: linear-gradient(90deg, transparent, #ffb400, #ffd700, #ffb400, transparent);
    box-shadow: 0 0 15px rgba(255, 180, 0, 0.4);
}

.premium-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 40px 20px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr; /* About section wider */
    gap: 40px;
}

/* --- Footer Logo (Header Style) --- */
.footer-logo {
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.footer-year-badge {
    background: linear-gradient(45deg, #ffb400, #ffd700);
    color: #000;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: 800;
    box-shadow: 0 0 10px rgba(255, 180, 0, 0.4);
}

.footer-text {
    color: #999;
    font-size: 14px;
    line-height: 1.6;
    max-width: 350px;
}

/* --- Headings & Links --- */
.footer-heading {
    font-size: 18px;
    color: #ffb400;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.5px;
    display: inline-block;
    border-bottom: 2px solid #333;
    padding-bottom: 5px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ccc;
    font-size: 14px;
    transition: 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: #ffb400;
    padding-left: 5px;
}

/* --- Copyright Area --- */
.copyright-area {
    background: #000;
    text-align: center;
    padding: 25px 0;
    border-top: 1px solid #1a1a1a;
    font-size: 13px;
    color: #666;
}

/* ============================
   MOBILE FOOTER RESPONSIVE
   ============================ */
@media (max-width: 768px) {
    .premium-footer-inner {
        grid-template-columns: 1fr; /* Stack all columns */
        text-align: center;
        gap: 40px;
    }

    .footer-logo {
        justify-content: center; /* Center Logo */
    }

    .footer-text {
        margin: 0 auto; /* Center text */
    }

    .footer-heading {
        border-bottom: none; /* Cleaner look on mobile */
        position: relative;
    }
    
    /* Small underline for mobile headings */
    .footer-heading::after {
        content: ''; display: block; width: 40px; height: 2px;
        background: #ffb400; margin: 8px auto 0 auto;
    }
}































/* =========================================
   SINGLE PAGE PREMIUM 2026 FINAL DESIGN
   ========================================= */

/* --- 1. Header Area (Poster & Info) --- */
.single-header {
    display: flex;
    gap: 35px;
    margin-bottom: 40px;
    border-bottom: 2px solid #1a1a1a;
    padding-bottom: 35px;
    position: relative;
}

/* Premium Poster Box */
.poster-box-single {
    width: 260px;
    flex-shrink: 0;
    position: relative;
}

/* Poster Image - Fixed Height & Premium Look */
.single-poster-img {
    width: 100%; 
    height: 380px; /* Desktop Height */
    object-fit: cover; 
    border-radius: 8px;
    border: 1px solid var(--gold);
    box-shadow: 0 0 30px rgba(255, 180, 0, 0.25);
    transition: transform 0.3s ease;
}

.poster-box-single:hover .single-poster-img {
    transform: scale(1.02);
    box-shadow: 0 0 40px rgba(255, 180, 0, 0.4);
}

/* Movie Info Right Side */
.movie-info-single {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0; /* Prevents text overflow */
}

.movie-title-main {
    font-size: 34px;
    font-weight: 900;
    color: var(--gold);
    margin-bottom: 20px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Premium Meta Tags */
.meta-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 25px;
}

.meta-tag {
    background: linear-gradient(145deg, #151515, #0a0a0a);
    color: #ccc;
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 13px;
    border: 1px solid #333;
    font-weight: 600;
    display: flex; align-items: center; gap: 5px;
}

.gold-tag {
    border-color: var(--gold); color: var(--gold); font-weight: 800;
    box-shadow: inset 0 0 10px rgba(255,180,0,0.1);
}

.red-tag {
    background: linear-gradient(145deg, #d32f2f, #b71c1c); color: #fff;
    border: none; font-weight: 700;
}

/* Info Description */
.info-desc {
    color: #bbb; line-height: 1.7; font-size: 15px;
    background: rgba(255,255,255,0.02); padding: 20px;
    border-radius: 8px; border: 1px solid #222;
}

/* --- 2. Ultra Premium Download Buttons --- */
.download-section {
    background: #0a0a0a;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #222;
    margin: 50px 0;
    box-shadow: inset 0 0 50px rgba(0,0,0,0.5), 0 10px 30px rgba(0,0,0,0.3);
    position: relative; overflow: hidden;
}

/* Glowing corner effect */
.download-section::before {
    content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,180,0,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.dl-title {
    font-size: 20px; color: #fff; margin-bottom: 25px;
    border-left: 5px solid var(--gold); padding-left: 15px;
    text-transform: uppercase; font-weight: 800; letter-spacing: 1px;
}

.dl-grid { display: grid; gap: 18px; }

/* The Button Style */
.dl-btn-premium {
    display: flex; justify-content: space-between; align-items: center;
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    padding: 18px 25px; border-radius: 10px; border: 1px solid #2a2a2a;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative; overflow: hidden;
}

/* Hover Effects */
.dl-btn-premium:hover {
    transform: translateY(-4px); border-color: var(--gold);
    background: linear-gradient(145deg, #222, #111);
    box-shadow: 0 10px 25px -5px rgba(255, 180, 0, 0.3);
}
.dl-btn-premium:active { transform: scale(0.98); }

.dl-left { display: flex; align-items: center; gap: 18px; }

/* Animated Icon Box */
.dl-icon-box {
    width: 45px; height: 45px;
    background: linear-gradient(135deg, rgba(255,180,0,0.2), transparent);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: var(--gold); font-size: 20px;
    border: 1px solid rgba(255,180,0,0.3);
    animation: bounce 2.5s infinite;
}

.dl-text h4 { color: #fff; font-size: 16px; font-weight: 800; margin: 0 0 4px 0; text-transform: uppercase; }
.dl-text span { color: #777; font-size: 13px; font-weight: 600; }

.quality-badge {
    background: var(--gold); color: #000;
    padding: 6px 12px; border-radius: 6px;
    font-weight: 900; font-size: 12px;
    box-shadow: 0 3px 10px rgba(255,180,0,0.3);
}

.highlight-btn {
    border-left: 4px solid var(--gold);
    background: linear-gradient(145deg, #222, #131313);
}

/* --- 3. Content & Related --- */
.main-article {
    font-size: 16px; color: #ccc; line-height: 1.9; margin-bottom: 60px;
    background: #0a0a0a; padding: 30px; border-radius: 12px; border: 1px solid #222;
}
.section-title-small {
    font-size: 22px; color: var(--gold); margin-bottom: 20px;
    border-bottom: 2px solid #333; display: inline-block; padding-bottom: 8px;
    text-transform: uppercase;
}

.related-wrap { margin-top: 60px; }

/* Comments */
.comments-area {
    background: #0a0a0a; padding: 30px; border-radius: 12px;
    border: 1px solid #222; margin-top: 60px;
}
.comments-title {
    color: var(--gold); border-bottom: 1px solid #333;
    padding-bottom: 15px; margin-bottom: 30px; font-size: 22px;
}

/* =========================================
   MOBILE FIT & SIZING FIX (Final Override)
   ========================================= */

@media (max-width: 768px) {

    /* 1. Global Safe Width (Prevent Screen Cut) */
    .site-wrapper {
        flex-direction: column;
        padding: 0 10px; /* Small padding from screen edge */
        overflow-x: hidden; /* Stop horizontal scroll */
        width: 100%;
    }

    .main-content {
        width: 100%;
        min-width: 0;
        padding: 0;
    }

    /* 2. Header Area (Fit & Center) */
    .single-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding-bottom: 25px;
        margin-bottom: 30px;
        width: 100%;
    }

    /* Poster Size (Perfect Fit) */
    .poster-box-single {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-bottom: 10px;
    }

    .single-poster-img {
        width: 220px; /* Perfect width for mobile */
        height: 330px; /* Proportional height */
        max-width: 100%; /* Never exceed screen */
        box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    }

    /* Movie Title & Info */
    .movie-info-single {
        width: 100%;
        padding: 0 5px;
    }
    .movie-title-main {
        font-size: 24px; /* Readable size */
        margin-bottom: 15px;
        word-wrap: break-word; /* Prevent long text break */
    }

    /* 3. Download Section (Full Width Fit) */
    .download-section {
        width: 100%;
        padding: 20px 15px; /* Reduced padding */
        margin: 30px 0;
        box-sizing: border-box; /* Include padding in width */
    }

    .dl-title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    /* Grid - Stack Buttons properly */
    .dl-grid {
        grid-template-columns: 1fr; /* 1 Column (Full Width) */
        gap: 15px;
    }

    /* Buttons - Clickable Area */
    .dl-btn-premium {
        padding: 12px 15px;
        width: 100%;
    }
    
    .dl-left { gap: 10px; }
    
    .dl-icon-box {
        width: 35px; height: 35px;
        font-size: 16px;
        flex-shrink: 0; /* Icon won't shrink */
    }

    .dl-text h4 { font-size: 14px; }
    .dl-text span { font-size: 12px; }

    /* 4. Content Area (Readable Text) */
    .main-article {
        width: 100%;
        padding: 20px 15px;
        font-size: 15px;
        line-height: 1.6;
        box-sizing: border-box;
    }

    /* 5. Related Movies (1 Folder Layout) */
    .related-wrap {
        width: 100%;
        margin-top: 40px;
    }
    .related-wrap .movies-grid {
        display: grid;
        grid-template-columns: 1fr; /* Strictly 1 Column */
        gap: 20px;
        width: 100%;
    }
    .movie-card { width: 100%; } /* Card fits full width */

    /* 6. Comments Section */
    .comments-area {
        width: 100%;
        padding: 20px 15px;
        margin-top: 40px;
        box-sizing: border-box;
    }

    /* 7. Sidebar Reset */
    .side-panel {
        width: 100%;
        margin-top: 40px;
        position: static;
        padding: 0;
    }
}





















/* =========================================
   SIDEBAR PREMIUM 2026 DESIGN
   ========================================= */

/* Widget Container */
.side-widget {
    background: #0a0a0a;
    border: 1px solid #222;
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}

/* Widget Title */
.widget-title {
    font-size: 16px;
    color: #ffb400; /* Gold */
    border-bottom: 2px solid #222;
    padding-bottom: 10px;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
    position: relative;
}

.widget-title::after {
    content: ''; position: absolute; bottom: -2px; left: 0; width: 50px; height: 2px;
    background: #ffb400;
}

/* --- 1. Search Widget --- */
.premium-search-form {
    position: relative;
    display: flex;
    align-items: center;
}
.search-input {
    width: 100%;
    background: #151515;
    border: 1px solid #333;
    padding: 12px 45px 12px 15px;
    color: #fff;
    border-radius: 6px;
    transition: 0.3s;
}
.search-input:focus {
    border-color: #ffb400;
    box-shadow: 0 0 10px rgba(255, 180, 0, 0.2);
}
.search-btn {
    position: absolute; right: 5px;
    background: transparent; border: none;
    color: #666; cursor: pointer;
    transition: 0.3s;
}
.search-input:focus + .search-btn { color: #ffb400; }

/* --- 2. Ad Widget (300x250) --- */
.ad-widget {
    text-align: center;
    padding: 15px;
    background: #000; /* Darker for AD */
}
.ad-label { font-size: 10px; color: #444; text-transform: uppercase; margin-bottom: 5px; letter-spacing: 1px; }

.ad-box-300 {
    width: 300px; height: 250px;
    background: #111;
    border: 1px dashed #333;
    display: flex; align-items: center; justify-content: center;
    color: #555; font-weight: bold;
    margin: 0 auto; /* Center alignment */
}

/* --- 3. Trending List (Ranked) --- */
.trending-list {
    list-style: none;
    counter-reset: trend-counter; /* Initialize counter */
}

.trending-item {
    display: flex; gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #1a1a1a;
    position: relative;
}
.trending-item:last-child { border: none; margin: 0; padding: 0; }

/* Counter Number (1, 2, 3...) */
.trending-item::before {
    counter-increment: trend-counter;
    content: counter(trend-counter);
    position: absolute; left: -10px; top: -5px;
    font-size: 40px; font-weight: 900;
    color: rgba(255, 255, 255, 0.03); /* Subtle Big Number */
    z-index: 0;
    line-height: 1;
}

.trending-thumb {
    width: 70px; height: 90px;
    flex-shrink: 0;
    position: relative;
    border-radius: 4px; overflow: hidden;
    z-index: 1;
    border: 1px solid #333;
}
.trend-img { width: 100%; height: 100%; object-fit: cover; transition: 0.3s; }
.trending-thumb:hover .trend-img { transform: scale(1.1); }

.trending-info {
    flex: 1;
    display: flex; flex-direction: column; justify-content: center;
    z-index: 1;
}

.trending-title {
    font-size: 14px; font-weight: 700; color: #fff;
    line-height: 1.4; margin-bottom: 5px;
    transition: 0.3s;
}
.trending-title:hover { color: #ffb400; }

.trending-meta { font-size: 11px; color: #888; display: flex; gap: 10px; }
.trending-meta .star { color: #ffb400; font-weight: bold; }

/* --- 4. Genres (Premium Pills) --- */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }

.tag-pill {
    background: #151515;
    color: #ccc;
    font-size: 11px;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid #333;
    font-weight: 600;
    display: flex; align-items: center; gap: 5px;
    transition: 0.3s;
}

.tag-pill .count {
    background: #222; color: #fff;
    font-size: 9px; padding: 1px 5px;
    border-radius: 10px;
}

.tag-pill:hover {
    background: #ffb400; color: #000; border-color: #ffb400;
}
.tag-pill:hover .count { background: #000; color: #ffb400; }

















































/* =========================================
   ARCHIVE PAGE (Categories & Tags) - FULL FIX
   ========================================= */

/* --- 1. Premium Header --- */
.archive-header-premium {
    background: linear-gradient(90deg, #0a0a0a, #111);
    padding: 20px;
    border-radius: 8px;
    border-left: 5px solid var(--gold);
    margin-bottom: 40px;
    border: 1px solid #222;
    border-left-width: 5px; /* Gold Left Border */
}

.archive-subtitle {
    font-size: 11px;
    letter-spacing: 2px;
    color: #666;
    text-transform: uppercase;
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}

.archive-title {
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    margin: 0;
}
.archive-title span { color: var(--gold); } 

.archive-desc {
    margin-top: 10px;
    font-size: 14px;
    color: #999;
    line-height: 1.6;
}

/* --- 2. GRID SYSTEM FIX (Folder Size Small) --- */
/* Ye code folders ko 3 column mein divide karega taaki sidebar fit ho */
.archive .movies-grid,
.category .movies-grid,
.tag .movies-grid,
.search .movies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr) !important; /* 3 Cards = Small Size */
    gap: 25px;
}

/* Ensure cards don't overflow */
.archive .movie-card,
.category .movie-card {
    max-width: 100%;
    width: 100%;
}

/* --- 3. Pagination (Load More Style) --- */
.pagination-premium {
    margin: 50px 0;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pagination-premium a, 
.pagination-premium span {
    display: inline-block;
    padding: 12px 25px;
    background: #111;
    color: #fff;
    border: 1px solid #333;
    border-radius: 30px; /* Pill Shape */
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    transition: 0.3s;
}

.pagination-premium a:hover {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255,180,0,0.3);
}

.pagination-premium .current {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
    pointer-events: none;
}

/* --- 4. Mobile Responsive --- */
@media (max-width: 900px) {
    /* Tablet: 2 Columns */
    .archive .movies-grid,
    .category .movies-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    /* Mobile: 1 Column & Header Fix */
    .archive-header-premium {
        padding: 20px;
        text-align: center;
    }
    .archive-title { font-size: 22px; }

    /* Force 1 Column on Mobile */
    .archive .movies-grid,
    .category .movies-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    /* Pagination Stack */
    .pagination-premium {
        flex-wrap: wrap;
    }
    .pagination-premium a {
        padding: 10px 20px;
        font-size: 12px;
    }
}






























/* =========================================
   STATIC PAGES (About, Contact, DMCA)
   ========================================= */

/* Page Header */
.page-header-premium {
    border-bottom: 2px solid #222;
    margin-bottom: 30px;
    padding-bottom: 15px;
    position: relative;
}

.page-title {
    font-size: 32px;
    font-weight: 900;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.page-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin-top: 10px;
    box-shadow: 0 0 10px rgba(255,180,0,0.5);
}

/* Page Content Box */
.page-content-box {
    background: #0a0a0a;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #222;
    color: #ccc;
    font-size: 16px;
    line-height: 1.8;
}

/* Typography inside Pages */
.page-content-box h2, 
.page-content-box h3 {
    color: #fff;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-content-box p {
    margin-bottom: 20px;
}

.page-content-box ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.page-content-box li {
    margin-bottom: 10px;
}

.page-content-box a {
    color: var(--gold);
    text-decoration: underline;
}

/* Form Styling (Contact Form 7 Support) */
.wpcf7-form input, 
.wpcf7-form textarea {
    width: 100%;
    background: #151515;
    border: 1px solid #333;
    padding: 12px;
    color: #fff;
    border-radius: 4px;
    margin-bottom: 15px;
}

.wpcf7-submit {
    background: var(--gold);
    color: #000;
    border: none;
    font-weight: bold;
    padding: 12px 30px;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.3s;
}
.wpcf7-submit:hover {
    background: #fff;
    transform: translateY(-2px);
}

/* Mobile Adjust */
@media (max-width: 768px) {
    .page-title { font-size: 24px; }
    .page-content-box { padding: 20px; font-size: 14px; }
}