/* ==========================================================
   Z film.co - Dark Glassmorphic Theme (Fully Updated)
   Developer: Rebaz
   ========================================================== */

/* --- Custom Glowing Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #06040a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #3b1a5c 0%, #9d4edd 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c77dff;
}

/* --- Base & Reset --- */
* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', 'Noto Kufi Arabic', sans-serif;
    box-sizing: border-box;
}

body {
    background-color: #07050a;
    background-image:
        radial-gradient(circle at 15% 15%, rgba(157, 78, 221, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 85% 65%, rgba(123, 44, 191, 0.1) 0%, transparent 45%),
        radial-gradient(circle at 50% 90%, rgba(60, 9, 108, 0.15) 0%, transparent 50%);
    background-attachment: fixed;
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
}

ul { list-style: none; }
a { text-decoration: none; }

::selection {
    background-color: #9d4edd;
    color: #ffffff;
}

/* --- Animations --- */
@keyframes fadeUpCards {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

#main-slider, .post-container {
    animation: fadeUpCards 0.6s ease-out forwards;
}

/* ==========================================================
   NAVIGATION HEADER
   ========================================================== */
.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 30px;
    max-width: 1200px;
    margin: 20px auto 30px auto;
    width: 92%;
    background: rgba(18, 14, 28, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 15px;
    z-index: 1000;
}

.logo {
    color: #9d4edd;
    text-transform: uppercase;
    font-size: 2rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(157, 78, 221, 0.4);
}

.logo span {
    font-size: 0.9rem;
    margin-left: 4px;
    font-weight: 700;
    color: #ffffff;
}

.menu {
    display: flex;
    align-items: center;
    gap: 25px;
}

.menu li a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.menu li a:hover, .menu li a.active {
    color: #c77dff;
    text-shadow: 0 0 10px rgba(157, 78, 221, 0.6);
}

.menu li a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #9d4edd;
    border-radius: 2px;
    box-shadow: 0 0 8px #9d4edd;
}

.menu-btn, .menu-icon { display: none; }

/* Search Box */
.navigation .search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 30px;
    padding: 6px 14px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navigation .search-box:focus-within {
    background: rgba(255, 255, 255, 0.12);
    border-color: #9d4edd;
    box-shadow: 0 0 15px rgba(157, 78, 221, 0.4);
}

.navigation .search-box input {
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 13px;
    padding: 2px 6px;
    width: 130px;
    transition: width 0.3s ease;
}

.navigation .search-box input:focus { width: 170px; }
.navigation .search-box input::placeholder { color: rgba(255, 255, 255, 0.5); }

.navigation .search-box button {
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    font-size: 13px;
}

.navigation .search-box button:hover { color: #c77dff; }

/* ==========================================================
   HERO SLIDER & POST CARDS (GLASS STYLE UPDATES)
   ========================================================== */
#main-slider {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto 30px auto;
    max-width: 1170px;
    width: 100%;
}

.main-slider-box {
    width: 100%;
    height: 450px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.main-slider-img { width: 100%; height: 100%; }

.main-slider-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.main-slider-text {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(8, 5, 12, 0.2) 20%, rgba(8, 5, 12, 0.95) 100%);
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    padding: 16px;
    pointer-events: none;
}

/* --- TOP BADGES CONTAINER (FULL HD & RATING SIDE BY SIDE) --- */
.top-badge-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    z-index: 5;
}

