/* ==========================================================
   OTT PLAYER
========================================================== */

.ott-player{
    position:relative;

    width:100%;
    max-width:1320px;

    margin:0 auto;

    overflow:hidden;

    border-radius:24px;

    background:#000;

    border:1px solid rgba(255,255,255,.08);

    box-shadow:
        0 30px 100px rgba(0,0,0,.55),
        0 0 0 1px rgba(255,255,255,.03);

    transition:.35s;
}

#videoPlayer{

    display:block;

    width:100%;

    aspect-ratio:16/9;

    background:#000;

    cursor:pointer;

}

/* ==========================================================
   BIG PLAY BUTTON
========================================================== */

.player-center{

    position:absolute;

    top:50%;
    left:50%;

    transform:translate(-50%,-50%);

    display:flex;

    justify-content:center;
    align-items:center;

    width:100%;
    height:100%;

    pointer-events:none;

    z-index:20;
}

.player-center button{

    width:88px;
    height:88px;

    display:flex;
    align-items:center;
    justify-content:center;

    border:none;

    border-radius:50%;

    background:var(--primary);

    color:#fff;

    font-size:30px;

    cursor:pointer;

    pointer-events:auto;

    box-shadow:
        0 15px 45px rgba(224,0,108,.40);

    transition:.25s;
}

.player-center button:hover{

    transform:scale(1.12);

    background:var(--primary-hover);

}

.player-center button i{

    margin-left:4px;
}

/* ==========================================================
   CONTROLS
========================================================== */

.player-controls{
    position:absolute;
    left:18px;
    right:18px;
    bottom:18px;

    padding:18px 20px;

    border-radius:22px;

    background:
        linear-gradient(
            to bottom,
            rgba(28,28,35,.55),
            rgba(10,10,15,.88)
        );

    backdrop-filter:blur(22px);

    border:1px solid rgba(255,255,255,.08);

    box-shadow:
        0 15px 40px rgba(0,0,0,.45);

    transition:.35s;
}

/* ==========================================================
   PROGRESS
========================================================== */

.progress-area{

    margin-bottom:20px;

    padding:0 8px;
}

#progressBar{

    width:100%;
    height:7px;

    appearance:none;
    -webkit-appearance:none;

    cursor:pointer;

    border-radius:100px;

    background:
        rgba(255,255,255,.18);

    transition:.25s;
}

#progressBar::-webkit-slider-thumb{

    -webkit-appearance:none;

    width:20px;
    height:20px;

    border-radius:50%;

    background:#fff;

    border:5px solid var(--primary);

    box-shadow:

        0 0 25px rgba(224,0,108,.45);

    transition:.25s;
}

#progressBar:hover{

    height:9px;
}

/* ==========================================================
   BOTTOM ROW
========================================================== */

.controls-row{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:28px;
}

.controls-left{

    display:flex;
    align-items:center;
    gap:12px;

    padding:10px 18px;

    border-radius:60px;

    background:rgba(255,255,255,.05);

    backdrop-filter:blur(20px);

    border:1px solid rgba(255,255,255,.06);
}
.controls-right{

    display:flex;
    align-items:center;
    gap:12px;

    padding:10px 18px;

    border-radius:60px;

    background:rgba(255,255,255,.05);

    backdrop-filter:blur(20px);

    border:1px solid rgba(255,255,255,.06);
}

/* ==========================================================
   BUTTONS
========================================================== */

.player-controls button{

    width:46px;
    height:46px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;

    font-size:17px;

    background:transparent;

    color:#fff;

    border:none;

    cursor:pointer;

    transition:.25s;
}

.player-controls button:hover{

    background:rgba(255,255,255,.12);

    color:#fff;

    transform:scale(1.08);
}

/* ==========================================================
   TIME
========================================================== */

#currentTime,
#duration{

    font-size:15px;

    font-weight:700;

    color:#fff;

    min-width:55px;

    text-align:center;

    letter-spacing:.3px;

    font-family:monospace;
}

