/* Influencers Page Styles */

/* Header Section */
.influencers-header {
    padding: 120px 0 80px;
    position: relative;
}

.influencers-header .section-title h2 {
    font-size: 42px;
    color: #fff;
    margin-bottom: 15px;
}

.influencers-header .section-title h2 span {
    position: relative;
}

.influencers-header .section-title h4 {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

/* Search Section */
.influencers-search-wrap {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.influencers-search-form .search-input-wrap {
    position: relative;
}

.influencers-search-form .search-input-wrap i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #40B69E;
    font-size: 18px;
}

.influencers-search-form input[type="text"] {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.influencers-search-form input[type="text"]:focus {
    border-color: #40B69E;
    outline: none;
}

.influencers-search-form .btn {
    width: 100%;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
}

.active-filters {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e8e8e8;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f0f7f5;
    color: #40B69E;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    margin-left: 8px;
}

.filter-tag .remove-filter {
    color: #999;
    transition: color 0.3s ease;
}

.filter-tag .remove-filter:hover {
    color: #e74c3c;
}

/* Section Title */
.section-title .count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fd7b21;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 600;
    margin-right: 10px;
    vertical-align: middle;
}

/* Influencers Grid */
.influencers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* Influencer Card - Modern Design V3 */
.influencer-card {
    perspective: 1000px;
    transition: transform 0.4s ease;
}

.influencer-card-inner {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 0 1px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
}

.influencer-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #fd7b21 0%, #f5af19 50%, #fd7b21 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.influencer-card:hover .influencer-card-inner {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(253, 123, 33, 0.12), 0 10px 30px rgba(0, 0, 0, 0.08);
}

.influencer-card:hover .influencer-card-inner::before {
    opacity: 1;
}

/* Influencer Image - Enhanced */
.influencer-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.influencer-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 100%);
    pointer-events: none;
}

.influencer-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.influencer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.influencer-card:hover .influencer-image img {
    transform: scale(1.08);
}

.influencer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(253, 123, 33, 0.9) 0%, rgba(253, 123, 33, 0.4) 50%, rgba(0, 0, 0, 0.2) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 25px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.influencer-card:hover .influencer-overlay {
    opacity: 1;
}

.influencer-view-btn {
    background: #fff;
    color: #fd7b21;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    border: 2px solid transparent;
}

.influencer-card:hover .influencer-view-btn {
    transform: translateY(0);
}

.influencer-view-btn:hover {
    background: #fd7b21;
    color: #fff;
    border-color: #fff;
}

.influencer-category {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.95);
    color: #fd7b21;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Influencer Content - Enhanced */
.influencer-content {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.influencer-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #e8e8e8 50%, transparent 100%);
}

.influencer-name {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 14px;
    line-height: 1.4;
    text-align: center;
}

.influencer-name a {
    color: #1a1a2e;
    transition: all 0.25s ease;
    display: inline-block;
    position: relative;
}

.influencer-name a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #fd7b21, #f5af19);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.influencer-name a:hover {
    color: #fd7b21;
}

.influencer-name a:hover::after {
    width: 100%;
}

.influencer-description {
    font-size: 14px;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 18px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

/* Social Links - Modern Platform Colors */
.influencer-social {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    justify-content: center;
    padding: 16px 0;
    border-bottom: 1px solid #f1f5f9;
    border-top: 1px solid #f1f5f9;
}

.social-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    color: #64748b;
    font-size: 17px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-btn i {
    line-height: 1;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
    border-color: transparent;
}

.social-btn:hover i {
    transform: scale(1.1);
}

/* Instagram - Gradient */
.social-btn[href*="#"]:nth-child(1):hover,
.social-btn:has(.fa-instagram):hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
    box-shadow: 0 8px 25px rgba(220, 39, 67, 0.35);
}

/* TikTok - Black */
.social-btn:has(.fa-tiktok):hover,
.social-btn:nth-child(2):hover {
    background: #000;
    color: #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* YouTube - Red */
.social-btn:has(.fa-youtube):hover,
.social-btn:nth-child(3):hover {
    background: #FF0000;
    color: #fff;
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.3);
}

/* Twitter/X - Black/Blue */
.social-btn:has(.fa-twitter):hover,
.social-btn:nth-child(4):hover {
    background: #000;
    color: #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Tooltip enhancement */
.social-btn[data-tooltip] {
    cursor: pointer;
}

.social-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: #1a1a2e;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 10;
}

