/* ======================================== */
/*           GLOBAL & ROOT STYLES           */
/* ======================================== */
:root {
    --bg-color: #141414;
    --text-color: #ffffff;
    --text-secondary: #e5e5e5;
    --primary-color: #e50914;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
}

/* ======================================== */
/*                  NAVBAR                  */
/* ======================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.7) 10%, rgba(0,0,0,0));
    transition: background-color 0.3s;
}

.navbar.scrolled {
    background-color: #111;
    background-image: none;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 60px 5px;
}

.navbar-logo {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
}

.navbar-links {
    display: flex;
    align-items: center;
}

.navbar-links > a,
.navbar-links > .dropdown {
    margin-left: 25px;
}

/* Search Container */
.search-container {
    padding: 5px 60px 10px;
}

#search-input {
    width: 100%;
    background: rgba(20, 20, 20, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    padding: 12px 15px;
    border-radius: 4px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s, background-color 0.3s;
}

#search-input:focus {
    border-color: rgba(255, 255, 255, 0.7);
    background-color: rgba(20, 20, 20, 0.9);
}

/* ======================================== */
/*             DROPDOWN (FIXED)             */
/* ======================================== */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    cursor: pointer;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
}

/* --- PERUBAHAN 1: MENAMBAHKAN POSITIONING TENGAH --- */
.dropdown-content {
    display: none; 
    position: absolute;
    background-color: rgba(0, 0, 0, 0.9);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
    z-index: 100;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 15px;
    left: 50%;
    transform: translateX(-50%);
}

.dropdown-content a {
    color: var(--text-secondary);
    padding: 10px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    transition: background-color 0.2s;
    border-radius: 3px;
}

.dropdown-content a:hover {
    background-color: #333;
}

.dropdown.active .dropdown-content {
    display: block;
}

.dropdown.active .dropdown-content.genre-dropdown {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0px 15px;
    min-width: 320px;
}

.dropdown.active .dropdown-content#year-dropdown-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0px 10px;
    min-width: 280px;
}

/* ======================================== */
/*               HERO SECTION               */
/* ======================================== */
.hero-section {
    position: relative;
    height: 56.25vw;
    min-height: 450px;
    max-height: 800px;
    display: flex;
    align-items: center;
    color: white;
    background-size: cover;
    background-position: center top;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 40%;
    padding-left: 60px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-buttons .btn {
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-right: 1rem;
    cursor: pointer;
}

.btn-play {
    background-color: white;
    color: black;
}

.btn-info {
    background-color: rgba(109, 109, 110, 0.7);
    color: white;
}

.hero-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 7.4rem;
    background-image: linear-gradient(180deg, transparent, rgba(37,37,37,.61), #141414);
}

/* ======================================== */
/*           MOVIE ROWS & GRIDS             */
/* ======================================== */
.main-content {
    padding: 20px 60px 0;
    margin-top: -100px; 
    position: relative;
    z-index: 12;
}

.movie-row {
    margin-bottom: 3rem;
}

.row-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.movie-list {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 1rem;
}

.movie-list::-webkit-scrollbar {
    display: none;
}
.movie-list {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.movie-card {
    position: relative;
    flex-shrink: 0;
    width: 200px;
    margin-right: 10px;
    border-radius: 4px;
    overflow: hidden;
}

.movie-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
    backface-visibility: hidden;
}
.movie-card:hover img {
    transform: scale(1.08);
    z-index: 1; /* Di bawah rating badge */
}

.rating-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: #f5c518;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 3px;
    transform: translateZ(0); /* Force hardware acceleration */
    backface-visibility: hidden; /* Prevent flickering */
    transition: all 0.3s ease; /* Smooth transition */
}
.movie-card:hover .rating-badge {
    transform: translateZ(0) scale(1.1); /* Zoom bersama card */
    background: rgba(0, 0, 0, 0.9);
}

.rating-badge i {
    color: #f5c518;
    font-size: 0.7rem;
}
@media (max-width: 768px) {
    .rating-badge {
        top: 8px;
        right: 8px;
        padding: 3px 6px;
        font-size: 0.7rem;
        transform: scale(0.9); 
    }
    .movie-card:hover .rating-badge {
        transform: scale(1); /* Tidak zoom di mobile */
    }
}

