:root {
    --primary-color : #ff375f;
}
body {
    font-family: "Lato", sans-serif;
}
a {
    text-decoration: none;
    color: #333;
}
a:hover {
    color: var(--primary-color);
}
.container {
    max-width: 1190px;
}
.navbar-custom {
    background-color: rgba(20, 20, 20, 0.85); 
    backdrop-filter: blur(10px); 
    z-index: 1030; 
}
.navbar-brand,
.nav-link {
    color: #f8f9fa !important;
}
.nav-link:hover {
    color: #adb5bd !important;
}
.hero-main-item {
    background: #f3f3f3;
}
.hero-main-item .col-md-4:first-child {
    overflow: hidden;
    border-radius: 8px; 
}
.hero-main-item img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 2px;
    transition: transform 0.2s ease-in-out; 
}
.hero-main-item .col-md-4:first-child:hover img {
    transform: scale(1.03);
}
.hero-main-item .hero-text h1 {
    font-size: 1.5rem;
    margin: 1rem 0;
}
.hero-main-item .hero-text .episode-count {
    font-size: .9rem;
    margin-bottom: 1rem;
}
.hero-main-item .hero-text .synopsis {
    font-size: .9rem;
    line-height: 1.6;
    max-height: 250px; 
    overflow: hidden;
}
.hero-side-item {
    display: flex;
    gap: 1rem; 
    padding: 1rem;
    background-color: #f3f3f3; 
    border-radius: 8px;
    transition: background-color 0.2s;
    overflow: hidden; 
}