.social-btn::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-4px);
    border: 5px solid transparent;
    border-top-color: #1a1a2e;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
}

.social-btn:hover::after,
.social-btn:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-4px);
}

/* Influencer CTA Button - Enhanced */
.influencer-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #fd7b21 0%, #e56a1a 100%);
    color: #fff;
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(253, 123, 33, 0.3);
    border: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.influencer-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.influencer-btn:hover {
    background: linear-gradient(135deg, #e56a1a 0%, #d45a10 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(253, 123, 33, 0.4);
}

.influencer-btn:hover::after {
    left: 100%;
}

.influencer-btn i {
    transition: transform 0.3s ease;
    font-size: 14px;
}

.influencer-btn:hover i {
    transform: translateX(-4px);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: #fd7b21;
    color: #fff;
    border-color: #fd7b21;
}

.pagination a.current-page {
    background: #fd7b21;
    color: #fff;
    border-color: #fd7b21;
}

.pagination a.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Empty State */
.error-wrap i {
    color: #ddd;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .influencers-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 991px) {
    .influencers-header {
        padding: 100px 0 60px;
    }
    
    .influencers-header .section-title h2 {
        font-size: 36px;
    }
    
    .influencers-search-wrap {
        padding: 20px;
    }
    
    .influencers-search-form .col-md-2,
    .influencers-search-form .col-md-4,
    .influencers-search-form .col-md-6 {
        margin-bottom: 10px;
    }
}

@media (max-width: 768px) {
    .influencers-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 20px;
    }
    
    .influencer-image {
        height: 180px;
    }
    
    .influencer-content {
        padding: 20px;
    }
    
    .influencer-name {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .influencers-grid {
        grid-template-columns: 1fr;
    }
    
    .influencers-header .section-title h2 {
        font-size: 28px;
    }
    
    .influencers-header .section-title h4 {
        font-size: 14px;
    }
}

/* Single Influencer Page Styles */
.influencer-hero {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.influencer-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
}

.influencer-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.influencer-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 0;
    color: #fff;
}

.influencer-avatar-wrap {
    display: flex;
    align-items: flex-end;
    gap: 25px;
}

.influencer-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    flex-shrink: 0;
}

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

.influencer-hero-info h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.influencer-hero-info .category-badge {
    display: inline-block;
    background: #fd7b21;
    color: #fff;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
}

/* Influencer Stats */
.influencer-stats {
    display: flex;
    gap: 40px;
    margin: 30px 0;
    padding: 25px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #fd7b21;
    display: block;
}

.stat-label {
    font-size: 13px;
    color: #888;
    margin-top: 5px;
}

/* Influencer Content Sections */
.influencer-details-wrap {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.influencer-bio h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.influencer-bio p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}

/* Influencer Sidebar */
.influencer-sidebar .widget {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.influencer-sidebar .widget-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

/* Social Links Widget */
.social-links-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-link-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-radius: 8px;
    background: #f8f9fa;
    color: #444;
    transition: all 0.3s ease;
}

.social-link-item:hover {
    background: #fd7b21;
    color: #fff;
}

.social-link-item i {
    width: 24px;
    text-align: center;
    font-size: 18px;
}

.social-link-item span {
    font-size: 14px;
    font-weight: 500;
}

/* Contact Widget */
.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    background: #fd7b21;
    color: #fff;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.contact-btn:hover {
    background: #e56a1a;
    color: #fff;
}

.contact-btn.secondary {
    background: #f0f0f0;
    color: #444;
}

.contact-btn.secondary:hover {
    background: #e0e0e0;
}

/* Related Influencers */
.related-influencers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.related-influencer-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.related-influencer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.related-influencer-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-influencer-card .content {
    padding: 15px;
}

.related-influencer-card h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.related-influencer-card .cat {
    font-size: 12px;
    color: #888;
}

