
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            background: #0a0a0a;
            color: #ffffff;
            overflow-x: hidden;
        }

        .premium-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            background: radial-gradient(circle at 20% 30%, rgba(255, 65, 108, 0.1), #0a0a0a 80%);
        }

        /* Modern Search Bar */
        .search-container {
            max-width: 550px;
            margin: 0 auto;
        }

        .search-box {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 60px;
            padding: 5px 5px 5px 18px;
            transition: all 0.3s;
            align-items: center;
        }

        .search-box:focus-within {
            border-color: #ff416c;
            box-shadow: 0 0 0 3px rgba(255, 65, 108, 0.2);
            background: rgba(255, 255, 255, 0.08);
        }

        .search-icon {
            color: rgba(255, 255, 255, 0.35);
            font-size: 0.85rem;
            margin-right: 4px;
        }

        .search-input {
            background: transparent;
            border: none;
            padding: 12px 10px;
            color: white;
            font-size: 0.9rem;
            width: 100%;
        }

        .search-input:focus {
            outline: none;
        }

        .search-clear {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            color: rgba(255, 255, 255, 0.5);
            text-decoration: none;
            flex-shrink: 0;
            transition: all 0.2s;
        }

        .search-clear:hover {
            background: rgba(255, 255, 255, 0.1);
            color: #fff;
        }

        .search-btn {
            background: linear-gradient(90deg, #ff416c, #ff4b2b);
            border: none;
            border-radius: 50px;
            padding: 10px 25px;
            color: white;
            font-weight: 600;
            font-size: 0.85rem;
            white-space: nowrap;
            transition: transform 0.2s, box-shadow 0.2s;
        }

        .search-btn:hover {
            transform: translateY(-1px);
            box-shadow: 0 8px 20px -6px rgba(255, 65, 108, 0.6);
        }

        /* Category Chips */
        .category-section {
            margin: 30px 0;
        }

        .filter-label {
            font-size: 0.72rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: rgba(255, 255, 255, 0.4);
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .active-filters {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 12px;
            font-size: 0.75rem;
            color: rgba(255, 255, 255, 0.5);
        }

        .filter-pill {
            background: rgba(255, 65, 108, 0.15);
            border: 1px solid rgba(255, 65, 108, 0.35);
            color: #ff8fa3;
            padding: 3px 12px;
            border-radius: 20px;
            font-weight: 500;
        }

        .filter-reset {
            color: rgba(255, 255, 255, 0.6);
            text-decoration: underline;
            font-size: 0.75rem;
            margin-left: 4px;
        }

        .filter-reset:hover {
            color: #ff416c;
        }

        .category-scroll {
            display: flex;
            gap: 12px;
            overflow-x: auto;
            padding-bottom: 10px;
            scrollbar-width: thin;
        }

        .category-scroll::-webkit-scrollbar {
            height: 3px;
        }

        .category-scroll::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 10px;
        }

        .category-scroll::-webkit-scrollbar-thumb {
            background: #ff416c;
            border-radius: 10px;
        }

        .chip {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 40px;
            padding: 8px 20px;
            color: rgba(255, 255, 255, 0.7);
            text-decoration: none;
            font-size: 0.85rem;
            font-weight: 500;
            white-space: nowrap;
            transition: all 0.3s;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .chip:hover {
            background: rgba(255, 65, 108, 0.15);
            border-color: #ff416c;
            color: #ff416c;
            transform: translateY(-2px);
        }

        .chip.active {
            background: linear-gradient(90deg, #ff416c, #ff4b2b);
            border-color: transparent;
            color: white;
            box-shadow: 0 6px 16px -6px rgba(255, 65, 108, 0.6);
        }

        .chip-count {
            background: rgba(0, 0, 0, 0.4);
            border-radius: 20px;
            padding: 2px 8px;
            font-size: 0.7rem;
            margin-left: 6px;
        }

        /* Video Grid */
        .video-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            margin: 30px 0;
        }

        .video-card {
            background: rgba(255, 255, 255, 0.03);
            border-radius: 16px;
            overflow: hidden;
            transition: all 0.3s;
            text-decoration: none;
            color: white;
            display: block;
            border: 1px solid rgba(255, 255, 255, 0.06);
        }

        .video-card:hover {
            transform: translateY(-5px);
            border-color: rgba(255, 65, 108, 0.4);
            box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.5);
        }

        .thumbnail-container {
            position: relative;
            overflow: hidden;
        }

        .thumbnail {
            width: 100%;
            aspect-ratio: 16/9;
            object-fit: cover;
            transition: transform 0.4s;
        }

        .video-card:hover .thumbnail {
            transform: scale(1.05);
        }

        .thumb-badge {
            position: absolute;
            padding: 4px 8px;
            border-radius: 6px;
            font-size: 0.65rem;
            font-weight: 600;
            backdrop-filter: blur(5px);
        }

        .duration {
            bottom: 10px;
            right: 10px;
            background: rgba(0, 0, 0, 0.7);
        }

        .quality {
            top: 10px;
            right: 10px;
            background: #ff416c;
        }

        .views {
            bottom: 10px;
            left: 10px;
            background: rgba(0, 0, 0, 0.6);
        }

        .card-info {
            padding: 12px;
        }

        .video-title {
            font-size: 0.9rem;
            font-weight: 600;
            margin-bottom: 6px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .video-stats {
            display: flex;
            gap: 12px;
            font-size: 0.65rem;
            color: rgba(255, 255, 255, 0.5);
            margin-bottom: 10px;
        }

        .download-button {
            background: rgba(255, 255, 255, 0.08);
            border-radius: 8px;
            padding: 8px;
            font-size: 0.75rem;
            text-align: center;
            font-weight: 500;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
        }

        .download-button:hover {
            background: #10b981;
        }

        /* Trending Sidebar */
        .trending-card {
            background: rgba(255, 255, 255, 0.03);
            border-radius: 20px;
            padding: 20px;
            border: 1px solid rgba(255, 255, 255, 0.06);
            position: sticky;
            top: 90px;
            max-height: calc(100vh - 110px);
            display: flex;
            flex-direction: column;
        }

        .trending-header {
            font-size: 1rem;
            font-weight: 700;
            margin-bottom: 20px;
            padding-bottom: 12px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            display: flex;
            align-items: center;
            gap: 8px;
            flex-shrink: 0;
        }

        .trending-list {
            display: flex;
            flex-direction: column;
            gap: 15px;
            overflow-y: auto;
            padding-right: 4px;
        }

        .trending-list::-webkit-scrollbar {
            width: 6px;
        }

        .trending-list::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, 0.15);
            border-radius: 10px;
        }

        .trending-list::-webkit-scrollbar-track {
            background: transparent;
        }

        .trending-item {
            display: flex;
            align-items: center;
            gap: 12px;
            text-decoration: none;
            color: white;
            transition: all 0.3s;
        }

        .trending-item:hover {
            transform: translateX(5px);
        }

        .trending-rank {
            font-size: 1.2rem;
            font-weight: 800;
            color: #ff416c;
            min-width: 30px;
        }

        .trending-thumb {
            width: 70px;
            height: 50px;
            border-radius: 10px;
            object-fit: cover;
            flex-shrink: 0;
        }

        .trending-info {
            flex: 1;
            min-width: 0;
        }

        .trending-title {
            font-size: 0.8rem;
            font-weight: 600;
            margin-bottom: 4px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .trending-views {
            font-size: 0.65rem;
            color: rgba(255, 255, 255, 0.5);
        }

        /* Pagination - Optimized for large datasets */
        .pagination-wrapper {
            display: flex;
            justify-content: center;
            margin: 40px 0 20px;
        }

        .pagination {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            justify-content: center;
        }

        .page-link {
            min-width: 38px;
            height: 38px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            color: white;
            text-decoration: none;
            font-weight: 500;
            padding: 0 12px;
            transition: all 0.3s;
        }

        .page-link:hover {
            background: rgba(255, 65, 108, 0.2);
            border-color: #ff416c;
        }

        .page-link.active {
            background: linear-gradient(90deg, #ff416c, #ff4b2b);
            border-color: transparent;
        }

        .page-dots {
            min-width: 38px;
            height: 38px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: rgba(255, 255, 255, 0.4);
        }

        /* Empty State */
        .empty-state {
            text-align: center;
            padding: 60px 20px;
            background: rgba(255, 255, 255, 0.02);
            border-radius: 20px;
            border: 1px dashed rgba(255, 255, 255, 0.1);
        }

        .empty-icon {
            font-size: 4rem;
            color: rgba(255, 255, 255, 0.15);
            margin-bottom: 20px;
        }

        /* Responsive */
        @media (min-width: 768px) {
            .video-grid {
                gap: 25px;
            }
        }

        @media (min-width: 992px) {
            .video-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        @media (min-width: 1200px) {
            .video-grid {
                grid-template-columns: repeat(4, 1fr);
            }
        }

        @media (max-width: 480px) {
            .video-grid {
                gap: 12px;
            }

            .video-title {
                font-size: 0.75rem;
            }

            .video-stats {
                font-size: 0.55rem;
                gap: 8px;
            }

            .download-button {
                font-size: 0.65rem;
                padding: 6px;
            }

            .chip {
                padding: 6px 14px;
                font-size: 0.75rem;
            }

            .trending-thumb {
                width: 55px;
                height: 40px;
            }

            .trending-title {
                font-size: 0.7rem;
            }
        }
    