﻿:root {
    --dark-color: #141517;
    --accent-color: #ff6f61;
    --text-color: #ffffff;
    --font-family: "Roboto", sans-serif;
    --input-focus-border:#0c83ff;
    --input-focus-box-shadow: 0 0 0 0 transparent;
    --card-shadow:0 0 1px 1px rgba(0, 0, 0, 0.075);
    --card-border-radius:0.375rem;
    --text-hover-color:#EF6111;
    --text-active-color:#909092;
}
h1,h2,h3,h4,h5,h6{
    margin: 0;
    padding: 0;
}

body, html {
    width: 100%;
    height: 100%;
    padding:0!important;
}
.content-inner::-webkit-scrollbar {
    display: none;
}
.content-inner {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.page-content::-webkit-scrollbar {
    display: none;
}
.page-content {
    -ms-overflow-style: none;
    scrollbar-width: none;
}


.btn.btn-xs {
    padding: .1rem .8rem;
    font-size: .75rem;
    line-height: 1.5;
    border-radius: .2rem;
}
.loaderBar{
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
}
.loader {
    --s: 25px;
    --g :5px;

    width: calc(2*(1.353*var(--s) + var(--g)));
    aspect-ratio: 1;
    background:
            linear-gradient(#ff1818 0 0) left/50% 100% no-repeat,
            conic-gradient(from -90deg at var(--s) calc(0.353*var(--s)),
            #fff 135deg,#666 0 270deg,#aaa 0);
    background-blend-mode: multiply;
    --_m:
            linear-gradient(to bottom right,
            #0000 calc(0.25*var(--s)),#000 0 calc(100% - calc(0.25*var(--s)) - 1.414*var(--g)),#0000 0),
            conic-gradient(from -90deg at right var(--g) bottom var(--g),#000 90deg,#0000 0);
    -webkit-mask: var(--_m);
    mask: var(--_m);
    background-size:   50% 50%;
    -webkit-mask-size: 50% 50%;
    mask-size: 50% 50%;
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
    animation: l9 1.5s infinite;
}
@keyframes l9 {
    0%,12.5%    {background-position:0% 0%,0 0}
    12.6%,37.5% {background-position:100% 0%,0 0}
    37.6%,62.5% {background-position:100% 100%,0 0}
    62.6%,87.5% {background-position:0% 100%,0 0}
    87.6%,100%  {background-position:0% 0%,0 0}
}


.postList{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}
.slide-list{
    display:flex;
    gap:10px;
    padding-bottom: 10px;
    overflow-x: scroll;
}
.postList .postItem, .slide-list .postItem {
    background-color: var(--dark-color);
    border-radius: var(--card-border-radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column; 
}
.slide-list .postItem{
    width: 200px;
    display: block;
    min-width: 200px;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s
    ease-in-out;
    border: 2px solid transparent;
}
.slide-list .postItem:hover{
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    border-color: var(--accent-color);
    text-decoration: none;
}
.postList .postItem .postImage a img,
.slide-list .postItem .postImage a img
{
    width: 100%;
    display: block;
    object-fit: cover;
}
.postList .postItem .postTitle,
.slide-list .postItem .postTitle
{
    padding: 10px;
    flex: 1;
    font-size: .875rem;
}
.postList .postItem .postTitle a,
.slide-list .postItem .postTitle a
{
    color:#fff;
    text-decoration: none;
}
.postList .postItem .postTitle a:hover,
.slide-list .postItem .postTitle a:hover
{
    color: var(--text-hover-color);
}
.postList .postItem p,
.slide-list .postItem p
{
    margin: 0;
    padding: 0 10px 10px 10px;
    font-size: 0.75rem;
    color: #ccc;
}
.detail-top{
    display: flex;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 10px;
    position: relative;
    border-radius: .5rem;
}
.detail-top-overlay{
    width: 100%;
    height: 100%;
    position: absolute;
    background: rgba(0, 0, 0, .6);
    top: 0;
    left: 0;
    border-radius: .5rem;
}
.detail-top .image{
    width: 200px;
    min-height: 300px;
    margin-right: 1rem;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
}
.detail-top .detail-content{
    position: relative;
    font-size: .875rem;
}
.detail-top .image .imdb{
    position: absolute;
    top: 5px;
    left: 5px;
    background: rgba(245,134,70, .8);
    padding: 3px 7px;
    border-radius: .5rem;
    font-size: .875rem;
}
.detail-top .image img{
    width: 200px;
    object-fit: cover;
    border-radius: 0.5rem;
}
.detail-top .detail-content h1{
    margin-bottom: 10px;
}
.detail-top .detail-content .categories{
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.detail-top .detail-content .categories a{
    display: inline-block;
    background-color: var(--text-hover-color);
    color: #fff;
    text-decoration: none;
    margin-right: .5rem;
    padding: 3px;
    border-radius: .5rem;
}
.detail-top .detail-content .categories a:hover{
    background-color: var(--dark-color);
}
.detail-top .detail-content .categories span{
    margin-right: .5rem;
    padding: 3px 3px 0 0px;
}
.detail-top .detail-content .summary{
    margin-top: 10px;
}
.detail-top .detail-content .summary h3{
    margin-bottom: 10px;
}
.detail-top .detail-content p{
    margin: 0;
}

.detail-cast-list{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}
.d-movie-list{
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr))!important;
}
.detail-cast-list .cast-item{
    border: 1px solid #dedede;
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
    border-radius: .5rem;
    height: max-content;
}
.detail-cast-list .cast-item .image img{
    width: 100%;
    border-top-left-radius: .5rem;
    border-top-right-radius: .5rem;
}
.detail-cast-list .cast-item .info{
    background-color: #fff;
    color:#333;
    padding: 8px;
    border-bottom-left-radius: .5rem;
    border-bottom-right-radius: .5rem;
}
.detail-cast-list .cast-item .info h4{
    margin: 0;
    font-size: .875rem;
}
.detail-cast-list .cast-item .info h4 a{
    color: #333;
    text-decoration: none;
}
.detail-cast-list .cast-item .info h4 a:hover{
    color: var(--text-hover-color);
}
.detail-cast-list .cast-item .info p{
    margin: 5px 0px 5px 0px;
}
.detail-cast-list .cast-more{
    border: 1px solid #dedede;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
    border-radius: .5rem;
}
.detail-cast-list .cast-more .info{
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    background: var(--text-hover-color);
    border-radius: .5rem;
}
.comment-input{
    resize: none;
    height: 80px;
}
.comment-input:focus{
    border: none!important;
    outline: none;
    box-shadow: unset!important;
}
.sidebar-link:hover span{
    text-decoration: none;
    color: var(--text-hover-color)!important;
}
.credit-item{
    display: flex;
    margin-bottom: 10px;
    border-radius: .5rem;
    background-color: var(--dark-color);
}
.credit-item:last-child{
    margin-bottom: 0;
}
.credit-item .avatar{
    width: 60px;
    height: 60px;
    margin-right: 10px;
}
.credit-item .avatar img{
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-bottom-left-radius: 0.5rem;
    border-top-left-radius: 0.5rem;
}
.credit-item .info{
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    color:#fff;
    text-decoration: none;
}
.credit-item .info p{
    margin: 5px 0;
    font-size: .75rem;
}
.filter-provider{
    width: 40px;
    height: 40px;
    border-radius: 0.375rem!important;
    cursor: pointer;
}
.filter-provider.active::before{
    width: 40px;
    height: 40px;
    background-color: rgba(199, 112, 25, 0.7);
    content: "✓";
    font-size: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    z-index: 2;
    border-radius: 0.375rem!important;
}
.search-list-summary {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}
.network-header{
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}
.network-header .network-overlay{
    background:rgba(0, 0, 0, 0.6);
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
}
.network-header div, .network-header h1{
    position: relative;
    z-index: 3;
}
.text-1-line{
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media only screen and (max-width: 1240px) {
    .postList{
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    .detail-top{
        flex-direction: column;
        align-items: center;
    }
    .detail-top .image{
        margin-right: 0;
        margin-bottom: .85rem;
    }
    .detail-top .detail-content h1{
        font-size: 1.25rem;
    }
    .detail-top .detail-content .categories{
        gap: 5px;
    }
}
.search-hero{
    width: 100%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    align-items: center;
    background-image: linear-gradient(to top right, rgb(121, 79, 7) 0%, rgba(3, 37, 65, 0.6) 100%), url(../img/search_bg.jpg);
    background-size: cover;
    background-position: 50% 50%;
}
.search-hero .message{
    margin-bottom: 1rem;
    text-align: center;
}
.search-hero .message h1{
    font-size: 3rem;
}
.search-hero .home-search{
    width: 80%;
    margin:0 auto;
    position: relative;
}
.search-hero .home-search .home-search-area{
    width: 100%;
    position: absolute;
}
.search-hero .home-search .home-search-area input{
    width: 100%;
    height: 50px;
    border-radius: 30px;
    padding-right: 60px;
}
.search-hero .home-search .home-search-area button{
    height: 50px;
    padding: 0 15px;
    position: absolute;
    right: 0;
    top: 0;
    border-radius: 30px;
}
.join-us{
    width: 100%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    align-items: center;
    background-image: linear-gradient(to bottom right, rgb(62, 6, 4) 0%, rgba(3, 37, 65, 0.6) 100%), url(../img/join-us-bg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.join-us ul{
    list-style: none;
    padding: 0;
}

.page-box{
    width: 100%;
    padding-bottom: 2rem;
}
.page-box::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 750px;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.7), #202125), url(https://image.tmdb.org/t/p/w1920_and_h800_multi_faces/kWYfW2Re0rUDE6IHhy4CRuKWeFr.jpg);
    background-size: cover;
    background-position: top;
    z-index: -1;
    opacity: 0.4;
}
.collection-result .collection-item{
    background-size: cover;
    background-position: 50% 50%;
    margin-bottom: 1.5rem;
    border-radius: 8px;
}

.collection-result .collection-item .list-group-item{
    height: 200px;
    min-height: 200px;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s
    ease-in-out;
    border: 2px solid transparent;
}
.postList .postItem{
    transition: all 0.2s
    ease-in-out;
    border: 2px solid transparent;
}
.postList .postItem:hover{
    border-color:var(--accent-color);
}
.collection-result .collection-item .list-group-item:hover{
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    border-color: var(--accent-color);
    text-decoration: none;
}
.collection-result .collection-item .list-group-item .collection-image{
    width: 150px;
    height: 196px;
}
.collection-result .collection-item .list-group-item .collection-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.movie-custom-card{
    background: #32333a;
    padding: 15px;
    margin-bottom: 20px;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease-in-out;
    border: 2px solid transparent;
    width: 100%;
    display: flex;
}
.movie-custom-card:hover{
    border-color:var(--accent-color);
}
.movie-custom-card .image{
    width: 135px;
    height: 200px;
    margin-right: 10px;
}
.movie-custom-card .image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

@media only screen and (max-width: 1080px) {
    .postList{
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
    .detail-cast-list{
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
}
@media only screen and (max-width: 960px) {
    .postList{
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    .network-header{background-size: contain;}
    .search-hero .message h1{
        font-size: 1rem!important;
    }
    .search-hero .message h2{
        font-size: .875rem!important;
    }
}

