@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');
*{
    font-family: "Poppins",sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    scroll-padding-top: 2rem;
    scroll-behavior: smooth;
}
/* Variables */
:root{
    --main-color: #ff2c1f;
    --text-color: #020307;
    --bg-color: #fff;
    --home-poster-top: 52%;
    --home-poster-right: clamp(24px, 5vw, 92px);
    --home-poster-width: clamp(320px, 36vw, 560px);
    --home-poster-max-height: 72%;
    --home-poster-radius: 10px;
    --home-poster-z: 40;
}
/* custom scroll  */
html::-webkit-scrollbar{
    width: 0.5rem;
    background: var(--text-color);
}
html::-webkit-scrollbar-thumb{
    background: var(--main-color);
    border-radius: 5rem;
}

/* FOR VIDEO SAME ARATIO IN ALL DEVICE*/
.video-container{
    width: 90%;
    max-width: 1100px;
    margin: 40px auto;
    aspect-ratio: 16 / 9;
}

.video-container iframe{
    width: 100%;
    height: 100%;
    border-radius: 10px;
}


body{
    background: var(--text-color);
    color: var(--bg-color);
}

header{
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 100px;
    transition: 0.5s;
    /* background: var(--main-color); */
}
 /* baad main  */
 header.shadow{
    background: var(--bg-color);
    box-shadow: 0 0 4px rgb(14 55 54/15%);
 }
header.shadow .navbar a{
    color: var(--text-color);
}
header.shadow .logo{
    color: var(--text-color);
}




.logo{
    font-size: 1.1rem;
    font-weight: 600;
    align-items: center;
    color: var(--bg-color);
    display: flex;
    column-gap: 0.5rem;
}
.bx{
    color: var(--main-color)
}
.navbar{
    display: flex;
    column-gap: 2.5rem;
}

.navbar li{
    position: relative;
}

.navbar a{
    font-size: 1rem;
    font-weight: 500;
    color: var(--bg-color);
}

.navbar a::after{
    content: '';
    width: 0;
    height: 2px;
    background: var(--main-color);
    position: absolute;
    bottom: -4px;
    left: 0;
    transition: 0.4s all linear;
}

.navbar a:hover::after,
.navbar .home-active::after{
    width: 100%;
}
#menu-icon{
    font-size: 24px;
    cursor: pointer;
    z-index: 1000001;
    display: none;
}
.btn{
    padding: 0.7rem 1.4rem;
    background: var(--main-color);
    color: var(--bg-color);
    font-weight: 400;
    border-radius: 0.5rem;
}
.btn:hover{
    background: #fa1216;
}
.blue_btn{
    font-family: "Roboto",sans-serif;
    font-size: 18px;
    font-weight: bold;
    background: #1e90ff;
    width: 160px;
    padding: 20px;
    justify-content: center;
    align-items: center;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: box-shadow, transfom;
    transition-property: box-shadow, transfom;
}
.blue_btn:hover, .blue_btn:focus, .blue_btn:active{
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    transform: scale(1.1);
}

/* home  */
section{
    padding: 4.5rem 0 1.5rem;
}
.container{
    width: 100%;
    min-height: 640px;
    position: relative;
    display: flex;
    align-items: center;
    background: rgb(2, 3, 7,0.5);
}
.container img:not(.home-slide-poster){
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -1;
}
.home .swiper-slide.container{
    overflow: hidden;
    isolation: isolate;
}
.home .swiper-slide.container img:not(.home-slide-poster){
    z-index: 0;
    transform: scale(1.04);
    filter: saturate(1.1) contrast(1.08);
}
.home .swiper-slide.container::before{
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(5, 8, 14, 0.92) 0%, rgba(5, 8, 14, 0.78) 38%, rgba(5, 8, 14, 0.5) 62%, rgba(5, 8, 14, 0.08) 82%, rgba(5, 8, 14, 0.45) 100%),
        radial-gradient(circle at 18% 45%, rgba(0, 146, 255, 0.22) 0%, rgba(0, 146, 255, 0) 48%),
        linear-gradient(0deg, rgba(5, 8, 14, 0.86) 0%, rgba(5, 8, 14, 0.2) 44%, rgba(5, 8, 14, 0) 70%);
}
.home .swiper-slide.container::after{
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: min(70%, 900px);
    z-index: 2;
    background: rgba(11, 16, 26, 0.24);
    -webkit-backdrop-filter: blur(9px);
    backdrop-filter: blur(9px);
    clip-path: polygon(0 0, 86% 0, 100% 100%, 0 100%);
    pointer-events: none;
}
.home-slide-poster{
    position: absolute;
    top: var(--home-poster-top);
    right: var(--home-poster-right);
    transform: translateY(-50%);
    width: var(--home-poster-width);
    max-height: var(--home-poster-max-height);
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    border-radius: var(--home-poster-radius);
    border: 2px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
    z-index: var(--home-poster-z);
    filter: none !important;
    -webkit-filter: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    opacity: 1 !important;
}
.home-spotlight-label{
    position: absolute;
    top: 108px;
    left: clamp(18px, 4vw, 56px);
    z-index: 30;
    color: #36b6ff;
    font-size: clamp(1rem, 1.8vw, 1.65rem);
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    margin: 0;
}