/* ==========================================================
   VOLUME
========================================================== */

#volumeBar{

    width:110px;

    height:5px;

    appearance:none;
    -webkit-appearance:none;

    border-radius:50px;

    background:rgba(255,255,255,.18);

    cursor:pointer;
}

/* ==========================================================
   SETTINGS PANEL
========================================================== */

.player-settings{

    position:absolute;

    right:18px;

    bottom:90px;

    width:180px;

    padding:20px;

    border-radius:22px;

    background:
        linear-gradient(
            180deg,
            rgba(32,32,40,.96),
            rgba(14,14,18,.98)
        );

    backdrop-filter:blur(30px);

    border:1px solid rgba(255,255,255,.08);

    box-shadow:
        0 25px 70px rgba(0,0,0,.55);

    opacity:0;
    visibility:hidden;

    transform:translateY(15px) scale(.96);

    transition:.30s;

    z-index:9999;
}

.player-settings.show{

    opacity:1;
    visibility:visible;

    transform:translateY(0) scale(1);
}

.player-settings h4{

    color:#fff;

    margin-bottom:15px;

    font-size:15px;

}

.player-settings button{

    width:100%;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:13px 16px;

    border-radius:12px;

    border:none;

    background:transparent;

    color:#ddd;

    font-size:15px;

    font-weight:600;

    cursor:pointer;

    transition:.25s;
}

.player-settings button:hover{

    background:rgba(255,255,255,.08);

    transform:translateX(4px);

    color:#fff;
}

.player-settings button.active{

    background:linear-gradient(
        90deg,
        var(--primary),
        #ff4c97
    );

    color:#fff;

    box-shadow:
        0 8px 20px rgba(224,0,108,.30);
}

.player-settings hr{

    border:none;

    height:1px;

    background:rgba(255,255,255,.08);

    margin:18px 0;

}
/* ==========================================================
   PLAYER STATES
========================================================== */

.ott-player.hide-controls .player-controls{

    opacity:0;

    visibility:hidden;

    transform:translateY(20px);

    pointer-events:none;

}

.ott-player.hide-controls .player-center{

    opacity:0;

    visibility:hidden;

}

.ott-player.show-controls .player-controls{

    opacity:1;

    visibility:visible;

    transform:translateY(0);

}

/* ==========================================================
   PLAYER ANIMATIONS
========================================================== */

.player-center,

.player-controls,

.player-settings{

    transition:

        opacity .35s ease,

        transform .35s ease,

        visibility .35s ease;

}

.player-controls button{

    transition:

        transform .25s,

        color .25s,

        opacity .25s;

}

.player-controls button:active{

    transform:scale(.92);

}

/* ==========================================================
   CUSTOM RANGE SLIDERS
========================================================== */

#progressBar,

#volumeBar{

    appearance:none;

    -webkit-appearance:none;

    background:rgba(255,255,255,.20);

    border-radius:50px;

    height:5px;

    outline:none;

}

#progressBar::-webkit-slider-thumb,

#volumeBar::-webkit-slider-thumb{

    -webkit-appearance:none;

    width:14px;
    height:14px;

    border-radius:50%;

    background:#fff;

    border:3px solid var(--primary);

    cursor:pointer;
}

#progressBar::-moz-range-thumb,

#volumeBar::-moz-range-thumb{

    width:14px;

    height:14px;

    border:none;

    border-radius:50%;

    background:var(--primary);

    cursor:pointer;

}

/* ==========================================================
   SETTINGS ANIMATION
========================================================== */

.player-settings{

    opacity:0;

    visibility:hidden;

    transform:translateY(12px);

}

.player-settings.show{

    display:block;

    opacity:1;

    visibility:visible;

    transform:translateY(0);

}

/* ==========================================================
   FULLSCREEN
========================================================== */

.ott-player:fullscreen{

    width:100vw;

    height:100vh;

    border-radius:0;

    max-width:none;

}

.ott-player:fullscreen #videoPlayer{

    width:100%;

    height:100%;

    object-fit:contain;

}