/* Dark Glassmorphic Quality Badge (FULL HD) */
.main-slider-text .quality {
    background: rgba(10, 6, 18, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #e0aaff;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* Dark Glassmorphic Top Rating (Opposite FULL HD) */
.rating {
    background: rgba(10, 6, 18, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.rating i {
    color: #ffc107; /* Gold Star Icon */
    font-size: 0.75rem;
}

/* Bottom Movie Details */
.main-slider-text .bottom-text { width: 100%; }

.main-slider-text .movie-name {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.main-slider-text .movie-name span {
    font-size: 0.8rem;
    color: rgba(240, 240, 240, 0.75);
}

.main-slider-text .movie-name strong {
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 3px;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    display: block;
}

.main-slider-text .category {
    color: #b8b8b8;
    font-size: 0.78rem;
    font-weight: 500;
    margin-top: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

/* Play Overlay Button */
.main-slider-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 100%;
    background: rgba(12, 6, 22, 0.65);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    transition: all ease 0.35s;
    z-index: 2;
}

.main-slider-overlay i {
    font-size: 2rem;
    background: rgba(157, 78, 221, 0.9);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 20px rgba(157, 78, 221, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.main-slider-box:hover .main-slider-overlay { top: 0; }
.main-slider-box:hover .main-slider-img img,
.post-box:hover .post-img img { transform: scale(1.08); }
.main-slider-box:hover .main-slider-overlay i { transform: scale(1.1); background: #7b2cbf; }

/* Slider Arrows */
.slider-btns {
    display: flex;
    justify-content: flex-end;
    max-width: 1170px;
    width: 100%;
    margin: 10px auto 0;
}

.swiper-button-next,
.swiper-button-prev {
    position: static !important;
    margin: 0 0 0 10px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    background: rgba(157, 78, 221, 0.8) !important;
    box-shadow: 0 0 15px rgba(157, 78, 221, 0.6);
}

.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 14px !important;
    font-weight: 800;
    color: #ffffff !important;
}

/* ==========================================================
   MOVIES GRID SECTIONS
   ========================================================== */
#latest, #latest-2, #latest-3 {
    max-width: 1170px;
    margin: 40px auto;
    width: 100%;
}

.latest-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    background: rgba(10, 7, 18, 0.5); /* پشتخۆرەکا تاری و شوشەیی یا ڕوون */
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 12px;
    padding: 12px 20px;
    border: 1px solid var(--glass-border-light);
    border-left: 3px solid var(--primary-light); /* خەتەکا نەرۆماتیک و نەنەزۆر زەق لە لای چەپ */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5); /* لادانا ئەو گلۆا ڕەنگی یا زۆر ناوەوە و جوانترکردنا شێوەی */
}

.latest-heading h1 {
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 700;
    border-left: 4px solid #9d4edd;
    padding-left: 10px;
}

.view-all-btn {
    background: rgba(157, 78, 221, 0.15);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    border: 1px solid rgba(157, 78, 221, 0.3);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.view-all-btn:hover {
    background: #9d4edd;
    box-shadow: 0 0 15px rgba(157, 78, 221, 0.5);
}

.post-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 22px;
}

.post-box {
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    position: relative;
    transition: all 0.3s ease;
}

.post-box .main-slider-box {
    height: 100%;
    width: 100%;
    border: none;
    box-shadow: none;
    border-radius: 0;
    background: transparent;
}

.post-box:hover {
    transform: translateY(-8px);
    border-color: rgba(157, 78, 221, 0.5);
    box-shadow: 0 12px 30px rgba(157, 78, 221, 0.3);
}

.post-box .post-img { width: 100%; height: 100%; }
.post-box .post-img img { width: 100%; height: 100%; object-fit: cover; }

/* Scroll Progress Button */
#progress {
    height: 48px;
    width: 48px;
    border-radius: 50%;
    position: fixed;
    bottom: 25px;
    right: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    display: grid;
    place-items: center;
    z-index: 105;
    cursor: pointer;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

#progress-value {
    display: grid;
    place-items: center;
    height: calc(100% - 6px);
    width: calc(100% - 6px);
    background-color: #0c0714;
    border-radius: 50%;
    color: #ffffff;
    font-size: 13px;
}

/* Footer */
footer {
    background: rgba(10, 5, 18, 0.8);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 8%;
    margin-top: 50px;
}

footer .copyright { color: #999999; font-size: 0.85rem; }
footer .copyright a { color: #c77dff; font-weight: 600; }












/* ==========================================================
   MOBILE & TABLET RESPONSIVE FIXES (Wider Search Box & Tall Posters)
   ========================================================== */

@media (max-width: 1200px) {
    .navigation {
        max-width: 95% !important;
        padding: 10px 15px !important;
        gap: 10px !important;
    }

    .navigation .menu {
        gap: 12px !important;
    }

    .navigation .menu li a {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 1024px) {
    .post-container { grid-template-columns: repeat(3, 1fr) !important; grid-gap: 15px; }
    .post-box { height: 380px !important; }

    .search-box {
        width: 140px !important;
        padding: 5px 10px !important;
    }
    .search-box input {
        width: 95px !important;
    }
}

@media (max-width: 850px) {
    .navigation {
        padding: 8px 12px;
        width: 96%;
        flex-wrap: nowrap;
        gap: 8px;
        border-radius: 12px;
    }

    .logo { font-size: 1.25rem; flex-shrink: 0; }

    .navigation .menu-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 2000;
        width: 32px;
        height: 32px;
        background: var(--glass-card-bg);
        border: 1px solid var(--glass-border-light);
        border-radius: 8px;
        flex-shrink: 0;
    }

    .navigation .menu-icon .nav-icon {
        background-color: #ffffff;
        display: block;
        height: 2px;
        width: 16px;
        position: relative;
    }

    .navigation .menu-icon .nav-icon::before,
    .navigation .menu-icon .nav-icon::after {
        background-color: #ffffff;
        content: '';
        position: absolute;
        display: block;
        width: 100%;
        height: 100%;
    }

    .navigation .menu-icon .nav-icon::before { top: 5px; }
    .navigation .menu-icon .nav-icon::after { top: -5px; }

    .nav-right-tools {
        gap: 8px;
        display: flex;
        align-items: center;
    }

    /* WIDER SEARCH BOX ON TABLET */
    .search-box {
        padding: 5px 10px;
        width: 140px !important;
        max-width: 100% !important;
    }

    .search-box input {
        width: 95px !important;
        font-size: 0.8rem;
    }

    .search-box input:focus {
        width: 120px !important;
    }

    .theme-toggle-btn {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
        flex-shrink: 0;
    }

    .menu {
        position: fixed;
        left: 0;
        top: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(8, 4, 15, 0.98);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        z-index: 1500;
        display: none;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 20px;
    }

    .navigation .menu-btn:checked ~ .menu { display: flex; }
    .menu li a { font-size: 1.4rem; font-weight: 600; color: #ffffff; }
    .menu li a:hover, .menu li a.active { color: #c77dff; font-size: 1.5rem; }

    .post-container {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-gap: 12px !important;
    }
    .post-box {
        height: 360px !important;
    }
    footer { padding: 15px 4%; flex-direction: column; gap: 10px; text-align: center; }
}

@media (max-width: 580px) {
    .navigation {
        padding: 6px 10px;
        width: 98%;
        margin-top: 8px;
        gap: 6px;
    }

    .logo { font-size: 1.05rem; }

    .navigation .menu-icon {
        width: 28px;
        height: 28px;
    }
    .navigation .menu-icon .nav-icon {
        width: 14px;
        height: 2px;
    }
    .navigation .menu-icon .nav-icon::before { top: 4px; }
    .navigation .menu-icon .nav-icon::after { top: -4px; }

    .nav-right-tools { gap: 6px; display: flex; align-items: center; }

    /* WIDER SEARCH BOX ON PHONES */
    .search-box {
        padding: 4px 8px;
        width: 115px !important;
    }
    .search-box input {
        width: 75px !important;
        font-size: 0.75rem;
    }
    .search-box input:focus {
        width: 100px !important;
    }

    .theme-toggle-btn {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
        flex-shrink: 0;
    }

    .latest-heading {
        padding: 5px 8px !important;
        margin-bottom: 8px !important;
        gap: 4px !important;
        border-radius: 6px !important;
    }

    .latest-heading h1 {
        font-size: 0.75rem !important;
    }

    .view-all-btn {
        font-size: 0.58rem !important;
        padding: 2px 5px !important;
    }

    .main-slider-box { height: 210px; border-radius: 12px; }
    #main-slider { margin-top: 70px; padding: 8px 4%; }
    #latest, #latest-2, #latest-3 { padding: 8px 4%; }

    .post-container {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-gap: 10px !important;
    }

    .post-box {
        height: 330px !important;
        border-radius: 12px;
    }

    .bottom-text {
        padding: 8px !important;
        border-radius: 0 0 12px 12px;
    }

    .movie-name strong {
        font-size: 0.75rem !important;
        line-height: 1.2;
    }

    .movie-name span {
        font-size: 0.6rem !important;
    }

    .category {
        display: block !important;
        font-size: 0.52rem !important;
        opacity: 0.8;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .quality, .rating {
        font-size: 0.55rem !important;
        padding: 2px 5px !important;
        border-radius: 5px;
    }

    .top-badge-box { gap: 4px; }

    .main-slider-overlay i, .post-overlay i {
        font-size: 1.2rem;
        width: 32px;
        height: 32px;
    }

@media (max-width: 400px) {
    .post-box { height: 300px !important; }

    /* COMFORTABLE SEARCH BOX FOR VERY SMALL SCREENS */
    .search-box {
        width: 95px !important;
        padding: 3px 6px !important;
    }
    .search-box input {
        width: 60px !important;
        font-size: 0.7rem;
    }
    .search-box input:focus {
        width: 80px !important;
    }

    .logo { font-size: 0.95rem; }
}





    .navigation .menu-icon .nav-icon::before { top: 4px; }
    .navigation .menu-icon .nav-icon::after { top: -4px; }

    .nav-right-tools {
        gap: 4px;
    }

    .search-box {
        padding: 2px 6px;
        width: 90px;
    }

    .search-box input {
        width: 50px;
        font-size: 0.7rem;
    }

    .search-box input:focus {
        width: 70px;
    }

    .theme-toggle-btn {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }

    /* Compact Headings */
    .latest-heading {
        padding: 8px 12px;
        margin-bottom: 12px;
        gap: 6px;
        border-radius: 8px;
    }

    .latest-heading h1 {
        font-size: 0.9rem;
    }

    .view-all-btn {
        font-size: 0.7rem;
        padding: 3px 6px;
    }

    .main-slider-box { height: 230px; border-radius: 12px; }
    #main-slider { margin-top: 75px; padding: 10px 4%; }
    #latest, #latest-2, #latest-3 { padding: 10px 4%; }

    /* 2 Movies Side-by-Side & Ultra Compact for Mobile */
    .post-container {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 8px;
    }

    .post-box {
        height: 215px;
        border-radius: 10px;
    }

    .main-slider-text { padding: 6px; }

    .bottom-text {
        padding: 6px 8px;
        margin: -6px;
        border-radius: 0 0 10px 10px;
    }

    .movie-name strong {
        font-size: 0.75rem;
        line-height: 1.1;
    }

    .movie-name span {
        font-size: 0.6rem;
    }

    .category {
        font-size: 0.55rem;
    }

    .quality, .rating {
        font-size: 0.52rem;
        padding: 2px 4px;
        border-radius: 4px;
    }

    .top-badge-box {
        gap: 4px;
    }

    /* Smaller Play button icon on hover/touch for mobile */
    .main-slider-overlay i, .post-overlay i {
        font-size: 1.4rem;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 400px) {
    .post-box { height: 200px; }
    .search-box { width: 75px; }
    .search-box input { width: 40px; }
    .search-box input:focus { width: 55px; }
    .logo { font-size: 1rem; }
}









/* ==========================================================
   ALL MOVIES PAGE SPECIFIC STYLES
   ========================================================== */

/* --- Page Title --- */
.page-title {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 0 12px rgba(157, 78, 221, 0.4);
}

/* --- Card Animations & Hover Effects --- */
@keyframes fadeUpCards {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.post-container {
    animation: fadeUpCards 0.8s ease-out forwards;
}

.post-box {
    transition: all 0.4s ease-in-out;
    border-radius: 10px;
}

.post-box:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 15px 35px rgba(157, 78, 221, 0.4);
    z-index: 10;
}

.post-img img {
    transition: transform 0.5s ease;
}

.post-box:hover .post-img img {
    transform: scale(1.1);
}

.main-slider-overlay i {
    transition: all 0.4s ease;
}

.post-box:hover .main-slider-overlay i {
    transform: scale(1.3) rotate(15deg);
    color: #9d4edd;
}

/* --- Top Badges & Rating Styling --- */
.top-badge-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    z-index: 5;
}

.main-slider-text .quality {
    background: rgba(10, 6, 18, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #e0aaff;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.rating {
    background: rgba(15, 10, 25, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.78rem;
    padding: 4px 9px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.rating i {
    color: #ffc107;
    font-size: 0.75rem;
}

/* --- Bottom Text & Categories --- */
.buttom-text {
    width: 100%;
}

.category {
    font-size: 0.78rem;
    color: #b8b8b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 5px;
    width: 100%;
}

.category a {
    color: #c77dff;
    transition: color 0.3s ease;
}

.category a:hover {
    color: #ffffff;
    text-shadow: 0 0 8px #9d4edd;
}

/* --- Dark Glassmorphic Pagination --- */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 45px auto 25px auto;
    width: 100%;
    flex-wrap: wrap;
}

.pagination .page-num,
.pagination .page-btn {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.85);
    padding: 8px 16px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.pagination .page-num:hover,
.pagination .page-btn:hover {
    background: rgba(157, 78, 221, 0.25);
    border-color: rgba(157, 78, 221, 0.6);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(157, 78, 221, 0.4);
}

.pagination .page-num.active {
    background: linear-gradient(135deg, #7b2cbf 0%, #9d4edd 100%);
    border-color: #c77dff;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 0 18px rgba(157, 78, 221, 0.7);
}


















/* ==========================================================
   ANIMATIONS & MOVIES PAGES SHARED STYLES
   ========================================================== */

/* --- Page Title --- */
.page-title {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 0 12px rgba(157, 78, 221, 0.4);
}

/* --- Card Animations & Hover Effects --- */
@keyframes fadeUpCards {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.post-container {
    animation: fadeUpCards 0.8s ease-out forwards;
}

.post-box {
    transition: all 0.4s ease-in-out;
    border-radius: 10px;
}

.post-box:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 15px 35px rgba(157, 78, 221, 0.4);
    z-index: 10;
}

.post-img img {
    transition: transform 0.5s ease;
}

.post-box:hover .post-img img {
    transform: scale(1.1);
}

.main-slider-overlay i {
    transition: all 0.4s ease;
}

.post-box:hover .main-slider-overlay i {
    transform: scale(1.3) rotate(15deg);
    color: #9d4edd;
}

/* --- Top Badges & Rating Styling (Glassmorphism) --- */
.top-badge-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    z-index: 5;
}

.main-slider-text .quality {
    background: rgba(10, 6, 18, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #e0aaff;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.rating {
    background: rgba(15, 10, 25, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.78rem;
    padding: 4px 9px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.rating i {
    color: #ffc107;
    font-size: 0.75rem;
}

/* --- Bottom Text & Categories --- */
.buttom-text {
    width: 100%;
}

.category {
    font-size: 0.78rem;
    color: #b8b8b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 5px;
    width: 100%;
}

.category a {
    color: #c77dff;
    transition: color 0.3s ease;
}

.category a:hover {
    color: #ffffff;
    text-shadow: 0 0 8px #9d4edd;
}

/* --- Dark Glassmorphic Pagination --- */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 45px auto 25px auto;
    width: 100%;
    flex-wrap: wrap;
}

.pagination .page-num,
.pagination .page-btn {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.85);
    padding: 8px 16px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.pagination .page-num:hover,
.pagination .page-btn:hover {
    background: rgba(157, 78, 221, 0.25);
    border-color: rgba(157, 78, 221, 0.6);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(157, 78, 221, 0.4);
}

.pagination .page-num.active {
    background: linear-gradient(135deg, #7b2cbf 0%, #9d4edd 100%);
    border-color: #c77dff;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 0 18px rgba(157, 78, 221, 0.7);
}














/* ==========================================================
   TV SHOWS, MOVIES & ANIMATIONS SHARED STYLES
   ========================================================== */

/* --- Page Title --- */
.page-title {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 0 12px rgba(157, 78, 221, 0.4);
}

/* --- Card Animations & Hover Effects --- */
@keyframes fadeUpCards {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.post-container {
    animation: fadeUpCards 0.8s ease-out forwards;
}

.post-box {
    transition: all 0.4s ease-in-out;
    border-radius: 10px;
}

.post-box:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 15px 35px rgba(157, 78, 221, 0.4);
    z-index: 10;
}

.post-img img {
    transition: transform 0.5s ease;
}

.post-box:hover .post-img img {
    transform: scale(1.1);
}

.main-slider-overlay i {
    transition: all 0.4s ease;
}

.post-box:hover .main-slider-overlay i {
    transform: scale(1.3) rotate(15deg);
    color: #9d4edd;
}

/* --- Top Badges & Rating Styling (Glassmorphism) --- */
.top-badge-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    z-index: 5;
}

.main-slider-text .quality {
    background: rgba(10, 6, 18, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #e0aaff;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.rating {
    background: rgba(15, 10, 25, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.78rem;
    padding: 4px 9px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.rating i {
    color: #ffc107;
    font-size: 0.75rem;
}

/* --- Bottom Text & Categories --- */
.buttom-text {
    width: 100%;
}

.category {
    font-size: 0.78rem;
    color: #b8b8b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 5px;
    width: 100%;
}

.category a {
    color: #c77dff;
    transition: color 0.3s ease;
}

.category a:hover {
    color: #ffffff;
    text-shadow: 0 0 8px #9d4edd;
}

/* --- Dark Glassmorphic Pagination --- */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 45px auto 25px auto;
    width: 100%;
    flex-wrap: wrap;
}

.pagination .page-num,
.pagination .page-btn {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.85);
    padding: 8px 16px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.pagination .page-num:hover,
.pagination .page-btn:hover {
    background: rgba(157, 78, 221, 0.25);
    border-color: rgba(157, 78, 221, 0.6);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(157, 78, 221, 0.4);
}

.pagination .page-num.active {
    background: linear-gradient(135deg, #7b2cbf 0%, #9d4edd 100%);
    border-color: #c77dff;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 0 18px rgba(157, 78, 221, 0.7);
}














/* ==========================================================
   MOVIE DETAIL & GLASSMORPHIC PLAYER STYLES
   ========================================================== */

.movie-player-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 110px 8% 60px 8%;
    background: #06040a;
    overflow: hidden;
    color: #ffffff;
}

.blur-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(55px) brightness(0.2);
    transform: scale(1.15);
    z-index: 0;
    pointer-events: none;
}

/* --- Universal Glass Card Effect --- */
.glass-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* --- Movie Main Content Box --- */
.movie-content {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 40px;
    align-items: flex-start;
    border-radius: 24px;
    padding: 35px;
    margin-bottom: 50px;
    transition: all 0.3s ease;
}

.movie-content:hover {
    border-color: rgba(157, 78, 221, 0.35);
    box-shadow: 0 20px 45px rgba(157, 78, 221, 0.2);
}

.main-poster {
    width: 280px;
    height: 410px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

.movie-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
}

/* --- Quality & Star Rating Badges --- */
.badges-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.movie-quality-badge {
    background: linear-gradient(135deg, #7b2cbf, #9d4edd);
    color: #ffffff;
    padding: 5px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(157, 78, 221, 0.4);
}

.movie-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(20, 15, 35, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 5px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.88rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.movie-rating-badge i {
    color: #ffc107;
    font-size: 0.85rem;
}

.movie-detail-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 8px;
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.movie-release-year {
    color: #cccccc;
    font-size: 0.95rem;
    margin-bottom: 18px;
}

.movie-release-year strong {
    color: #e0aaff;
}

.movie-description {
    font-size: 0.98rem;
    line-height: 1.75;
    color: #d1d1d1;
    margin-bottom: 22px;
    max-width: 850px;
}

.movie-categories {
    margin-bottom: 25px;
    font-size: 0.95rem;
    color: #e0e0e0;
}

.movie-categories strong {
    color: #9d4edd;
}

.movie-categories span {
    color: #c77dff;
}

/* --- Watch Button --- */
.watch-movie-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #9d4edd 0%, #7b2cbf 100%);
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 8px 25px rgba(157, 78, 221, 0.5);
}

.watch-movie-btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 35px rgba(157, 78, 221, 0.7);
    background: linear-gradient(135deg, #b5179e 0%, #9d4edd 100%);
}

.watch-movie-btn i {
    font-size: 0.9rem;
}

/* --- Top Characters Section --- */
.characters-section {
    position: relative;
    z-index: 2;
    margin-bottom: 50px;
}

.characters-section h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    border-left: 4px solid #9d4edd;
    padding-left: 12px;
}

.characters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 20px;
}

.character-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 16px;
    padding: 14px;
    transition: all 0.3s ease;
}

.character-box:hover {
    transform: translateY(-6px);
    border-color: rgba(157, 78, 221, 0.5);
    box-shadow: 0 12px 28px rgba(157, 78, 221, 0.35);
}

.character-box img {
    width: 100px;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.character-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #e0aaff;
    text-align: center;
    word-break: break-word;
}

/* --- Full Glassmorphic Video Player Section --- */
.video-player-section {
    position: relative;
    z-index: 2;
    display: none;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.video-player-section.active {
    display: block;
    animation: fadeUpCards 0.6s ease-out forwards;
}

.video-player-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    border-left: 4px solid #9d4edd;
    padding-left: 12px;
}

.video-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    padding: 12px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(157, 78, 221, 0.25);
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    outline: none;
    background: #000000;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .movie-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 25px;
    }

    .movie-info {
        align-items: center;
    }

    .main-poster {
        width: 220px;
        height: 320px;
    }

    .movie-detail-title {
        font-size: 1.8rem;
    }
}









/* ==========================================================
   MOVIE DETAIL & PLAYER PAGE STYLES
   ========================================================== */

.movie-player-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 120px 8% 70px 8%;
    background: #06040a;
    color: #ffffff;
    overflow: hidden;
}

/* --- Backdrop Ambient Image --- */
.blur-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 600px;
    background-size: cover;
    background-position: center;
    filter: blur(40px);
    opacity: 0.22;
    z-index: 0;
    pointer-events: none;
}

.backdrop-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 600px;
    background: linear-gradient(180deg, rgba(6, 4, 10, 0.4) 0%, #06040a 100%);
    z-index: 1;
    pointer-events: none;
}

/* --- Main Movie Content Card --- */
.movie-content {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 60px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    padding: 35px;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.main-poster {
    width: 260px;
    height: 380px;
    object-fit: cover;
    border-radius: 16px;
    border: 2px solid rgba(157, 78, 221, 0.4);
    box-shadow: 0 10px 25px rgba(157, 78, 221, 0.35);
    flex-shrink: 0;
}

.movie-info {
    flex: 1;
}

/* --- Badges Container --- */
.badge-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

/* FULL HD Badge */
.quality-badge {
    display: inline-block;
    background: #9d4edd;
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 0 12px rgba(157, 78, 221, 0.5);
}

/* Star Rating Pill Badge (تەقی وەکی وێنەیی) */
.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.rating-badge i {
    color: #f3ce13; /* زەرا ستێرکێ */
    font-size: 12px;
}

.movie-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.2;
}

.movie-meta {
    color: #cccccc;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.movie-meta strong {
    color: #e0aaff;
}

.movie-description {
    font-size: 0.98rem;
    line-height: 1.7;
    color: #dddddd;
    margin-bottom: 20px;
}

.categories-box {
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: #bbbbbb;
}

.categories-box span {
    color: #c77dff;
    font-weight: 500;
}

.imdb-box {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: #ffffff;
}

.rating-value {
    font-weight: 700;
    color: #f3ce13;
}

.imdb-icon {
    width: 38px;
    height: auto;
}

/* Watch Movie Action Button */
.watch-movie-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #7b2cbf, #9d4edd);
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(157, 78, 221, 0.4);
}

.watch-movie-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(157, 78, 221, 0.6);
    background: linear-gradient(135deg, #9d4edd, #c77dff);
}

/* --- Characters Grid Section --- */
.characters-section {
    position: relative;
    z-index: 2;
    margin-bottom: 50px;
}

.characters-section h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    border-left: 4px solid #9d4edd;
    padding-left: 12px;
}

.characters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 20px;
}

.character-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.character-box:hover {
    transform: translateY(-5px);
    border-color: rgba(157, 78, 221, 0.4);
    box-shadow: 0 10px 20px rgba(157, 78, 221, 0.25);
}

.character-box img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 8px;
}

.character-name {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #e0aaff;
    text-transform: capitalize;
    word-break: break-word;
}

/* --- Video Player Section --- */
.video-player-section {
    position: relative;
    z-index: 2;
    margin-top: 40px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 20px;
    transition: all 0.4s ease;
}

.video-player-section.hidden {
    display: none;
}

.video-player-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.video-container {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
    background: #000000;
}

.video-container video {
    width: 100%;
    max-height: 650px;
    display: block;
    outline: none;
}

/* --- Responsive Layout for Mobile --- */
@media (max-width: 850px) {
    .movie-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 25px;
    }

    .main-poster {
        width: 200px;
        height: 300px;
    }

    .badge-container, .imdb-box {
        justify-content: center;
    }

    .movie-title {
        font-size: 1.8rem;
    }
}


























/* ==========================================================
   TV SHOW PLAYER, SEASONS & EPISODES GLASSMORPHIC STYLES
   ========================================================== */

.tv-creator {
    color: #cccccc;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.tv-creator strong {
    color: #c77dff;
}

/* --- Seasons & Episodes Glass Container --- */
.seasons-section {
    position: relative;
    z-index: 2;
    margin-top: 40px;
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 40px;
}

.seasons-section h3 {
    color: #ffffff;
    margin-bottom: 25px;
    font-size: 1.4rem;
    font-weight: 700;
    border-left: 4px solid #9d4edd;
    padding-left: 12px;
}

/* --- Season Selector Cards --- */
.seasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 18px;
    margin-bottom: 30px;
}

.season-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.season-card:hover,
.season-card.active {
    border-color: rgba(157, 78, 221, 0.7);
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 30px rgba(157, 78, 221, 0.35);
    background: rgba(157, 78, 221, 0.15);
}

.season-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.season-card:hover img,
.season-card.active img {
    transform: scale(1.08);
}

.season-card span {
    display: block;
    text-align: center;
    padding: 12px;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

/* --- Season Episodes Section --- */
.season-episodes-content {
    display: none;
    animation: fadeUpCards 0.5s ease-out forwards;
}

.season-episodes-content.active {
    display: block;
}

.season-episodes-title {
    color: #e0aaff;
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 600;
}

.episodes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 18px;
}

.episode-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.episode-card:hover,
.episode-card.active {
    border-color: #9d4edd;
    background: rgba(157, 78, 221, 0.2);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(157, 78, 221, 0.4);
}

.episode-card img {
    width: 100%;
    height: 115px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.episode-card:hover img {
    transform: scale(1.08);
}

.episode-info {
    padding: 12px;
}

.episode-info span {
    display: block;
    color: #c77dff;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.episode-info h4 {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
    transition: color 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.episode-card:hover .episode-info h4 {
    color: #e0aaff;
}

/* --- TV Video Player Heading --- */
.video-player-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    border-left: 4px solid #9d4edd;
    padding-left: 12px;
}












/* ==========================================================
   ABOUT ME PAGE GLASSMORPHIC STYLES (CLEANED & UPDATED)
   ========================================================== */

.about-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 120px 8% 70px 8%;
    background: #06040a;
    overflow: hidden;
    color: #ffffff;
}

/* --- Background Ambient Light Orbs --- */
.bg-glow {
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.25;
    pointer-events: none;
    z-index: 0;
}

.bg-glow.one {
    top: 10%;
    left: -5%;
    background: #9d4edd;
}

.bg-glow.two {
    bottom: 15%;
    right: -5%;
    background: #7b2cbf;
}

/* --- Container & Animations --- */
.about-container {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    animation: fadeUpCards 0.8s ease-out forwards;
}

/* --- Header Section --- */
.about-header {
    text-align: center;
    margin-bottom: 35px;
}

.about-header h1 {
    font-size: 2.6rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.about-header h1 span {
    color: #9d4edd;
}

.purple-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #9d4edd, #c77dff);
    margin: 12px auto 0 auto;
    border-radius: 4px;
    box-shadow: 0 0 12px rgba(157, 78, 221, 0.8);
}

/* --- Intro Bio Card --- */
.about-bio {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #d1d1d1;
    text-align: center;
    padding: 25px 35px;
    border-radius: 20px;
    margin-bottom: 45px;
}

.about-bio strong {
    color: #e0aaff;
}

/* --- Owner Profile Card --- */
.owner-card {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 35px;
    border-radius: 24px;
    margin-bottom: 50px;
    transition: all 0.4s ease-in-out;
}

.owner-card:hover {
    border-color: rgba(157, 78, 221, 0.4);
    box-shadow: 0 20px 45px rgba(157, 78, 221, 0.25);
}

.owner-img-container {
    position: relative;
    flex-shrink: 0;
}

/* Owner Image (Rectangular, Soft Corners & Larger) */
.owner-img {
    width: 240px;
    height: 300px;
    object-fit: cover;
    border-radius: 16px;
    border: 3px solid #9d4edd;
    box-shadow: 0 10px 30px rgba(157, 78, 221, 0.45);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.owner-card:hover .owner-img {
    transform: scale(1.03) translateY(-4px);
    box-shadow: 0 15px 40px rgba(157, 78, 221, 0.6);
}

.owner-info {
    flex: 1;
}

.owner-tag {
    display: inline-block;
    background: linear-gradient(135deg, #7b2cbf, #9d4edd);
    color: #ffffff;
    padding: 4px 14px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    box-shadow: 0 4px 15px rgba(157, 78, 221, 0.4);
}

.owner-info h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.owner-info p {
    font-size: 0.96rem;
    line-height: 1.7;
    color: #cccccc;
}

/* --- Features Grid --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.feature-card {
    padding: 30px 25px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(157, 78, 221, 0.5);
    box-shadow: 0 15px 35px rgba(157, 78, 221, 0.3);
}

.icon-box {
    width: 65px;
    height: 65px;
    margin: 0 auto 20px auto;
    background: rgba(157, 78, 221, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(157, 78, 221, 0.4);
    box-shadow: 0 0 20px rgba(157, 78, 221, 0.3);
    transition: transform 0.4s ease;
}

.feature-card:hover .icon-box {
    transform: scale(1.1) rotate(5deg);
    background: rgba(157, 78, 221, 0.3);
}

.icon-box i {
    font-size: 1.6rem;
    color: #c77dff;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #bbbbbb;
}

/* --- Contact Box --- */
.about-contact-box {
    padding: 35px;
    border-radius: 24px;
    text-align: center;
}

.about-contact-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.about-contact-box p {
    font-size: 0.95rem;
    color: #cccccc;
    margin-bottom: 25px;
}

.about-socials {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(157, 78, 221, 0.4);
    border-color: #9d4edd;
    background: rgba(157, 78, 221, 0.2);
}

.social-btn.email i {
    color: #e0aaff;
}

.social-btn.instagram i {
    color: #e1306c;
}

/* --- Responsive Adjustments (Mobile & Tablet) --- */
@media (max-width: 850px) {
    .owner-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .owner-img {
        width: 200px;
        height: 250px;
    }

    .about-header h1 {
        font-size: 2.1rem;
    }
}

    .about-header h1 {
        font-size: 2.1rem;
    }











/* ==========================================
   Breadcrumb Navigation Styles (Ultra-VIP Neon Glass UI)
   ========================================== */
.breadcrumb-navigation {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
    margin-bottom: 25px;
    font-size: 0.88rem;
    position: relative;
    z-index: 5;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(157, 78, 221, 0.05) 50%, rgba(10, 10, 15, 0.4) 100%);
    padding: 8px 20px;
    border-radius: 50px;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.5),
                0 0 20px rgba(157, 78, 221, 0.15),
                inset 0 1px 1px rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.breadcrumb-navigation:hover {
    border-color: rgba(157, 78, 221, 0.4);
    box-shadow: 0 12px 35px -5px rgba(0, 0, 0, 0.6),
                0 0 30px rgba(157, 78, 221, 0.25),
                inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.breadcrumb-navigation a {
    color: #e2c0ff;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    border-radius: 30px;
    background: rgba(157, 78, 221, 0.15);
    border: 1px solid rgba(157, 78, 221, 0.25);
    backdrop-filter: blur(5px);
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    overflow: hidden;
}

/* Light Shimmer Effect on Hover */
.breadcrumb-navigation a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.5s ease;
}

.breadcrumb-navigation a:hover::before {
    left: 100%;
}

.breadcrumb-navigation a:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #9d4edd 0%, #7b2cbf 100%);
    border-color: #e0aaff;
    box-shadow: 0 0 20px rgba(157, 78, 221, 0.7),
                0 4px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px) scale(1.02);
}