.hero-side-item img {
    width: 100px; 
    height: 150px; 
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
    transition: transform 0.2s ease-in-out; 
}
.hero-side-item:hover img {
    transform: scale(1.05);
}
.hero-side-item .hero-text h2 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}
.hero-side-item .hero-text .episode-count {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}
.hero-side-item .hero-text .synopsis {
    font-size: 0.8rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3; 
    -webkit-box-orient: vertical;
}
.hero-text .genre {
    display: inline-block;
    background-color: #eeeeee;
    padding: 4px 10px;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 5px;
    margin-top: 5px;
}
.card-drama {
    background-color: transparent;
    border: none;
    transition: transform 0.2s ease-in-out;
    margin-bottom: 1.5rem;
}
.card-drama:hover {
    transform: scale(1.03); 
}
.card-drama a:hover {
    color: var(--primary-color);
}
.card-drama .card-img-top {
    aspect-ratio: 2 / 3; 
    object-fit: cover; 
    border-radius: 8px; 
}
.card-drama .card-body {
    padding: 0.75rem 0.25rem;
}
.card-drama .card-title {
    font-size: 0.93rem;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    word-wrap: break-word;
    line-height: 1.2rem;
}
.card-drama .card-text {
    font-size: 0.8rem;
    color: #6c7783;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.card-img-overlay-top {
    position: absolute;
    bottom: 0;
    left: 0.5rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: bold;
    color: #fff;
}
.card-img-overlay-bottom {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
}
.section-title {
    border-left: 4px solid var(--primary-color); 
    padding-left: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 18px;
}
.footer-custom {
    background-color: #1a1a1a;
    color: #adb5bd;
}
#mobileHeroSlider .carousel-indicators {
    bottom: -15px; 
}
#mobileHeroSlider .carousel-indicators [data-bs-target] {
    width: 20px;         
    height: 3px;        
    border-radius: 10%;  
    text-indent: -999px;
    border-top: 0;
    border-bottom: 0;
    background-color: #ced4da; 
    opacity: 0.7;
    margin-left: 5px;
    margin-right: 5px;
}
#mobileHeroSlider .carousel-indicators .active {
    background-color: var(--primary-color); 
    opacity: 1;
}
.navbar-toggler {
    border: none !important;
}
.navbar-toggler:focus {
    box-shadow: none !important;
}
.navbar-toggler-icon {
    display: none !important; 
}
.navbar-toggler::after {
    font-family: 'bootstrap-icons';
    content: '\F479';       
    color: #f8f9fa;     
    font-weight: 600;
    font-size: 2rem;
    letter-spacing: 1px;
}
.navbar-toggler[aria-expanded="true"]::after {
    content: '\F62A'; 
}
.offcanvas.offcanvas-start,
.offcanvas.offcanvas-end {
    width: 60vw !important;
}
.search-form-wrapper {
    position: relative;
    width: 100%; 
}
.search-form-wrapper .form-control {
    padding-right: 2.5rem; 
    background-color: #ffffff; 
    color: #212529;
    border: 1px solid #ced4da;
    border-radius: 50px;
}
.search-form-wrapper .form-control::placeholder {
    color: #6c757d;
}
.search-form-wrapper .search-icon-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%); 
    background: none;
    border: none;
    padding: 0 0.5rem; 
    color: #6c757d; 
    transition: color 0.2s;
    z-index: 10; 
}
.search-form-wrapper .search-icon-btn:hover {
    color: var(--primary-color); 
}
.search-form-wrapper .search-icon-btn i {
    font-size: 1.1rem;
    font-weight: bold;
}
.submenu-nav ul {
    display: flex; 
    list-style: none; 
    padding: 0;
    margin: 0;
}
.submenu-nav li a {
    display: block;
    padding: 0.5rem 1rem; 
    text-decoration: none;
    color: #adb5bd; 
    font-weight: 600; 
}
.submenu-nav li a span {
    position: relative; 
    display: inline-block; 
}
.submenu-nav li a:hover span {
    color: #f8f9fa; 
}
.submenu-nav li.active a span {
    color: var(--primary-color); 
}
.submenu-nav li.active a span:after {
    content: "";
    position: absolute;
    bottom: -5px; 
    left: 50%; 
    transform: translateX(-50%); 
    background-color: var(--primary-color);
    border-radius: .04rem;
    height: .2rem;
    width: 2rem;
}
.offcanvas {
    background: rgba(51, 51, 51, 0.86);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
.offcanvas ul {
    margin-left: 2rem;
    list-style: disc;
    color: var(--primary-color);
    line-height: 2rem;
}
.offcanvas a {
    font-size: 16px;
}
.ep_num.active {
    background: var(--primary-color);
    color: #fff;
}
.ep_num.active a {
    color: #fff;
}
.breadcrumb {
    background-color: transparent;
    padding: 0;
    font-size: 0.9rem;
}
.breadcrumb-item+.breadcrumb-item::before {
    display: none;
}
.breadcrumb .separator{
    margin: 0 .4rem;
}
.breadcrumb-item a {
    text-decoration: none;
    color: #6c757d;
}
.breadcrumb-item a:hover {
    color: #212529;
}
.breadcrumb-item.active {
    color: #212529;
    font-weight: 500;
}
.single-poster {
    border-radius: 8px;
    width: 100%;
    max-width: 300px;
    margin: 0 auto; 
}
.btn-play-top {
    width: 100%;
    margin-top: 1rem;
}
.episode-count-title {
    font-size: 1.2rem;
    font-weight: 400;
    color: #6c757d;
}
.ep-item {
    display: flex;
    align-items: center;
    background-color: #f3f3f3; 
    border-radius: 8px;
    padding: 8px;
    height: 100px; 
    text-decoration: none;
    color: inherit;
    transition: background-color 0.2s;
    overflow: hidden; 
}
.ep-item:hover {
    background-color: #e9ecef; 
}
.ep-poster {
    width: 90px;
    height: 108px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}
.ep-info {
    padding-left: 12px;
    overflow: hidden; 
}
.ep-info.active h5,
.ep-info.active span {
    color: var(--primary-color);
}
.ep-title {
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    word-wrap: break-word;
    overflow: hidden;
}
.ep-number {
    font-size: 0.7rem;
    color: #6c757d;
}
.view-more-btn {
    justify-content: center;
    flex-direction: column;
    text-align: center;
    color: #999;
}
.view-more-btn i {
    font-size: 1.2rem;
    margin-top: 4px;
}
.view-more-btn:hover {
    color: #000;
}
.single-title {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 1rem;
}
.episode-count {
    font-size: 1rem;
    color: #6c757d;
    margin-top: -5px; 
}
.synopsis {
    font-size: 0.95rem;
    line-height: 1.6;
}
.genre-tag {
    display: inline-block;
    background-color: #eeeeee;
    color: #212529;
    padding: 4px 10px;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 1rem;
}
.genre-tag:hover {
    background-color: #e0e0e0;
}
.btn-play-now {
    background: linear-gradient(to right, #e8006a, #ff4d4d);
    color: #ffffff;
    border: none;
    font-weight: 500;
    font-size: 16px;
    padding: 0.5rem 1.3rem;
    border-radius: 50px;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-play-now:hover {
    color: #ffffff;
    transform: scale(1.03);
    box-shadow: 0 4px 15px rgba(232, 0, 106, 0.3);
}
.btn-play-now i {
    margin-right: 8px;
    font-size: 1.3rem; 
}
.card-bread {
    margin-bottom: 1.2rem;
}
.card-content {
    background: #f3f3f3;
}
.play-bow {
    margin-bottom: 2rem;
}
.share-section {
    margin-top: auto; 
    padding-top: 1rem;
    display: flex;
    align-items: center;
}
.share-text {
    font-weight: 600;
    margin-right: 1rem;
    color: #212529;
}
.share-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f1f1f1;
    color: #212529;
    text-decoration: none;
    margin-right: 0.5rem;
    transition: background-color 0.2s;
}
.share-icon:hover {
    background-color: #e0e0e0;
    color: #000;
}
.single-synopsis {
    font-size: 14px;
}
.line-bread {
    color: #ccc;
}
.offcanvas.offcanvas-bottom {
    background: #fff;
    height: 400px;
}
.ep_num {
    padding: 13px;
    margin: 5px;
    border-radius: 7px;
    background: #f3f3f3;
    text-align: center;
}
.ep-list-trigger-mobile {
    border-top: 2px solid #ddd;
    border-bottom: 2px solid #ddd;
    padding: 10px 0;
}
ul.nav-tabs {
    margin-left: unset;
    list-style: none;
}
.nav-link  {
    color: #333!important;
}
.nav-link.active  {
    color: #fff!important;
}
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    border: none;
    background: var(--primary-color);
}
.ep-title.offcanvas-title {
    font-size: 16px;
}
.nav-link.side {
    color: #fff!important;
}
.nav-link.header {
    color: #fff!important;
}
.nav-link.header.active {
    color: var(--primary-color)!important;
}
.pagination .page-link {
    color: #212529; 
    background-color: #f1f3f5; 
    border: none; 
    margin: 0 4px;
    border-radius: 0.25rem; 
}
.pagination .page-item.active .page-link {
    background-color: var(--primary-color); 
    border-color: var(--primary-color);
    color: #ffffff; 
    z-index: 3;
}
.pagination .page-link:hover {
    background-color: #e9ecef; 
    color: #000;
    z-index: 2;
}
.pagination .page-item.disabled .page-link {
    color: #6c757d; 
    background-color: #f1f3f5; 
    border: none;
}
.pagination .page-link:focus {
    box-shadow: none;
}
.bottom-nav {
    position: fixed; 
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex; 
    justify-content: space-around; 
    align-items: center;
    background-color: #ffffff; 
    border-top: 1px solid #e0e0e0; 
    padding: 8px 0; 
    z-index: 1040; 
}
.bottom-nav-item {
    display: flex;
    flex-direction: column; 
    align-items: center; 
    text-decoration: none;
    color: #6c757d;
}
.bottom-nav-item i {
    font-size: 1.6rem; 
    margin-bottom: -7px; 
}
.bottom-nav-item span {
    font-size: 0.75rem; 
    font-weight: 500;
}
.bottom-nav-item.active {
    color: var(--primary-color); 
}
.bottom-nav-item:hover {
    color: #495057;
}
.video-player-placeholder {
    width: 100%;
    background-color: #000;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
@media (max-width: 992px) {
    .video-player-placeholder {
        height: 100vh;
        max-height: 350px;
        margin-top: -.5rem;
    }
}
.episode-sidebar {
    background-color: #f3f3f3;
    color: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    height: 100%; 
    overflow: hidden; 
}
.video-player-main .video-player-placeholder.h-100 {
    height: 100%;
    aspect-ratio: auto; 
}
.episode-sidebar .sidebar-header {
    flex-shrink: 0; 
}
.episode-sidebar .nav-tabs {
    border-bottom: 1px solid #495057;
    flex-shrink: 0; 
}
.episode-sidebar .tab-content {
    flex-grow: 1; 
    overflow-y: auto; 
    padding-top: 1rem;
}
.row-sidebar {
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-right: unset!important;
    margin-left: unset!important;
}
.sidebar-ep {
    display: flex;
    font-size: .9rem;
    font-weight: bold;
    padding: 6px;
    background: #fff;
    margin: 3px;
    align-items: center;
    justify-content: center;
}
.sidebar-ep.active {
    background: var(--primary-color);
    color: #fff;
}
.ep-preview-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0.75rem 0.25rem;
    background-color: #f1f3f5; 
    color: #212529; 
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    font-size: 0.9rem;
}
.ep-preview-btn:hover {
    background-color: #e9ecef;
}
.ep-preview-btn.active {
    background: var(--primary-color);
    color: #fff;
}
.ep-preview-btn i.bi-lock-fill {
    font-size: 0.8rem;
    color: #adb5bd;
}
.ep-preview-btn.disabled {
    color: #adb5bd;
    background-color: #f8f9fa;
    pointer-events: none;
}
.nav-link.sidebar.active {
    background: var(--primary-color)!important;
}
.nav-link.sidebar {
    color: #fff!important;
}
video::-webkit-media-controls-overflow-button {
    display: none !important;
}
.footer-link {
    color: #fff;
}
.search-header {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 1.5rem;
}
.search-header strong {
    color: var(--primary-color);
    font-weight: 700;
}
.search-header .query-highlight {
    color: var(--primary-color);
    font-weight: 700;
}
.search-item-card {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #e0e0e0;
    border-radius: 0;
    padding-bottom: 1rem;
}
.search-item-image {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}
.search-item-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (min-width: 768px) {
    .search-item-title {
        white-space: normal;
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2; 
    }
}
.search-item-episodes {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}
.search-item-synopsis {
    font-size: 0.9rem;
    color: #495057;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
@media (min-width: 768px) {
    .search-item-synopsis {
        -webkit-line-clamp: 3;
    }
}
.btn-putar {
    background: linear-gradient(to right, #e8006a, #ff4d4d);
    color: #ffffff;
    border: none;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 5px; 
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap; 
}
.btn-putar:hover {
    color: #ffffff;
    opacity: 0.9;
}
@media(min-width: 992px) {
    .search-item-image {
        max-width: 150px;
    }
    .search-detail {
        margin-left: -2rem;
    }
}
@media(max-width: 767.98px) {
    .search-item-image {
        aspect-ratio: 2 / 3;
    }
    .search-item-title {
        font-size: 1rem;
    }
    .genre-tag {
        margin-top: unset;
    }
    .search-item-synopsis {
        margin-bottom: .5rem;
    }
}
@media (min-width: 992px) {
    .video-player-placeholder {
        aspect-ratio: 16 / 9; 
    }
}
@media (min-width: 768px) {
    .single-poster {
        max-width: 100%;
        margin-right: 1rem;
    }
    .single-content {
        padding: 2rem 0 2rem 3rem;
    }
    .bottom-nav {
        display: none;
    }
    .video-info-mobile h1 {
        display: none;
    }
}
@media (max-width: 767.98px) {
    .btn-play-now {
        width: 100%;
        max-width: 200px; 
    }
    .single-poster {
        height: 100%;
        max-width: 150px;
        border-radius: 4px;
    }
    .see-text {
        display: none;
    }
    .card-drama {
        margin-bottom: unset;
    }
    .single-title {
        font-size: 1.4rem;
    }
    .genre-tag {
        margin-top: unset;
    }
    .card-drama .card-img-top {
        border-radius: 2px;
    }
    .card-drama .card-title {
        white-space: nowrap;
    }
    .hero-side-item.slide {
        padding: 0;
        border-radius: 0;
    }
    .hero-side-item.slide img {
        width: 120px; 
        height: 100%; 
        border-radius: 2px;
    }
    .hero-side-item .hero-text h2 {
        margin-top: 10px;
    }
    .hero-side-item .hero-text .synopsis {
        -webkit-line-clamp: 2;
    }
    .line-bread {
        display: none;
    }
    .related-video {
        margin-bottom: 4rem;
    }
    .video-info-mobile h1 {
        font-size: 1.3rem;
        margin-top: 1rem;
        font-weight: bold;
    }
}
@media(max-width: 389px) {
    .search-form-wrapper {
        max-width: 200px!important;
    }
}
.mobile-footer-banner {
    display: none;
    position: fixed;
    bottom: 15px;
    left: 15px;
    right: 15px;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1050;
    padding: 10px 15px;
    box-sizing: border-box;
    border-radius: 50px;
}

@media (max-width: 767.98px) {
    .mobile-footer-banner {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
}

.mobile-footer-banner .app-info {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.mobile-footer-banner .app-logo {
    width: 40px; 
    height: 40px;
    border-radius: 8px; 
    margin-right: 10px;
}

.mobile-footer-banner .app-text {
    font-size: 0.9em;
    color: #333;
    line-height: 1.3;
}

.mobile-footer-banner .open-button {
    background: linear-gradient(270deg,#ff871f,#ff0045 48%,#f40065);
    color: white;
    border: none;
    border-radius: 25px; 
    padding: 8px 20px;
    font-weight: bold;
    font-size: 0.9em;
    margin-left: 15px;
    white-space: nowrap; 
}

.mobile-footer-banner .close-button {
    position: absolute;
    top: -30px;
    right: 10px;
    background-color: rgb(175 175 175 / 60%);
    color: #000;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7em;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1051;
}
.items-start {
  width: 100%;
  display: flex;
  gap: 1rem;
}

.video-player-main {
    flex-grow: 1;
    min-width: 0;

}
.video-player-placeholder {
    aspect-ratio: unset;
    max-height: 82vh;
}
.episode-sidebar-wrapper {
    flex-basis: 250px;
    flex-shrink: 0;
    max-height: 88vh;
}
.items-start div.sidebar-header:nth-of-type(1) {
    flex-grow: unset;
}
.vid-title {
    font-size: 1.3rem;
    margin-top: 1rem;
    font-weight: bold;
}
.sidebar-ep {
    font-size: 1rem;
    padding: 8px;
}
.total-eps {
    font-size: 16px;
    color: var(--primary-color) !important;
    margin-top: 2px;
}
.hidden{ display:none!important; }
@media(max-width: 992px) {
    .episode-sidebar-wrapper {
        display: none;
    }
    .container.video-eps {
        padding-right: unset!important;
        padding-left: unset!important;
    }
    .vid-title {
        margin-left: 1.5rem!important;
    }
}
@media(max-width:767.98px) {
    .video-player-placeholder {
        aspect-ratio: unset;
        max-height: 58vh;
    }
    .breadcrumb {
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        white-space: nowrap;
    }
}
.submenu-nav {
    position: relative;
    z-index: 1020;
}
.dropdown-menu {
    z-index: 1021;
}
.dropdown-menu-arrow {
    margin-top: 10px !important;
}
.dropdown-menu-arrow::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid var(--bs-dropdown-border-color, rgba(0,0,0,0.15));
}
.dropdown-menu-arrow::after {
    content: '';
    position: absolute;
    top: -9px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-bottom: 9px solid var(--bs-dropdown-bg, white);
}
.dropdown-menu-arrow.dropdown-menu-end::before {
    left: auto;
    right: 20px;
    transform: none;
}
.dropdown-menu-arrow.dropdown-menu-end::after {
    left: auto;
    right: 21px;
    transform: none;
}
.submenu-nav ul.dropdown-menu {
    display: none;
}
.submenu-nav ul.dropdown-menu.show {
    display: unset;
}
.submenu-nav li a.dropdown-item {
    color: #333;
}
.player-options {
    font-weight: 400;
    width: 100%;
    background: #222;
    padding: .7rem 1rem;
}
#player-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}
#player-list li {
    font-size: 14px;
}
#player-list li a {
    color: #fff;
}
#light-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 999; 
}
#light-overlay.active {
    display: block;
}
#light-mode {
    position: relative; 
    z-index: 1001;
}

