                                                                /* @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap'); */
                                                                
                                                                @import url('https://fonts.googleapis.com/css2?family=Noto+Kufi+Arabic:wght@100..900&family=Poppins:wght@200;400;500;600;700;800&family=Rubik:ital,wght@0,300..900;1,300..900&family=Tajawal:wght@200;300;400;500;700;800;900&display=swap');
                                                                * {
                                                                    font-family: "Tajawal", sans-serif;
                                                                    margin: 0;
                                                                    padding: 0;
                                                                    scroll-behavior: smooth;
                                                                    box-sizing: border-box;
                                                                    scroll-padding-top: 2rem;
                                                                }
                                                                /* Some Varibles */
                                                                
                                                                 :root {
                                                                    --main-color: rgba(255, 0, 0, 0.733);
                                                                    --hover-color: hsl(37, 94%, 57%);
                                                                    --body-color: #0d0d0e;
                                                                    --container-color: #2d2e37;
                                                                    --text-color: #fcfeff;
                                                                    --search-color: #19191a;
                                                                }
                                                                /* stom Scroll Bar */
                                                                
                                                                 ::selection {
                                                                    background-color: var(--main-color);
                                                                    color: var(--text-color);
                                                                }
                                                                
                                                                html::-webkit-scrollbar {
                                                                    width: 0.5rem;
                                                                    background: transparent;
                                                                }
                                                                
                                                                html::-webkit-scrollbar-thumb {
                                                                    background-color: var(--main-color);
                                                                }
                                                                
                                                                a {
                                                                    text-decoration: none;
                                                                }
                                                                
                                                                li {
                                                                    list-style: none;
                                                                }
                                                                
                                                                section {
                                                                    padding: 3rem 0 2rem;
                                                                }
                                                                
                                                                img {
                                                                    width: 100%;
                                                                }
                                                                
                                                                .bx {
                                                                    cursor: pointer;
                                                                }
                                                                
                                                                body {
                                                                    background-color: var(--body-color);
                                                                    color: var(--text-color);
                                                                    overflow-x: hidden !important;
                                                                }
                                                                
                                                                .container {
                                                                    width: 100%;
                                                                }
                                                                
                                                                header {
                                                                    position: fixed;
                                                                    top: 0;
                                                                    left: 0;
                                                                    width: 100%;
                                                                    background-color: var(--body-color);
                                                                    z-index: 100;
                                                                }
                                                                /* Nav */
                                                                
                                                                .nav {
                                                                    display: flex;
                                                                    align-items: center;
                                                                    /* justify-content: center; */
                                                                    padding: 20px 0;
                                                                }
                                                                /* Logo */
                                                                
                                                                .logo {
                                                                    color: var(--text-color);
                                                                    font-weight: 600;
                                                                    text-transform: uppercase;
                                                                    margin-left: auto;
                                                                    font-size: 25px;
                                                                }
                                                                
                                                                .logo span {
                                                                    color: #971610;
                                                                    font-size: 15px;
                                                                }
                                                                /* Search Box */
                                                                
                                                                .search-box {
                                                                    max-width: 240px;
                                                                    width: 100%;
                                                                    display: flex;
                                                                    align-items: center;
                                                                    column-gap: 0.7rem;
                                                                    padding: 8px 15px;
                                                                    background-color: var(--search-color);
                                                                    border-radius: 4rem;
                                                                    margin-right: 1rem;
                                                                }
                                                                
                                                                .search-box .bx {
                                                                    font-size: 1.1rem;
                                                                }
                                                                
                                                                .search-box .bx:hover {
                                                                    color: var(--main-color);
                                                                }
                                                                
                                                                #search-input {
                                                                    width: 100%;
                                                                    border: none;
                                                                    outline: none;
                                                                    color: var(--text-color);
                                                                    background: transparent;
                                                                    font-size: 0.938rem;
                                                                    text-align: end;
                                                                }
                                                                /* Language */
                                                                /* CSS */
                                                                
                                                                .language-toggle {
                                                                    width: 80px;
                                                                    /* border: 1px solid #ccc; */
                                                                    border-radius: 20px;
                                                                    padding: 5px 10px;
                                                                    cursor: pointer;
                                                                    display: flex;
                                                                    justify-content: center;
                                                                    align-items: center;
                                                                    transition: background 0.3s;
                                                                }
                                                                
                                                                .toggle-button {
                                                                    display: flex;
                                                                    align-items: center;
                                                                    gap: 6px;
                                                                    font-size: 14px;
                                                                    transition: all 0.3s ease;
                                                                }
                                                                
                                                                .toggle-button img {
                                                                    width: 20px;
                                                                    height: 15px;
                                                                    border-radius: 2px;
                                                                }
                                                                /* User */
                                                                
                                                                .user {
                                                                    display: flex;
                                                                    margin-right: 10px;
                                                                }
                                                                
                                                                .user-img {
                                                                    width: 45px;
                                                                    height: 45px;
                                                                    border-radius: 50%;
                                                                    object-position: center;
                                                                }
                                                                /* Navbar */
                                                                
                                                                /* Modern Floating Navbar */