.breadcrumb-navigation a i {
    font-size: 0.85rem;
    color: #c8b6ff;
    transition: all 0.3s ease;
}

.breadcrumb-navigation a:hover i {
    color: #ffffff;
    transform: scale(1.2) rotate(-5deg);
}

.breadcrumb-navigation .separator {
    font-size: 0.7rem;
    color: rgba(157, 78, 221, 0.6);
    margin: 0 1px;
    filter: drop-shadow(0 0 5px rgba(157, 78, 221, 0.5));
}

.breadcrumb-navigation .current-page {
    color: #ffffff;
    font-weight: 600;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 240px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Green Active Indicator Dot for Current Page */
.breadcrumb-navigation .current-page::before {
    content: '';
    width: 6px;
    height: 6px;
    background-color: #00ff88;
    border-radius: 50%;
    box-shadow: 0 0 8px #00ff88;
    flex-shrink: 0;
}











/* ==========================================================
   Z film.co - Clean Glassmorphic Theme & Layout Style
   ========================================================== */

:root {
    --primary-color: #9d4edd;
    --primary-hover: #7b2cbf;
    --primary-light: #c77dff;
    --primary-soft: #e0aaff;
    --primary-glow: rgba(157, 78, 221, 0.4);
    --primary-glow-strong: rgba(157, 78, 221, 0.75);

    --bg-dark: #050308;
    --bg-theme-gradient: radial-gradient(circle at 50% -15%, rgba(157, 78, 221, 0.3), rgba(5, 3, 8, 1) 75%);
    --glass-card-bg: rgba(157, 78, 221, 0.1);
    --glass-card-hover: rgba(157, 78, 221, 0.2);

    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-border-light: rgba(255, 255, 255, 0.2);
    --glass-blur: blur(25px);

    --text-color: #ffffff;
    --text-sub: #e2e2e2;
    --text-muted: #bcbcbc;
    --star-color: #ffc107;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-dark);
    background-image: var(--bg-theme-gradient);
    background-attachment: fixed;
    background-size: cover;
    color: var(--text-color);
    overflow-x: hidden;
    min-height: 100vh;
    transition: background 0.5s ease;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
    box-shadow: 0 0 10px var(--primary-glow);
}

/* Scroll Progress - Fixed Circle */
#progress {
    position: fixed;
    bottom: 25px;
    right: 25px;
    height: 50px !important;
    width: 50px !important;
    min-width: 50px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
    border: 1px solid var(--glass-border-light);
    backdrop-filter: var(--glass-blur);
    flex-shrink: 0;
}

