/*
Theme Name: GeneratePress - HDHub4u
Theme URI: https://generatepress.com
Description: GeneratePress with 100% HDHub4u Pixel-Perfect Dark Layout & High-Speed Performance.
Author: Custom Dev
Version: 1.0.0
*/

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,400&family=Roboto:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css');

/* ==========================================================================
   1. GLOBAL RESET & BASE
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Open Sans", Arial, sans-serif;
}

html, body {
    background-color: #000000 !important;
    color: #ffffff !important;
    line-height: 1.3;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* GeneratePress Container Overrides */
#page, #content, .site-content, .grid-container {
    background-color: #000000 !important;
    padding: 0 !important;
    max-width: 1300px !important;
}

a {
    color: #0087fc;
    text-decoration: none;
    transition: 0.2s ease;
}

a:hover, a:focus {
    color: #cccccc;
    text-decoration: none !important;
    outline: none !important;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border: 0;
}

.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 8px !important;
}

/* ==========================================================================
   2. HEADER & LOGO
   ========================================================================== */
.primary-header {
    background: #030303;
    border-bottom: 1px solid #1c1c1c;
    width: 100%;
}

.top-nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px !important;
    padding: 0 10px;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
}

.navbar-toggle-btn {
    background: #0a0a0a;
    border: 1.5px solid #ffffff;
    border-radius: 4px;
    padding: 6px 8px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    height: 36px;
    width: 38px;
}

.navbar-toggle-btn .icon-bar {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
}

.site-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hdhub-main-logo {
    height: 68px !important;
    width: auto !important;
    max-width: 270px !important;
    display: block;
    object-fit: contain;
    margin-top: -2px;
}

.hdhub-svg-logo {
    display: block;
    height: 65px !important;
    width: auto !important;
    max-width: 260px !important;
    user-select: none;
    transition: transform 0.2s ease;
}

.hdhub-svg-logo:hover {
    transform: scale(1.04);
}

@media (max-width: 991px) {
    .site-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    .hdhub-main-logo,
    .hdhub-svg-logo {
        height: 62px !important;
        max-width: 230px !important;
    }
}

.desktop-menu { display: none; }
.desktop-menu .top-menu-list {
    display: flex;
    list-style: none;
    gap: 15px;
}
.desktop-menu .top-menu-list a {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    padding: 5px 8px;
    border-radius: 3px;
}
.desktop-menu .top-menu-list a:hover { background: #252525; }

@media (min-width: 992px) {
    .desktop-menu { display: block; }
    .navbar-toggle-btn { display: none; }
}

@media (max-width: 991px) {
    .desktop-menu.active {
        display: block;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #111;
        z-index: 10000;
        border-bottom: 1px solid #333;
    }
    .desktop-menu.active .top-menu-list {
        flex-direction: column;
        padding: 10px 0;
        gap: 0;
    }
    .desktop-menu.active .top-menu-list li a {
        display: block;
        padding: 10px 18px;
        border-bottom: 1px solid #222;
    }
}

/* ==========================================================================
   3. AUTO-SCROLLING POSTER SLIDER
   ========================================================================== */
.auto-slider-container {
    width: 100%;
    overflow: hidden;
    background: #000000;
    padding: 6px 0;
    border-bottom: 1px solid #1a1a1a;
}
.auto-slider-track {
    display: flex;
    gap: 8px;
    width: max-content;
    animation: scrollSlider 35s linear infinite;
}
.auto-slider-track:hover { animation-play-state: paused; }
@keyframes scrollSlider {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.slider-item {
    flex: 0 0 110px;
    height: 145px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    background: #181818;
    border: 1px solid #222222;
}
@media (min-width: 768px) {
    .slider-item { flex: 0 0 135px; height: 180px; }
}
.slider-item a { display: block; width: 100%; height: 100%; }
.slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.slider-item:hover img { transform: scale(1.08); }
.slider-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.95) 90%);
    padding: 8px 4px 4px;
    text-align: center;
}
.slider-title-overlay span {
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-transform: uppercase;
}

/* ==========================================================================
   4. SUB-NAVBAR: 4K BUTTON & SEARCH
   ========================================================================== */