.navbar {
    position: fixed;
    top: 55%;
    transform: translateY(-50%);
    right: 20px;
    display: flex;
    flex-direction: column;
    row-gap: 1.2rem;
    z-index: 1000;
    background: rgba(15, 18, 28, 0.9);
    padding: 20px 12px;
    border-radius: 2.5rem;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #94a3b8;
    transition: all 0.4s ease;
    padding: 4px 0;
}

.nav-icon-container {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.04);
    margin-bottom: 5px;
    font-size: 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.nav-link:hover .nav-icon-container,
.nav-active .nav-icon-container {
    background: rgba(220, 38, 38, 0.3);
    color: #fff;
    transform: translateY(-3px) scale(1.08);
    border-color: rgba(220, 38, 38, 0.4);
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.25);
}

.nav-link-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.02em;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.nav-link:hover .nav-link-title,
.nav-active .nav-link-title {
    opacity: 1;
    color: #fff;
    font-weight: 800;
}
                                                                /* Home */
                                                                
                                                                .home {
                                                                    position: relative;
                                                                    min-height: 470px;
                                                                    display: flex;
                                                                    align-items: center;
                                                                    margin-top: 5rem !important;
                                                                    border-radius: 0.5rem;
                                                                }
                                                                
                                                                .home-img {
                                                                    position: absolute;
                                                                    width: 100%;
                                                                    height: 100%;
                                                                    z-index: -2;
                                                                    object-fit: cover;
                                                                    border-radius: 0.5rem;
                                                                }
                                                                
                                                                .overlay {
                                                                    position: absolute;
                                                                    /* top: 0;
    left: 0; */
                                                                    width: 100%;
                                                                    height: 100%;
                                                                    background: rgba(0, 0, 0, 0.541);
                                                                    /* اللون الأسود بخلفية شفافة */
                                                                    z-index: -1;
                                                                }
                                                                
                                                                .home-text {
                                                                    padding-right: 40px;
                                                                    width: 100%;
                                                                    text-align: end;
                                                                }
                                                                
                                                                .home-title {
                                                                    font-size: 2rem;
                                                                    font-weight: 600;
                                                                }
                                                                
                                                                .home-text p {
                                                                    font-size: 1.5rem;
                                                                    font-weight: 500;
                                                                    margin: 10px 0 20px;
                                                                    /* color: var(--main-color); */
                                                                }
                                                                
                                                                .watch-btn {
                                                                    display: flex;
                                                                    align-items: center;
                                                                    column-gap: 0.8rem;
                                                                    color: var(--text-color);
                                                                    justify-content: end;
                                                                }
                                                                
                                                                .watch-btn .bx {
                                                                    font-size: 21px;
                                                                    background: var(--main-color);
                                                                    width: 40px;
                                                                    height: 40px;
                                                                    border-radius: 50%;
                                                                    display: flex;
                                                                    align-items: center;
                                                                    justify-content: center;
                                                                }
                                                                
                                                                .watch-btn span {
                                                                    font-size: 1rem;
                                                                    font-weight: 400;
                                                                    text-decoration: underline;
                                                                }
                                                                /* Heading */
                                                                
                                                                .heading {
                                                                    display: flex;
                                                                    align-items: center;
                                                                    justify-content: space-between;
                                                                    background: var(--search-color);
                                                                    padding: 8px 14px;
                                                                    /* border: 1px solid hsl(200 100% 99% / 5%); */
                                                                    /* margin-bottom: 2rem; */
                                                                }
                                                                
                                                                .heading-title {
                                                                    font-size: 1.2rem;
                                                                    font-weight: 600;
                                                                }
                                                                /* Movie Box */
                                                                
                                                                .popular {
                                                                    padding: 0rem 0 0 0;
                                                                }
                                                                
                                                                .movie-box {
                                                                    position: relative;
                                                                    width: 100%;
                                                                    height: 200px;
                                                                    overflow: hidden;
                                                                }
                                                                
                                                                .movie-box-img {
                                                                    width: 100%;
                                                                    height: 100%;
                                                                    object-fit: cover;
                                                                }
                                                                
                                                                .movie-box .box-text {
                                                                    position: absolute;
                                                                    bottom: 0;
                                                                    left: 0;
                                                                    width: 100%;
                                                                    height: 100%;
                                                                    display: flex;
                                                                    flex-direction: column;
                                                                    justify-content: flex-end;
                                                                    padding: 14px;
                                                                    background: linear-gradient(8deg, hsl(238.15deg 17.27% 86.68% / 74%) 14%, hsl(240 17% 14% / 14%) 14%);
                                                                    overflow: hidden;
                                                                }
                                                                
                                                                .movie-title {
                                                                    font-size: 1.1rem;
                                                                    font-weight: 500;
                                                                }
                                                                
                                                                .movie-type {
                                                                    font-size: 0.938rem;
                                                                    color: red;
                                                                }
                                                                
                                                                .movie-box {
                                                                    position: relative;
                                                                    overflow: hidden;
                                                                }
                                                                
                                                                .movie-box-img {
                                                                    transition: transform 0.3s ease;
                                                                    /* تأثير سلاسي على الصورة */
                                                                }
                                                                /* عند التمرير على الصورة، سنقوم بإزالة الخلفية السوداء وتكبير الصورة قليلاً */
                                                                
                                                                .movie-box:hover .movie-box-img {
                                                                    transform: scale(1.1);
                                                                    /* تكبير الصورة قليلاً */
                                                                }
                                                                /* إضافة خلفية داكنة عند البداية */
                                                                
                                                                .movie-box::after {
                                                                    cursor: pointer;
                                                                    content: '';
                                                                    position: absolute;
                                                                    top: 0;
                                                                    left: 0;
                                                                    right: 0;
                                                                    bottom: 0;
                                                                    background: rgba(0, 0, 0, 0.4);
                                                                    /* خلفية سوداء خفيفة */
                                                                    opacity: 1;
                                                                    /* الخلفية مرئية في البداية */
                                                                    transition: opacity 0.3s ease;
                                                                    /* تأثير سلاسي على الخلفية */
                                                                }
                                                                /* عند التمرير على الصورة، نخفي الخلفية السوداء */
                                                                
                                                                .movie-box:hover::after {
                                                                    opacity: 0;
                                                                    /* إخفاء الخلفية عند التمرير */
                                                                }
                                                                
                                                                .play-btn {
                                                                    position: absolute;
                                                                    bottom: 0.8rem;
                                                                    right: 0.8rem;
                                                                }
                                                                
                                                                .swiper-btn {
                                                                    display: flex;
                                                                }
                                                                
                                                                .swiper-button-next,
                                                                .swiper-button-prev {
                                                                    position: static !important;
                                                                    margin: 0 0 0 10px !important;
                                                                }
                                                                
                                                                .swiper-button-next::after,
                                                                .swiper-button-prev::after {
                                                                    color: var(--text-color);
                                                                    font-size: 18px !important;
                                                                    font-weight: 700;
                                                                }
                                                                /* Footer */
                                                                
                                                                .row {
                                                                    display: flex;
                                                                    flex-wrap: wrap;
                                                                    justify-content: end;
                                                                }
                                                                
                                                                .footer {
                                                                    text-align: end;
                                                                    background-color: black;
                                                                    padding: 70px 0;
                                                                    margin-top: 4rem;
                                                                }
                                                                
                                                                .footer-col {
                                                                    width: 30%;
                                                                    padding: 0 15px;
                                                                }
                                                                
                                                                .footer-col h4 {
                                                                    font-size: 18px;
                                                                    color: #ffffff;
                                                                    text-transform: capitalize;
                                                                    margin-bottom: 35px;
                                                                    font-weight: 500;
                                                                    position: relative;
                                                                }
                                                                
                                                                .footer-col h4::before {
                                                                    right: 0;
                                                                    content: '';
                                                                    position: absolute;
                                                                    bottom: -10px;
                                                                    background-color: var(--main-color);
                                                                    height: 2px;
                                                                    box-sizing: border-box;
                                                                    width: 50px;
                                                                }
                                                                
                                                                .footer-col ul li:not(:last-child) {
                                                                    margin-bottom: 10px;
                                                                }
                                                                
                                                                .footer-col ul li a {
                                                                    font-size: 16px;
                                                                    text-transform: capitalize;
                                                                    color: #ffffff;
                                                                    text-decoration: none;
                                                                    font-weight: 300;
                                                                    color: #bbbbbb;
                                                                    display: block;
                                                                    transition: all 0.3s ease;
                                                                }
                                                                
                                                                .footer-col ul li a:hover {
                                                                    color: var(--main-color);
                                                                    padding-left: 8px;
                                                                }
                                                                
                                                                .footer-col .social-links a {
                                                                    display: inline-block;
                                                                    height: 40px;
                                                                    width: 40px;
                                                                    background-color: rgba(51, 51, 51, 0.2);
                                                                    margin: 0 10px 10px 0;
                                                                    text-align: center;
                                                                    line-height: 40px;
                                                                    border-radius: 50%;
                                                                    color: #ffffff;
                                                                    transition: all 0.5s ease;
                                                                }
                                                                
                                                                .footer-col .social-links a:hover {
                                                                    color: white;
                                                                    background-color: var(--main-color);
                                                                }
                                                                
                                                                .footer-bottom a {
                                                                    color: var(--main-color);
                                                                }
                                                                
                                                                .footer-bottom {
                                                                    background-color: #000000;
                                                                }
                                                                
                                                                .app-download-links {
                                                                    display: flex;
                                                                    justify-content: center;
                                                                    /* أو space-between لو تحبهم يتباعدوا */
                                                                    align-items: center;
                                                                    gap: 10px;
                                                                    /* مسافة بين الصور */
                                                                    flex-wrap: wrap;
                                                                    /* لو الشاشة ضيقة، الصور تنزل تحت بعض */
                                                                }
                                                                
                                                                .store-icon {
                                                                    border-radius: 10px 10px;
                                                                    width: 130px;
                                                                    max-width: 100%;
                                                                    height: auto;
                                                                    transition: transform 0.3s ease;
                                                                }
                                                                
                                                                .store-icon:hover {
                                                                    transform: scale(1.05);
                                                                }
                                                                /*responsive*/
                                                                
                                                                @media(max-width: 767px) {
                                                                    .footer-col {
                                                                        width: 50%;
                                                                        margin-bottom: 30px;
                                                                    }
                                                                }
                                                                
                                                                @media(max-width: 574px) {
                                                                    .footer-col {
                                                                        width: 100%;
                                                                    }
                                                                }
                                                                
                                                                @media(max-width:1170px) {
                                                                    .navbar {
                                                                        bottom: 0;
                                                                        left: 0;
                                                                        right: 0;
                                                                        top: auto;
                                                                        transform: translateY(0);
                                                                        flex-direction: row;
                                                                        justify-content: space-evenly;
                                                                        row-gap: 1px;
                                                                        padding: 10px;
                                                                        border-top: 1px solid hsl(200 100% 99% / 5%);
                                                                        background: #19191a
                                                                    }
                                                                    .nav-link .bx {
                                                                        font-size: 1.5rem;
                                                                    }
                                                                    .footer-bottom {
                                                                        padding-bottom: 70px;
                                                                        text-align: center;
                                                                        background-color: #000000;
                                                                    }
                                                                }
                                                                
                                                                @media(max-width:1060px) {
                                                                    .container {
                                                                        margin: 0 auto;
                                                                        width: 95%;
                                                                    }
                                                                }
                                                                
                                                                @media(max-width:888px) {
                                                                    .nav {
                                                                        padding: 14px 0;
                                                                    }
                                                                    .home {
                                                                        min-height: 440px;
                                                                        margin-top: 4rem !important;
                                                                    }
                                                                    .home-text {
                                                                        padding-right: 25px;
                                                                    }
                                                                    .home-title {
                                                                        font-size: 1.6rem;
                                                                    }
                                                                    .watch-btn span {
                                                                        font-size: 0.9rem;
                                                                    }
                                                                }
                                                                /* For Medium Devices */
                                                                
                                                                @media(max-width:768px) {
                                                                    .nav {
                                                                        padding: 11px 0;
                                                                    }
                                                                    .logo {
                                                                        font-size: 1.2rem;
                                                                    }
                                                                    section {
                                                                        padding: 2rem 0;
                                                                    }
                                                                    .movie-type,
                                                                    p {
                                                                        font-size: 0.875rem;
                                                                    }
                                                                    .home-text p {
                                                                        font-size: 1.1rem;
                                                                    }
                                                                }
                                                                
                                                                @media(max-width:514px) {
                                                                    .home {
                                                                        min-height: 380px;
                                                                    }
                                                                    .heading-title {
                                                                        font-size: 1rem;
                                                                    }
                                                                    .home-text p {
                                                                        width: 90%;
                                                                    }
                                                                    .footer {
                                                                        padding: 35px 0;
                                                                    }
                                                                }
                                                                
                                                                @media(max-width:420px) {
                                                                    * {
                                                                        scroll-padding-top: 5rem;
                                                                    }
                                                                    .nav {
                                                                        display: grid;
                                                                        grid-template-columns: 1fr;
                                                                        grid-template-rows: 1fr 1fr;
                                                                        row-gap: 5px;
                                                                    }
                                                                    .search-box {
                                                                        max-width: 100%;
                                                                        width: 100%;
                                                                        border-radius: 4px;
                                                                        order: 3;
                                                                        grid-column-start: 1;
                                                                        grid-column-end: 3;
                                                                    }
                                                                    .home {
                                                                        margin-top: 7rem !important;
                                                                    }
                                                                }
                                                                /* For small device */
                                                                
                                                                @media(max-width:370px) {
                                                                    .home {
                                                                        min-height: 300px;
                                                                    }
                                                                    .user-img,
                                                                    .watch-btn .bx {
                                                                        width: 35px;
                                                                        height: 35px;
                                                                    }
                                                                    .navbar {
                                                                        justify-content: space-around;
                                                                        padding: 8px 0;
                                                                    }
                                                                    .watch-btn .bx {
                                                                        font-size: 1.4rem;
                                                                    }
                                                                }

