/* Reset dan Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a001a 50%, #0a0a0a 100%);
    color: rgb(184, 186, 188);
    line-height: 1.4;
    /* Tambahan untuk stabilitas */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Pastikan container tidak bergeser */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 22px 18px;
    /* Tambahan untuk stabilitas */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* Header - Clean Style */
.header {
    background: linear-gradient(90deg, #000000 0%, #1a001a 100%);
    padding: 14px 0;
    border-bottom: 1px solid #1a1a1a;
    position: sticky;
    top: 0;
    z-index: 100;
    /* Tambahan untuk mengatasi header bergoyang */
    will-change: transform;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    /* Smooth transition */
    transition: none;
}

.header-content {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Tambahan untuk stabilitas */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.logo {
    font-size: 21px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 28px;
}

.nav-menu a {
    color: rgb(184, 186, 188);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: #ffffff;
}

/* Container */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 22px 18px;
}

/* Section Header with View More and Border */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 1px solid #8b5cf6;
}

/* Section Titles - Bigger Text */
.section-title {
    font-size: 24px;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.view-more {
    color: #8b5cf6;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.2s;
}

.view-more:hover {
    color: #ffffff;
}

/* Filter Dropdown */
.filter-dropdown {
    background-color: #2a2a2a;
    color: #cccccc;
    border: 1px solid #444444;
    border-radius: 4px;
    padding: 6px 10px;
    font-size: 14px;
    font-weight: normal;
    cursor: pointer;
    transition: border-color 0.2s;
}

.filter-dropdown:hover {
    border-color: #666666;
}

.filter-dropdown:focus {
    outline: none;
    border-color: #888888;
}

/* Grids */
.grid-4x2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.grid-4x3 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

/* Movie Cards */
.movie-card, .random-card {
    background: transparent;
    cursor: pointer;
    transition: transform 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.movie-card:hover, .random-card:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

/* Thumbnails - Perbaikan rendering gambar yang lebih menyeluruh */
.movie-thumbnail, .random-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(145deg, #1a1a1a 0%, #2a002a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    overflow: hidden;
    border: 1px solid #2a2a2a;
    margin-bottom: 10px;
    border-radius: 4px; /* Border radius yang sedikit */
    /* Tambahan untuk rendering yang lebih baik */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Gambar Thumbnail - Optimasi rendering */
.movie-thumbnail img, .random-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    /* Perbaikan rendering gambar */
    image-rendering: auto;
    image-rendering: -webkit-optimize-contrast;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    /* Anti-aliasing yang lebih baik */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Untuk gambar detail movie juga */
.movie-detail-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(145deg, #1a1a1a 0%, #2a002a 100%);
    border: 1px solid #2a2a2a;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px; /* Border radius yang sedikit */
    /* Tambahan untuk rendering yang lebih baik */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.movie-detail-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Perbaikan rendering gambar */
    image-rendering: auto;
    image-rendering: -webkit-optimize-contrast;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hapus semua hover effect yang bisa menyebabkan masalah */
.movie-thumbnail:hover img, .random-thumbnail:hover img {
    /* Tidak ada efek apapun */
}

.movie-card:hover, .random-card:hover {
    transform: none; /* Hapus transform yang bisa mempengaruhi rendering */
    text-decoration: none;
}

/* Views - Bottom Left untuk movie cards */
.thumbnail-views {
    position: absolute;
    bottom: 4px;
    left: 4px;
    font-size: 12px;
    color: #ffffff;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.8);
    padding: 2px 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
}

.view-icon {
    font-size: 10px;
}

/* Duration - Bottom Right untuk movie cards */
.thumbnail-duration {
    position: absolute;
    bottom: 4px;
    right: 4px;
    font-size: 12px;
    color: #ffffff;
    font-weight: 600;
    background: rgba(0,0,0,0.8);
    padding: 2px 8px;
    border-radius: 4px;
    z-index: 2;
}


/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #8b5cf6;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #7c3aed;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}
/* Duration - Bottom Right */
.thumbnail-duration {
    position: absolute;
    bottom: 4px;
    right: 4px;
    font-size: 12px;
    color: #ffffff;
    font-weight: 600;
    background: rgba(0,0,0,0.8);
    padding: 2px 8px;
    border-radius: 4px;
}
/* Title */
.movie-info, .random-info {
    padding: 0;
}

.movie-title, .random-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    color: rgb(184, 186, 188);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    text-decoration: none;
}

/* Loading */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px;
    color: rgb(184, 186, 188);
    gap: 12px;
}

.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid #2a2a2a;
    border-top: 2px solid rgb(184, 186, 188);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Footer */
.footer {
    background: linear-gradient(90deg, #000000 0%, #1a001a 100%);
    text-align: center;
    padding: 22px;
    border-top: 1px solid #1a1a1a;
    color: rgb(184, 186, 188);
    font-size: 13px;
}

.footer a {
    color: rgb(184, 186, 188);
    text-decoration: none;
}

.footer a:hover {
    color: #ffffff;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    padding: 20px 0;
}

.pagination-btn {
    background: linear-gradient(145deg, #1a1a1a 0%, #2a002a 100%);
    color: rgb(184, 186, 188);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s;
    border: 1px solid #2a2a2a;
}

.pagination-btn:hover {
    background: linear-gradient(135deg, #2a2a2a 0%, #3a003a 100%);
    color: #ffffff;
}

.pagination-info {
    color: rgb(184, 186, 188);
    font-size: 14px;
}

/* Movie Detail Styles - BERSIH TANPA DUPLIKASI */
.movie-detail {
    margin-bottom: 40px;
}

/* Layout Thumbnail + Ads */
.movie-detail-with-ads {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    margin-bottom: 30px;
}

.movie-detail-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(145deg, #1a1a1a 0%, #2a002a 100%);
    border-radius: 8px;
    border: 1px solid #2a2a2a;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.movie-detail-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-placeholder {
    font-size: 48px;
    color: rgb(184, 186, 188);
}

/* Fake Play Button */
.fake-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 48px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 3px solid rgba(255, 255, 255, 0.8);
}

.fake-play-button:hover {
    background: rgba(255, 0, 0, 0.8);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Ads Sidebar */
.ads-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ad-space {
    background: linear-gradient(145deg, #1a1a1a 0%, #2a002a 100%);
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    overflow: hidden;
    min-height: 250px;
}

.ad-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 250px;
    color: rgb(184, 186, 188);
    text-align: center;
    padding: 20px;
}

.ad-placeholder p {
    font-size: 16px;
    margin-bottom: 10px;
    color: #ffffff;
}

.ad-placeholder span {
    font-size: 12px;
    color: rgb(184, 186, 188);
}

/* Movie Info */
.movie-detail-info {
    padding: 0;
}

.movie-detail-title {
    font-size: 28px;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.3;
}

.movie-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}

.meta-item {
    display: flex;
    gap: 10px;
}

.meta-label {
    font-weight: 600;
    color: #ffffff;
    min-width: 100px;
}

.meta-value {
    color: rgb(184, 186, 188);
}

.movie-description {
    margin-bottom: 25px;
}

.movie-description h3 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 10px;
}

.movie-description p {
    color: rgb(184, 186, 188);
    line-height: 1.6;
}

/* Responsive Design - BERSIH TANPA DUPLIKASI */
@media (max-width: 1024px) {
    .movie-detail-with-ads {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .ads-sidebar {
        order: -1;
        flex-direction: row;
        overflow-x: auto;
        gap: 15px;
        padding-bottom: 10px;
    }
    
    .ad-space {
        flex-shrink: 0;
        width: 300px;
    }
}

@media (max-width: 768px) {
    .grid-4x2, .grid-4x3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .container {
        padding: 18px 15px;
    }
    
    .header-content {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 18px;
        flex: 1;
    }
    
    /* Section Header with View More and Border */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 1px solid #8b5cf6;
}

/* Homepage Header - H1 untuk SEO */
.page-header {
    text-align: center;
    margin: 30px 0 40px 0;
    padding: 25px 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 8px;
    border: 1px solid #333333;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #8b5cf6, #a78bfa, #8b5cf6);
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.page-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section Titles - Bigger Text */
.section-title {
    font-size: 24px;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: -0.3px;
}

/* Responsive Design untuk Homepage Header */
@media (max-width: 1024px) {
    .page-title {
        font-size: 2.4rem;
    }
    
    .page-header {
        margin: 25px 0 35px 0;
        padding: 20px 15px;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
        letter-spacing: -0.3px;
    }
    
    .page-header {
        margin: 20px 0 30px 0;
        padding: 18px 12px;
        border-radius: 6px;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.6rem;
        letter-spacing: -0.2px;
    }
    
    .page-header {
        margin: 15px 0 25px 0;
        padding: 15px 10px;
    }
}
    
    .ads-sidebar {
        flex-direction: column;
    }
    
    .ad-space {
        width: 100%;
    }
    
    .movie-detail-title {
        font-size: 22px;
    }
    
    .meta-item {
        flex-direction: column;
        gap: 5px;
    }
    
    .meta-label {
        min-width: auto;
    }
}
/* ===== VIDEO PLAYER STYLES ===== */
.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 5px;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== THUMBNAIL WRAPPER ===== */
.movie-thumbnail-wrapper {
    position: relative;
    display: inline-block;
}

/* ===== THUMBNAIL STYLES ===== */
.movie-detail-thumbnail {
    position: relative;
    margin-bottom: 0;
}

/* ===== TOMBOL PLAY PERSEGI PANJANG ===== */
.fake-play-button-square {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;  /* Lebih lebar - persegi panjang */
    height: 60px; /* Lebih rendah - persegi panjang */
    background: rgba(0, 0, 0, 0.7);
    color: #8b5cf6;  /* Icon biru */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 6px; /* Sedikit rounded */
    z-index: 5;
}

.fake-play-button-square:hover {
    background: rgba(0, 0, 0, 0.9);
    color: #0056b3;  /* Icon biru lebih gelap saat hover */
    transform: translate(-50%, -50%) scale(1.1);
}

/* ===== SERVER BUTTONS KOTAK BERRADIUS ===== */
.server-buttons-below {
    margin-top: 10px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.server-buttons-below .btn {
    display: inline-block;
    text-decoration: none;
}

.server-buttons-below .btn input {
    background: #ffffff;
    color: #333;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;            /* Dikurangi dari 14px */
    font-weight: 600;
    padding: 6px 10px;          /* Dikurangi dari 8px 16px */
    border-radius: 6px;         /* Dikurangi dari 8px */
    min-width: 35px;            /* Dikurangi dari 45px */
    height: 28px;               /* Dikurangi dari 36px */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
    line-height: 1;
}

.server-buttons-below .btn input:hover {
    background: #f8f9fa;
    border-color: #8b5cf6;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,123,255,0.15);
}

.server-buttons-below .btn.active input {
    background: #8b5cf6;
    color: white;
    border-color: #8b5cf6;
    box-shadow: 0 2px 4px rgba(0,123,255,0.25);
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
    .server-buttons-below {
        margin-top: 8px;
        gap: 4px;
    }
    
    .server-buttons-below .btn input {
        padding: 4px 8px;          /* Lebih kecil untuk mobile */
        font-size: 11px;
        min-width: 30px;
        height: 24px;
    }
    
    .fake-play-button-square {
        width: 70px;
        height: 45px;
        font-size: 18px;
    }
}

/* ===== HIDE OLD STYLES ===== */
.server-buttons,
.server-buttons-overlay,
.server-buttons-external,
.fake-play-button {
    display: none !important;
}

.video-player-section {
    display: none;
}
/* Custom CSS untuk Tags, Studios, Actors, Categories Pages */
.tags-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.tag-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    color: rgb(184, 186, 188);
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.tag-item:hover {
    background: linear-gradient(135deg, #2a2a2a 0%, #3a3a3a 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    border-color: #444;
}

.tag-count {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}

.tag-item:hover .tag-count {
    background: rgba(255, 255, 255, 0.2);
}

/* Ads positioning for mobile */
.ads-mobile {
    display: none;
}

.ads-desktop {
    display: flex;
}

@media (max-width: 1024px) {
    .movie-detail-with-ads {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .ads-sidebar.ads-desktop {
        display: none;
    }
    
    .ads-sidebar.ads-mobile {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        gap: 15px;
        padding: 20px 0;
        margin-bottom: 20px;
    }
    
    .ads-mobile .ad-space {
        flex-shrink: 0;
        width: 300px;
    }
}

@media (max-width: 768px) {
    .tags-container {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }
    
    .tag-item {
        padding: 10px 12px;
        font-size: 13px;
    }
    .ads-sidebar.ads-mobile {
        flex-direction: column;
        gap: 15px;
    }
    
    .ads-mobile .ad-space {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .tags-container {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .tag-item {
        padding: 12px 14px;
    }
}
/* Regular tag styling with title case */
.tag-item {
    text-transform: capitalize;
}

/* Movie Tags - Pindah ke bawah data movie */
.movie-tags {
    margin-top: 20px;
    margin-bottom: 25px;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag-item {
    background: linear-gradient(145deg, #1a1a1a 0%, #2a002a 100%);
    color: rgb(184, 186, 188);
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 500;
    border: 1px solid #2a2a2a;
    transition: all 0.2s;
}

.tag-item:hover {
    background: linear-gradient(135deg, #2a2a2a 0%, #3a003a 100%);
    color: #ffffff;
}

/* Media Queries - Urutkan dari besar ke kecil */
@media (max-width: 1024px) and (min-width: 769px) {
    .grid-4x2, .grid-4x3 {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 18px;
    }
}

@media (max-width: 768px) and (min-width: 481px) {
    .grid-4x2, .grid-4x3 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .grid-4x2, .grid-4x3 {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }
    
    .section-title {
        font-size: 16px;
    }
    
    .container {
        padding: 15px 12px;
    }
    
    .header-content {
        padding: 0 12px;
    }
    
    .view-more {
        font-size: 12px;
    }
}

/* Desktop - Pastikan grid tetap 4 kolom */
@media (min-width: 1025px) {
    .grid-4x2, .grid-4x3 {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 20px;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a001a 50%, #0a0a0a 100%);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #2a2a2a 0%, #3a003a 100%);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3a3a3a;
}
/* Numbered Pagination */
.pagination-numbered {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 40px;
    padding: 20px 0;
    flex-wrap: wrap;
}

.pagination-numbered .pagination-btn {
    background: linear-gradient(135deg, #2a2a2a 0%, #3a003a 100%);
    color: #ccc;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.2s;
    border: 1px solid #333;
    min-width: 40px;
    text-align: center;
    display: inline-block;
}

.pagination-numbered .pagination-btn:hover {
    background: #3a3a3a;
    color: #ffffff;
}

.pagination-numbered .pagination-btn.active {
    background: #8b5cf6;
    color: white;
    border-color: #8b5cf6;
}

.pagination-numbered .pagination-dots {
    color: #666;
    padding: 8px 4px;
}

/* ===== BREADCRUMB STYLES ===== */
.breadcrumb-wrapper {
    background: linear-gradient(145deg, #1a1a1a 0%, #2a002a 100%);
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-size: 14px;
    color: rgb(184, 186, 188);
}

.breadcrumb-item {
    color: #8b5cf6;
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 500;
}

.breadcrumb-item:hover {
    color: #ffffff;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: rgb(184, 186, 188);
    font-weight: normal;
}

.breadcrumb-current {
    color: #ffffff;
    font-weight: 500;
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Responsive - HIDE di mobile */
@media (max-width: 768px) {
    .breadcrumb-wrapper {
        display: none;
    }
}

/* ===== MOVIE META LINKS - TEXT IKUT TEMA ===== */
.movie-meta-horizontal a {
    color: #8b5cf6 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    padding: 2px 4px !important;
    border-radius: 3px !important;
    transition: all 0.2s ease !important;
}

.movie-meta-horizontal a:hover {
    color: #a78bfa !important;
    transform: translateY(-1px) !important;
}