/*slider*/
.index-box-slider-item {
    height: 100%;
    width: 100%;
    background: var(--all-html-bg);
    border-radius: 30px;
    overflow: hidden;
    position: absolute;
    top: 0;
    opacity: 0;
    -moz-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    -webkit-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
    z-index: 2;
}
.index-box-slider-item.active {
    opacity: 1;
    z-index: 10;
}
.index-release-slider-bg {
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 1;
    opacity: 0.4;
    background-position: bottom;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    mage-rendering: -moz-crisp-edges;
    -ms-interpolation-mode: nearest-neighbor;
    image-rendering: crisp-edges;
}

.index-release-slider-info {
    position: relative;
    max-width: 900px;
    height: calc(100% - 120px);
    margin: 60px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    z-index: 10;
    align-items: flex-start;
}

.index-release-slider-info > h2 {
    font-size: 32px;
    text-shadow: 0 0 4px black, 1px 0 1px #000, 0 1px 1px #000, -1px 0 1px #000, 0 -1px 1px #000;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 40px;
    max-height: 76px;
}

.index-release-slider-info > span {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
    font-size: 18px;
    font-weight: 600;
    text-shadow: 0 0 4px black, 1px 0 1px #000, 0 1px 1px #000, -1px 0 1px #000, 0 -1px 1px #000;
}

.index-release-slider-info > p {
    font-size: 17px;
    text-shadow: 0 0 4px black, 1px 0 1px #000, 0 1px 1px #000, -1px 0 1px #000, 0 -1px 1px #000;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 12;
    -webkit-box-orient: vertical;
    max-height: 240px;
}

.index-release-slider-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    align-content: center;
    gap: 30px;
    text-shadow: 0 0 4px black, 1px 0 1px #000, 0 1px 1px #000, -1px 0 1px #000, 0 -1px 1px #000;
}

.index-release-slider-box > a,
.index-release-slider-box > button {
    display: flex;
    gap: 5px;
    padding: 10px 20px;
    align-items: center;
    font-size: 18px;
    font-weight: 500;
    color: var(--all-text-color);
    background: var(--all-btn-bg);
    cursor: pointer;
    border: 1px solid;
    text-decoration: none;
    text-shadow: none;
}

.index-release-slider-box > a:hover,
.index-release-slider-box > button:hover {
    opacity: 0.6;
}
.index-release-slider-stars {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    align-content: flex-start;
    justify-content: center;
    gap: 10px;
}

.index-release-slider-stars h4 {
    font-size: 18px;
}

.index-release-slider-stars span {
    display: flex;
    align-items: center;
    align-content: center;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 5px;
    font-size: 20px;
}

.index-release-slider-genres {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    align-content: flex-start;
    justify-content: center;
    gap: 5px;
}

.index-release-slider-genres h4 {
    font-size: 18px;
}

.index-release-slider-genres span {
    font-size: 16px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.index-release-slider-info * {
    color: #fff;
}

.index-release-slider-box > button i {
    color: var(--all-text-color);
}
.index-box-slider-list {
    z-index: 1;
    position: relative;
    z-index: 9;
    width: 100%;
    padding-top: 42.55%;
}

.index-box-slider {
    position: relative;
    margin: 0 auto;
    width: 100%;
}

.index-box-button > button#strel_l {
    top: calc(50% - 20px);
    left: 10px;
}

.index-box-button > button#strel_r {
    top: calc(50% - 20px);
    right: 10px;
}