/* === FIX RELATED CHANNELS SIZE === */
.related-channels {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding: 10px 0;
  scroll-behavior: smooth;
}

.related-channel-card {
  min-width: 110px;
  max-width: 110px;
  flex: 0 0 auto;
  border-radius: 10px;
  overflow: hidden;
  background: #111;
  transition: transform 0.2s ease;
}

.related-channel-card:hover {
  transform: scale(1.05);
}

.related-channel-card img {
  width: 100%;
  height: 70px;
  object-fit: cover;
}

.related-channel-card span {
  display: block;
  font-size: 11px;
  text-align: center;
  padding: 5px;
  color: #fff;
}

@media (max-width: 600px) {
  .related-channel-card {
    min-width: 90px;
    max-width: 90px;
  }

  .related-channel-card img {
    height: 60px;
  }
}


/* FIX SLIDER OVERFLOW */
body {
  overflow-x: hidden;
}

.channels-slider,
.related-channels,
.slider-wrapper {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
}

.channels-slider-track,
.related-track {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  width: 100%;
}

.channel-card,
.related-channel-card {
  flex: 0 0 auto;
  width: 95px;
  max-width: 95px;
  border-radius: 8px;
  overflow: hidden;
}

.channel-card img,
.related-channel-card img {
  width: 100%;
  height: 55px;
  object-fit: cover;
}


