/*
Theme Name: FilmyFly (Filmia Style)
Theme URI: https://filmia.co/
Author: FilmyFly Team
Author URI: https://filmia.co/
Description: Exact 1:1 replica of filmia.co layout, colors, fonts, download buttons, and movie list series.
Version: 4.1.0
License: GNU General Public License v2 or later
Text Domain: filmyfly
*/

/* ==========================================================================
   1. GLOBAL VARIABLES & RESET
   ========================================================================== */
:root {
    --ms-primary: #9333ea;
    --ms-primary-dark: #7e22ce;
    --ms-dark-header: #262A34;
    --ms-red-line: #FF0000;
    --ms-bg-light: #f4f4f4;
    --ms-border: #eeeeea;
}

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

body, html {
    background-color: #ffffff;
    color: #111111;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.site-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    background: #ffffff;
    border-left: 1px solid #eeeeee;
    border-right: 1px solid #eeeeee;
}

/* ==========================================================================
   2. TOP HEADER & LOGO (Filmia #262A34 with 2px Red Line)
   ========================================================================== */
.mainTitle,
.site-logo-banner {
    background-color: #262A34 !important;
    color: #ffffff !important;
    height: 40px !important;
    min-height: 40px !important;
    line-height: 40px !important;
    border-bottom: 2px solid #FF0000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

.mainTitle h1.movie,
.site-logo-banner h1.movie {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    font-size: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.fz-logo {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    line-height: 1 !important;
}

.fz-logo-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 26px !important;
    height: 26px !important;
    background: #ffffff !important;
    color: #000000 !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    text-align: center !important;
    padding-left: 2px !important;
}

.fz-logo-text {
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif !important;
    font-size: 26px !important;
    font-weight: 900 !important;
    letter-spacing: -1px !important;
    color: #ffffff !important;
    line-height: 1 !important;
}

.custom-logo-img,
.custom-logo-link img {
    max-height: 34px !important;
    width: auto !important;
    display: block !important;
}

/* ==========================================================================
   3. SEARCH BAR (Filmia #f4f4f4 Light Grey Bar)
   ========================================================================== */
.search,
.search-header-bar {
    background-color: #f4f4f4 !important;
    border-top: none !important;
    border-bottom: 1px solid #e0e0e0 !important;
    padding: 4px 8px !important;
    margin: 0 !important;
    text-align: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.search form,
.search-header-bar form {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

.movie-input,
.search-input-field {
    background: #ffffff !important;
    border: 1px solid #cccccc !important;
    border-radius: 3px !important;
    height: 26px !important;
    padding: 2px 8px !important;
    font-size: 12px !important;
    color: #000000 !important;
    outline: none !important;
    width: 220px !important;
    max-width: 60vw !important;
    box-sizing: border-box !important;
    font-family: Arial, Helvetica, sans-serif !important;
}

.movie-input:focus,
.search-input-field:focus {
    border-color: #9333ea !important;
}

.search button[type="submit"],
.search-submit-btn {
    background: #e0e0e0 !important;
    border: 1px solid #adadad !important;
    border-radius: 3px !important;
    height: 26px !important;
    padding: 0 10px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #333333 !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    font-family: Arial, Helvetica, sans-serif !important;
}

.search button[type="submit"]:hover,
.search-submit-btn:hover {
    background: #d4d4d4 !important;
    color: #000000 !important;
}

/* ==========================================================================
   4. SHARE ON SECTION (EXACT FILMIA STYLE)
   ========================================================================== */
.fz-share-section {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
}

div.head3,
.head3 {
    background: #dbe4ea !important;
    color: #000000 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    padding: 5px 8px !important;
    border-top: 3px solid #ff9900 !important; /* Top Orange/Gold Bar */
    border-bottom: 1px solid #d0d7de !important;
    text-align: left !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.fz-share-buttons {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
    padding: 6px 6px !important;
    background: #ffffff !important;
    border-bottom: 1px solid #e5e7eb !important;
    overflow-x: auto !important;
    box-sizing: border-box !important;
}

.fz-share-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    flex: 1 1 0 !important;
    min-width: 0 !important;
    height: 28px !important;
    padding: 0 8px !important;
    border-radius: 4px !important;
    color: #ffffff !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.15) !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
}

.fz-share-btn:hover {
    filter: brightness(1.08) !important;
    color: #ffffff !important;
}

.fz-share-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

.fz-share-label {
    line-height: 1 !important;
}

/* 6 Social Button Colors */
.fz-btn-fb { background-color: #3b5998 !important; }
.fz-btn-x { background-color: #000000 !important; }
.fz-btn-wa { background-color: #25d366 !important; }
.fz-btn-sharethis { background-color: #95D03A !important; }
.fz-btn-copy { background-color: #14682B !important; }
.fz-btn-tg { background-color: #0088cc !important; }

/* ==========================================================================
   5. BREADCRUMBS & TOP LINKS
   ========================================================================== */
.filmia-breadcrumbs,
.single-breadcrumb {
    font-size: 12.5px !important;
    font-family: Arial, Helvetica, sans-serif !important;
    color: #555555 !important;
    padding: 6px 10px !important;
    background: #ffffff !important;
    border-bottom: 1px solid #f0f0f0 !important;
    line-height: 1.4 !important;
}

.filmia-breadcrumbs a,
.single-breadcrumb a {
    color: #9333ea !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

.filmia-breadcrumbs a:hover,
.single-breadcrumb a:hover {
    text-decoration: underline !important;
}

.sub-header-bar {
    text-align: center !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    padding: 6px 0 !important;
    background: #fafafa !important;
    border-bottom: 1px solid #eeeeee !important;
}

.sub-header-bar a {
    color: #9333ea !important;
}

/* ==========================================================================
   6. YELLOW BOOKMARK ALERT STRIP
   ========================================================================== */
.yellow-bookmark-strip {
    background-color: #fff9d7 !important;
    border-top: 1px solid #f3d085 !important;
    border-bottom: 1px solid #f3d085 !important;
    padding: 5px 28px 5px 10px !important;
    text-align: center !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    color: #990000 !important;
    position: relative !important;
    box-sizing: border-box !important;
    line-height: 1.4 !important;
    margin: 0 !important;
}

.yellow-bookmark-strip a {
    color: #0000ee !important;
    text-decoration: underline !important;
    font-weight: 700 !important;
    margin: 0 2px !important;
}

.yellow-bookmark-strip .close-icon {
    position: absolute !important;
    right: 8px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #cc0000 !important;
    font-size: 14px !important;
    cursor: pointer !important;
    line-height: 1 !important;
}

/* ==========================================================================
   7. FILMYA SECTION HEADER BARS (#9333ea VIBRANT PURPLE)
   ========================================================================== */
div.head,
.head,
.section-sky-bar,
.sky-blue-header-bar,
.section-dark-bar,
.blue-heading-bar,
.blue-bar,
.blue-line,
.post-title-bar,
.dl-section-bar,
.ss-section-bar,
.related-section-bar {
    background-color: #9333ea !important;
    background: #9333ea !important;
    color: #ffffff !important;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-align: center !important;
    padding: 6px 10px !important;
    margin: 0 !important;
    width: 100% !important;
    display: block !important;
    box-sizing: border-box !important;
    border: none !important;
    border-radius: 0 !important;
    line-height: 1.35 !important;
    text-shadow: none !important;
}

div.head h1,
div.head h2,
div.head h3,
.head h1,
.head h2,
.head h3 {
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.35 !important;
}

/* ==========================================================================
   8. SEO & NEWS INTRO BOX
   ========================================================================== */
.fz-seo,
.intro-card-box {
    padding: 8px 12px !important;
    background: #ffffff !important;
    border: 1px solid #eeeeee !important;
    margin: 4px 0 !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

.fz-seo h1, .fz-seo h2, .fz-seo h3, .fz-seo h4, .fz-seo a, .fz-seo strong,
.intro-card-title {
    color: #9333ea !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    margin: 6px 0 3px 0 !important;
    line-height: 1.3 !important;
}

.fz-seo p,
.intro-desc-text {
    font-size: 12.5px !important;
    color: #333333 !important;
    line-height: 1.45 !important;
    margin: 3px 0 6px 0 !important;
    text-align: center !important;
}

/* ==========================================================================
   9. MOVIE LIST ROWS (EXACT FILMYA.CO FLEX LAYOUT)
   ========================================================================== */
.movie-list-container {
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
}

.fz-movie-row,
.movie-row-item {
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    min-height: 76px !important;
    height: auto !important;
    padding: 5px 7px !important;
    margin: 0 0 3px 0 !important;
    background: #ffffff !important;
    border: 2px solid #eeeeea !important;
    border-radius: 0 !important;
    box-shadow: 0 1px 2px rgba(0,0,0,.06) !important;
    text-align: left !important;
    clear: both !important;
}

.fz-movie-row:hover,
.movie-row-item:hover {
    background: #fafcfe !important;
}

.fz-movie-row .fz-poster-link,
.movie-row-item > a:first-child {
    display: flex !important;
    flex: 0 0 60px !important;
    align-items: center !important;
    justify-content: center !important;
    width: 60px !important;
    height: 65px !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
    text-decoration: none !important;
    line-height: 0 !important;
}

.fz-movie-row .fz-poster,
.movie-row-poster {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    border: 0 !important;
    border-radius: 2px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.fz-movie-row .fz-movie-info,
.movie-row-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    flex: 1 1 0 !important;
    min-width: 0 !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

.fz-movie-row .fz-title-link,
.movie-row-content > a.movie-row-title,
.movie-row-title {
    display: block !important;
    align-self: flex-start !important;
    width: fit-content !important;
    max-width: 100% !important;
    height: auto !important;
    line-height: 1.2 !important;
    margin: 0 0 3px 0 !important;
    padding: 0 !important;
    text-decoration: none !important;
    background: transparent !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-align: left !important;
    overflow-wrap: break-word !important;
}

.fz-movie-row .fz-title-link:hover .fz-title,
.movie-row-title:hover {
    text-decoration: underline !important;
    text-decoration-line: underline !important;
    text-decoration-style: solid !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 2px !important;
}

.fz-movie-row .fz-category,
.capsule-badge {
    display: inline-block !important;
    position: static !important;
    align-self: flex-start !important;
    width: fit-content !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    color: #ffffff !important;
    text-align: left !important;
    text-decoration: none !important;
    padding: 1px 6px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 12px !important;
    box-shadow: none !important;
}

/* ==========================================================================
   10. 5-COLOR REPEATING ALTERNATING SERIES (FILMYA.CO)
   ========================================================================== */
/* 1st (5n+1): Blue #0000CC */
.movie-list-container > .movie-row-item:nth-of-type(5n+1) .movie-row-title,
.movie-list-container > .fz-movie-row:nth-of-type(5n+1) .fz-title,
.movie-row-item.color-1 .movie-row-title,
.fz-movie-row.color-1 .fz-title {
    color: #0000CC !important;
}
.movie-list-container > .movie-row-item:nth-of-type(5n+1) .capsule-badge,
.movie-list-container > .fz-movie-row:nth-of-type(5n+1) .fz-category,
.movie-row-item.color-1 .capsule-badge,
.fz-movie-row.color-1 .fz-category {
    background-color: #0000CC !important;
    color: #ffffff !important;
}

/* 2nd (5n+2): Dark Green #06691F */
.movie-list-container > .movie-row-item:nth-of-type(5n+2) .movie-row-title,
.movie-list-container > .fz-movie-row:nth-of-type(5n+2) .fz-title,
.movie-row-item.color-2 .movie-row-title,
.fz-movie-row.color-2 .fz-title {
    color: #06691F !important;
}
.movie-list-container > .movie-row-item:nth-of-type(5n+2) .capsule-badge,
.movie-list-container > .fz-movie-row:nth-of-type(5n+2) .fz-category,
.movie-row-item.color-2 .capsule-badge,
.fz-movie-row.color-2 .fz-category {
    background-color: #06691F !important;
    color: #ffffff !important;
}

/* 3rd (5n+3): Magenta #B000B0 */
.movie-list-container > .movie-row-item:nth-of-type(5n+3) .movie-row-title,
.movie-list-container > .fz-movie-row:nth-of-type(5n+3) .fz-title,
.movie-row-item.color-3 .movie-row-title,
.fz-movie-row.color-3 .fz-title {
    color: #B000B0 !important;
}
.movie-list-container > .movie-row-item:nth-of-type(5n+3) .capsule-badge,
.movie-list-container > .fz-movie-row:nth-of-type(5n+3) .fz-category,
.movie-row-item.color-3 .capsule-badge,
.fz-movie-row.color-3 .fz-category {
    background-color: #B000B0 !important;
    color: #ffffff !important;
}

/* 4th (5n+4): Crimson Red #C40000 */
.movie-list-container > .movie-row-item:nth-of-type(5n+4) .movie-row-title,
.movie-list-container > .fz-movie-row:nth-of-type(5n+4) .fz-title,
.movie-row-item.color-4 .movie-row-title,
.fz-movie-row.color-4 .fz-title {
    color: #C40000 !important;
}
.movie-list-container > .movie-row-item:nth-of-type(5n+4) .capsule-badge,
.movie-list-container > .fz-movie-row:nth-of-type(5n+4) .fz-category,
.movie-row-item.color-4 .capsule-badge,
.fz-movie-row.color-4 .fz-category {
    background-color: #C40000 !important;
    color: #ffffff !important;
}

/* 5th (5n+5): Gold / Brown #8A6500 */
.movie-list-container > .movie-row-item:nth-of-type(5n+5) .movie-row-title,
.movie-list-container > .fz-movie-row:nth-of-type(5n+5) .fz-title,
.movie-row-item.color-5 .movie-row-title,
.fz-movie-row.color-5 .fz-title {
    color: #8A6500 !important;
}
.movie-list-container > .movie-row-item:nth-of-type(5n+5) .capsule-badge,
.movie-list-container > .fz-movie-row:nth-of-type(5n+5) .fz-category,
.movie-row-item.color-5 .capsule-badge,
.fz-movie-row.color-5 .fz-category {
    background-color: #8A6500 !important;
    color: #ffffff !important;
}

/* ==========================================================================
   11. PAGINATION (Filmia Buttons)
   ========================================================================== */
.pagination-area {
    text-align: center !important;
    padding: 12px 0 16px 0 !important;
}

.btn-next-page,
.btn-prev-page,
.pagination .page-numbers.next,
.pagination .page-numbers.prev {
    background: #4b5563 !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    padding: 6px 14px !important;
    border-radius: 4px !important;
    display: inline-block !important;
    margin: 0 4px !important;
    text-decoration: none !important;
}

.btn-next-page:hover,
.btn-prev-page:hover {
    background: #374151 !important;
}

/* ==========================================================================
   12. CATEGORY DIRECTORY & OTHER SERVICES
   ========================================================================== */
.category-index-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.category-index-list li,
.touch {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    border-bottom: 1px solid #eeeeee !important;
    background: #ffffff !important;
    padding: 7px 10px !important;
    box-sizing: border-box !important;
}

.category-index-list li a,
.touch a {
    display: inline-block !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #0000cc !important;
    text-decoration: none !important;
}

.category-index-list li a:hover,
.touch a:hover {
    text-decoration: underline !important;
}

.touch font {
    font-size: 12px !important;
    margin-left: 4px !important;
}

/* ==========================================================================
   13. SINGLE MOVIE POST (POSTER & FILE INFO TABLE)
   ========================================================================== */
.single-movie-poster-wrap {
    text-align: center !important;
    margin: 8px auto !important;
}

.single-movie-poster-wrap img,
.single-poster-img {
    display: block !important;
    margin: 8px auto !important;
    max-width: 260px !important;
    max-height: 380px !important;
    height: auto !important;
    width: auto !important;
    border-radius: 4px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
}

/* FILE INFO HEADING BAR */
.file-info-bar {
    background-color: #e0eaf4 !important;
    border-top: 1px solid #b3c9dc !important;
    border-bottom: 1px solid #b3c9dc !important;
    color: #cc0000 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-align: center !important;
    padding: 6px 0 !important;
    margin: 6px 0 0 0 !important;
}

/* FILE INFO TABLE */
.file-info-table {
    width: 100% !important;
    border-collapse: collapse !important;
}

.file-info-table tr {
    border-bottom: 1px solid #eeeeee !important;
}

.file-info-table td {
    padding: 6px 10px !important;
    font-size: 13.5px !important;
    line-height: 1.4 !important;
    vertical-align: top !important;
}

.file-info-table td.info-label {
    font-weight: 700 !important;
    color: #000000 !important;
    width: 105px !important;
    white-space: nowrap !important;
}

.file-info-table .val-name { color: #cc0000 !important; font-weight: 700 !important; }
.file-info-table .val-genre { color: #a0522d !important; font-weight: 700 !important; }
.file-info-table .val-duration { color: #008000 !important; font-weight: 700 !important; }
.file-info-table .val-release { color: #0000cd !important; font-weight: 700 !important; }
.file-info-table .val-language { color: #008080 !important; font-weight: 700 !important; }
.file-info-table .val-starcast { color: #8b0000 !important; font-weight: 600 !important; }
.file-info-table .val-size { color: #800080 !important; font-weight: 700 !important; }
.file-info-table .val-desc { color: #6a0dad !important; font-weight: 600 !important; }

/* ==========================================================================
   14. DOWNLOAD BUTTONS (PERFECTLY CENTERED TEXT)
   ========================================================================== */
.post-content p:has(button),
.post-content p:has(a > button),
.post-content p:has(.dwd-button),
.single-dl-buttons-container {
    display: block !important;
    text-align: center !important;
    margin: 6px auto !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 !important;
}

.post-content p:has(button) a,
.post-content a:has(button),
.single-dl-buttons-container a {
    display: block !important;
    width: 98% !important;
    max-width: 600px !important;
    margin: 6px auto !important;
    text-decoration: none !important;
}

.post-content button,
.post-content a button,
.post-content .btn,
button.dwd-button,
.dwd-button,
.btn-filmy-dl {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    position: relative !important;
    width: 100% !important;
    max-width: 600px !important;
    min-height: 42px !important;
    padding: 8px 30px !important; /* Balanced left and right padding */
    margin: 6px auto !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.12) !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
    color: #ffffff !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
}

/* Any icon inside download button is positioned absolute left so text remains DEAD CENTER */
.post-content button img,
.post-content a button img,
.post-content button svg,
.post-content button .icon,
button.dwd-button img,
button.dwd-button svg,
button.dwd-button .icon,
.dwd-button img,
.dwd-button svg,
.dwd-button .icon {
    position: absolute !important;
    left: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    width: 18px !important;
    height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    flex-shrink: 0 !important;
}

/* Ensure inner text is mathematically centered */
.post-content button span:not(.icon),
.dwd-button span:not(.icon),
button.dwd-button {
    text-align: center !important;
    margin: 0 auto !important;
    justify-content: center !important;
}

/* 6-Color Download Button Cycle */
.single-dl-buttons-container p:nth-of-type(6n+1) button,
.post-content p:has(button):nth-of-type(6n+1) button {
    background: linear-gradient(to bottom, #3b8746 0%, #2e6936 100%) !important;
}
.single-dl-buttons-container p:nth-of-type(6n+2) button,
.post-content p:has(button):nth-of-type(6n+2) button {
    background: linear-gradient(to bottom, #f5a300 0%, #d48b00 100%) !important;
}
.single-dl-buttons-container p:nth-of-type(6n+3) button,
.post-content p:has(button):nth-of-type(6n+3) button {
    background: linear-gradient(to bottom, #e9391b 0%, #c4290f 100%) !important;
}
.single-dl-buttons-container p:nth-of-type(6n+4) button,
.post-content p:has(button):nth-of-type(6n+4) button {
    background: linear-gradient(to bottom, #2f86e5 0%, #1e6bc4 100%) !important;
}
.single-dl-buttons-container p:nth-of-type(6n+5) button,
.post-content p:has(button):nth-of-type(6n+5) button {
    background: linear-gradient(to bottom, #9333ea 0%, #7e22ce 100%) !important;
}
.single-dl-buttons-container p:nth-of-type(6n+6) button,
.post-content p:has(button):nth-of-type(6n+6) button {
    background: linear-gradient(to bottom, #16a34a 0%, #15803d 100%) !important;
}

/* SCREENSHOTS CONTAINER */
.single-screenshots-container img,
.post-content .ss-section-bar ~ p img,
.post-content .section-dark-bar ~ p img {
    max-width: 96% !important;
    height: auto !important;
    display: block !important;
    margin: 8px auto !important;
    border-radius: 4px !important;
    border: 1px solid #e0e0e0 !important;
}

/* ==========================================================================
   15. FOOTER (FILMYA.CO EXACT STYLE)
   ========================================================================== */
.fz-footer-center-links {
    text-align: center !important;
    padding: 10px 0 !important;
    background: #ffffff !important;
    font-size: 13.5px !important;
}

.fz-footer-center-links a {
    color: #000000 !important;
    text-decoration: underline !important;
    margin: 0 4px !important;
}

.fz-footer-center-links a:hover {
    color: #9333ea !important;
}

footer.fz-main-footer,
footer {
    background-color: #333333 !important;
    color: #ffffff !important;
    padding: 10px 8px !important;
    text-align: center !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

footer.fz-main-footer a,
footer a {
    color: #ffffff !important;
    text-decoration: none !important;
}

/* POST KE ANDAR FOOTER REMOVAL (Clean single post bottom) */
.single .fz-seo,
.single .touch,
.single .head:has(+ .touch),
.single .fz-footer-center-links,
.single .footer-seo-paras,
.single .footer-tag-box,
.single .footer-how-box,
.single .footer-bottom-keywords,
.single .footer-tg-wrap,
.single .footer-outline-buttons,
.single .tag-cloud-box,
body.single .fz-seo,
body.single .touch:not(.category-index-list .touch),
body.single .fz-footer-center-links,
body.single .footer-seo-paras,
body.single .footer-tag-box,
body.single .footer-how-box,
body.single .footer-bottom-keywords,
body.single .footer-tg-wrap,
body.single .footer-outline-buttons,
body.single .tag-cloud-box {
    display: none !important;
}

/* ==========================================================================
   16. RESPONSIVE MOBILE VIEW (MAX-WIDTH: 600px)
   ========================================================================== */
@media screen and (max-width: 600px) {
    .mainTitle,
    .site-logo-banner {
        height: 38px !important;
        min-height: 38px !important;
        line-height: 38px !important;
    }

    .fz-logo-text {
        font-size: 22px !important;
    }

    .fz-logo-icon {
        width: 22px !important;
        height: 22px !important;
        font-size: 11px !important;
    }

    .fz-share-btn {
        height: 26px !important;
        font-size: 10.5px !important;
        padding: 0 4px !important;
        gap: 3px !important;
    }

    .fz-share-icon svg {
        width: 11px !important;
        height: 11px !important;
    }

    .fz-movie-row,
    .movie-row-item {
        gap: 10px !important;
        min-height: 76px !important;
        padding: 5px !important;
    }

    .fz-movie-row .fz-poster-link,
    .movie-row-item > a:first-child {
        flex: 0 0 55px !important;
        width: 55px !important;
        height: 65px !important;
    }

    .fz-movie-row .fz-title,
    .movie-row-title {
        font-size: 14px !important;
        font-weight: 600 !important;
        line-height: 1.15 !important;
    }

    .fz-movie-row .fz-category,
    .capsule-badge {
        font-size: 10px !important;
    }

    .yellow-bookmark-strip {
        font-size: 11.5px !important;
        padding: 5px 24px 5px 8px !important;
    }

    .post-content button,
    button.dwd-button,
    .dwd-button {
        font-size: 13px !important;
        padding: 8px 24px !important;
    }
}