/* Search/Category Results Grid */
#search-results-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    overflow-x: hidden;
}

/* ======================================== */
/*           DETAIL PAGE STYLES             */
/* ======================================== */
body.detail-page-body {
    background-color: #181818;
}

.detail-container {
    padding: 40px 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.detail-navbar {
    background-color: #111;
    position: relative;
}

.modal-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.modal-poster {
    width: 100%;
    border-radius: 6px;
}

.modal-info h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.modal-info h3 {
    font-size: 1.2rem;
    border-bottom: 1px solid #444;
    padding-bottom: 5px;
    margin-top: 25px;
    margin-bottom: 15px;
}

.modal-info p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap; /* Izinkan item untuk pindah baris jika tidak cukup ruang */
    gap: 10px 20px; /* Jarak vertikal dan horizontal */
    margin-bottom: 20px;
}

.rating {
    font-size: 1rem;
    font-weight: bold;
}
.rating .fa-star {
    color: #f5c518;
    margin-right: 5px;
}

#modal-genres {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.genre-tag, .meta .year {
    border: 1px solid rgba(255,255,255,0.4);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
}
.modal-players {
    margin-top: 20px;
}

.modal-players h3 {
    font-size: 1.2rem;
    border-bottom: 1px solid #444;
    padding-bottom: 5px;
    margin-top: 25px;
    margin-bottom: 15px;
}

.video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background-color: #000;
    border-radius: 8px;
    margin: 15px 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}


/* ======================================== */
/*        EPISODE LIST (NETFLIX STYLE)        */
/* ======================================== */
#season-selector {
    padding: 10px;
    margin-bottom: 20px;
    background: #333;
    color: white;
    border: 1px solid #555;
    border-radius: 4px;
    font-size: 1rem;
}

.episode-list-container {
    margin-top: 15px;
}

.episode-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    margin-bottom: 8px;
    border-radius: 4px;
    transition: background-color 0.2s ease-in-out;
}

/* Di dalam file style.css, tambahkan aturan CSS berikut */

/* Perbaikan utama untuk episode card */
.episode-card {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 10px;
    transition: background-color 0.2s ease;
}

.episode-card:hover {
    background: rgba(255, 255, 255, 0.1);
}

.episode-card .number {
    font-size: 1.4rem;
    font-weight: bold;
    color: #e50914;
    min-width: 30px;
    text-align: center;
}

.episode-card .thumbnail {
    width: 120px;
    height: 68px;
    object-fit: cover;
    border-radius: 4px;
    background: #222;
    flex-shrink: 0;
}

.episode-card .info {
    flex-grow: 1;
    min-width: 0; /* Penting untuk mencegah overflow */
}