#progress:hover {
    transform: scale(1.1);
}

#progress-value {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 42px !important;
    width: 42px !important;
    min-width: 42px;
    min-height: 42px;
    background-color: var(--bg-dark);
    border-radius: 50%;
    color: var(--text-color);
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* Navigation */
.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    width: 90%;
    max-width: 1250px;
    margin: 15px auto 0 auto;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    transition: all 0.4s ease;
    background: rgba(10, 7, 18, 0.75);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border-light);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 15px var(--primary-glow);
}

/* Fixed Navigation State (Keeps the gorgeous floating card layout intact) */
.navigation.fix-icon {
    background: rgba(10, 7, 18, 0.92);
    width: 90%;
    max-width: 1250px;
    margin: 10px auto 0 auto;
    border-radius: 16px;
    padding: 15px 5%;
    box-shadow: 0 15px 40px rgba(0,0,0,0.8), 0 0 25px var(--primary-glow);
    border: 1px solid var(--glass-border-light);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-color);
}

.logo span {
    color: var(--primary-light);
    text-shadow: 0 0 10px var(--primary-glow);
}

.menu {
    display: flex;
    gap: 8px;
    align-items: center;
}

.menu li a {
    color: var(--text-sub);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid transparent;
}

.menu li a:hover,
.menu li a.active {
    color: var(--text-color);
    background: var(--glass-card-bg);
    border: 1px solid var(--glass-border-light);
    box-shadow: 0 0 15px var(--primary-glow);
}