.ott-player:-webkit-full-screen{

    width:100vw;

    height:100vh;

}

.ott-player::after{

    content:"";

    position:absolute;

    left:0;
    right:0;
    bottom:0;

    height:180px;

    pointer-events:none;

    background:

        linear-gradient(

            to top,

            rgba(0,0,0,.75),

            transparent

        );
}

/* ==========================================================
   LOADING OVERLAY
========================================================== */

.player-loading{

    position:absolute;

    inset:0;

    display:flex;

    align-items:center;

    justify-content:center;

    background:rgba(0,0,0,.35);

    backdrop-filter:blur(6px);

    opacity:0;

    visibility:hidden;

    transition:.25s;

    z-index:15;

}

.player-loading.show{

    opacity:1;

    visibility:visible;

}

.loading-spinner{

    width:60px;

    height:60px;

    border:4px solid rgba(255,255,255,.15);

    border-top:4px solid var(--primary);

    border-radius:50%;

    animation:spin 1s linear infinite;

}

@keyframes spin{

    from{

        transform:rotate(0deg);

    }

    to{

        transform:rotate(360deg);

    }

}

/* ==========================================================
   HOVER EFFECTS
========================================================== */
.ott-player:hover{

    transform:translateY(-4px);

    box-shadow:
        0 40px 120px rgba(0,0,0,.65),
        0 0 0 1px rgba(255,255,255,.05);
}

.ott-player:hover .player-controls{

    opacity:1;

}


#speedBtn{

    min-width:55px;

    font-weight:700;

}


/* ==========================================================
   MOBILE
========================================================== */

/* ==========================================================
   SMALL DEVICES
========================================================== */

@media(max-width:480px){
    .player-settings hr{

        display:none;
    }

    .player-settings .setting-group:last-child{

        display:none;
    }
    .player-center button{

    width:52px;

    height:52px;

    font-size:18px;
    }
    
    .ott-player{

        overflow:visible;
    }

    .player-controls{

        padding:12px;

    }

    .player-center button{

        width:56px;
    
        height:56px;

        font-size:20px;
    }

.controls-left{

    flex:1;

    display:flex;

    align-items:center;

    gap:6px;

    min-width:0;

    overflow:hidden;

    padding:6px 10px;
}

.time-display{

    flex:1;

    min-width:0;

    font-size:11px;

    white-space:nowrap;

    overflow:hidden;

    text-overflow:ellipsis;

    text-align:center;
}

#currentTime,
#duration{

    min-width:auto;

    font-size:11px;
}

.controls-right{

    flex-shrink:0;

    gap:6px;

    padding:8px 10px;
}

    .player-controls button{

        font-size:15px;

    }

    #volumeBar{

        display:none;

    }

    .player-settings{

    width:160px;

    right:8px;

    bottom:54px;

    padding:10px;

    border-radius:14px;
}

.player-settings h4{

    font-size:12px;

    margin-bottom:8px;
}

.player-settings button{

    height:32px;

    padding:8px 10px;

    font-size:12px;
}



.progress-area{

    margin-bottom:8px;
}

.controls-left,
.controls-right{

    padding:6px 10px;
}

.player-controls button{

    width:34px;

    height:34px;

    font-size:13px;
}

#progressBar{

    height:4px;
}

#progressBar::-webkit-slider-thumb{

    width:14px;

    height:14px;
}

#speedBtn{
    display:none;
}

#backward,
#forward{
    font-size:0;
}

#backward i,
#forward i{
    font-size:15px;
}

}

/* ==========================================================
   WATCH HERO
========================================================== */

.watch-hero{
    position:relative;
    min-height:82vh;
    display:flex;
    align-items:center;
    overflow:hidden;
    padding:120px 0 80px;
}

.watch-hero-bg{
    position:absolute;
    inset:0;
    z-index:-3;
}

.watch-hero-bg img{
    width:100%;
    height:100%;
    object-fit:cover;
    transform:scale(1.08);
    filter:
        brightness(.35)
        saturate(1.15)
        blur(2px);
}