/* Responsive Single Page */
@media (max-width: 991px) {
    .influencer-hero {
        height: 400px;
    }
    
    .influencer-avatar {
        width: 120px;
        height: 120px;
    }
    
    .influencer-hero-info h1 {
        font-size: 28px;
    }
    
    .influencer-stats {
        gap: 20px;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .influencer-avatar-wrap {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .influencer-hero-info h1 {
        font-size: 24px;
    }
    
    .influencer-stats {
        justify-content: center;
    }
    
    .stat-value {
        font-size: 22px;
    }
}

/* ===== Homepage Influencer Cards ===== */
.home-influencers-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.home-influencer-card {
    perspective: 1000px;
    transition: transform 0.4s ease;
}

.home-influencer-card-inner {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 0 1px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
}

.home-influencer-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #fd7b21 0%, #f5af19 50%, #fd7b21 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.home-influencer-card:hover .home-influencer-card-inner {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(253, 123, 33, 0.12), 0 10px 30px rgba(0, 0, 0, 0.08);
}

.home-influencer-card:hover .home-influencer-card-inner::before {
    opacity: 1;
}

.home-influencer-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.home-influencer-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 100%);
    pointer-events: none;
}

.home-influencer-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.home-influencer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.home-influencer-card:hover .home-influencer-image img {
    transform: scale(1.08);
}

.home-influencer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(253, 123, 33, 0.9) 0%, rgba(253, 123, 33, 0.4) 50%, rgba(0, 0, 0, 0.2) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 25px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.home-influencer-card:hover .home-influencer-overlay {
    opacity: 1;
}

.home-influencer-view-btn {
    background: #fff;
    color: #fd7b21;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    border: 2px solid transparent;
}

.home-influencer-card:hover .home-influencer-view-btn {
    transform: translateY(0);
}

.home-influencer-view-btn:hover {
    background: #fd7b21;
    color: #fff;
    border-color: #fff;
}

.home-influencer-category {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.95);
    color: #fd7b21;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.home-influencer-content {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.home-influencer-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #e8e8e8 50%, transparent 100%);
}

.home-influencer-name {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 14px;
    line-height: 1.4;
    text-align: center;
}

.home-influencer-name a {
    color: #1a1a2e;
    transition: all 0.25s ease;
    display: inline-block;
    position: relative;
}

.home-influencer-name a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #fd7b21, #f5af19);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.home-influencer-name a:hover {
    color: #fd7b21;
}

.home-influencer-name a:hover::after {
    width: 100%;
}

.home-influencer-description {
    font-size: 14px;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 18px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.home-influencer-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #fd7b21 0%, #e56a1a 100%);
    color: #fff;
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(253, 123, 33, 0.3);
    border: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.home-influencer-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.home-influencer-btn:hover {
    background: linear-gradient(135deg, #e56a1a 0%, #d45a10 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(253, 123, 33, 0.4);
}

.home-influencer-btn:hover::after {
    left: 100%;
}

.home-influencer-btn i {
    transition: transform 0.3s ease;
    font-size: 14px;
}

.home-influencer-btn:hover i {
    transform: translateX(-4px);
}

/* Homepage Influencer Cards - Responsive */
@media (max-width: 1200px) {
    .home-influencers-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
    }
}

@media (max-width: 992px) {
    .home-influencers-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    
    .home-influencer-content {
        padding: 22px;
    }
    
    .home-influencer-name {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .home-influencers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    
    .home-influencer-content {
        padding: 18px;
    }
    
    .home-influencer-name {
        font-size: 17px;
    }
    
    .home-influencer-description {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .home-influencers-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* RTL Support for Homepage Influencers */
[dir="rtl"] .home-influencer-category {
    right: auto;
    left: 16px;
}

[dir="rtl"] .home-influencer-btn i {
    transform: rotate(180deg);
}

[dir="rtl"] .home-influencer-btn:hover i {
    transform: rotate(180deg) translateX(4px);
}

[dir="rtl"] .home-influencer-content::before {
    left: 24px;
    right: 24px;
}

[dir="rtl"] .home-influencer-name a::after {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}

/* RTL Support for Influencers Page */
[dir="rtl"] .influencer-category {
    right: auto;
    left: 16px;
}

[dir="rtl"] .influencer-btn i {
    transform: rotate(180deg);
}

[dir="rtl"] .influencer-btn:hover i {
    transform: rotate(180deg) translateX(4px);
}

[dir="rtl"] .influencer-view-btn i {
    margin-left: 10px;
    margin-right: 0;
}

[dir="rtl"] .influencer-content::before {
    left: 24px;
    right: 24px;
}

[dir="rtl"] .influencer-name a::after {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}