.nav-right-tools {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Theme Toggle Button */
.theme-toggle-btn {
    background: var(--glass-card-bg);
    border: 1px solid var(--glass-border-light);
    color: var(--text-color);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 0 10px var(--primary-glow);
}

.theme-toggle-btn:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 0 20px var(--primary-glow-strong);
    border-color: var(--primary-light);
    color: var(--primary-light);
}

/* Search Box */
.search-box {
    display: flex;
    align-items: center;
    background: var(--glass-card-bg);
    border: 1px solid var(--glass-border-light);
    border-radius: 30px;
    padding: 6px 14px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 0 10px var(--primary-glow);
}

.search-box:focus-within {
    border-color: var(--primary-light);
    box-shadow: 0 0 20px var(--primary-glow-strong);
}

.search-box input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-color);
    font-size: 0.85rem;
    width: 120px;
    transition: width 0.3s ease;
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.search-box input:focus {
    width: 160px;
}

.search-box button {
    background: transparent;
    border: none;
    color: var(--text-sub);
    cursor: pointer;
    font-size: 0.85rem;
}

.search-box button:hover {
    color: var(--primary-light);
}

.menu-btn, .menu-icon {
    display: none;
}

/* Theme Picker Modal */
.theme-picker-modal {
    position: fixed;
    top: 85px;
    right: 8%;
    background: rgba(12, 8, 22, 0.92);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border-light);
    box-shadow: 0 25px 50px rgba(0,0,0,0.8), 0 0 35px var(--primary-glow);
    border-radius: 20px;
    padding: 20px;
    z-index: 1000;
    width: 250px;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.theme-picker-modal.active {
    display: flex;
}

