html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    background:#050505;
    color:white;
    font-family:Arial;
    padding-bottom:40px;
}

*{
    box-sizing:border-box;
    -webkit-tap-highlight-color:transparent;
}

.header{
    padding:18px;
    font-size:24px;
    font-weight:bold;
}

.watch-container{
    padding:15px;
}

h1{
    font-size:24px;
    margin-bottom:20px;
}

.custom-player{
    position:relative;
    margin-bottom:20px;
}

.fake-player{
    position:relative;
    overflow:hidden;
    border-radius:22px;
    cursor:pointer;
}

.fake-thumb{
    width:100%;
    display:block;
}

.dark-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.42);
}

.big-play-btn{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:92px;
    height:92px;
    border-radius:50%;
    background:#ff6b00;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:38px;
    z-index:3;
    box-shadow:0 0 40px rgba(255,107,0,0.45);
}

.loading-spinner{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:52px;
    height:52px;
    border:4px solid rgba(255,255,255,0.2);
    border-top:4px solid white;
    border-radius:50%;
    animation:spin 1s linear infinite;
    display:none;
    z-index:4;
}

@keyframes spin{

    100%{
        transform:
        translate(-50%,-50%)
        rotate(360deg);
    }

}

.iframe-wrap{
    position:relative;
}

iframe{
    width:100%;
    border:none;
    border-radius:22px;
    overflow:hidden;
}

/* BLOCK TOP */

.iframe-top-block{
    position:absolute;
    left:0;
    right:0;
    top:0;
    height:55px;
    z-index:5;
}

/* BLOCK BOTTOM */

.iframe-bottom-block{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    height:65px;
    z-index:5;
}

.unmute-btn{
    width:100%;
    margin-top:12px;
    padding:14px;
    border:none;
    border-radius:14px;
    background:#ff6b00;
    color:white;
    font-weight:bold;
    font-size:16px;
}

.banner-ad{
    margin:18px 0;
    min-height:90px;
    background:#181818;
    border-radius:16px;
}

.movie-desc{
    color:#d7d7d7;
    line-height:1.6;
    font-size:15px;
}

.next-episode-btn{
    display:block;
    width:100%;
    background:#ff6b00;
    color:white;
    text-align:center;
    padding:16px;
    border-radius:16px;
    text-decoration:none;
    font-weight:bold;
    margin-top:25px;
    font-size:18px;
}

.related-title-main{
    margin-top:35px;
    margin-bottom:15px;
}

.related-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
}

.related-card{
    text-decoration:none;
    color:white;
}

.related-card img{
    width:100%;
    border-radius:16px;
}

.related-title{
    margin-top:8px;
    font-size:14px;
    line-height:1.4;
}
*{
    box-sizing:border-box;
}

html,body{
    overflow-x:hidden;
    max-width:100%;
}

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

.movie-card{
    width:100%;
    overflow:hidden;
    border-radius:18px;
    margin-bottom:20px;
    background:#111;
}

.movie-thumb{
    width:100%;
    aspect-ratio:16/9;
    object-fit:cover;
    border-radius:18px;
}

.container{
    width:100%;
    max-width:100%;
    padding:15px;
    overflow:hidden;
}

.manage-movie img{
    width:100%;
    max-width:100%;
    border-radius:16px;
    object-fit:cover;
}

.manage-movie{
    width:100%;
    overflow:hidden;
}

iframe{
    max-width:100%;
}

textarea,
input{
    width:100%;
    max-width:100%;
}
.topbar{

    display:flex;
    align-items:center;
    justify-content:space-between;

    padding:15px 20px;

    position:sticky;
    top:0;

    z-index:999;

    background:#000;

}

.logo a{

    color:#fff;

    text-decoration:none;

    font-size:34px;

    font-weight:800;

}

.menu{

    display:flex;

    gap:40px;

    align-items:center;

}

.menu a{

    color:#fff;

    text-decoration:none;

    font-size:26px;

    font-weight:800;

    text-transform:uppercase;

    letter-spacing:1px;

}

.menu a:hover{

    opacity:1;
    color:#ff7a00;

}

@media(max-width:768px){

    .topbar{

        flex-direction:column;
        align-items:flex-start;

        gap:10px;

    }

    .logo a{

        font-size:26px;

    }

    .menu{

        gap:15px;
        flex-wrap:wrap;

    }

    .menu a{

        font-size:15px;

    }

}
.ad-box,
.ad-native{
    width:100%;
    display:flex;
    justify-content:center;
    margin:12px 0;
    overflow:hidden;
}
.ad-banner{
    width:100%;
    overflow:hidden;
    display:flex;
    justify-content:center;
    margin:12px 0;
}
.related-ad{
    width:100%;
    display:flex;
    justify-content:center;
    margin:12px 0;
    overflow:hidden;
    grid-column:1/-1;
}