:root {
            --primary-color: #1A2B3C;
            --secondary-color: #2D4A62;
            --accent-color: #FF6B6B;
            --text-dark: #2D3436;
            --text-light: #F8F9FA;
            --bg-light: #FFFFFF;
            --border-color: #E8ECEF;
        }

        /* Improved Filter Bar Responsiveness */
        .filter-scroll-container {
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            padding-bottom: 8px;
        }

        .filter-scroll-container::-webkit-scrollbar {
            height: 4px;
        }

        .filter-scroll-container::-webkit-scrollbar-track {
            background: rgba(0,0,0,0.05);
        }

        .filter-scroll-container::-webkit-scrollbar-thumb {
            background: var(--primary-color);
            border-radius: 4px;
        }

        .filter-btn-group {
            display: inline-flex;
            gap: 12px;
            min-width: max-content;
            padding: 0 16px 8px;
        }

        

        body {
            background: var(--bg-light);
            color: var(--text-dark);
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
        }

        /* Premium Header */
        .pro-header {
            background: var(--bg-light);
            box-shadow: 0 4px 24px rgba(0,0,0,0.06);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .brand-logo {
            font-weight: 700;
            color: var(--primary-color);
            font-size: 1.75rem;
            letter-spacing: -0.5px;
        }

        .nav-link {
            color: var(--text-dark) !important;
            font-weight: 500;
            padding: 0.75rem 1.25rem !important;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .nav-link:hover {
            color: var(--primary-color) !important;
            transform: translateY(-2px);
        }

        /* Video Grid */
        .video-grid-section {
            padding: 4rem 0;
        }

        .video-card {
            border-radius: 16px;
            overflow: hidden;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            border: 1px solid var(--border-color);
        }

        .video-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 16px 48px rgba(0,0,0,0.08);
        }

        .video-thumbnail {
            width: 100%;
            height: 100%;
            overflow: hidden; /* Ensures no overflow issues */
            display: flex; /* Ensures image takes full space */
            align-items: center;
            justify-content: center;
        }
        
        .video-thumbnail img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease;
        }
        

        .video-card:hover .video-thumbnail img {
            transform: scale(1.05);
        }

        .video-duration {
            background: rgba(0,0,0,0.8);
            color: var(--text-light);
            padding: 6px 14px;
            border-radius: 6px;
            position: absolute;
            bottom: 16px;
            right: 16px;
            font-size: 0.9rem;
            font-weight: 500;
        }

        .video-content {
            padding: 1.5rem;
        }

        .video-title {
            font-weight: 600;
            margin-bottom: 0.75rem;
            color: var(--text-dark);
            line-height: 1.4;
            font-size: 1.1rem;
        }

        .video-meta {
            color: #64748B;
            font-size: 0.9rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        /* Filter Bar */
        .filter-bar {
            background: var(--bg-light);
            padding: 2rem 0;
            position: sticky;
            top: 76px;
            z-index: 999;
            box-shadow: 0 2px 12px rgba(0,0,0,0.04);
        }

        .filter-btn {
            background: rgba(26,43,60,0.05);
            color: var(--text-dark);
            border: none;
            padding: 0.75rem 1.5rem;
            border-radius: 8px;
            transition: all 0.3s ease;
        }

        .filter-btn.active {
            background: var(--primary-color);
            color: var(--text-light);
        }

        /* Premium Footer */
        .pro-footer {
            background: var(--primary-color);
            color: var(--text-light);
            padding: 4rem 0;
        }

        .footer-heading {
            font-weight: 600;
            margin-bottom: 1.5rem;
        }

        .footer-link {
            color: rgba(255,255,255,0.8);
            text-decoration: none;
            transition: color 0.3s ease;
            padding: 0.5rem 0;
            display: block;
        }

        .footer-link:hover {
            color: var(--text-light);
        }

        @media (max-width: 768px) {
            .video-thumbnail {
                height: 200px;
            }
            
            .video-grid-section {
                padding: 2rem 0;
            }
        }






        .video-main {
            padding: 100px 0 40px;
            background: var(--bg-light);
        }

        .video-container {
            position: relative;
            padding-bottom: 56.25%;
            height: 0;
            overflow: hidden;
            border-radius: 16px;
            background: #000;
        }

        .video-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }

        .reward-card {
            background: rgba(26,43,60,0.03);
            border-radius: 12px;
            padding: 1.5rem;
            position: sticky;
            top: 100px;
        }

        .reward-progress {
            height: 8px;
            background: rgba(26,43,60,0.1);
            border-radius: 4px;
            overflow: hidden;
        }

        .reward-progress-bar {
            background: var(--accent-color);
            transition: width 0.5s ease;
        }

        .ad-unit {
            background: rgba(26,43,60,0.03);
            border: 2px dashed var(--border-color);
            border-radius: 12px;
            padding: 20px;
            margin: 2rem 0;
            text-align: center;
        }

        @media (max-width: 992px) {
            .video-main {
                padding: 80px 0 30px;
            }
            
            .reward-card {
                margin-top: 2rem;
            }
        }