/* =========================================================
   CTP Movie Hero
   Part 1
========================================================= */

.ctp-movie-hero-card{
    position:relative;
    width:100%;
    max-width:470px;
    background:#161616;
    border:1px solid rgba(255,255,255,.08);
    border-radius:28px;
    overflow:hidden;
    box-shadow:
        0 25px 60px rgba(0,0,0,.45),
        inset 0 1px 0 rgba(255,255,255,.05);
    transition:.35s ease;
}

.ctp-movie-hero-card:hover{
    transform:translateY(-6px);
    box-shadow:
        0 35px 80px rgba(0,0,0,.55),
        0 0 0 1px rgba(255,196,0,.12);
}

.ctp-movie-hero-card::before{
    content:"";
    position:absolute;
    inset:0;
    background:
        radial-gradient(circle at top right,
        rgba(255,191,0,.10),
        transparent 35%);
    pointer-events:none;
}

/* ----------------------- */

.ctp-movie-hero-header{

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:16px 24px 12px;

}

/* ----------------------- */

.ctp-movie-hero-status{

    display:flex;
    align-items:center;
    gap:10px;

    font-size:14px;
    font-weight:600;

    color:#f5f5f5;

}

.ctp-status-dot{

    width:10px;
    height:10px;

    border-radius:50%;

    background:#36d96d;

    box-shadow:
        0 0 12px #36d96d;

}

.ctp-status-dot.is-soon{

    background:#f5a623;

    box-shadow:
        0 0 12px #f5a623;

}

/* ----------------------- */

.ctp-movie-hero-rating{

    display:flex;
    align-items:center;
    gap:6px;

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.08);

    color:#ffd54a;

    border-radius:50px;

    padding:8px 14px;

    font-weight:700;

    backdrop-filter:blur(10px);

}

/* ----------------------- */

.ctp-movie-hero-body{

    padding:0 24px 24px;

}

.ctp-movie-hero-inner{

    display:flex;

    gap:22px;

    align-items:flex-start;

}

/* ----------------------- */

.ctp-movie-hero-poster{

    width:145px;

    flex-shrink:0;

}

/* ----------------------- */

.ctp-poster-wrapper{

    position:relative;

    overflow:hidden;

    border-radius:18px;

    background:#202020;

    border:1px solid rgba(255,255,255,.08);

    box-shadow:

        0 20px 40px rgba(0,0,0,.40);

}

.ctp-poster-wrapper img{

    width:100%;

    display:block;

    aspect-ratio:2/3;

    object-fit:cover;

    transition:.45s ease;

}

.ctp-movie-hero-card:hover .ctp-poster-wrapper img{

    transform:scale(1.05);

}

/* ----------------------- */

.ctp-poster-wrapper::after{

    content:"";

    position:absolute;

    inset:0;

    background:

    linear-gradient(

        to top,

        rgba(0,0,0,.18),

        transparent 45%

    );

}

/* ----------------------- */

.ctp-movie-hero-placeholder{

    aspect-ratio:2/3;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:46px;

    color:#666;

}

/* ----------------------- */

.ctp-movie-hero-content{

    flex:1;

    display:flex;

    flex-direction:column;

}

/* ----------------------- */

.ctp-movie-hero-badge{

    display:inline-flex;

    align-items:center;

    align-self:flex-start;

    margin-bottom:14px;

    padding:7px 14px;

    border-radius:40px;

    background:rgba(255,191,0,.12);

    color:#ffd54a;

    border:1px solid rgba(255,191,0,.18);

    font-size:12px;

    font-weight:700;

    letter-spacing:.3px;

}

/* ----------------------- */

.ctp-movie-hero-title{

    margin:0;

    line-height:1.3;

    font-size:28px;

    font-weight:800;

}

.ctp-movie-hero-title a{

    color:#fff;

    text-decoration:none;

}

.ctp-movie-hero-title a:hover{

    color:#ffd54a;

}

/* ----------------------- */