.watch-overlay{
    position:absolute;
    inset:0;
    background:
        linear-gradient(to right,
            rgba(8,8,12,.95) 0%,
            rgba(8,8,12,.88) 25%,
            rgba(8,8,12,.55) 60%,
            rgba(8,8,12,.85) 100%),
        linear-gradient(to top,
            rgba(8,8,12,1) 0%,
            transparent 35%),
        linear-gradient(to bottom,
            rgba(8,8,12,.55),
            transparent 30%);
}

.watch-hero-wrapper{
    display:grid;
    grid-template-columns:340px 1fr;
    gap:65px;
    align-items:center;
}

.watch-poster{
    position:relative;
}

.watch-poster img{
    width:100%;
    display:block;
    border-radius:22px;
    overflow:hidden;
    border:2px solid rgba(255,255,255,.08);

    box-shadow:
        0 30px 90px rgba(0,0,0,.70),
        0 0 0 1px rgba(255,255,255,.04);

    transition:.45s ease;
}

.watch-poster:hover img{
    transform:translateY(-8px) scale(1.02);
}

.watch-content{
    max-width:760px;
}

.hero-badge{
    display:inline-flex;
    align-items:center;
    gap:10px;

    padding:10px 18px;

    border-radius:999px;

    background:
        linear-gradient(135deg,#f5c542,#d89b00);

    color:#111;

    font-weight:700;

    letter-spacing:.4px;

    margin-bottom:22px;

    box-shadow:
        0 10px 30px rgba(245,197,66,.30);
}

.watch-content h1{
    font-size:clamp(2.6rem,5vw,4.3rem);
    line-height:1.05;
    font-weight:800;
    color:#fff;
    margin-bottom:22px;
}

.watch-meta{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-bottom:28px;
}

.watch-meta span{
    padding:10px 16px;

    border-radius:999px;

    background:rgba(255,255,255,.08);

    backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,.08);

    color:#fff;

    font-size:.92rem;

    font-weight:600;
}

.watch-description{
    color:rgba(255,255,255,.82);
    font-size:1.05rem;
    line-height:1.9;
    margin-bottom:38px;
    max-width:700px;
}

.watch-buttons{
    display:flex;
    flex-wrap:wrap;
    gap:18px;
}

.watch-buttons .btn{
    min-width:190px;
    height:58px;

    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;

    border-radius:14px;

    font-size:16px;
    font-weight:700;

    transition:.35s ease;
}

.watch-buttons .btn-primary{
    background:linear-gradient(
        135deg,
        var(--primary),
        var(--primary-hover)
    );

    box-shadow:
        0 18px 40px rgba(224,0,108,.35);
}

.watch-buttons .btn-primary:hover{
    transform:translateY(-4px);
}

.watch-buttons .btn-gold{
    background:
        linear-gradient(
            135deg,
            #f5c542,
            #e3a700
        );

    color:#111;

    box-shadow:
        0 18px 40px rgba(245,197,66,.28);
}

.back-btn{
    display:inline-flex;
    align-items:center;
    gap:10px;

    margin-bottom:45px;

    color:#fff;

    text-decoration:none;

    font-weight:600;

    opacity:.85;

    transition:.3s;
}

.back-btn:hover{
    opacity:1;
    transform:translateX(-4px);
}

@media(max-width:992px){

    .watch-hero{
        padding:90px 0 60px;
    }

    .watch-hero-wrapper{
        grid-template-columns:1fr;
        gap:40px;
        text-align:center;
    }

    .watch-poster{
        max-width:300px;
        margin:auto;
    }

    .watch-meta,
    .watch-buttons{
        justify-content:center;
    }

    .watch-description{
        margin-inline:auto;
    }
}

.time-display{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:2px;

    flex:1;

    min-width:0;

    white-space:nowrap;
}

#currentTime,
#duration{

    min-width:0;

    width:auto;

    font-size:11px;

    text-align:center;

    flex:none;
}