.episode-card .info h4 {
    margin: 0 0 5px 0;
    font-size: 1rem;
    font-weight: 500;
    color: white;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.episode-card .info p {
    margin: 0;
    font-size: 0.85rem;
    color: #d1d1d1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.episode-card .runtime {
    font-size: 0.9rem;
    color: #aaa;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: auto;
    padding-left: 10px;
}

/* Untuk tampilan mobile */
@media (max-width: 768px) {
    .episode-card {
        flex-wrap: wrap;
        padding: 12px;
        gap: 10px;
    }
    
    .episode-card .number {
        font-size: 1.2rem;
        order: 1;
    }
    
    .episode-card .thumbnail {
        width: 100px;
        height: 56px;
        order: 3;
    }
    
    .episode-card .info {
        order: 4;
        flex-basis: 100%;
    }
    
    .episode-card .info h4 {
        font-size: 0.95rem;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .episode-card .runtime {
        order: 2;
        margin-left: auto;
        font-size: 0.85rem;
    }
    
    /* Sembunyikan overview di mobile untuk menghemat space */
    .episode-card .info p {
        display: none;
    }
}

/* Untuk tampilan sangat kecil (mobile kecil) */
@media (max-width: 480px) {
    .episode-card {
        padding: 10px;
    }
    
    .episode-card .number {
        font-size: 1.1rem;
        min-width: 25px;
    }
    
    .episode-card .thumbnail {
        width: 80px;
        height: 45px;
    }
    
    .episode-card .info h4 {
        font-size: 0.9rem;
    }
    
    .season-container h4 {
        font-size: 1.1rem;
    }
}

/* Memastikan container tidak overflow */
.episode-list-container {
    overflow: hidden;
}

.episode-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.episode-card-link:hover {
    text-decoration: none;
}

/* ======================================== */
/*          RESPONSIVE MEDIA QUERIES        */
/* ======================================== */

/* --- PERBAIKAN DI SINI --- */
@media (max-width: 768px) {
    .navbar-container {
        padding: 15px 20px 5px;
    }
    .search-container {
        padding: 5px 20px 10px;
    }
    .navbar-links > a, 
    .navbar-links > .dropdown {
        margin-left: 10px;
    }
    .dropdown-toggle, .navbar-links > a {
        font-size: 0.8rem;
    }
    
    .navbar-logo {
        font-size: 1.4rem;
    }
    .hero-section {
        height: 80vw;
    }
    .hero-content {
        padding-left: 20px;
        max-width: 85%;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-content p {
        font-size: 0.9rem;
        -webkit-line-clamp: 3;
    }
    .hero-buttons .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    .main-content, .detail-container {
        padding: 20px 20px 0;
        margin-top: -50px;
    }
    .row-title {
        font-size: 1.2rem;
    }
    .movie-card {
        width: 150px;
    }
    #search-results-list {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 10px;
    }
    
    /* Perbaikan untuk halaman detail di mobile */
    .modal-grid {
        grid-template-columns: 1fr; 
        gap: 20px;
    }

    .modal-poster {
        margin: 0 auto;
        max-width: 250px;
    }
    
    .modal-info h2 {
        font-size: 1.8rem;
        text-align: center;
    }

    .meta {
        justify-content: center;
    }

    .modal-info h3 {
        text-align: center;
    }
    
    .episode-card {
        gap: 10px;
    }
    .episode-card .thumbnail {
        width: 120px;
        height: 67px;
    }
    .episode-card .info h4 {
        font-size: 0.9rem;
    }
    .episode-card .info p {
        display: none;
    }

    /* --- PERUBAHAN 2: MENGATUR DROPDOWN DI MOBILE --- */
    .dropdown.active .dropdown-content.genre-dropdown {
        grid-template-columns: repeat(2, 1fr);
        min-width: 260px; /* Sedikit mengurangi lebar minimum lagi */
        gap: 0px 10px;
    }
    .dropdown.active .dropdown-content#year-dropdown-content {
        grid-template-columns: repeat(3, 1fr);
        min-width: 240px;
    }
}
/* --- AKHIR PERBAIKAN --- */

/* --- PERUBAHAN 3: MENGECUALIKAN DROPDOWN KANAN DARI ATURAN TENGAH --- */
.dropdown.dropdown-right .dropdown-content {
    left: auto;
    right: 0;
    transform: none; /* Hapus transform agar kembali rata kanan */
}
.load-more-btn {
    background-color: var(--primary-color);
    color: var(--text-color);
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.load-more-btn:hover {
    opacity: 0.8;
}
.detail-navbar .navbar-container {
    justify-content: space-between;
    align-items: center;
}

.navbar-back-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}

.navbar-back-link:hover {
    color: var(--text-color);
}
.navbar-links > a,
.navbar-links > a:visited {
    color: var(--text-secondary);
    text-decoration: none;
}

.navbar-links > a:hover {
    color: var(--text-color);
}
.hero-section {
    transition: background-image 1s ease-in-out;
}

.main-content.results-view {
    margin-top: 0;
    padding-top: 140px;
}
@media (max-width: 480px) {
    .navbar-container {
        flex-wrap: wrap;
        justify-content: center;
    }
    .navbar-links {
        margin-top: 10px;
    }
    .movie-card {
        width: 120px;
    }
    #search-results-list {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    }
}
/* Footer Styles */
/* Footer Styles */
.site-footer {
    background-color: #0a0a0a;
    border-top: 1px solid #222;
    padding: 50px 60px 20px;
    margin-top: 50px;
    font-family: 'Poppins', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-columns {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: #e50914;
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-column p {
    color: #888;
    line-height: 1.6;
    font-size: 0.95rem;
    text-align: justify;
}


.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 5px 0;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid #333;
}

.footer-logo {
    font-size: 2rem;
    font-weight: bold;
    color: #e50914;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.footer-copyright {
    color: #888;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-columns {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-column:first-child {
        grid-column: 1 / -1;
        text-align: center;
    }
    
    .footer-column p {
        text-align: center;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 40px 30px 20px;
    }
    
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-column p {
        text-align: center;
    }
    
    .footer-links a {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 30px 20px 15px;
    }
    
    .footer-columns {
        gap: 25px;
    }
    
    .footer-column h3 {
        font-size: 1.1rem;
    }
    
    .footer-logo {
        font-size: 1.6rem;
    }
    
    .main-website {
        font-size: 1.1rem !important;
    }
}
.promo-banner-section {
    position: relative;
    max-width: 1600px;
    margin: 50px auto;
    padding: 0 60px; /* Menyesuaikan dengan padding main-content */
    overflow: hidden;
}

.promo-banner-section .row-title {
    margin-bottom: 20px;
    padding-left: 0; /* Menghilangkan padding kiri yang mungkin ada dari .main-content */
}

.promo-banner-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.promo-banner-item {
    min-width: 100%;
    box-sizing: border-box;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.promo-banner-item img {
    width: 100%;
    height: auto;
    display: block;
}

.slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 40px;
    pointer-events: none; /* Agar tidak menghalangi klik pada banner */
}

.slider-nav button {
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    padding: 15px 10px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 1.2rem;
    transition: background-color 0.3s;
    pointer-events: all; /* Mengaktifkan kembali klik pada tombol */
}

.slider-nav button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.slider-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}