.sub-navbar {
    background-color: #0b0b0b;
    border-top: 1px solid #1f1f1f;
    border-bottom: 1px solid #1f1f1f;
    padding: 7px 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
}
.sub-nav-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.category-toggle-btn {
    background: transparent;
    border: none;
    padding: 4px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.category-toggle-btn .icon-bar {
    display: block;
    width: 22px;
    height: 2.5px;
    background-color: #ffffff;
}
.btn-4k-movies {
    background: #ffc107 !important;
    color: #000000 !important;
    font-weight: 700;
    font-size: 14px;
    padding: 8px 14px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.btn-4k-movies:hover { background: #e0a800 !important; }
.sub-nav-search { flex: 1; max-width: 400px; }
.header-search-form { width: 100%; }
.search-input {
    width: 100%;
    height: 36px;
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 1.5px solid #0087fc;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 500;
    outline: none;
}

.category-drawer {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #141414;
    border-bottom: 2px solid #222222;
    z-index: 9999;
    padding: 12px;
}
.category-drawer.active { display: block; }
.category-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.category-list li a {
    color: #ffffff;
    background: #252525;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 500;
    display: block;
}
.category-list li a:hover { background: #e50914; color: #ffffff; }

/* ==========================================================================
   5. NOTICE ALERT BOX
   ========================================================================== */
.alert-box-notice {
    background: linear-gradient(180deg, #1b0a0a 0%, #0d0d0d 100%);
    border: 1px solid #331515;
    border-radius: 8px;
    padding: 10px 15px;
    margin: 12px auto 14px auto;
    text-align: center;
    position: relative;
    font-size: 13.5px;
    line-height: 1.45;
}
.notice-close-btn {
    position: absolute;
    top: 4px;
    left: 10px;
    color: #ffcc00;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
}
.notice-line-1 { color: #ff484f; font-weight: 700; margin-bottom: 2px; }
.notice-red-link { color: #ff484f !important; text-decoration: underline; }
.notice-line-2 { color: #ffffff; }
.notice-blue-link { color: #0087fc !important; font-weight: 700; }
.notice-cyan-link { color: #42c1ff !important; font-weight: 700; }
.notice-yellow-text { color: #ffcc00; font-weight: 700; }

/* ==========================================================================
   6. EXACT 2-COLUMN MOBILE RECENT MOVIES GRID
   ========================================================================== */
.home-wrapper.thumbnail-wrapper {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

.category-name {
    color: #ffffff !important;
    margin-bottom: 14px !important;
    margin-top: 5px !important;
    font-size: 17px !important;
    background: #141414 !important;
    padding: 10px 12px !important;
    border-radius: 4px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-weight: 700 !important;
    border: 1px solid #1f1f1f !important;
}
.category-name i.material-icons { font-size: 22px !important; color: #ffffff !important; }
.category-name .material-text { font-size: 18px !important; font-weight: 700 !important; color: #ffffff !important; }

ul.recent-movies {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    column-gap: 8px !important;
    row-gap: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

@media (min-width: 600px) { 
    ul.recent-movies { grid-template-columns: repeat(3, 1fr) !important; column-gap: 10px !important; row-gap: 22px !important; } 
}
@media (min-width: 900px) { 
    ul.recent-movies { grid-template-columns: repeat(4, 1fr) !important; column-gap: 12px !important; row-gap: 24px !important; } 
}
@media (min-width: 1100px) { 
    ul.recent-movies { grid-template-columns: repeat(5, 1fr) !important; column-gap: 14px !important; row-gap: 25px !important; } 
}

li.thumb {
    background: #141414 !important;
    border: 0.5px solid #1a1a1a !important;
    border-radius: 3px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    width: 100% !important;
}

li.thumb figure {
    position: relative !important;
    width: 100% !important;
    height: 69vw !important;
    max-height: 310px !important;
    min-height: 255px !important;
    overflow: hidden !important;
    background: #111111 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}

@media (min-width: 768px) { 
    li.thumb figure { height: 295px !important; max-height: none !important; } 
}

li.thumb figure img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.25s ease-in-out !important;
}

li.thumb:hover figure img { transform: scale(1.06) !important; }

li.thumb figcaption {
    background: #141414 !important;
    padding: 7px 9px 10px 9px !important;
    flex: 1 !important;
    display: flex !important;
    align-items: flex-start !important;
    border-top: 1px solid #202020 !important;
    min-height: 95px !important;
    margin: 0 !important;
}

li.thumb figcaption p {
    color: #ffffff !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    line-height: 20px !important;
    text-align: left !important;
    margin: 0 !important;
    word-break: break-word !important;
}

li.thumb figcaption p:hover { color: #cccccc !important; }
.quality-text { color: #ffffff !important; font-weight: 600 !important; }

/* ==========================================================================
   7. SINGLE POST LAYOUT & TYPOGRAPHY FIX (COMPACT 18PX HEADINGS)
   ========================================================================== */
.single-movie-container {
    width: 100%;
    max-width: 950px;
    margin: 0 auto;
    padding: 5px 0;
}
.movie-sep-line {
    border: 0;
    height: 1px;
    background: #252525;
    margin: 10px 0;
}
.home-btn-wrap { text-align: center; margin: 10px 0; }
.btn-go-home {
    background: #1c1c1c;
    color: #ffffff !important;
    border: 1px solid #2d2d2d;
    padding: 8px 18px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
}
.btn-go-home:hover { background: #333333; border-color: #555555; }

.single-movie-title-box {
    background: #141414;
    border: 1px solid #292929;
    border-radius: 4px;
    padding: 14px 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}
.movie-clapper-icon { font-size: 22px; color: #ffffff; margin-top: 3px; }

/* Fixed Headings to exact 18px (No giant GP headings) */
.single-movie-heading,
.single-movie-container h1,
.single-movie-container h2,
.single-movie-content h1,
.single-movie-content h2 {
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    color: #ffffff !important;
    margin: 16px 0 10px 0 !important;
    text-align: left !important;
}

.single-movie-container h3,
.single-movie-content h3 {
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    color: #ffffff !important;
    margin: 14px 0 8px 0 !important;
    text-align: left !important;
}

.single-movie-container p,
.single-movie-content p {
    font-size: 14.5px !important;
    line-height: 1.6 !important;
    color: #cccccc !important;
    margin-bottom: 14px !important;
    text-align: left !important;
}

.single-movie-meta-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.meta-badge { padding: 6px 12px; border-radius: 4px; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.date-badge { background: #1a73e8; color: #ffffff; }
.cat-badge { background: #ffffff; color: #222222 !important; }
.cat-badge:hover { background: #e60000; color: #ffffff !important; }

.single-movie-intro { text-align: center; color: #cccccc; font-size: 14.5px; line-height: 1.6; margin-bottom: 16px; }
.brand-blue-link { color: #0087fc !important; font-weight: bold; }

.single-post-featured-image { text-align: center; margin: 15px auto; }
.movie-poster-img { max-width: 320px; height: auto; margin: 0 auto; border-radius: 6px; box-shadow: 0 4px 15px rgba(0,0,0,0.6); }

.single-post-actions { text-align: center; margin: 18px 0; }
.btn-how-to-download { color: #00a1ff !important; font-size: 16px; font-weight: 700; display: inline-block; margin-bottom: 12px; }
.whatsapp-group-banner { margin: 10px 0; }
.btn-whatsapp-group {
    background: #17212b;
    border: 1px solid #232e3c;
    padding: 8px 16px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff !important;
    font-size: 14px;
}
.btn-whatsapp-group .whatsapp-icon { color: #25d366; font-size: 20px; }

.single-movie-content {
    background: #141414;
    padding: 25px 20px;
    border-radius: 4px;
    margin-top: 15px;
    color: #cccccc;
    font-size: 15px;
    line-height: 1.6;
    text-align: left;
}
.single-movie-content img { margin: 15px auto; border-radius: 4px; max-width: 100%; }

/* Download Buttons & Download Boxes */
.buttn {
    line-height: 25px;
    font-size: 15px;
    font-weight: bold;
    text-transform: capitalize;
    text-decoration: none !important;
    border-radius: 2px !important;
    padding: 9px 20px;
    margin: 10px 5px;
    display: inline-block;
    color: #ffffff !important;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.4);
}
.buttn.red { background-color: #367e08; border: 2px solid red; }
.buttn.no { background-color: #085990; border: 2px solid red; }
.buttn.h { background-color: #e23d10; border: 1px solid #B83411; }
.buttn.up, .buttn.in, .buttn.op, .buttn.cl { background-color: #454140; border: 1px solid #B83411; }

/* LSI Keywords & SEO Tags Cloud Box */
.lsi-seo-tags-box {
    background: #111111;
    border: 1px solid #222222;
    border-radius: 6px;
    padding: 16px;
    margin: 25px 0;
    text-align: left;
}
.lsi-tags-title { font-size: 15px; font-weight: 700; color: #ffb703; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.lsi-tags-list { display: flex; flex-wrap: wrap; gap: 6px; }
.lsi-tag-item { background: #1f1f1f; color: #aaaaaa; font-size: 12px; padding: 4px 8px; border-radius: 3px; border: 1px solid #2a2a2a; }
.lsi-tag-item.wp-tag-link { color: #0087fc; }
.lsi-tag-item.wp-tag-link:hover { background: #e60000; color: #ffffff !important; }

/* Related Movies */
.related-movies-section { margin-top: 35px; }

/* ==========================================================================
   8. PAGINATION & FOOTER
   ========================================================================== */
.pagination-wrap {
    margin: 30px 0;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
}
.pagination-wrap .page-numbers {
    background: #1e1e1e;
    color: #ffffff;
    padding: 8px 14px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #2a2a2a;
}
.pagination-wrap .page-numbers.current { background: #0087fc !important; border-color: #0087fc; }
.pagination-wrap a.page-numbers:hover { background: #e50914; border-color: #e50914; color: #ffffff; }

.site-footer {
    background: #080808;
    border-top: 1px solid #1c1c1c;
    padding: 20px 0;
    margin-top: 30px;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 10px;
}
.footer-copy { font-size: 13px; color: #aaaaaa; }
.footer-copy a { color: #0087fc; font-weight: 600; }
.footer-links { list-style: none; display: flex; gap: 14px; flex-wrap: wrap; }
.footer-links a { color: #0087fc; font-size: 13px; font-weight: 600; }
.footer-links a:hover { color: #ffffff; }

@media (max-width: 768px) {
    .footer-inner { flex-direction: column; text-align: center; }
}