.theme-picker-modal h3 {
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 700;
}

.colors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    width: 100%;
}

.color-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--btn-color);
    border: 3px solid rgba(255,255,255,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    outline: none;
    box-shadow: 0 0 10px var(--btn-color);
}

.color-circle:hover {
    transform: scale(1.15);
    border-color: #ffffff;
}

.color-circle.active {
    border-color: #ffffff;
    box-shadow: 0 0 20px var(--btn-color);
}

.color-circle.active::after {
    content: '✓';
    color: #ffffff;
    font-size: 1rem;
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Hero Section */
#main-slider {
    margin-top: 110px;
    padding: 20px 8%;
    max-width: 1350px;
    margin-left: auto;
    margin-right: auto;
}

/* Unified Glass Cards (main-slider-box & post-box) */
.main-slider-box,
.post-box {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: var(--glass-card-bg);
    border: 1px solid var(--glass-border-light);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4), inset 0 0 15px var(--primary-glow);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.main-slider-box:hover,
.post-box:hover {
    background: var(--glass-card-hover);
    border-color: var(--primary-light);
    box-shadow: 0 12px 35px var(--primary-glow-strong), inset 0 0 20px var(--primary-glow);
    transform: translateY(-6px);
}

.main-slider-img, .post-img {
    width: 100%;
    height: 330px;
    position: relative;
    overflow: hidden;
}