#light-mode.active {
    color: orange;
}
#player.lights-off {
    position: relative; 
    z-index: 1000; 
    background: #000;
}
@media(max-width: 767.98px) {
    #player-list li {
        font-size:12px!important;
    }
}
.toast-notification {

    position: fixed;
    left: 50%;
    bottom: 30px; 
    transform: translateX(-50%);
    width: 80%;

    background-color: #28a745; 
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 2000; 

    display: flex;
    align-items: center;
    font-weight: 500;

    opacity: 0;
    visibility: hidden;

    transition: opacity 0.3s ease, bottom 0.3s ease, visibility 0.3s ease;
}

.toast-notification i {

    margin-right: 10px;
    font-size: 1.2em;
}

.toast-notification.show {
    opacity: 1;
    visibility: visible;
    bottom: 50px; 
}
.navbar-brand {
    max-width: 250px;
    max-height: 90px;
}
.navbar-brand img {
    width: 100%;
    max-height: 40px;
}
.navbar-nav li {
    padding: 0 .5rem;
}
.dropdown-item.active, .dropdown-item:active {
    background-color: var(--primary-color);
}
.kategori-container {
    position: relative;
    background-color: var(--bs-body-tertiary);
    padding: 0 1rem 1rem 0;
    border-radius: var(--bs-border-radius);
    z-index: 1;
}
.kategori-wrapper {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0.5rem;
    transition: all 0.3s 
    ease-out;
}
.kategori-wrapper.is-expanded {
    flex-wrap: wrap;
    overflow-x: visible;
}
.kategori-item {
    flex-shrink: 0;
    display: block;
    padding: 0.375rem 0.75rem;
    background-color: #f3f3f3;
    border-radius: var(--bs-border-radius);
    text-decoration: none;
    color: var(--bs-body-color);
    font-size: 0.9rem;
    white-space: nowrap;
}
.kategori-toggle-btn {
    display: flex;
    position: absolute;
    top: 0;
    right: 0.75rem;
    z-index: 2;
    border-radius: 50px;
    width: 30px;
    height: 30px;
    justify-content: center;
    background: var(--primary-color);
    color: #fff;
}
.kategori-toggle-btn:active{
    background: #f3f3f3;
}
.kategori-toggle-btn .bi-chevron-down {
     transition: transform 0.3s ease;
}
.kategori-toggle-btn.is-expanded .bi-chevron-down {
    transform: rotate(180deg);
}
@media (min-width: 992px) {
    .kategori-toggle-btn {
        display: none;
    }
    .kategori-wrapper {
        display: grid;
        grid-template-columns: repeat(8, 1fr);
        overflow: visible;
        flex-wrap: unset;
        gap: 0.25rem 0.5rem;
    }
    .kategori-item {
            background-color: #f3f3f3;
            padding: 0.4rem .7rem;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            word-wrap: break-word;
            line-height: 1.2rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
    .kategori-item.active {
        background-color: var(--bs-light);
        color: var(--bs-danger);
        font-weight: 500;
        text-align: center;
        border-radius: var(--bs-border-radius);
    }
}
.footer-info {
    text-align: left;
}
.footer-info h2 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}
.footer-info a {
    color: #adb5bd;
}
.footer-info a:hover {
    color: #fff;
}
.footer-info hr {
    width: 30%;
    height: 3px;
    background-color: #444;
    border: none;
    margin-top: -5px;
}
.footer-info ul {
    padding: 0;
    list-style: none;
}
@media(max-width: 767.98px) {
    .footer-info hr {
        margin-bottom: .5rem;
    }
}
.floating-banner {
    position: fixed;
    top: 50px;
    width: 120px;
    z-index: 99991;
}
.banner-kiri {
    left: 2rem;
}

.banner-kanan {
    right: 2rem;
}
.floating-banner img {
    width: 100%;
    height: auto;
    display: block; 
}
.close-banner {
    display: block;
    background-color: #dc3545;
    color: white;
    text-align: center;
    padding: 2px 0;
    font-size: 0.8em;
    font-weight: bold;
    font-family: monospace;
    cursor: pointer;
    transition: background-color 0.2s;
}
.close-banner:hover {
    background-color: #c82333;
}
@media (max-width: 1499px) {
    .floating-banner {
        display: none;
    }
}
.separator {
    margin-top: -5px;
    margin-right: 5px;
}