.time-separator{

    opacity:.65;
}

/* ==========================================
   MORE LIKE THIS
========================================== */

.content-section{

    padding:70px 0 90px;
}

.section-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:32px;
}

.section-title{

    position:relative;

    font-size:2rem;

    font-weight:800;

    color:#fff;

    padding-left:18px;
}

.section-title::before{

    content:"";

    position:absolute;

    left:0;
    top:50%;

    transform:translateY(-50%);

    width:5px;
    height:34px;

    border-radius:50px;

    background:linear-gradient(
        to bottom,
        var(--primary),
        #ff4c97
    );
}

.movie-card{

    position:relative;

    overflow:hidden;

    border-radius:18px;

    background:#111;

    transition:.35s;

    border:1px solid rgba(255,255,255,.05);
}

.movie-thumb{

    position:relative;

    overflow:hidden;

    aspect-ratio:2/3;
}

.movie-thumb img{

    width:100%;
    height:100%;

    object-fit:cover;

    transition:.45s;
}

.movie-card:hover{

    transform:translateY(-10px);

    box-shadow:
        0 25px 60px rgba(0,0,0,.45);
}

.movie-card:hover img{

    transform:scale(1.08);
}

.movie-overlay{

    position:absolute;

    inset:0;

    display:flex;

    align-items:center;

    justify-content:center;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.75),
            rgba(0,0,0,.15)
        );

    opacity:0;

    transition:.3s;
}

.movie-card:hover .movie-overlay{

    opacity:1;
}

.movie-overlay button{

    width:64px;
    height:64px;

    border:none;

    border-radius:50%;

    background:var(--primary);

    color:#fff;

    font-size:22px;

    transform:scale(.8);

    transition:.3s;

    box-shadow:
        0 15px 35px rgba(224,0,108,.40);
}

.movie-card:hover .movie-overlay button{

    transform:scale(1);
}

.movie-info{

    padding:16px;
}

.movie-info h3{

    color:#fff;

    font-size:1rem;

    font-weight:700;

    line-height:1.4;

    margin:0;
}

/* ======================================================
   FAVORITES
====================================================== */

.favorite-btn{
    border:1px solid rgba(255,255,255,.15);
    background:rgba(255,255,255,.06);
    color:#fff;
    cursor:pointer;
    transition:
        .3s ease;
}

.favorite-btn i{
    color:#ff4d91;
    transition:.3s ease;
}

.favorite-btn:hover{
    transform:translateY(-2px);
    border-color:rgba(255,77,145,.55);
    box-shadow:
        0 8px 25px
        rgba(255,77,145,.15);
}

.favorite-btn.is-favorite{
    background:
        linear-gradient(
            135deg,
            rgba(236,0,140,.22),
            rgba(123,44,255,.18)
        );

    border-color:
        rgba(236,0,140,.5);
}

.favorite-btn.is-favorite i{
    color:#ec008c;
}

.favorite-btn:disabled{
    opacity:.7;
    cursor:wait;
}

/* ==========================================================
   PREMIUM VIDEO ACCESS
========================================================== */

.premium-video-lock {
    min-height: 360px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 50px 25px;
}


.premium-lock-icon {

    width: 76px;
    height: 76px;

    margin-bottom: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #ec008c,
            #7b2cff
        );

    color: #fff;

    font-size: 28px;

    box-shadow:
        0 0 35px
        rgba(236,0,140,.30);
}


.premium-video-lock h2 {

    margin:
        0 0 10px;

    color: #fff;

    font-size: 26px;

}


.premium-video-lock p {

    max-width: 480px;

    margin:
        0 auto 24px;

    color:
        rgba(255,255,255,.62);

    font-size: 14px;

    line-height: 1.7;

}


.premium-video-lock .btn {

    min-width: 190px;

}


/* ==========================================================
   PREMIUM CONTENT HERO BUTTON
========================================================== */

.watch-buttons .btn-gold {

    box-shadow:
        0 12px 30px
        rgba(236,0,140,.20);

}