.swiper-pagination-bullet{
    width: 6px !important;
    height: 6px !important;
    border-radius: 0.2rem !important;
    background: var(--bg-color) !important;
    opacity: 1 !important;
}
.swiper-pagination-bullet-active{
    width: 1.5rem !important;
    background: var(--main-color) !important;
}

.home-text{
    z-index: 3;
    max-width: 920px;
    padding: 0 150px;
    text-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
}
.home-text span{
    color: #36b6ff;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.home-text h1{
    color: var(--bg-color);
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.2rem;
    line-height: 1.15;
}
.play{
    position: absolute;
    right: 4rem;
    bottom: 10%;
}
.play .bx{
    background: var(--bg-color);
    padding: 10px;
    font-size: 2rem;
    border-radius: 50%;
    border: 4px solid rgb(2, 3, 7,0.5);
    color: var(--main-color);
}
.play .bx:hover{
    background: var(--main-color);
    color: var(--bg-color);
    transition: 0.2s all linear;
}

/* movies  */
.heading{
    max-width: 968px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: uppercase;
    border-bottom: 1px solid var(--main-color);
}
.movies .heading{
    max-width: 1200px;
}
.movies-container{
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(225px,auto));
    gap: 1rem;
    margin-top: 2rem;
}
.box .box-img{
    width: 100%;
    height: 338px;
    cursor: pointer;
}
.box .box-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.box .box-img img:hover{
    transform: translateY(-10px);
    transition: 0.2s all linear;
}
.box h3{
    font-size: 0.9rem;
    font-weight: 500;
}
.box span{
    font-size: 14px;
}

.home-portal .movies .box{
    background: linear-gradient(180deg, rgba(28, 28, 28, 0.95), rgba(18, 18, 18, 0.95));
    width: 100%;
    padding: 15px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-portal .movies .box:hover{
    transform: translateY(-4px);
    border-color: rgba(255, 44, 31, 0.35);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.32);
}

.home-portal .movies .box .box-img{
    overflow: hidden;
    border-radius: 14px;
}

.home-portal .movies .box .box-img img{
    transition: transform 0.3s ease;
}

.home-portal .movies .box .box-img img:hover{
    transform: scale(1.04);
}

.home-portal .movies .box h3{
    font-size: 0.9rem;
    font-weight: 700;
    margin-top: 0.9rem;
}

.home-portal .movies .box span{
    display: block;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.5;
}

.pagination-controls{
    max-width: 1200px;
    margin: 1.4rem auto 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.7rem;
}