.ctp-movie-hero-genres{

    margin-top:10px;

    color:#a8a8a8;

    font-size:15px;

    line-height:1.8;

}

/* =========================================================
   CTP Movie Hero
   Part 2
========================================================= */

/* Pills */

.ctp-movie-hero-pills{

    display:flex;
    flex-wrap:wrap;
    gap:10px;

    margin-top:18px;

}

.ctp-pill{

    display:inline-flex;
    align-items:center;
    gap:8px;

    padding:0px 10px;

    border-radius:999px;

    background:#222;

    border:1px solid rgba(255,255,255,.08);

    color:#d8d8d8;

    font-size:13px;
    font-weight:600;

    transition:.3s ease;

}

.ctp-pill i{

    color:#d4af37;
    font-size:13px;

}

.ctp-pill:hover{

    background:#292929;

    border-color:rgba(212,175,55,.35);

    color:#fff;

}

/* Divider */

.ctp-movie-hero-divider{

    width:100%;

    height:1px;

    margin:26px 0 22px;

    background:linear-gradient(
        to left,
        transparent,
        rgba(255,255,255,.12),
        transparent
    );

}

/* Footer */

.ctp-movie-hero-footer{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:18px;

}

/* Price */

.ctp-movie-hero-price{

    display:flex;

    flex-direction:column;

    gap:5px;

}

.ctp-price-label{

    font-size:12px;

    color:#8d8d8d;

    font-weight:500;

}

.ctp-price-value{

    font-size:30px;

    font-weight:800;

    line-height:1;

    color:#fff;

}

.ctp-price-value small{

    font-size:13px;

    color:#bdbdbd;

    margin-right:6px;

    font-weight:500;

}

/* Button */

.ctp-movie-hero-action{

    flex-shrink:0;

}

.ctp-movie-hero-btn{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:12px;

    min-width:170px;

    height:56px;

    padding:0 24px;

    border-radius:16px;

    text-decoration:none;

    font-size:15px;

    font-weight:700;

    color:#111;

    background:#d4af37;

    transition:.35s ease;

    box-shadow:

        0 10px 24px rgba(212,175,55,.22);

}

.ctp-movie-hero-btn svg{

    transition:.3s ease;

}

.ctp-movie-hero-btn:hover{

    transform:translateY(-3px);

    background:#e7c55a;

    box-shadow:

        0 18px 34px rgba(212,175,55,.35);

}

.ctp-movie-hero-btn:hover svg{

    transform:translateX(-5px);

}

.ctp-movie-hero-btn:active{

    transform:translateY(0);

}

.ctp-movie-hero-btn.disabled{

    background:#2b2b2b;

    color:#a5a5a5;

    cursor:not-allowed;

    box-shadow:none;

}

/* Hover Effects */

.ctp-movie-hero-card:hover .ctp-movie-hero-badge{

    background:rgba(212,175,55,.18);

    border-color:rgba(212,175,55,.45);

}

.ctp-movie-hero-card:hover .ctp-movie-hero-rating{

    border-color:rgba(212,175,55,.25);

    background:rgba(212,175,55,.08);

}

.ctp-movie-hero-card:hover .ctp-price-value{

    color:#ffd86d;

}

/* Responsive */

@media (max-width:768px){

    .ctp-movie-hero-card{

        max-width:100%;

    }

    .ctp-movie-hero-inner{

        flex-direction:column;

        align-items:center;

        text-align:center;

    }

    .ctp-movie-hero-poster{

        width:200px;

    }

    .ctp-movie-hero-content{

        width:100%;

        align-items:center;

    }

    .ctp-movie-hero-badge{

        align-self:center;

    }

    .ctp-movie-hero-pills{

        justify-content:center;

    }

    .ctp-movie-hero-footer{

        flex-direction:column;

        align-items:stretch;

    }

    .ctp-movie-hero-price{

        align-items:center;

    }

    .ctp-movie-hero-btn{

        width:100%;

    }

}