@media (max-width: 768px) {
    .promo-banner-section {
        padding: 0 20px;
        margin: 30px auto;
    }
    .slider-nav {
        padding: 0 10px;
    }
    .slider-nav button {
        padding: 10px 5px;
        font-size: 1rem;
    }
}
.promo-grid-section {
            max-width: 1200px;
            margin: 50px auto;
            padding: 0 60px;
        }
        /* Responsif untuk tablet */
        @media (max-width: 968px) {
            .promo-grid-section {
                padding: 0 40px;
            }
        }

        /* Responsif untuk mobile */
        @media (max-width: 768px) {
            .promo-grid-section {
                padding: 0 20px;
                margin: 30px auto;
            }
            
            .promo-grid {
                grid-template-columns: 1fr;
                gap: 15px;
            }
            
            .promo-grid-section .row-title {
                font-size: 1.5rem;
                margin-bottom: 20px;
            }
        }
        .cast-dropdown-container {
    margin: 20px 0;
}

.cast-dropdown-toggle {
    width: 100%;
    background: #2c2c2c;
    border: 1px solid #444;
    color: white;
    padding: 12px 15px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background-color 0.3s;
}

.cast-dropdown-toggle:hover {
    background: #3a3a3a;
}

.cast-dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.cast-dropdown-content.active {
    max-height: 500px;
}

.cast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    padding: 15px;
    background: #1e1e1e;
    border-radius: 6px;
    margin-top: 10px;
    border: 1px solid #333;
}

.cast-item {
    text-align: center;
}

.cast-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 8px;
    border: 2px solid #444;
}

.cast-name {
    font-size: 0.8rem;
    color: #d1d1d1;
    display: block;
    line-height: 1.3;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cast-grid {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
        gap: 10px;
        padding: 10px;
    }
    
    .cast-image {
        width: 50px;
        height: 50px;
    }
    
    .cast-name {
        font-size: 0.7rem;
    }
    
    .cast-dropdown-toggle {
        padding: 10px 12px;
        font-size: 1rem;
    }
}