.index-box-ints {
    position: absolute;
    z-index: 10;
    bottom: 50px;
    right: 30px;
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.index-box-button > button {
    position: absolute;
    z-index: 11;
    top: 0;
    display: flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    align-content: center;
    border: 0;
    background: #fff;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
}

.index-box-ints > button {
    width: 10px;
    height: 10px;
    border: 0;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
}

.index-box-button > button > i {
    color: var(--all-text-color-active);
}

.index-box-ints > button.active {
    background: var(--all-text-color-active);
}
.index-box-button > button[disabled] {
    opacity: 0;
    pointer-events: none;
    cursor: default;
}
.index-box-button > button:hover {
    opacity: 0.7;
}

.index-box-ints > button:hover {
    opacity: 0.7;
}

.index-box-ints > button.active:hover {
    opacity: 1;
    cursor: default;
}
/*schedule*/
.schedule_block > h2 {
    font-weight: 700;
    font-size: 24px;
}

.schedule_block {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
    align-content: center;
}
.schedule_box {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.schedule_box_btns {
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.schedule_box_btns > button {
    background: var(--all-btn-bg);
    display: flex;
    gap: 5px;
    padding: 10px 30px;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
    color: var(--all-text-color);
    cursor: pointer;
    border: 1px solid;
}

.schedule_box_btns > button[status=active] {
    background: var(--all-btn-bg-active);
    opacity: 0.4 !important;
}
.schedule_box_btns > button:hover {
    opacity: 0.5;
}
.schedule_list_release {
    height: 60px;
    width: calc((100% - 20px)/3);
    overflow: hidden;
    border-radius: 15px;
    background: var(--all-html-bg);
    display: flex;
    gap: 5px;
    flex-direction: row;
    align-items: center;
    text-decoration: none;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}

.schedule_list_release:hover {
    opacity: 0.7;
}

.schedule_list_releases {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
}

.schedule_release_img {
    min-width: 70px;
    max-width: 70px;
    height: 60px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.schedule_release_img img {
    width: 100%;
}
.schedule_release_info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: calc(100% - 80px);
    min-width: calc(100% - 80px);
    overflow: hidden;
}

.schedule_release_info h2 {
    font-size: 18px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.schedule_box_item {
    opacity: 0;
    height: 0px;
    overflow: hidden;
    -moz-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    -webkit-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
    z-index: 2;
}
.schedule_box_item[status="active"] {
	opacity: 1;
	z-index: 100;
}

/*update*/

.update_block {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
    align-content: center;
    min-width: 500px;
    max-width: 500px;
}

.update_block > h2 {
    font-weight: 700;
    font-size: 24px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border-bottom: 1px solid;
    cursor: default;
}
.update_block > h2 a {
    font-size: 13px;
    text-decoration: none;
}

.update_block > h2 a:hover {
    opacity: 0.7;
}

.update_box {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    width: 100%;
    flex-direction: column;
}

.update_list_release {
    overflow: hidden;
    border-radius: 15px;
    background: var(--all-html-bg);
    display: flex;
    gap: 5px;
    flex-direction: row;
    align-items: center;
    position: relative;
    text-decoration: none;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}

.update_list_release:hover {
    opacity: 0.7;
}

.update_release_img {
    min-width: 70px;
    max-width: 70px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center;
    position: relative;
}
.update_release_img span {
    position: absolute;
    background: rgb(255 255 255 / 80%);
    color: var(--all-text-color-active);
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    border-radius: 50%;
    font-weight: 800;
    bottom: 10px;
}
.update_release_img > img {
    width: 100%;
}

.update_release_info {
    display: flex;
    flex-direction: row;
    align-items: center;
    max-width: calc(100% - 80px);
    min-width: calc(100% - 80px);
    overflow: hidden;
    gap: 10px;
    justify-content: space-between;
    height: 100%;
    padding: 5px 0;
    box-sizing: border-box;
}
.two_block {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: center;
    gap: 15px;
    width: 100%;
}

.update_release_info1 div {
    display: flex;
    min-height: 42px;
    max-height: 42px;
    align-items: center;
    align-content: center;
    flex-direction: row;
    justify-content: flex-start;
    text-align: center;
}

.update_release_info1 h2 {
    font-size: 18px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-align: start;
}

.update_release_info1 > span {
    font-size: 14px;
}
.update_release_info2 > h2 {
    font-size: 20px;
    overflow: hidden;
}

.update_release_info2 > span {
    font-size: 16px;
}
.update_release_info1 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    height: 100%;
}

.update_release_info2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: max-content;
}

.new-release_block {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
    align-content: center;
    width: 100%;
}

.new-release_block > h2 {
    font-weight: 700;
    font-size: 24px;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border-bottom: 1px solid;
    cursor: default;
}

.new-release_block > h2 a {
    font-size: 13px;
    text-decoration: none;
}

.new-release_block > h2 a:hover {
    opacity: 0.7;
}

.new-release_box {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
}

.new-release_list_release {
    height: 348px;
    width: calc((100% - (15px * 3))/4);
    overflow: hidden;
    border-radius: 15px;
    background: var(--all-html-bg);
    display: flex;
    gap: 5px;
    flex-direction: column;
    align-items: center;
    position: relative;
    text-decoration: none;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    justify-content: space-between;
}

.new-release_list_release:hover {
    opacity: 0.7;
}
.new-release_release_img {
    width: 100%;
    height: 320px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
    position: relative;
}

.new-release_release_img > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
    z-index: 1;
    position: relative;
}

.new-release_release_img:after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 3;
}
.new-release_release_img > .top_title {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 2;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.new-release_release_img > .bottom_title {
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 2;
    display: flex;
    font-size: 12px;
    flex-direction: row;
    justify-content: space-between;
}

.new-release_release_img > .top_title > span:nth-child(1) {
    border-radius: 0 0 15px 0;
}

.new-release_release_img > .top_title > span:nth-child(2) {
    border-radius: 0 0 0 15px;
}
.new-release_release_img > .bottom_title > span:nth-child(1) {
    border-radius: 0 15px 0 0;
}

.new-release_release_img > .bottom_title > span:nth-child(2) {
    border-radius: 15px 0 0 0;
}
.new-release_release_img > * > span {
    background: var(--all-btn-bg-active);
    padding: 5px 10px;
}

.new-release_release_img > .top_title > span.new {
    background: var(--all-color-status-online);
}

.new-release_release_info {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding-top: 0px;
    padding-right: 5px;
    padding-bottom: 7px;
    padding-left: 5px;
    box-sizing: border-box;
    gap: 5px;
    justify-content: space-between;
}
.new-release_release_info div {
    display: flex;
    height: 42px;
    align-items: center;
    align-content: center;
    flex-direction: row;
    justify-content: center;
    text-align: center;
}
.new-release_release_info h2 {
    font-size: 18px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.new-release_release_info span {
    font-size: 15px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}
.unique-container {
    padding: 20px;
    background-color: var(--all-html-bg);
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.unique-row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    flex-direction: row;
    align-items: stretch;
    gap: 40px;
}
.unique-col-12 {
    flex-basis: 100%;
}
.unique-col-md-4 {
    flex-basis: 33.33%;
}
.unique-card {
    background-color: var(--all-main-bg);
    border: 1px solid #ddd;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}
.unique-card-body {
    padding: 20px;
}
.unique-card-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}
.unique-card-text {
    font-size: 16px;
    color: var(--all-text-footer-color);
}
.unique-text-center {
    text-align: center;
}
.unique-h1,
.unique-h2 {
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}
.unique-h1 {
    font-size: 24px;
}
.unique-h2 {
    font-size: 20px;
}
/*all-release*/

.all-release_block {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
    align-content: center;
}

.all-release_block > h2 {
    font-weight: 700;
    font-size: 24px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border-bottom: 1px solid;
    cursor: default;
}
.all-release_block > h2 a {
    font-size: 13px;
    text-decoration: none;
}
.all-release_block > h2 a:hover {
    opacity: 0.7;
}
.all-release_box {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
}

.all-release_list_release {
    height: 380px;
    width: calc((100% - (15px * 5))/6);
    overflow: hidden;
    border-radius: 15px;
    background: var(--all-html-bg);
    display: flex;
    gap: 5px;
    flex-direction: column;
    align-items: center;
    position: relative;
    text-decoration: none;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    justify-content: space-between;
}

.all-release_list_release:hover {
    opacity: 0.7;
}
.all-release_release_img {
    width: 100%;
    height: 320px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
    position: relative;
}

.all-release_release_img > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
    z-index: 1;
    position: relative;
}

.all-release_release_img:after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 3;
}
.all-release_release_img > .top_title {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 2;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.all-release_release_img > .bottom_title {
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 2;
    font-size: 12px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background: var(--all-btn-bg-active);
    padding: 5px 10px;
    box-sizing: border-box;
}
.all-release_release_img > .bottom_title span {
    width: 100%;
    text-align: center;
    min-width: max-content;
}
.all-release_release_img > .top_title > span:nth-child(1) {
    border-radius: 0 0 15px 0;
}

.all-release_release_img > .top_title > span:nth-child(2) {
    border-radius: 0 0 0 15px;
}

.all-release_release_img > .top_title > span {
    background: var(--all-btn-bg-active);
    padding: 5px 10px;
}

.all-release_release_img > .top_title > span.new {
    background: var(--all-color-status-online);
}

.all-release_release_info {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding-top: 0px;
    padding-right: 5px;
    padding-bottom: 7px;
    padding-left: 5px;
    box-sizing: border-box;
    gap: 5px;
    justify-content: space-between;
}
.all-release_release_info div {
    display: flex;
    height: 42px;
    align-items: center;
    align-content: center;
    flex-direction: row;
    justify-content: center;
    text-align: center;
}
.all-release_release_info h2 {
    font-size: 18px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.all-release_release_info span {
    font-size: 15px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}
/* pages */
.pages {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    align-content: center;
    justify-content: center;
    gap: 5px;
}

.pages a {
    padding: 0px 10px;
    height: 31px;
    border: 1px solid;
    text-decoration: none;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    align-content: center;
}
.pages a:hover {
    background: #c5c5c5;
    opacity: 0.6;
}
.pages a.active {
    background: #c5c5c5;
    opacity: 1;
}

.pages a span {
    padding-bottom: 5px;
    box-sizing: border-box;
}

/* Add quality badges styles */
.quality-badge {
    position: absolute;
    top: 5px;
    left: 5px;
    padding: 3px 7px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 4px;
    z-index: 2;
    color: white;
}

.quality-4k {
    background-color: #e50914; /* Netflix-style red for 4K */
}

.quality-2k {
    background-color: #0077c8; /* Blue color for 2K */
}

/* Position update release image relatively to contain the badge */
.update_release_img {
    position: relative;
}

/* LazyLoad styles */
.lazyload {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.lazyload.loaded,
.lazyloaded {
    opacity: 1;
}

/* Style for background images with lazyload */
.index-release-slider-bg.lazyload {
    background-color: #f0f0f0;
    background-image: none !important;
    transition: background-image 0.3s ease-in-out;
}

/* Style for immediate-loading banner backgrounds */
.index-release-slider-bg {
    background-color: transparent;
    background-size: cover;
    background-position: center;
    transition: background-image 0.3s ease-in-out;
}

/* Ensure the scheduler images maintain proper size while loading */
.schedule_release_img img,
.update_release_img img,
.new-release_release_img img {
    min-height: 120px;
    background-color: #f0f0f0;
}
