/* assets/css/detail.css */
body { 
    background-color: #141414; 
    color: white; 
    min-height: 100vh; 
    display: flex; 
    flex-direction: column; 
}

.hero-section { 
    position: relative;
    background-size: cover; 
    background-position: center top; 
    padding: 30px 0; 
    flex: 1;
}

.poster-img { 
    width: 100%; 
    max-width: 300px; 
    border-radius: 12px; 
    box-shadow: 0 8px 25px rgba(0,0,0,0.7); 
    margin-bottom: 20px; 
}

.cast-scroll { 
    display: flex; 
    overflow-x: auto; 
    gap: 12px; 
    padding-bottom: 10px; 
    scrollbar-width: none; 
}

.cast-scroll::-webkit-scrollbar { display: none; }

.cast-item { flex: 0 0 75px; text-align: center; }

.cast-img { 
    width: 65px; 
    height: 65px; 
    object-fit: cover; 
    border-radius: 50%; 
    border: 2px solid #e50914; 
}

.video-container, .watch-card { 
    border-radius: 12px; 
    overflow: hidden; 
    background: rgba(20,20,20,0.95); 
    border: 1px solid #444; 
    padding: 25px;
    height: 100%; 
}

.watch-card { border: 2px solid #e50914; }

.fb-badge { 
    background: rgba(13, 110, 253, 0.15); 
    border: 1px solid #0d6efd; 
    color: #6ea8fe; 
    font-size: 0.75rem; 
    border-radius: 5px; 
}

.email-box { background: #222; border: 1px solid #444; color: white; }

.btn-glow { animation: glowing 2s infinite; border: none; }

@keyframes glowing {
    0% { background-color: #e50914; box-shadow: 0 0 5px #e50914; }
    50% { background-color: #ff3c47; box-shadow: 0 0 20px #e50914; }
    100% { background-color: #e50914; box-shadow: 0 0 5px #e50914; }
}

#notif-user { 
    color: #ffffff !important; 
    font-size: 0.75rem; 
    min-height: 25px; 
    transition: opacity 0.5s ease; 
    display: flex; 
    align-items: center; 
}

#notif-user strong { color: #38b6ff !important; margin: 0 4px; }

.flag-icon { width: 18px; height: 13px; margin-right: 8px; border-radius: 2px; }

.text-success-custom { color: #2ecc71 !important; font-weight: bold; }

/* Desktop: Sejajar | Mobile: Tumpuk & Tukar Posisi */
@media (max-width: 991px) {
    .order-mobile-1 { order: 1; }
    .order-mobile-2 { order: 2; }
}
/* Pastikan container video responsif dan punya jarak */
.video-container { 
    border-radius: 12px; 
    overflow: hidden; 
    background: #000; 
    border: 1px solid #444; 
    width: 100%; /* Pastikan lebar penuh */
}

/* Tambahkan jarak khusus untuk mobile agar tidak bertabrakan dengan Link Unlocker */
@media (max-width: 991px) {
    .order-mobile-1 { 
        order: 1; 
        margin-bottom: 30px; /* Memberi jarak bawah agar tidak menempel ke trailer */
    }
    .order-mobile-2 { 
        order: 2; 
    }
    
    /* Perbaikan judul agar tidak terpotong */
    h5.fw-bold {
        font-size: 1.1rem;
        margin-top: 10px;
    }
}