.movie-row {
    position: relative;
}

.scroll-indicator {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    opacity: 0;
    transition: opacity 0.3s;
}

.scroll-indicator.left {
    left: 0;
}
.scroll-indicator.right {
    right: 10px;
}

.movie-row:hover .scroll-indicator {
    opacity: 1;
}
.scroll-indicator:hover {
    background: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.scroll-progress {
    height: 3px;
    background: #333;
    width: 100%;
    margin-top: 10px;
    border-radius: 3px;
    overflow: hidden;
}

.scroll-progress-inner {
    height: 100%;
    background: var(--primary-color);
    width: 0%;
    transition: width 0.2s;
}
@media (max-width: 768px) {
    .scroll-indicator {
        opacity: 0.7; /* Selalu terlihat di mobile */
        width: 35px;
        height: 35px;
    }
    
    .scroll-indicator.left {
        left: 5px;
    }
    
    .scroll-indicator.right {
        right: 5px;
    }
    
    /* Progress bar di mobile */
    .scroll-progress {
        height: 3px;
        background: #333;
        width: 100%;
        margin-top: 10px;
        border-radius: 3px;
        overflow: hidden;
    }
    
    .scroll-progress-inner {
        height: 100%;
        background: var(--primary-color);
        width: 0%;
        transition: width 0.2s;
    }
}
.promo-hero-section {
            max-width: 1200px;
            margin: 50px auto;
            padding: 0 20px;
        }

        .promo-hero-banner {
            width: 100%;
            text-align: center;
            margin: 0 auto;
        }

        .promo-hero-banner img {
            width: 100%;
            max-width: 1000px;
            height: auto;
            border-radius: 12px;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
            transition: all 0.3s ease;
        }

        .promo-hero-banner img:hover {
            transform: scale(1.02);
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
        }

        /* Responsive adjustments */
        @media (max-width: 1024px) {
            .promo-hero-section {
                margin: 40px auto;
            }
            
            .promo-hero-banner img {
                max-width: 800px;
            }
        }

        @media (max-width: 768px) {
            .promo-hero-section {
                margin: 30px auto;
                padding: 0 15px;
            }
            
            .promo-hero-banner img {
                border-radius: 8px;
            }
        }
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #e50914;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: #ff2a2a;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.scroll-to-top:active {
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .scroll-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}
.dropdown.active .dropdown-content.genre-dropdown {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Ubah dari 2 menjadi 3 kolom */
    gap: 0px 15px;
    min-width: 320px;
}

/* Untuk tampilan mobile */
@media (max-width: 768px) {
    .dropdown.active .dropdown-content.genre-dropdown {
        grid-template-columns: repeat(2, 1fr); /* Tetap 2 kolom di mobile */
        min-width: 260px;
        gap: 0px 10px;
    }
}
/* Tambahkan di style.css */
.btn-play {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #e50914;
    color: white;
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 15px 0;
}

.btn-play:hover {
    background-color: #ff2a2a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(229, 9, 20, 0.3);
    color: white;
    text-decoration: none;
}

/* Untuk layout yang lebih baik */
.modal-info h3 {
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: #fff;
    border-bottom: 2px solid #e50914;
    padding-bottom: 8px;
}
.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #28a745;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1rem;

}

.btn-download:hover {
    background-color: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
    color: white;
    text-decoration: none;
}

/* Untuk input download di admin */
.episode-entry {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.episode-entry label {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.episode-entry input {
    width: 100%;
    padding: 10px;
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-light);
    outline: none;
    margin-bottom: 8px;
}

.episode-entry input:focus {
    border-color: var(--primary);
}
@media (max-width: 768px) {
    .btn-download {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
#download-modal input:focus {
    border-color: #e50914;
    outline: none;
}

#registration-message {
    padding: 10px;
    border-radius: 4px;
    text-align: center;
}
.tab-button {
    transition: all 0.3s ease;
}

.tab-button:hover {
    background-color: rgba(229, 9, 20, 0.1) !important;
}

.tab-button.active {
    font-weight: bold !important;
}
}