#main-slider .main-slider-img {
    height: 420px;
}

.main-slider-img img, .post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.main-slider-box:hover .main-slider-img img,
.post-box:hover .post-img img,
.main-slider-box:hover .post-img img {
    transform: scale(1.06);
}

/* Unified Hover Overlay & Play Icon (Synced with Website Theme Color) */
.main-slider-overlay,
.post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    z-index: 3;
    transition: opacity 0.4s ease;
}

.main-slider-overlay i,
.post-overlay i {
    font-size: 2.2rem;
    color: #ffffff !important;
    background: var(--primary-color) !important;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 25px var(--primary-glow-strong) !important;
    transition: transform 0.3s ease;
}

.main-slider-box:hover .main-slider-overlay,
.post-box:hover .main-slider-overlay,
.post-box:hover .post-overlay,
.main-slider-box:hover .post-overlay,
.post-img:hover .main-slider-overlay,
.post-img:hover .post-overlay {
    opacity: 1;
}

.main-slider-box:hover .main-slider-overlay i,
.post-box:hover .main-slider-overlay i,
.post-box:hover .post-overlay i,
.main-slider-box:hover .post-overlay i,
.post-img:hover .main-slider-overlay i,
.post-img:hover .post-overlay i {
    transform: scale(1.1);
}