.page-btn{
    min-width: 48px;
    padding: 0.72rem 1rem;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 999px;
    background: #101520;
    color: var(--bg-color);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.page-btn:hover:not(:disabled){
    transform: translateY(-2px);
    background: #182131;
    border-color: rgba(255,255,255,0.28);
}

.page-btn.is-active{
    background: var(--main-color);
    border-color: var(--main-color);
}

.page-btn:disabled{
    opacity: 0.45;
    cursor: not-allowed;
}

.cw-section2{
    position: relative;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 0 0.75rem;
}

.cw-section2 .heading{
    max-width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    color: #f6f8ff;
    letter-spacing: 0.08em;
}

.cw-grid2{
    max-width: 100%;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.cw-card2{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    min-height: 100%;
    padding: 1rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 1.4rem;
    background:
        linear-gradient(135deg, rgba(15,21,36,0.94), rgba(11,15,26,0.82)),
        rgba(0,0,0,0.58);
    backdrop-filter: blur(14px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.35);
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.cw-card2::before{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.06), transparent 42%);
    pointer-events: none;
}

.cw-card2:hover{
    transform: translateY(-4px);
    border-color: rgba(255,79,124,0.3);
    box-shadow: 0 26px 64px rgba(0,0,0,0.42);
}

.cw-card-media2{
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 0.9rem;
    align-items: center;
}

.cw-poster2{
    width: 74px;
    height: 108px;
    object-fit: cover;
    object-position: center;
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 20px 36px rgba(0,0,0,0.35);
}

.cw-poster-placeholder2{
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.68);
    font-size: 0.76rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.cw-card-copy2{
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 0;
}

.cw-card-copy2 h3{
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
    color: #f6f8ff;
}

.cw-card-copy2 span{
    color: #bcc5dc;
    line-height: 1.45;
    font-size: 0.88rem;
}

.cw-card-copy2 span:last-child{
    color: rgba(255,255,255,0.62);
    font-size: 0.82rem;
}

.cw-button-row2{
    position: relative;
    z-index: 1;
    margin-top: 0 !important;
}

.cw-button-row2 .btn{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 46px;
    padding: 0 1rem;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.03em;
    background: linear-gradient(135deg, #ff7c7c, #ff0000);
    box-shadow: 0 12px 24px rgba(255,79,124,0.22);
}

/* coming containrer  */
.coming-container{
    display: grid;
    gap: 1rem;
    max-width: 968px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2rem;
}
.coming-container .box img:hover{
    transform: translateY(0);
}
.coming-container .box img{
    border-radius: 15px;
}

/* Newsletter */
.newsletter{
    max-width: 968px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    row-gap: 2rem;
}
.newsletter h2{
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
}
.newsletter form{
    background: var(--bg-color);
    padding: 10px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
}
.newsletter form input{
    border: none;
    outline: none;
}
.email{
    width: 280px;
}
.newsletter form input::placeholder{
    color: var(--text-color);
    font-size: 0.8rem;
    font-weight: 400;
}
.newsletter .btn{
    text-transform: uppercase;
    font-weight: 500;
    cursor: pointer;
}

/* footer  */
.footer{
    max-width: 968px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: space-between;
}
.social{
    display: flex;
    align-items: center;
    column-gap: 0.5rem;
}
.social .bx{
    background: var(--bg-color);
    padding: 2px;
    font-size: 2rem;
    border-radius: 50%;
    border: 4px solid rgb(2, 3, 7,0.4);
    color: var(--main-color);
}
.social .bx:hover{
    background: var(--main-color);
    color: var(--bg-color);
    transition: 0.2s all linear;
}
.copyright{
    padding: 20px;
    text-align: center;
    color: var(--bg-color);
}

 /* responsive  */
 @media (max-width :1080px){
    .home-text{
        padding: 0 100px;
    }
 }
 @media (max-width :991px){
    header{
        padding: 18px 4%;
    }
    section{
        padding: 50px 4%;
    }
    .home-text{
        padding: 0 4%;
    }
    .home-text h1{
        font-size: 3rem;
    }
    .home-spotlight-label{
        top: 94px;
    }
 }
 @media (max-width: 774px) {
    header{
        padding: 12px 4%;
    }
    #menu-icon{
        display: initial;
        color: var(--bg-color);
    }
     /* baad m  */
     header.shadow #menu-icon{
        color: var(--text-color);
     }
    .navbar{
        position: absolute;
        top: -570px;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        background: var(--bg-color);
        row-gap: 1.4rem;
        padding: 20px;
        box-shadow: 4px 4px 0 4px rgb(14 55 54/15%);
        transition: 0.2s all linear;
        text-align: center;
        width: 100%;
    }
    .navbar a{
        color: var(--text-color);
    }
    .navbar a:hover{
        color: var(--main-color);
        border-bottom: 1px solid var(--main-color);
    }
    .navbar a::after{
        display: none;
    }
    .navbar.active{
        top: 100%;
    }

    .home-text h1{
        font-size: 2.4rem;
    }
    .home .swiper-slide.container::after{
        width: 100%;
        clip-path: none;
        -webkit-backdrop-filter: blur(7px);
        backdrop-filter: blur(7px);
    }
    .home-slide-poster{
        --home-poster-width: clamp(200px, 34vw, 320px);
        --home-poster-right: 14px;
    }
    .btn{
        padding: 0.6rem 1.2rem;
    }
    .movies-container{
        grid-template-columns: repeat(auto-fit, minmax(160px,auto));
    }
 }
 @media (max-width: 472px){
    .newsletter form .email{
        width: auto;
    }
    .footer{
        flex-direction: column;
        align-items: center;
        row-gap: 1rem;
    }
    .container{
        width: 100%;
        min-height: 500px;
    }
    header{
        padding: 6px 4%;
    }
    .home-text h1{
        font-size: 1.7rem;
    }
    .home-text span{
        font-size: 0.82rem;
    }
    .home-spotlight-label{
        top: 84px;
        left: 12px;
        font-size: 0.95rem;
    }
    .home-slide-poster{
        --home-poster-width: clamp(150px, 44vw, 220px);
        --home-poster-right: 8px;
        --home-poster-top: 54%;
    }
    .play{
        right: 2rem;
        bottom: 8%;
    }
    .play .bx{
        padding: 7px;
    }
    .movies-container{
        grid-template-columns: repeat(auto-fit, minmax(175px,auto));
    }
    .box .box-img img{
        height: 300px;
    }
    .coming-container img{
        width: 100%;
        display: 10;
        max-height: 500px;
    }
    .cw-grid2{
        grid-template-columns: 1fr;
    }
    .cw-card-media2{
        grid-template-columns: 68px 1fr;
    }
    .cw-poster2{
        width: 68px;
        height: 98px;
    }
 }
