  /* Reset and Base */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        :root {
            --pink: #ffb3d9;
            --pink-light: #ffe6f3;
            --pink-dark: #ff80bf;
            --text: #2d2d2d;
            --text-light: #666;
            --border: #f0f0f0;
            --bg: #fafafa;
            --white: #ffffff;
        }
        
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
            font-size: 15px;
            color: var(--text);
            background: var(--bg);
            line-height: 1.6;
        }
        
        a {
            color: inherit;
            text-decoration: none;
        }
        
        /* Header */
        .header {
            background: var(--white);
            border-bottom: 1px solid var(--border);
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
        }
        
        .header-content {
            max-width: 1280px;
            margin: 0 auto;
            padding: 20px 24px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 32px;
        }
        
        .logo {
            font-size: 26px;
            font-weight: 700;
            color: var(--text);
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .logo i {
            color: var(--pink);
            font-size: 28px;
        }
        
        .search-form {
            flex: 1;
            max-width: 500px;
        }
        
        .search-wrapper {
            position: relative;
            display: flex;
            align-items: center;
            background: var(--bg);
            border: 2px solid var(--border);
            border-radius: 50px;
            overflow: hidden;
            transition: all 0.2s;
        }
        
        .search-wrapper:focus-within {
            border-color: var(--pink);
            background: var(--white);
        }
        
        .search-icon {
            padding: 0 16px;
            color: var(--text-light);
        }
        
        .search-input {
            flex: 1;
            border: none;
            background: transparent;
            padding: 12px 16px 12px 0;
            font-size: 15px;
            outline: none;
        }
        
        .search-input::placeholder {
            color: var(--text-light);
        }
        
        .search-btn {
            background: var(--pink);
            border: none;
            padding: 12px 28px;
            color: var(--white);
            font-weight: 600;
            cursor: pointer;
            transition: background 0.2s;
        }
        
        .search-btn:hover {
            background: var(--pink-dark);
        }
        
        .header-nav {
            display: flex;
            align-items: center;
            gap: 24px;
        }
        
        .nav-link {
            color: var(--text);
            font-weight: 500;
            transition: color 0.2s;
        }
        
        .nav-link:hover {
            color: var(--pink);
        }
        
        .icon-btn {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: var(--pink-light);
            color: var(--pink-dark);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
            cursor: pointer;
        }
        
        .icon-btn:hover {
            background: var(--pink);
            color: var(--white);
        }
        
        /* Stats Bar */
        .stats-bar {
            background: var(--white);
            border-bottom: 1px solid var(--border);
        }
        
        .stats-content {
            max-width: 1280px;
            margin: 0 auto;
            padding: 16px 24px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 24px;
        }
        
        .stats-left {
            display: flex;
            align-items: center;
            gap: 32px;
        }
        
        .stat-item {
            display: flex;
            align-items: center;
            gap: 8px;
            color: var(--text-light);
            font-size: 14px;
        }
        
        .stat-item i {
            color: var(--pink);
        }
        
        .stat-number {
            font-weight: 700;
            color: var(--text);
        }
        
        /* Filters */
        .filters {
            background: var(--white);
            border-bottom: 1px solid var(--border);
        }
        
        .filters-content {
            max-width: 1280px;
            margin: 0 auto;
            padding: 16px 24px;
            display: flex;
            align-items: center;
            gap: 12px;
            overflow-x: auto;
            scrollbar-width: thin;
        }

        .filters-content::-webkit-scrollbar {
            height: 6px;
        }

        .filters-content::-webkit-scrollbar-thumb {
            background: var(--border);
            border-radius: 3px;
        }
        
        .filter-btn {
            padding: 8px 20px;
            border-radius: 50px;
            border: 2px solid var(--border);
            background: var(--white);
            color: var(--text);
            font-weight: 600;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.2s;
            white-space: nowrap;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        
        .filter-btn:hover {
            border-color: var(--pink-light);
            background: var(--pink-light);
        }
        
        .filter-btn.active {
            background: var(--pink);
            border-color: var(--pink);
            color: var(--white);
        }
        
        /* Container */
        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 32px 24px;
        }
        
        .section-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 24px;
        }
        
        .section-title {
            font-size: 22px;
            font-weight: 700;
        }
        
        .result-count {
            color: var(--text-light);
            font-size: 14px;
        }
        
        /* Video Grid */
        .video-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 24px;
        }
        
        .video-card {
            background: var(--white);
            border-radius: 12px;
            overflow: hidden;
            border: 1px solid var(--border);
            transition: all 0.3s;
            cursor: pointer;
        }
        
        .video-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 16px rgba(0,0,0,0.08);
            border-color: var(--pink-light);
        }
        
        .video-thumbnail {
            position: relative;
            width: 100%;
            padding-top: 56.25%;
            background: var(--bg);
            overflow: hidden;
        }
        
        .thumbnail-img,
        .thumbnail-video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .thumbnail-video {
            opacity: 0;
            transition: opacity 0.3s;
            z-index: 1;
        }
        
        .thumbnail-video.active {
            opacity: 1;
        }
        
        .video-badges {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            padding: 12px;
            display: flex;
            justify-content: space-between;
            z-index: 2;
        }
        
        .badge {
            padding: 4px 10px;
            border-radius: 6px;
            font-size: 12px;
            font-weight: 700;
            background: rgba(255, 179, 217, 0.95);
            color: var(--white);
            backdrop-filter: blur(10px);
        }
        
        .duration {
            position: absolute;
            bottom: 12px;
            right: 12px;
            padding: 4px 8px;
            border-radius: 6px;
            font-size: 12px;
            font-weight: 700;
            background: rgba(0, 0, 0, 0.8);
            color: var(--white);
            z-index: 2;
        }
        
        .video-info {
            padding: 16px;
        }
        
        .video-title {
            font-size: 15px;
            font-weight: 600;
            margin-bottom: 8px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            line-height: 1.4;
        }
        
        .video-performer {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 12px;
        }
        
        .performer-avatar {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: var(--pink-light);
            color: var(--pink-dark);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 14px;
        }
        
        .performer-name {
            font-weight: 600;
            color: var(--pink-dark);
            font-size: 14px;
        }
        
        .performer-name:hover {
            color: var(--pink);
        }
        
        .video-meta {
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 13px;
            color: var(--text-light);
        }
        
        .meta-left {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .meta-item {
            display: flex;
            align-items: center;
            gap: 4px;
        }
        
        .platform-tag {
            padding: 2px 8px;
            border-radius: 4px;
            background: var(--pink-light);
            color: var(--pink-dark);
            font-size: 11px;
            font-weight: 600;
            text-transform: uppercase;
        }
        
        /* Loading */
        .loading {
            text-align: center;
            padding: 60px 20px;
        }
        
        .spinner {
            width: 40px;
            height: 40px;
            border: 3px solid var(--border);
            border-top-color: var(--pink);
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
            margin: 0 auto 16px;
        }
        
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        
        .loading-text {
            color: var(--text-light);
        }
        
        /* Empty State */
        .empty {
            text-align: center;
            padding: 60px 20px;
        }
        
        .empty-icon {
            font-size: 64px;
            color: var(--border);
            margin-bottom: 16px;
        }
        
        .empty-title {
            font-size: 20px;
            font-weight: 700;
            margin-bottom: 8px;
        }
        
        .empty-text {
            color: var(--text-light);
        }
        
        /* Pagination */
        .pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
            margin-top: 48px;
        }
        
        .page-btn {
            min-width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--white);
            border: 1px solid var(--border);
            border-radius: 8px;
            font-weight: 600;
            color: var(--text);
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .page-btn:hover:not(.disabled):not(.active) {
            border-color: var(--pink);
            color: var(--pink);
        }
        
        .page-btn.active {
            background: var(--pink);
            border-color: var(--pink);
            color: var(--white);
        }
        
        .page-btn.disabled {
            opacity: 0.3;
            cursor: not-allowed;
        }

        /* Top Creators */
        .top-creators {
            margin-top: 48px;
            background: var(--white);
            border-radius: 12px;
            padding: 24px;
            border: 1px solid var(--border);
        }

        .creators-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 24px;
        }

        .creators-header h2 {
            font-size: 20px;
            font-weight: 700;
        }

        .creators-header i {
            color: var(--pink);
            font-size: 24px;
        }

        .creators-list {
            display: flex;
            gap: 20px;
            overflow-x: auto;
            padding-bottom: 8px;
            scrollbar-width: thin;
        }

        .creators-list::-webkit-scrollbar {
            height: 6px;
        }

        .creators-list::-webkit-scrollbar-thumb {
            background: var(--border);
            border-radius: 3px;
        }

        .creator-item {
            flex-shrink: 0;
            text-align: center;
            cursor: pointer;
            transition: transform 0.2s;
        }

        .creator-item:hover {
            transform: translateY(-4px);
        }

        .creator-rank {
            position: absolute;
            top: -6px;
            left: 50%;
            transform: translateX(-50%);
            min-width: 28px;
            height: 28px;
            padding: 0 6px;
            border-radius: 14px;
            background: var(--pink);
            color: var(--white);
            font-weight: 700;
            font-size: 13px;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 3px solid var(--white);
            box-shadow: 0 2px 6px rgba(0,0,0,0.15);
            z-index: 10;
        }

        .creator-avatar-wrapper {
            position: relative;
            width: 80px;
            height: 80px;
            margin: 0 auto 12px;
        }

        .creator-avatar {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: var(--pink-light);
            color: var(--white);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 28px;
            border: 3px solid var(--white);
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            overflow: hidden;
        }

        .creator-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .creator-name {
            font-weight: 600;
            font-size: 14px;
            margin-bottom: 4px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 100px;
        }

        .creator-videos {
            font-size: 12px;
            color: var(--text-light);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 4px;
        }

        .creator-videos i {
            color: var(--pink);
        }
        
        /* Footer */
        .footer {
            background: var(--white);
            border-top: 1px solid var(--border);
            margin-top: 48px;
            padding: 32px 24px;
        }
        
        .footer-content {
            max-width: 1280px;
            margin: 0 auto;
            text-align: center;
            color: var(--text-light);
            font-size: 14px;
        }
        
        .footer-links {
            display: flex;
            justify-content: center;
            gap: 24px;
            margin-bottom: 16px;
            flex-wrap: wrap;
        }
        
        .footer-link {
            transition: color 0.2s;
        }
        
        .footer-link:hover {
            color: var(--pink);
        }
        
        /* Cookie Notice */
        .cookie-notice {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: var(--white);
            border-top: 2px solid var(--pink-light);
            padding: 20px;
            box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
            z-index: 1000;
            display: none;
        }
        
        .cookie-content {
            max-width: 1280px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 24px;
        }
        
        .cookie-text {
            flex: 1;
            color: var(--text-light);
            font-size: 14px;
        }
        
        .cookie-actions {
            display: flex;
            gap: 12px;
        }
        
        .btn {
            padding: 10px 24px;
            border-radius: 50px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            border: none;
            font-size: 14px;
        }
        
        .btn-outline {
            background: var(--white);
            border: 2px solid var(--border);
            color: var(--text);
        }
        
        .btn-outline:hover {
            border-color: var(--pink);
            color: var(--pink);
        }
        
        .btn-primary {
            background: var(--pink);
            color: var(--white);
        }
        
        .btn-primary:hover {
            background: var(--pink-dark);
        }
        
        /* Responsive */
        @media (max-width: 768px) {
            .header-content {
                flex-wrap: wrap;
                padding: 16px;
            }
            
            .logo {
                font-size: 22px;
            }
            
            .logo i {
                font-size: 24px;
            }
            
            .search-form {
                order: 3;
                width: 100%;
                max-width: none;
            }
            
            .header-nav {
                gap: 12px;
            }
            
            .nav-link {
                display: none;
            }
            
            .stats-content {
                padding: 12px 16px;
                overflow-x: auto;
            }
            
            .stats-left {
                gap: 16px;
            }
            
            .filters-content {
                padding: 12px 16px;
            }
            
            .container {
                padding: 24px 16px;
            }
            
            .section-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 8px;
            }
            
            .video-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .top-creators {
                padding: 20px 16px;
            }

            .creator-avatar-wrapper {
                width: 70px;
                height: 70px;
            }

            .creator-avatar {
                width: 70px;
                height: 70px;
                font-size: 24px;
            }

            .creator-rank {
                min-width: 26px;
                height: 26px;
                font-size: 12px;
            }
            
            .cookie-content {
                flex-direction: column;
                text-align: center;
            }
            
            .cookie-actions {
                width: 100%;
                flex-direction: column;
            }
            
            .btn {
                width: 100%;
            }
        }.creator-avatar-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 8px auto 12px; /* Added top margin */
    padding-top: 8px; /* Added padding to accommodate the badge */
}

.creator-rank {
    position: absolute;
    top: 0; /* Changed from -6px to 0 */
    left: 50%;
    transform: translateX(-50%);
    min-width: 28px;
    height: 28px;
    padding: 0 8px; /* Increased horizontal padding */
    border-radius: 14px;
    background: var(--pink);
    color: var(--white);
    font-weight: 700;
    font-size: 13px;
    line-height: 28px; /* Added to center text vertically */
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--white);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    z-index: 10;
    white-space: nowrap; /* Prevent text wrapping */
}

.creator-item {
    flex-shrink: 0;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s;
    padding-top: 4px; /* Added to prevent clipping */
}