.main-slider-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 14px;
    pointer-events: none;
    z-index: 2;
}

.main-slider-text * {
    pointer-events: auto;
}

.top-badge-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 8px;
}

.quality {
    background: rgba(10, 7, 18, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border-light);
    color: var(--primary-light);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    box-shadow: 0 0 8px var(--primary-glow);
}

.rating {
    background: rgba(10, 7, 18, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border-light);
    color: var(--star-color);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 0 8px rgba(255, 193, 7, 0.3);
}

.bottom-text {
    background: linear-gradient(180deg, transparent 0%, rgba(5, 3, 8, 0.95) 70%);
    padding: 12px;
    margin: -14px;
    margin-top: auto;
    border-radius: 0 0 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
}

.movie-name {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.movie-name span {
    color: var(--primary-light);
    font-size: 0.75rem;
    font-weight: 600;
    text-shadow: 0 0 8px var(--primary-glow);
}

.movie-name strong {
    color: var(--text-color);
    font-size: 0.92rem;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.category {
    color: var(--text-sub);
    font-size: 0.75rem;
}

/* Slider Controls */
.slider-btns {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    padding: 0 8% 20px 8%;
    max-width: 1350px;
    margin-left: auto;
    margin-right: auto;
}

.swiper-button-next,
.swiper-button-prev {
    position: static !important;
    width: 40px !important;
    height: 40px !important;
    background: var(--glass-card-bg);
    border: 1px solid var(--glass-border-light);
    border-radius: 50%;
    color: var(--text-color) !important;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px var(--primary-glow);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 0.9rem !important;
    font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--primary-color);
    box-shadow: 0 0 20px var(--primary-glow-strong);
    border-color: var(--primary-light);
}

/* Sections */
#latest, #latest-2, #latest-3 {
    padding: 30px 8%;
    max-width: 1350px;
    margin-left: auto;
    margin-right: auto;
}

/* Fixed Heading Section: Dark Glass & Low Color Impact */
.latest-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    background: rgba(12, 8, 20, 0.65);
    border-radius: 12px;
    padding: 12px 20px;
    border: 1px solid var(--glass-border);
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}

.latest-heading h1 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-color);
}

.view-all-btn {
    color: var(--primary-light);
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-shadow: 0 0 8px var(--primary-glow);
}

.view-all-btn:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.post-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 22px;
}

/* Footer */
footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 8%;
    border-top: 1px solid var(--glass-border-light);
    background: rgba(10, 7, 18, 0.85);
    backdrop-filter: var(--glass-blur);
    margin-top: 50px;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.5);
}

.copyright {
    color: var(--text-sub);
    font-size: 0.85rem;
}

.copyright a {
    color: var(--primary-light);
    text-shadow: 0 0 8px var(--primary-glow);
}

/* Responsive */
@media (max-width: 900px) {
    .navigation {
        width: 100%;
        margin: 0;
        border-radius: 0;
        padding: 15px 5%;
        border-left: none;
        border-right: none;
        border-top: none;
    }

    .menu-icon {
        display: block;
        cursor: pointer;
    }

    .menu-btn:checked ~ .menu {
        display: flex;
    }

    .menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 7, 18, 0.95);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        flex-direction: column;
        padding: 20px;
        border: 1px solid var(--glass-border-light);
        border-top: none;
        border-radius: 0 0 16px 16px;
        box-shadow: 0 15px 30px rgba(0,0,0,0.8);
    }

    .menu li a {
        font-size: 1.1rem;
        padding: 10px;
        width: 100%;
        text-align: center;
    }

    #main-slider, #latest, #latest-2, #latest-3 {
        padding: 20px 5%;
    }

    .theme-picker-modal {
        right: 5%;
    }

    footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}