   @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
        
        body, html {
            margin: 0;
            padding: 0;
            height: 100%;
            width: 100%;
            font-family: 'Inter', sans-serif;
            scroll-padding-top: 80px; /* Account for sticky navbar */
        }
        
        .background-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            overflow: hidden;
            background-color:#680202;
        }
        
        .background-image {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            background-image: url('https://media.faithtabernacle.org.ng/assets/images/2.jpg');
        }
        
       .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
   background-color: rgb(0, 0, 0, 0.8) !important;
}
        
        /* Custom styles for the player container to ensure correct aspect ratio */
        #player-container {
            position: relative;
            width: 100%;
            height: 0;
            padding-bottom: 56.25%; /* 16:9 aspect ratio (9 / 16 * 100) */
        }
        
        @media (max-width: 768px) {
            #player-container {
                position: fixed;
                top: 0;
                left: 0;
                width: 100%;
                height: 50vh; /* Half of the viewport height */
                padding-bottom: 0;
                z-index: 10;
            }
            
            /* Hide the desktop navigation on mobile */
            .sticky-nav {
                display: none !important;
            }
        }
        
        #player {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: #000;
        }
        
        /* Custom scrollbar for webkit browsers */
        .custom-scroll::-webkit-scrollbar {
            width: 6px;
        }
        
        .custom-scroll::-webkit-scrollbar-track {
            background: rgba(139, 0, 0, 0.3);
        }
        
        .custom-scroll::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, 0.5);
            border-radius: 3px;
        }
        
        /* Subtle animation for the main container */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .main-container {
            animation: fadeIn 0.8s ease-out;
        }
        
        /* Glow effect for the player */
        .player-glow {
            box-shadow: 0 0 25px rgba(139, 0, 0, 0.6);
        }
        
        /* Loading animation */
        @keyframes pulse {
            0% { opacity: 0.6; }
            50% { opacity: 1; }
            100% { opacity: 0.6; }
        }
        
        .loading-pulse {
            animation: pulse 1.5s infinite;
        }
        
        .error-message {
            background: rgba(0, 0, 0, 0.7);
            border-left: 4px solid #e53e3e;
        }
        
        /* Sticky navbar styles */
        .sticky-nav {
            position: sticky;
            top: 0;
            z-index: 50;
            background-color: white;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            transition: all 0.3s ease;
            padding: 0.75rem 2rem;
        }
        
        .nav-scrolled {
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
        }
        
        .nav-link {
            position: relative;
            padding: 0.5rem 0;
            font-weight: 500;
            color: #7f1d1d;
            transition: color 0.3s;
        }
        
        .nav-link:hover {
            color: #991b1b;
        }
        
        .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background-color: #991b1b;
            transition: width 0.3s;
        }
        
        .nav-link:hover::after {
            width: 100%;
        }
        
        .nav-link.active {
            color: #991b1b;
        }
        
        .nav-link.active::after {
            width: 100%;
        }
        
        /* User menu styles */
        .user-menu-container {
            position: relative;
            display: inline-block;
        }
        
        .user-menu {
            display: none;
            position: absolute;
            right: 0;
            top: 100%;
            background-color: white;
            min-width: 160px;
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
            border-radius: 0.5rem;
            z-index: 100;
            overflow: hidden;
            margin-top: 0.5rem;
        }
        
        .user-menu.active {
            display: block;
        }
        
        .user-menu-item {
            display: block;
            padding: 0.75rem 1rem;
            color: #4a5568;
            text-decoration: none;
            transition: background-color 0.2s;
            font-size: 0.875rem;
        }
        
        .user-menu-item:hover {
            background-color: #f7fafc;
            color: #2d3748;
        }
        
        .user-icon {
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 2.5rem;
            height: 2.5rem;
            border-radius: 50%;
            background-color: #f8fafc;
            color: #7f1d1d;
            transition: all 0.3s;
            border: 1px solid #e5e7eb;
        }
        
        .user-icon:hover {
            background-color: #fee2e2;
            transform: scale(1.05);
        }
        
        /* Mobile menu styles - Enhanced for better mobile experience */
        .mobile-nav-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            z-index: 90;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }
        
        .mobile-nav-overlay.active {
            opacity: 1;
            visibility: visible;
        }
        
        .mobile-nav-menu {
            position: fixed;
            top: 0;
            right: -100%;
            width: 80%;
            max-width: 300px;
            height: 100%;
            background-color: white;
            z-index: 100;
            padding: 2rem;
            overflow-y: auto;
            transition: right 0.3s ease;
            -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
        }
        
        .mobile-nav-menu.active {
            right: 0;
        }
        
        .close-menu {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: #7f1d1d;
            width: 44px;
            height: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        /* Enhanced mobile navigation items */
        .mobile-nav-item {
            display: block;
            padding: 1rem 0;
            font-size: 1.125rem;
            font-weight: 500;
            color: #4a5568;
            text-decoration: none;
            border-bottom: 1px solid #e5e7eb;
            transition: all 0.2s;
            -webkit-tap-highlight-color: transparent; /* Remove tap highlight on iOS */
        }
        
        .mobile-nav-item:active {
            background-color: #f8fafc;
            color: #7f1d1d;
        }
        
        .mobile-nav-item.active {
            color: #7f1d1d;
            font-weight: 600;
        }
        
        /* Mobile header styles */
        .mobile-header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 40;
            padding: 1rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            pointer-events: none; /* Allow clicks to pass through to video */
        }
        
        .mobile-logo {
            width: 3rem;
            height: 3rem;
            background-color: transparent !important;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
            pointer-events: auto; /* Enable clicks on logo */
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        }
        
        .mobile-menu-button {
            pointer-events: auto; /* Enable clicks on menu button */
            width: 3rem;
            height: 3rem;
            border-radius: 50%;
            background-color: #7f1d1d;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            border: none;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
            -webkit-tap-highlight-color: transparent; /* Remove tap highlight on iOS */
        }
        
        .mobile-menu-button:active {
            transform: scale(0.95);
            background-color: #991b1b;
        }
        
        @media (min-width: 769px) {
            .mobile-header {
                display: none;
            }
        }
        
        @media (max-width: 768px) {
            .content-below-video {
                margin-top: 50vh;
                padding-top: 1rem;
            }
            
            .video-item {
                padding: 1rem;
                margin-bottom: 0.5rem;
            }
            
            /* Better touch targets for mobile */
            #stream-links-container > div,
            .video-item {
                min-height: 80px;
                display: flex;
                flex-direction: column;
                justify-content: center;
            }
            
            /* Improved mobile menu items */
            .mobile-nav-menu a {
                padding: 1.25rem 0;
                font-size: 1.1rem;
            }
        }
        
        