/* === Homepage slider stability fix === */
.populer-content.swiper,
.populer-content {
  width: 100%;
  max-width: 100%;
  overflow: hidden !important;
}

.populer-content .swiper-wrapper {
  align-items: stretch;
}

.populer-content .swiper-slide {
  box-sizing: border-box;
  height: auto;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.populer-content .movie-box {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 14px;
}

.populer-content .movie-box-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 769px) {
  .populer-content .swiper-slide {
    transform: none !important;
  }
}


/* === Modern Cohesive Footer === */
.footer-main {
    background: #0d101a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-section-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-section-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 0;
    width: 24px;
    height: 2px;
    background: #ef2222;
    border-radius: 99px;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 6px 0;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #fff;
    transform: translateX(-5px);
}

.social-grid {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-icon-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    color: #94a3b8;
    font-size: 1.25rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-icon-btn:hover {
    background: rgba(239, 34, 34, 0.2);
    color: #fff;
    border-color: rgba(239, 34, 34, 0.3);
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 10px 20px rgba(239, 34, 34, 0.15);
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #000;
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 10px 18px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.store-btn:hover {
    background: #111;
    border-color: #ef2222;
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.store-btn i {
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.store-btn:hover i {
    transform: scale(1.1);
}

.store-btn-text span {
    display: block;
    line-height: 1.1;
}

.store-btn-text .small {
    font-size: 9px;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 2px;
    font-weight: 500;
}

.store-btn-text .big {
    font-size: 16px;
    font-weight: 800;
}

@media (max-width: 768px) {
    .footer-section-title::after {
        right: 50%;
        transform: translateX(50%);
    }
}


.ads-strip{margin-top:1.5rem}
.ads-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}
.ad-card,.ad-placeholder{background:#111827;border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:10px;color:#fff;text-decoration:none;display:flex;flex-direction:column;gap:10px;overflow:hidden}
.ad-card img{width:100%;height:140px;object-fit:cover;border-radius:12px;display:block}
.ad-card span{font-weight:700}
.mobile-card-title{color:#fff;font-size:.9rem;text-align:center;padding-top:8px}



/* poster before playback */
.player-frame{
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #000;
  min-height: 240px;
}
.player-poster-overlay{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: #000;
  cursor: pointer;
  overflow: hidden;
}
.player-poster-image{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.player-poster-shade{
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,.18));
}
.player-poster-content{
  position: absolute;
  inset-inline: 0;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #fff;
}
.player-play-icon{
  width: 64px;
  height: 64px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(179,0,0,.92);
  font-size: 28px;
  box-shadow: 0 10px 30px rgba(0,0,0,.28);
}
.player-play-text{
  font-weight: 700;
  font-size: 1rem;
}
.live-video,.live-iframe{
  width:100%;
  aspect-ratio:16/9;
  display:block;
  border:0;
  background:#000;
}



/* === Main page hero poster === */
.home-main-poster-overlay{
  position: absolute;
  inset: 0;
  z-index: 4;
  background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.72));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 24px;
  border-radius: 14px;
}
.home-main-poster-overlay.is-hidden{
  display:none !important;
}
.home-main-poster-image{
  width: 180px;
  height: 180px;
  object-fit: contain;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
}
.home-main-poster-content{
  color:#fff;
  max-width: 520px;
}
.home-main-poster-content h2{
  margin:0 0 10px;
  font-size: 2rem;
  line-height: 1.2;
}
.home-main-poster-content p{
  margin:0 0 16px;
  opacity:.92;
  line-height:1.8;
  font-size:1.05rem;
}
.home-main-poster-btn{
  border:none;
  border-radius: 999px;
  padding: 12px 22px;
  background:#ef2222;
  color:#fff;
  font-weight:700;
  cursor:pointer;
}

/* ensure overlay can position correctly */
.home, .hero, .featured, .video-container, .main-video, .play-container{
  position: relative;
}

/* === Home page slider sizing like subpages === */
.swiper-container-nablus {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  overflow: hidden !important;
  padding: 10px 0 30px !important;
}

#posts .aspect-\[1\/1\.4\] {
    max-height: 480px;
}

.swiper-container-nablus .swiper-slide {
    height: auto !important;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.swiper-container-nablus .swiper-slide:hover {
    transform: translateY(-8px);
    z-index: 20;
}

.populer-content .swiper-wrapper{
  display:flex !important;
  align-items:stretch !important;
  gap:12px !important;
}

.populer-content .swiper-slide{
  flex:0 0 220px !important;
  width:220px !important;
  max-width:220px !important;
  min-width:220px !important;
  height:auto !important;
  margin-right:0 !important;
  box-sizing:border-box !important;
}

.populer-content .movie-box{
  width:100% !important;
  height:130px !important;
  min-height:130px !important;
  max-height:130px !important;
  border-radius:14px !important;
  overflow:hidden !important;
  background:#111827 !important;
}

.populer-content .movie-box-img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  display:block !important;
}

@media (max-width: 768px){
  .home-main-poster-overlay{
    flex-direction: column;
    text-align: center;
    gap: 14px;
    padding: 18px;
  }
  .home-main-poster-image{
    width: 110px;
    height: 110px;
  }
  .home-main-poster-content h2{
    font-size:1.5rem;
  }
  .home-main-poster-content p{
    font-size:.98rem;
    line-height:1.7;
  }

  .populer-content.swiper,
  .populer-content{
    width:min(100%, calc(100% - 20px)) !important;
  }
  .populer-content .swiper-wrapper{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:12px !important;
    transform:none !important;
  }
  .populer-content .swiper-slide{
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    flex:none !important;
  }
  .populer-content .movie-box{
    height:auto !important;
    min-height:150px !important;
    max-height:none !important;
  }
  .populer-content .movie-box-img{
    aspect-ratio: 16 / 11;
    height:auto !important;
  }
}



/* === Fix overlap on main home poster === */
.home.container{
  position: relative;
  min-height: 440px;
}
.home-main-poster-overlay{
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 24px 48px;
  background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.62));
  border-radius: 12px;
}
.home-text{
  position: absolute;
  right: 24px;
  bottom: 22px;
  z-index: 2;
  max-width: 360px;
}
.home-title,
.home-subtext{
  text-shadow: 0 2px 12px rgba(0,0,0,.45);
}
.home-main-poster-content h2{
  margin: 0 0 10px;
  font-size: 2.6rem;
}
.home-main-poster-content p{
  margin: 0 0 16px;
  font-size: 1.2rem;
  line-height: 1.8;
}
.home-main-poster-btn{
  min-width: 130px;
}
@media (max-width: 768px){
  .home.container{
    min-height: 420px;
  }
  .home-text{
    right: 14px;
    left: 14px;
    bottom: 14px;
    max-width: none;
    text-align: center;
  }
  .home-main-poster-overlay{
    padding: 20px 16px 80px;
    gap: 14px;
  }
  .home-main-poster-content h2{
    font-size: 1.7rem;
  }
  .home-main-poster-content p{
    font-size: .98rem;
  }
}



