/*
Theme Name: BolFlix Lite
Theme URI: https://example.com/bolflix-lite
Author: Danny Dev
Description: BollyFlix-style movie streaming theme - polished version with full mobile support, hamburger menu, BollyFlix exact look.
Version: 4.3.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bolflix-lite
Tags: dark, grid-layout, custom-menu, featured-images, full-width-template, translation-ready
*/

/* ============ Reset ============ */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background: #2a2a2a;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
    font-size: 14px;
    overflow-x: hidden;
}

a { color: #fff; text-decoration: none; }
a:hover { color: #00c6ff; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ============ Top Header ============ */
.top-header {
    background: #1a1a1a;
    padding: 15px 0;
    border-bottom: 1px solid #333;
}

.top-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}

.site-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-shrink: 0;
}

.logo-text {
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 1px;
    line-height: 1;
}

.logo-img {
    max-height: 50px;
    width: auto;
}

.logo-text .bolly { color: #fff; }
.logo-text .flix {
    background: #e50914;
    color: #fff;
    padding: 2px 8px;
    margin-left: 2px;
    border-radius: 3px;
}

.site-tagline {
    font-size: 10px;
    color: #888;
    margin-top: 4px;
    letter-spacing: 1px;
}

.search-form {
    flex: 1;
    max-width: 600px;
    display: flex;
    background: #2a2a2a;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #444;
}

.search-form input[type="text"],
.search-form input[type="search"] {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px 15px;
    color: #fff;
    font-size: 14px;
    outline: none;
}

.search-form input::placeholder { color: #888; }

.search-form button {
    background: #1a1a1a;
    border: none;
    color: #fff;
    padding: 0 18px;
    cursor: pointer;
    font-size: 16px;
}

.search-form button:hover { background: #333; }

/* ============ Mobile Menu Bar (BollyFlix style) ============ */
/* Hidden by default on desktop, shown on mobile */
.mobile-menu-bar {
    display: none;
    background: #2a2a2a;
    padding: 12px 15px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #333;
}

.mobile-menu-label {
    color: #aaa;
    font-size: 16px;
    font-weight: normal;
}

.mobile-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px 8px;
    -webkit-tap-highlight-color: transparent;
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 24px;
    height: 18px;
}

.hamburger-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 1px;
    transition: transform 0.3s, opacity 0.3s;
}

.mobile-toggle.active .hamburger-icon span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mobile-toggle.active .hamburger-icon span:nth-child(2) {
    opacity: 0;
}
.mobile-toggle.active .hamburger-icon span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-close {
    display: none;
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    -webkit-tap-highlight-color: transparent;
}

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

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

/* ============ Main Navigation ============ */
.main-nav {
    background: #1f1f1f;
    border-bottom: 1px solid #333;
    position: relative;
}

.main-nav-inner {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.main-nav ul.menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.main-nav ul.menu > li {
    position: relative;
}

.main-nav ul.menu > li > a {
    display: block;
    padding: 14px 22px;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-right: 1px solid #2a2a2a;
}

.main-nav ul.menu > li > a:hover,
.main-nav ul.menu > li:hover > a {
    background: #2a2a2a;
    color: #00c6ff;
}

.main-nav ul.menu > li.menu-item-has-children > a::after {
    content: " ▾";
    font-size: 10px;
    margin-left: 4px;
}

.main-nav ul.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #1f1f1f;
    min-width: 220px;
    border: 1px solid #333;
    border-top: 2px solid #00c6ff;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

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

.main-nav ul.sub-menu li a {
    display: block;
    padding: 12px 18px;
    color: #ccc;
    font-size: 12px;
    text-transform: uppercase;
    border-bottom: 1px solid #2a2a2a;
}

.main-nav ul.sub-menu li:last-child a { border-bottom: none; }

.main-nav ul.sub-menu li a:hover {
    background: #2a2a2a;
    color: #00c6ff;
    padding-left: 22px;
}

/* ============ Category Filter Buttons ============ */
.category-bar {
    background: #2a2a2a;
    padding: 15px 0;
}

.category-bar-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.cat-btn {
    display: inline-block;
    background: #1f1f1f;
    color: #fff;
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 12px;
    border: 1px solid #555;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) {
    .cat-btn:hover {
        background: #00c6ff;
        color: #000;
        border-color: #00c6ff;
    }
}

.cat-btn:active {
    background: #00c6ff;
    color: #000;
    border-color: #00c6ff;
}

.cat-btn.telegram {
    background: linear-gradient(135deg, #29b6f6 0%, #1e88e5 100%);
    border-color: #29b6f6;
    color: #fff;
}

@media (hover: hover) {
    .cat-btn.telegram:hover {
        background: linear-gradient(135deg, #1e88e5 0%, #1565c0 100%);
        color: #fff;
    }
}

.cat-btn.telegram::before {
    content: "✈ ";
}

/* Cat-pills (sidebar) - prevent hover stuck on mobile */
.cat-pills li a {
    -webkit-tap-highlight-color: transparent;
}

/* ============ Notice Bar ============ */
.notice-bar-wrap {
    background: transparent;
}

.notice-bar {
    background: #4caf50;
    color: #fff;
    text-align: center;
    padding: 12px 40px 12px 15px;
    margin: 15px 0;
    border-radius: 4px;
    font-size: 14px;
    position: relative;
}

.notice-bar a {
    color: #ffeb3b;
    font-weight: bold;
}

.notice-close {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
}

/* ============ Main Content / Grid (Homepage) ============ */
.site-main {
    padding: 20px 0 40px;
}

.movie-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.movie-card {
    background: #1f1f1f;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
}

.movie-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0, 198, 255, 0.25);
}

.movie-thumb {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #111;
}

.movie-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.movie-card .movie-title {
    padding: 12px 10px;
    font-size: 13px;
    font-weight: normal;
    color: #fff;
    text-align: center;
    line-height: 1.4;
    flex: 1;
}

.movie-card .movie-title a { color: #fff; }
.movie-card .movie-title a:hover { color: #00c6ff; }

/* ============ Pagination ============ */
.pagination {
    text-align: center;
    padding: 30px 0 10px;
    background: #1f1f1f;
    margin-top: 30px;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    margin: 2px;
    background: #2a2a2a;
    color: #fff;
    border-radius: 4px;
    font-size: 13px;
    border: 1px solid #444;
}

.pagination .page-numbers.current {
    background: #4caf50;
    border-color: #4caf50;
    color: #fff;
}

.pagination .page-numbers:hover {
    background: #00c6ff;
    color: #000;
}

/* ============ No posts ============ */
.no-posts {
    text-align: center;
    padding: 80px 20px;
    color: #888;
}

.no-posts h2 { color: #fff; margin-bottom: 10px; }

/* ============ Footer ============ */
.site-footer {
    background: #1a1a1a;
    text-align: center;
    padding: 25px 15px;
    color: #888;
    font-size: 13px;
    border-top: 1px solid #333;
}

.footer-links {
    margin-bottom: 10px;
}

.footer-links a {
    color: #aaa;
    margin: 0 8px;
    font-size: 13px;
    display: inline-block;
}

.footer-links a:hover { color: #00c6ff; }

.footer-divider { color: #444; }

.scroll-top {
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    margin: 0 auto 15px;
    background: #2a2a2a;
    color: #fff;
    border-radius: 50%;
    font-size: 18px;
    border: 1px solid #444;
}

.scroll-top:hover {
    background: #00c6ff;
    color: #000;
}

/* ============================================================
 * SINGLE MOVIE PAGE - BollyFlix Style (Polished v4)
 * ============================================================ */

.single-movie-page {
    padding: 20px 0 40px;
}

.single-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 20px;
    align-items: start;
}

.movie-content {
    background: #1f1f1f;
    border-radius: 8px;
    padding: 25px;
}

.movie-main-title {
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #333;
}

.movie-date {
    color: #888;
    font-size: 13px;
    margin-bottom: 20px;
}

.date-icon { margin-right: 4px; }

.movie-intro {
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 20px;
}

.movie-intro p { margin-bottom: 12px; }

/* IMDb Wrap */
.bolflix-imdb-wrap {
    margin: 20px 0;
    overflow: hidden;
}

.bolflix-imdb-wrap > * {
    max-width: 100%;
}

/* Section styling */
.bolflix-section {
    margin: 25px 0;
}

.green-heading {
    color: #4caf50;
    font-size: 18px;
    font-weight: bold;
    margin: 20px 0 12px;
}

/* Movie Details list (no dashed lines) */
.movie-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.movie-details-list li {
    padding: 6px 0;
    color: #ddd;
    list-style: disc inside;
    margin-left: 5px;
}

.movie-details-list li strong {
    color: #fff;
    margin-right: 4px;
}

/* Storyline */
.movie-storyline {
    color: #ccc;
    line-height: 1.7;
    text-align: justify;
}

/* Screenshots - max height fix */
.movie-screenshots {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.movie-screenshots img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

.movie-screenshots a:hover img {
    opacity: 0.9;
}

/* Download Section */
.download-section {
    text-align: center;
    padding: 25px 0;
}

.download-section-title {
    color: #4caf50;
    font-size: 16px;
    margin-bottom: 15px;
}

.download-heading {
    color: #fff;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.download-buttons-wrap {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 500px;
    margin: 0 auto;
}

.dl-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #00d97a 0%, #00b366 100%);
    color: #fff !important;
    text-decoration: none;
    padding: 14px 20px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
    border: 2px solid rgba(255,255,255,0.15);
    transition: all 0.25s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dl-btn:hover {
    background: linear-gradient(135deg, #00b366 0%, #008f52 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 217, 122, 0.4);
    color: #fff !important;
}

.dl-icon-left, .dl-icon-right { font-size: 14px; }

/* Type-based colors */
.dl-btn.btn-webseries {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
}
.dl-btn.btn-webseries:hover {
    background: linear-gradient(135deg, #1976d2 0%, #0d5fb3 100%);
    box-shadow: 0 6px 18px rgba(33, 150, 243, 0.4);
}

.dl-btn.btn-zip {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
}
.dl-btn.btn-zip:hover {
    background: linear-gradient(135deg, #f57c00 0%, #e65100 100%);
    box-shadow: 0 6px 18px rgba(255, 152, 0, 0.4);
}

.dl-btn.btn-episode {
    background: linear-gradient(135deg, #9c27b0 0%, #7b1fa2 100%);
}
.dl-btn.btn-episode:hover {
    background: linear-gradient(135deg, #7b1fa2 0%, #6a1b9a 100%);
}

/* Trailer */
.trailer-section { text-align: center; }

.watch-trailer-heading {
    color: #00c6ff !important;
    font-size: 18px;
    margin-bottom: 12px;
}

.trailer-embed-wrap {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.trailer-embed-wrap iframe {
    width: 100% !important;
    height: 100% !important;
    border: 0;
    position: absolute;
    top: 0;
    left: 0;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.action-btn {
    background: #00c6ff;
    color: #000 !important;
    padding: 10px 22px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.2s;
}

.action-btn:hover {
    background: #fff;
    transform: translateY(-2px);
}

/* Related Posts */
.related-posts-section {
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid #333;
}

.related-heading {
    color: #aaa;
    font-size: 16px;
    font-weight: normal;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

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

.related-card {
    background: #1a1a1a;
    border-radius: 6px;
    overflow: hidden;
}

.related-card .movie-title {
    padding: 8px;
    font-size: 12px;
    text-align: center;
    line-height: 1.4;
}

.related-card .movie-title a { color: #fff; }

/* Comments Section */
.comments-section {
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid #333;
}

.comments-section h2,
.comments-section h3,
.comments-section .comments-title,
.comments-section .comment-reply-title {
    color: #fff !important;
    font-size: 18px !important;
    font-weight: bold !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 20px !important;
}

.comments-section .comment-form {
    background: #181818;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #2a2a2a;
}

.comments-section .comment-form input[type="text"],
.comments-section .comment-form input[type="email"],
.comments-section .comment-form input[type="url"],
.comments-section .comment-form textarea {
    width: 100%;
    background: #1f1f1f;
    border: 1px solid #2a2a2a;
    color: #fff;
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 12px;
    font-size: 14px;
}

.comments-section .comment-form textarea {
    min-height: 120px;
    resize: vertical;
}

.comments-section .comment-form input[type="submit"],
.comments-section .form-submit input {
    background: #4caf50 !important;
    color: #fff !important;
    border: none;
    padding: 12px 28px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
}

.comments-section .comment-form input[type="submit"]:hover {
    background: #45a049 !important;
}

.comments-section ol.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.comments-section .comment-body {
    background: #181818;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 12px;
    border: 1px solid #2a2a2a;
}

.comments-section .comment-meta {
    color: #888;
    font-size: 12px;
    margin-bottom: 8px;
}

/* ============================================================
 * SIDEBAR (compact, styled)
 * ============================================================ */

.movie-sidebar {
    position: sticky;
    top: 15px;
}

.sidebar-widget {
    background: #1a1a1a;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.sidebar-widget .widget-title {
    color: #aaa;
    font-size: 13px;
    font-weight: normal;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #2a2a2a;
}

/* Telegram join box */
.telegram-join-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    color: #000 !important;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.2s;
}

.telegram-join-box:hover {
    transform: scale(1.02);
    color: #000 !important;
}

.telegram-join-box .tg-icon {
    background: #29b6f6;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.telegram-join-box .tg-text {
    font-size: 14px;
    line-height: 1.3;
}

.telegram-join-box .tg-text strong {
    color: #29b6f6;
    font-size: 16px;
}

/* Category pills */
.cat-pills {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.cat-pills li a {
    display: inline-block;
    background: #2a2a2a;
    color: #ccc;
    padding: 5px 10px;
    border-radius: 14px;
    font-size: 11px;
    border: 1px solid #333;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) {
    .cat-pills li a:hover {
        background: #00c6ff;
        color: #000;
        border-color: #00c6ff;
    }
}

.sidebar-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-widget > ul > li {
    padding: 8px 0;
    border-bottom: 1px solid #2a2a2a;
}

.sidebar-widget > ul > li:last-child { border-bottom: none; }

.sidebar-widget ul li a {
    color: #ccc;
    font-size: 13px;
}

.sidebar-widget ul li a:hover { color: #00c6ff; }

/* Single post styled (page.php) */
.single-post-content {
    max-width: 900px;
    margin: 30px auto;
    padding: 25px;
    background: #1f1f1f;
    border-radius: 8px;
}

.single-post-content h1 {
    color: #00c6ff;
    margin-bottom: 20px;
    font-size: 24px;
}

.post-meta {
    color: #888;
    margin-bottom: 20px;
    font-size: 13px;
    padding-bottom: 15px;
    border-bottom: 1px solid #333;
}

.post-content { color: #ddd; }
.post-content p { margin-bottom: 15px; }

/* ============================================================
 * RESPONSIVE - All Mobile Fixes
 * ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
    .movie-grid { grid-template-columns: repeat(4, 1fr); }
    .related-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Mobile (single layout becomes stacked, hamburger appears) */
@media (max-width: 900px) {
    .single-layout {
        grid-template-columns: 1fr;
    }
    
    .movie-sidebar {
        position: static;
    }
    
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile (768px) - BollyFlix exact 3-row header */
@media (max-width: 768px) {
    /* === HEADER: 3 separate rows (Logo / Search / Menu bar) === */
    .top-header { padding: 15px 0 10px; }
    
    .top-header-inner {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    
    .site-logo {
        align-items: center;
        text-align: center;
    }
    
    .logo-text { font-size: 32px; }
    .logo-img { max-height: 50px; }
    .site-tagline { 
        font-size: 11px; 
        margin-top: 6px;
        letter-spacing: 1.5px;
    }
    
    /* Search bar takes full width on its own row */
    .search-form {
        max-width: none;
        width: 100%;
        flex: none;
    }
    
    .search-form input { padding: 12px 14px; font-size: 14px; }
    .search-form button { padding: 0 16px; font-size: 18px; }
    
    /* === MOBILE MENU BAR: shows on mobile only === */
    .mobile-menu-bar { display: flex; }
    
    /* === SLIDE-IN DRAWER MENU === */
    .main-nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background: #1a1a1a;
        z-index: 999;
        transition: right 0.3s ease;
        overflow-y: auto;
        border-bottom: none;
        padding-top: 50px;
    }
    
    .main-nav.active { right: 0; }
    
    .mobile-close { display: block; }
    
    .main-nav-inner {
        display: block;
        width: 100%;
    }
    
    .main-nav ul.menu {
        flex-direction: column;
        width: 100%;
    }
    
    .main-nav ul.menu > li {
        width: 100%;
        border-bottom: 1px solid #2a2a2a;
        position: relative;
    }
    
    .main-nav ul.menu > li > a {
        padding: 14px 20px;
        border-right: none;
        font-size: 14px;
        display: block;
    }
    
    /* Replace dropdown arrow with + / - on mobile */
    .main-nav ul.menu > li.menu-item-has-children > a::after {
        content: "+";
        position: absolute;
        right: 18px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 20px;
        font-weight: normal;
        color: #fff;
        margin-left: 0;
    }
    
    .main-nav ul.menu > li.show-sub > a::after {
        content: "−";
    }
    
    /* Mobile dropdown - tap to expand */
    .main-nav ul.sub-menu {
        position: static;
        width: 100%;
        background: #0f0f0f;
        border: none;
        border-top: 1px solid #2a2a2a;
        box-shadow: none;
        display: none;
    }
    
    .main-nav ul.menu > li.show-sub > ul.sub-menu {
        display: block;
    }
    
    /* Disable hover on mobile (prevents stuck states) */
    .main-nav ul.menu > li:hover > ul.sub-menu {
        display: none;
    }
    
    .main-nav ul.menu > li.show-sub:hover > ul.sub-menu {
        display: block;
    }
    
    .main-nav ul.sub-menu li a {
        padding: 12px 20px 12px 40px;
        font-size: 13px;
    }
    
    /* === FILTER BUTTONS === */
    .category-bar {
        padding: 10px 0;
    }
    
    .category-bar-inner {
        flex-wrap: wrap;
        justify-content: center;
        padding: 0 10px;
        gap: 6px;
    }
    
    .cat-btn {
        font-size: 12px;
        padding: 7px 14px;
    }
    
    /* === NOTICE BAR full-width === */
    .notice-bar-wrap .container { padding: 0; }
    .notice-bar {
        margin: 10px 0;
        border-radius: 0;
        font-size: 13px;
    }
    
    /* === HOMEPAGE GRID - 2 columns on mobile (BollyFlix style) === */
    .movie-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .movie-card .movie-title {
        padding: 10px 8px;
        font-size: 12px;
    }
    
    /* === SINGLE POST === */
    .movie-content { padding: 15px; }
    
    .movie-main-title {
        font-size: 18px;
        line-height: 1.3;
    }
    
    .download-heading { font-size: 22px; }
    .download-section-title { font-size: 14px; }
    
    .dl-btn {
        font-size: 14px;
        padding: 12px 16px;
    }
    
    .green-heading { font-size: 16px; }
    
    .movie-screenshots img { max-height: 350px; }
    
    /* === SIDEBAR === */
    .movie-sidebar {
        margin-top: 20px;
    }
    
    .sidebar-widget { padding: 12px; margin-bottom: 10px; }
    
    /* === FOOTER === */
    .footer-links {
        line-height: 2;
    }
    
    .footer-links a {
        margin: 0 5px;
        font-size: 12px;
    }
    
    .footer-divider { margin: 0 2px; }
}

/* Small mobile (480px) - tighter spacing */
@media (max-width: 480px) {
    .container { padding: 0 10px; }
    
    .logo-text { font-size: 28px; }
    .site-tagline { font-size: 10px; }
    
    .movie-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .related-grid { grid-template-columns: repeat(2, 1fr); }
    
    .movie-content { padding: 12px; }
    
    .movie-main-title { font-size: 16px; }
    
    .download-heading { font-size: 20px; }
    
    .dl-btn {
        font-size: 13px;
        padding: 10px 14px;
    }
    
    .action-buttons { flex-direction: column; }
    .action-btn { width: 100%; text-align: center; }
}
