;(function($){
	$(document).ready(function(){
		// Add entrance animation class when notice is loaded
		$('.mgadin-notice').addClass('animated-notice');
		
		// Handle dismiss button click
		$('.btnend').on('click',function(){
			var url = new URL(location.href);
			url.searchParams.append('xbnotice',1);
			location.href= url;
		});
		
		// Add hover effects to buttons
		$('.mge-info-actions .button').on('mouseenter', function() {
			$(this).addClass('button-hover');
		}).on('mouseleave', function() {
			$(this).removeClass('button-hover');
		});
	});
})(jQuery);