/* ensure hero poster fully disappears after play */
.home-main-poster-overlay.is-hidden{
  display:none !important;
  pointer-events:none !important;
}



/* === live24 final hero fix === */
.home.container{
  position: relative;
  min-height: 440px;
}
.home-main-poster-overlay{
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 24px 48px;
  background: linear-gradient(180deg, rgba(0,0,0,.22), rgba(0,0,0,.62));
  border-radius: 12px;
}
.home-main-poster-image{
  width: 180px;
  height: 180px;
  object-fit: contain;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
}
.home-main-poster-content{
  color:#fff;
  max-width: 520px;
}
.home-main-poster-content h2{
  margin:0 0 10px;
  font-size:2.2rem;
  line-height:1.2;
}
.home-main-poster-content p{
  margin:0 0 16px;
  font-size:1.05rem;
  line-height:1.8;
}
.home-main-poster-link,
.home-main-poster-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:130px;
  padding:12px 22px;
  border:none;
  border-radius:999px;
  background:#ef2222;
  color:#fff !important;
  text-decoration:none;
  font-weight:700;
  cursor:pointer;
}
.home-text{
  position:absolute;
  right:24px;
  bottom:22px;
  z-index:2;
  max-width:340px;
}
.home-title,
.home-subtext{
  text-shadow:0 2px 12px rgba(0,0,0,.45);
}
@media (max-width: 768px){
  .home.container{
    min-height:420px;
  }
  .home-main-poster-overlay{
    flex-direction:column;
    text-align:center;
    gap:14px;
    padding:20px 16px 78px;
  }
  .home-main-poster-image{
    width:110px;
    height:110px;
  }
  .home-main-poster-content h2{
    font-size:1.6rem;
  }
  .home-main-poster-content p{
    font-size:.98rem;
    line-height:1.7;
  }
  .home-text{
    right:14px;
    left:14px;
    bottom:14px;
    max-width:none;
    text-align:center;
  }
}



/* Hide broken ad text/placeholders cleanly */
.global-ad-banner img[alt="Advertisement"],
.global-ad-banner img[alt=""],
.global-ad-banner img[alt="إعلان"]{
  color: transparent;
  font-size: 0;
}
.global-ad-banner:empty{
  display:none !important;
}



/* main poster text cleanup */
.home-main-poster-content{
  position: relative;
  z-index: 5;
}
.home-main-poster-content h2,
.home-main-poster-content p{
  display:block;
}