@media (max-width:480px){

    .ctp-movie-hero-card{

        border-radius:22px;

    }

    .ctp-movie-hero-header{

        padding:18px;

    }

    .ctp-movie-hero-body{

        padding:0 18px 18px;

    }

    .ctp-movie-hero-title{

        font-size:24px;

    }

    .ctp-price-value{

        font-size:24px;

    }

    .ctp-pill{

        font-size:12px;

        padding:8px 12px;

    }

}

/* =========================================================
   CTP Movie Hero
   Part 3 (Premium Polish)
========================================================= */

/* Smooth Rendering */

.ctp-movie-hero-card,
.ctp-movie-hero-card *{
    box-sizing:border-box;
}

/* Glass Shine */

.ctp-movie-hero-card::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        135deg,
        rgba(255,255,255,.06) 0%,
        transparent 25%,
        transparent 70%,
        rgba(255,255,255,.03) 100%
    );
    pointer-events:none;
}

/* Poster Border Glow */

.ctp-poster-wrapper{
    transition:
        transform .45s,
        box-shadow .45s,
        border-color .45s;
}

.ctp-movie-hero-card:hover .ctp-poster-wrapper{

    border-color:rgba(212,175,55,.25);

    box-shadow:
        0 24px 45px rgba(0,0,0,.45),
        0 0 0 1px rgba(212,175,55,.15),
        0 0 40px rgba(212,175,55,.08);

}

/* Title */

.ctp-movie-hero-title{

    transition:.35s;

}

.ctp-movie-hero-card:hover .ctp-movie-hero-title{

    transform:translateY(-1px);

}

/* Genres */

.ctp-movie-hero-genres{

    transition:.3s;

}

.ctp-movie-hero-card:hover .ctp-movie-hero-genres{

    color:#cfcfcf;

}

/* Rating */

.ctp-movie-hero-rating{

    transition:.3s;

}

.ctp-movie-hero-card:hover .ctp-movie-hero-rating{

    transform:translateY(-2px);

}

/* Status */

.ctp-status-dot{

    animation:ctpPulse 2s infinite;

}

@keyframes ctpPulse{

    0%{

        transform:scale(1);

        opacity:1;

    }

    50%{

        transform:scale(1.35);

        opacity:.7;

    }

    100%{

        transform:scale(1);

        opacity:1;

    }

}

/* Button */

.ctp-movie-hero-btn{

    overflow:hidden;

    position:relative;

}

.ctp-movie-hero-btn::before{

    content:"";

    position:absolute;

    left:-140%;

    top:0;

    width:70%;

    height:100%;

    transform:skewX(-22deg);

    background:

        linear-gradient(

            to right,

            transparent,

            rgba(255,255,255,.35),

            transparent

        );

    transition:.8s;

}

.ctp-movie-hero-btn:hover::before{

    left:180%;

}

/* Button Icon */

.ctp-movie-hero-btn svg{

    flex-shrink:0;

}

/* Focus */

.ctp-movie-hero-btn:focus{

    outline:none;

    box-shadow:

        0 0 0 4px rgba(212,175,55,.18);

}

/* Link */

.ctp-movie-hero-title a{

    transition:.3s;

}

/* Placeholder */

.ctp-movie-hero-placeholder{

    background:

        linear-gradient(

            135deg,

            #242424,

            #191919

        );

}

/* Price */

.ctp-price-value{

    letter-spacing:-1px;

}

/* Card Entrance */

.ctp-movie-hero-card{

    animation:ctpHeroFade .8s ease;

}

@keyframes ctpHeroFade{

    from{

        opacity:0;

        transform:translateY(24px);

    }

    to{

        opacity:1;

        transform:none;

    }

}

/* Reduced Motion */

@media (prefers-reduced-motion:reduce){

    .ctp-movie-hero-card,
    .ctp-poster-wrapper,
    .ctp-movie-hero-btn,
    .ctp-status-dot,
    .ctp-movie-hero-card *{

        animation:none!important;

        transition:none!important;

    }

}