/* Marketplace Index CSS Variables */
:root {
    /* Hero backgrounds */
    --mp-hero-main-bg: radial-gradient(circle at 20% 20%, rgba(102, 126, 234, 0.3) 0%, transparent 50%),
                       radial-gradient(circle at 80% 80%, rgba(240, 147, 251, 0.3) 0%, transparent 50%),
                       linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --mp-hero-gradient-bg: linear-gradient(135deg, rgba(102, 126, 234, 0.85) 0%, rgba(118, 75, 162, 0.75) 50%, rgba(240, 147, 251, 0.85) 100%);
    
    /* Card backgrounds */
    --mp-card-bg: linear-gradient(145deg, #ffffff 0%, #fafbfc 100%);
    --mp-card-border: rgba(226, 232, 240, 0.6);
    --mp-card-shadow: 0 8px 25px rgba(0,0,0,0.08);
    --mp-card-hover-shadow: 0 12px 35px rgba(0,0,0,0.12);
    
    /* Filter card */
    --mp-filter-card-bg: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    --mp-filter-card-border: rgba(0,0,0,0.05);
    --mp-filter-card-shadow: 0 8px 25px rgba(0,0,0,0.08);
    
    /* Text colors */
    --mp-text-primary: #1a202c;
    --mp-text-secondary: #4a5568;
    --mp-text-muted: #718096;
    --mp-text-dark: #2d3748;
    
    /* Campaign card specific */
    --mp-campaign-card-bg: linear-gradient(145deg, #ffffff 0%, #fafbfc 100%);
    --mp-campaign-title-color: #1e293b;
    --mp-campaign-desc-color: #64748b;
    
    /* Stat backgrounds */
    --mp-stat-bg: #f8fafc;
    --mp-stat-border: #e2e8f0;
    --mp-stat-text: #1e293b;
    --mp-stat-label: #64748b;
    
    /* Search container */
    --mp-search-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
    --mp-search-border: rgba(255, 255, 255, 0.3);
    --mp-search-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 0 10px 30px rgba(102, 126, 234, 0.1);
}

/* Hide Creator Plan Status Section */
.creator-plan-status-wrapper {
    display: none !important;
}

/* Dark mode variables */
[data-theme-style="dark"] {
    /* Hero backgrounds - darker, more muted */
    --mp-hero-main-bg: radial-gradient(circle at 20% 20%, rgba(79, 70, 229, 0.4) 0%, transparent 50%),
                       radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.4) 0%, transparent 50%),
                       linear-gradient(135deg, #4f46e5 0%, #6366f1 50%, #8b5cf6 100%);
    --mp-hero-gradient-bg: linear-gradient(135deg, rgba(79, 70, 229, 0.9) 0%, rgba(99, 102, 241, 0.8) 50%, rgba(139, 92, 246, 0.9) 100%);
    
    /* Card backgrounds */
    --mp-card-bg: linear-gradient(145deg, #1e293b 0%, #1a202c 100%);
    --mp-card-border: rgba(55, 65, 81, 0.6);
    --mp-card-shadow: 0 8px 25px rgba(0,0,0,0.25);
    --mp-card-hover-shadow: 0 12px 35px rgba(0,0,0,0.35);
    
    /* Filter card */
    --mp-filter-card-bg: linear-gradient(145deg, #374151 0%, #1f2937 100%);
    --mp-filter-card-border: rgba(55, 65, 81, 0.3);
    --mp-filter-card-shadow: 0 8px 25px rgba(0,0,0,0.25);
    
    /* Text colors */
    --mp-text-primary: #f1f5f9;
    --mp-text-secondary: #cbd5e1;
    --mp-text-muted: #94a3b8;
    --mp-text-dark: #e2e8f0;
    
    /* Campaign card specific */
    --mp-campaign-card-bg: linear-gradient(145deg, #374151 0%, #1f2937 100%);
    --mp-campaign-title-color: #f1f5f9;
    --mp-campaign-desc-color: #cbd5e1;
    
    /* Stat backgrounds */
    --mp-stat-bg: #374151;
    --mp-stat-border: #4b5563;
    --mp-stat-text: #f1f5f9;
    --mp-stat-label: #cbd5e1;
    
    /* Search container */
    --mp-search-bg: linear-gradient(145deg, rgba(55, 65, 81, 0.98) 0%, rgba(31, 41, 55, 0.95) 100%);
    --mp-search-border: rgba(55, 65, 81, 0.5);
    --mp-search-shadow: 0 25px 50px rgba(0, 0, 0, 0.3), 0 10px 30px rgba(79, 70, 229, 0.1);
}

/* Modern Hero Section */
.hero-modern {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--background-main);
    background-size: 100% 100%, 100% 100%, 100% 100%;
    animation: heroGradientShift 12s ease-in-out infinite;
}

@keyframes heroGradientShift {
    0%, 100% { 
        background-position: 0% 50%, 100% 50%, 0% 50%; 
    }
    33% { 
        background-position: 50% 0%, 50% 100%, 50% 50%; 
    }
    66% { 
        background-position: 100% 50%, 0% 50%, 100% 50%; 
    }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero-gradient {
    background: var(--mp-hero-gradient-bg);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(2px);
}

.hero-pattern {
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255,255,255,0.05) 0%, transparent 50%);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    background: 
        radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 70%, transparent 100%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.1);
}

.floating-element:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    width: 60px;
    height: 60px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    display: grid;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem 0;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: white;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.title-highlight {
    background: linear-gradient(45deg, #f093fb, #f5576c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 2rem auto;
    line-height: 1.6;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    color: white;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.5rem;
}

.hero-search {
    max-width: 700px;
    margin: 0 auto;
}

.search-container {
    position: relative;
    background: var(--mp-search-bg);
    backdrop-filter: blur(25px);
    border-radius: 2rem;
    padding: 0.5rem;
    box-shadow: var(--mp-search-shadow);
    border: 1px solid var(--mp-search-border);
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.search-container:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.2),
        0 15px 40px rgba(102, 126, 234, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.search-icon {
    padding: 1rem !important;
    color: #64748b;
    font-size: 1.2rem;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 0;
    font-size: 1rem;
    color: var(--mp-text-primary);
    min-width: 0;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-input::placeholder {
    color: var(--mp-text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    border: none;
    border-radius: 1.5rem;
    padding: 1rem 2rem;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.search-btn::before {
    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;
}

.search-btn:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 50%, #e879f9 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 15px 35px rgba(102, 126, 234, 0.5),
        0 8px 25px rgba(240, 147, 251, 0.3);
}

.search-btn:hover::before {
    left: 100%;
}

.btn-icon {
    transition: transform 0.3s ease;
}

.search-btn:hover .btn-icon {
    transform: translateX(4px);
}

.popular-searches {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.popular-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
}

.search-tag {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 1.5rem;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-tag:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.btn-hero-primary {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 1rem 2rem;
    border-radius: 1rem;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.btn-hero-primary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.btn-hero-secondary {
    background: white;
    color: #667eea;
    padding: 1rem 2rem;
    border-radius: 1rem;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-hero-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    color: #5a67d8;
    text-decoration: none;
}

/* Campaigns Section */
.campaigns-section {
    padding: 5rem 0;
    background: var(--mp-stat-bg);
    position: relative;
}

.campaigns-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, #f8fafc 0%, transparent 100%);
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--mp-text-primary);
    margin-bottom: 1rem;
}

.title-accent {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--mp-text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

.section-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.section-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--mp-card-bg);
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    box-shadow: var(--mp-card-shadow);
    font-weight: 500;
    color: var(--mp-text-secondary);
    border: 1px solid var(--mp-card-border);
}

.campaigns-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

/* Tablet grid improvements */
@media (max-width: 991px) {
    .campaigns-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* Tablet Responsive Styles */
@media (max-width: 992px) and (min-width: 769px) {
    .marketplace-campaign-card .card-header {
        margin-top: 2.8rem;
        padding: 1.25rem;
    }
    
    .campaign-status-badge {
        top: 0.8rem;
        right: 0.8rem;
    }
    
    .campaign-status-badge span {
        padding: 0.35rem 0.7rem;
        font-size: 0.72rem;
    }
    
    .campaign-brand-section {
        min-height: 55px;
    }
}

/* Sponsored Campaign Mobile Adjustments */
@media (max-width: 768px) {
    .marketplace-campaign-card.sponsored-campaign {
        border-width: 2px;
    }
    
    .marketplace-campaign-card.sponsored-campaign::after {
        font-size: 0.6rem;
        top: 20px;
        right: -30px;
        padding: 0.2rem 2rem;
    }
    
    .marketplace-campaign-card.sponsored-campaign .status-sponsored {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
}

/* Mobile grid improvements */
@media (max-width: 768px) {
    .campaigns-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0;
    }
}

@media (max-width: 576px) {
    .campaigns-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin: 0 -0.5rem;
    }
    
    .campaign-card-wrapper {
        padding: 0 0.5rem;
    }
}

@media (max-width: 400px) {
    .campaigns-grid {
        gap: 0.5rem;
        margin: 0;
    }
    
    .campaign-card-wrapper {
        padding: 0;
    }
}

.campaign-card-wrapper {
    height: 100%;
}

/* Enhanced Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    background: 
        radial-gradient(circle at 50% 50%, rgba(102, 126, 234, 0.05) 0%, transparent 70%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(248, 250, 252, 0.9) 100%);
    border-radius: 2rem;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.empty-state-illustration {
    position: relative;
    margin-bottom: 2rem;
}

.empty-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem auto;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    position: relative;
    z-index: 2;
    animation: float 4s ease-in-out infinite, iconGlow 2s ease-in-out infinite alternate;
    box-shadow: 
        0 15px 30px rgba(102, 126, 234, 0.3),
        0 5px 15px rgba(240, 147, 251, 0.2),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
    overflow: hidden;
}

.empty-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 8s linear infinite;
}

@keyframes iconGlow {
    from {
        box-shadow: 
            0 15px 30px rgba(102, 126, 234, 0.3),
            0 5px 15px rgba(240, 147, 251, 0.2),
            inset 0 2px 0 rgba(255, 255, 255, 0.3);
    }
    to {
        box-shadow: 
            0 20px 40px rgba(102, 126, 234, 0.4),
            0 8px 25px rgba(240, 147, 251, 0.3),
            inset 0 2px 0 rgba(255, 255, 255, 0.4);
    }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.empty-particles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #667eea;
    border-radius: 50%;
    opacity: 0.6;
    animation: particle-float 3s ease-in-out infinite;
}

.particle:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 20%;
    right: 20%;
    animation-delay: 1s;
}

.particle:nth-child(3) {
    bottom: 20%;
    left: 50%;
    animation-delay: 2s;
}

@keyframes particle-float {
    0%, 100% { transform: translateY(0px); opacity: 0.6; }
    50% { transform: translateY(-15px); opacity: 1; }
}

.empty-state-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--mp-text-primary);
    margin-bottom: 1rem;
}

.empty-state-description {
    font-size: 1.1rem;
    color: var(--mp-text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.empty-state-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.btn-notify, .btn-join {
    padding: 1rem 2rem;
    border-radius: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

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

.btn-notify {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-notify:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 12px 35px rgba(102, 126, 234, 0.4),
        0 6px 20px rgba(240, 147, 251, 0.3);
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 50%, #e879f9 100%);
}

.btn-notify:hover::before {
    left: 100%;
}

.btn-join {
    background: 
        linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.8) 100%);
    color: #667eea;
    border: 2px solid rgba(102, 126, 234, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.btn-join:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: white;
    border-color: transparent;
    text-decoration: none;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 12px 35px rgba(102, 126, 234, 0.4),
        0 6px 20px rgba(240, 147, 251, 0.3);
}

.btn-join:hover::before {
    left: 100%;
}

/* Load More Section */
.load-more-section {
    text-align: center;
    margin-top: 3rem;
}

.btn-load-more {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 1rem;
    padding: 1rem 3rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    min-width: 200px;
}

.btn-load-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.load-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Modern Marketplace Campaign Cards */
.marketplace-campaign-card {
    background: var(--mp-card-bg);
    border-radius: 1.5rem;
    box-shadow: var(--mp-card-shadow);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid var(--mp-card-border);
    backdrop-filter: blur(5px);
    overflow: hidden;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.marketplace-campaign-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--mp-card-hover-shadow);
    border-color: rgba(102, 126, 234, 0.2);
}

.marketplace-campaign-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    z-index: 1;
}

/* Sponsored Campaign Styling */
.marketplace-campaign-card.sponsored-campaign {
    border: 3px solid;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15), var(--mp-card-shadow);
    background: linear-gradient(145deg, #fffef9 0%, #fff8f0 100%);
    position: relative;
    animation: sponsoredGlow 3s ease-in-out infinite;
}

.marketplace-campaign-card.sponsored-campaign::before {
    display: none;
}

.marketplace-campaign-card.sponsored-campaign:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25), var(--mp-card-hover-shadow);
    filter: brightness(1.1);
}

/* Sponsored Badge Enhancement */
.marketplace-campaign-card.sponsored-campaign .status-sponsored {
    background: linear-gradient(135deg, #ff8c00, #ffa500);
    color: white;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
    animation: sponsoredPulse 2s ease-in-out infinite;
}

/* Sponsored Campaign Animations */
@keyframes sponsoredGlow {
    0%, 100% {
        box-shadow: 0 12px 35px rgba(255, 140, 0, 0.15), var(--mp-card-shadow);
    }
    50% {
        box-shadow: 0 15px 45px rgba(255, 140, 0, 0.25), var(--mp-card-shadow);
    }
}

@keyframes sponsoredShimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

@keyframes sponsoredPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Sponsored Campaign Corner Ribbon - Removed */
.marketplace-campaign-card.sponsored-campaign::after {
    display: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 2;
    letter-spacing: 1px;
}

/* Dark mode sponsored campaign adjustments */
[data-theme-style="dark"] .marketplace-campaign-card.sponsored-campaign {
    background: linear-gradient(145deg, #2a2015 0%, #1f1610 100%);
    border-color: #ff8c00;
}

[data-theme-style="dark"] .marketplace-campaign-card.sponsored-campaign:hover {
    border-color: #ffa500;
}

/* Campaign Status Badge */
.campaign-status-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
}

.campaign-status-badge span {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-urgent {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    animation: pulse 2s infinite;
}

.status-warning {
    background: linear-gradient(135deg, #ffa726, #ff9800);
    color: white;
}

.status-active {
    background: linear-gradient(135deg, #66bb6a, #4caf50);
    color: white;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Campaign Header */
.marketplace-campaign-card .card-header {
    background: transparent;
    border-bottom: none;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    margin-top: 2.5rem; /* Add space for the status badge */
    position: relative;
}

.campaign-brand-section {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    position: relative;
    z-index: 5;
    min-height: 60px; /* Ensure minimum height to prevent overlap */
}

.campaign-brand-logo {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid var(--mp-card-border);
    flex-shrink: 0;
}

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

.campaign-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--mp-text-primary);
    margin: 0 0 0.25rem 0;
    line-height: 1.3;
}

.campaign-brand-name {
    font-size: 0.875rem;
    color: var(--mp-text-secondary);
    margin: 0 0 0.5rem 0;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    gap: 0.25rem;
}

.verified-badge i {
    font-size: 0.875rem;
    color: white;
    opacity: 0.9;
}

/* Campaign Body */
.marketplace-campaign-card .card-body {
    padding: 0 1.5rem 1rem 1.5rem;
}

.campaign-description {
    color: var(--mp-text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

/* Stats Grid */
.campaign-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--mp-stat-bg);
    border-radius: 0.75rem;
    border: 1px solid var(--mp-stat-border);
    box-shadow: var(--mp-card-shadow);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s ease;
}

.stat-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(240, 147, 251, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 0.75rem;
}

.stat-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--mp-card-hover-shadow);
    border-color: rgba(102, 126, 234, 0.4);
}

.stat-item:hover::before {
    left: 100%;
}

.stat-item:hover::after {
    opacity: 1;
}

.stat-item:hover .stat-value {
    color: #3b82f6;
    font-weight: 700;
    transform: scale(1.05);
}

.stat-item:hover .stat-label {
    color: #6366f1;
    font-weight: 600;
}

.stat-item:active {
    transform: translateY(-4px) scale(1.01);
    transition: all 0.1s ease;
}

.stat-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.3);
    pointer-events: none;
    animation: stat-ripple-animation 0.6s ease-out;
    z-index: 1;
}

@keyframes stat-ripple-animation {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.stat-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-icon:hover::before {
    opacity: 1;
}

.stat-icon-money {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
}

.stat-icon-money:hover {
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.6);
    background: linear-gradient(135deg, #fcd34d 0%, #fbbf24 50%, #f59e0b 100%);
}

.stat-icon-time {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 50%, #6d28d9 100%);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.stat-icon-time:hover {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.6);
    background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 50%, #7c3aed 100%);
}

.stat-icon-people {
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.stat-icon-people:hover {
    transform: scale(1.15) rotate(-8deg);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.6);
    background: linear-gradient(135deg, #34d399 0%, #10b981 50%, #059669 100%);
}

.stat-content {
    flex: 1;
    min-width: 0;
}

.stat-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--mp-stat-text);
    line-height: 1.2;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--mp-stat-label);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

/* Budget Progress */
.budget-progress-section {
    background: var(--mp-stat-bg);
    border: 1px solid var(--mp-stat-border);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.budget-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.budget-label {
    font-size: 0.8rem;
    color: var(--mp-stat-label);
    font-weight: 500;
}

.budget-amount {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--mp-stat-text);
}

.progress-container {
    background: var(--mp-stat-border);
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-container .progress-bar {
    background: linear-gradient(90deg, #10b981, #059669);
    height: 100%;
    border-radius: 3px;
    transition: width 0.6s ease;
}

.progress-percentage {
    font-size: 0.75rem;
    color: var(--mp-stat-label);
    text-align: center;
}

/* Platform Tags */
.campaign-platforms {
    margin-bottom: 1rem;
}

.platforms-label {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.platforms-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.platform-tag {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f1f5f9 0%, #ffffff 100%);
    border: 1px solid rgba(226, 232, 240, 0.6);
    color: #64748b;
    font-size: 0.875rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.platform-tag:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-color: rgba(102, 126, 234, 0.3);
}

.platform-tag .fa-tiktok { color: #000; }
.platform-tag .fa-instagram { color: #E4405F; }
.platform-tag .fa-youtube { color: #FF0000; }
.platform-tag .fa-twitter { color: #1DA1F2; }
.platform-tag .fa-facebook { color: #1877F2; }
.platform-tag .fa-snapchat { color: #FFFC00; }
.platform-tag .fa-linkedin { color: #0A66C2; }

.platform-more {
    font-size: 0.75rem;
    color: #64748b;
    background: #e2e8f0;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-weight: 500;
}

/* Campaign Footer */
.marketplace-campaign-card .card-footer {
    background: transparent;
    border-top: 1px solid var(--mp-card-border);
    padding: 1.5rem;
}

.campaign-actions {
    display: flex;
    gap: 0.75rem;
}

.btn-view-campaign {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--mp-stat-bg);
    border: 1px solid var(--mp-stat-border);
    border-radius: 0.5rem;
    color: var(--mp-text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.btn-view-campaign:hover {
    background: var(--mp-card-border);
    color: var(--mp-text-primary);
    text-decoration: none;
    transform: translateY(-1px);
}

.btn-quick-join {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    border: none;
    border-radius: 0.75rem;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-quick-join:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 50%, #e879f9 100%);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 
        0 8px 25px rgba(102, 126, 234, 0.4),
        0 4px 15px rgba(240, 147, 251, 0.3);
}

.btn-quick-join::before {
    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;
}

.btn-quick-join:hover::before {
    left: 100%;
}

/* Progress Bar Enhancements */
.progress {
    background-color: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    transition: width 0.6s ease;
}

.font-weight-medium {
    font-weight: 500;
}

.campaign-platforms .badge {
    background: #e9ecef;
    color: #495057;
    font-weight: 500;
    padding: 0.4rem 0.8rem;
}

/* Platform Badges */
.platform-badge {
    display: inline-flex;
    align-items: center;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    color: #495057;
    font-weight: 500;
    transition: all 0.3s ease;
}

.platform-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    background: #fff;
}

.platform-badge .fa-tiktok {
    color: #000;
}

.platform-badge .fa-instagram {
    color: #E4405F;
}

.platform-badge .fa-youtube {
    color: #FF0000;
}

.platform-badge .fa-twitter {
    color: #1DA1F2;
}

.platform-badge .fa-facebook {
    color: #1877F2;
}

.platform-badge .fa-snapchat {
    color: #FFFC00;
}

.platform-badge .fa-linkedin {
    color: #0A66C2;
}

.platform-badge .fa-globe {
    color: #6c757d;
}

.platform-badge-more {
    font-size: 0.8rem;
    font-weight: 500;
    margin-left: 4px;
    padding: 0.2rem 0.5rem;
    background: #e9ecef;
    border-radius: 10px;
}

/* Search Bar */
.marketplace-search-bar {
    box-shadow: 
        0 8px 25px rgba(0,0,0,0.12),
        0 4px 12px rgba(102, 126, 234, 0.08);
    border-radius: 1rem;
    overflow: hidden;
    background: linear-gradient(145deg, #ffffff 0%, #fafbfc 100%);
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.marketplace-search-bar:hover {
    box-shadow: 
        0 12px 35px rgba(0,0,0,0.15),
        0 6px 20px rgba(102, 126, 234, 0.12);
    transform: translateY(-2px);
}

.marketplace-search-bar .form-control {
    border: 1px solid var(--mp-card-border);
    padding: 1rem 1.5rem;
    font-size: 1rem;
    background: var(--mp-card-bg);
    color: var(--mp-text-primary);
}

.marketplace-search-bar .form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(var(--primary-color-rgb), 0.25);
    border-color: var(--primary-color);
    background: var(--mp-card-bg);
    color: var(--mp-text-primary);
}

.marketplace-search-bar .form-control::placeholder {
    color: var(--mp-text-secondary);
}

.marketplace-search-bar .input-group-text {
    border: none;
    padding: 1rem 1.5rem;
}

.marketplace-search-bar .btn-search {
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
}

/* Filters Card */
.marketplace-filters-card {
    background: var(--mp-filter-card-bg);
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: var(--mp-filter-card-shadow);
    border: 1px solid var(--mp-filter-card-border);
    margin-bottom: 0.5rem;
}

.filter-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--mp-text-secondary);
    margin-bottom: 0.75rem;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.marketplace-filter-form .form-control {
    border-radius: 0.5rem;
    border: 1px solid var(--mp-card-border);
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    background-color: var(--mp-card-bg);
    color: var(--mp-text-primary);
    transition: all 0.3s ease;
    height: auto;
    min-height: 44px;
}

.marketplace-filter-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(var(--primary-color-rgb), 0.25);
    background-color: var(--mp-card-bg);
    color: var(--mp-text-primary);
    transform: translateY(-1px);
}

.marketplace-filter-form .form-control:hover {
    border-color: var(--primary-color);
    background-color: var(--mp-card-bg);
}

.marketplace-filter-form .form-control::placeholder {
    color: var(--mp-text-secondary);
}

.marketplace-filter-form select.form-control {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.5rem 1.5rem;
    padding-right: 3rem;
    cursor: pointer;
}

.marketplace-filter-form select.form-control option {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    background-color: var(--mp-card-bg);
    color: var(--mp-text-primary);
    border: none;
}

.marketplace-filter-form select.form-control option:hover {
    background-color: var(--background-light);
    color: var(--mp-text-primary);
}

.marketplace-filter-form select.form-control option:checked,
.marketplace-filter-form select.form-control option:selected {
    background-color: var(--primary-color);
    color: white;
}

/* Filter Group Styling */
.filter-group {
    position: relative;
}

.filter-header {
    border-bottom: 1px solid #f1f3f4;
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
}

.filter-title h5 {
    font-weight: 700;
    color: #2c3e50;
}

.filter-actions {
    border-top: 1px solid var(--mp-card-border);
    background: var(--background-light);
    margin: 1rem -1.5rem -1.5rem -1.5rem;
    padding: 1rem 1.5rem;
    border-radius: 0 0 0.75rem 0.75rem;
}

.filter-results-count .badge {
    font-size: 0.875rem;
    font-weight: 500;
    background-color: var(--background-light) !important;
    color: var(--mp-campaign-desc-color) !important;
    border: 1px solid var(--mp-card-border);
}

/* Bootstrap 5 gap utility fallback */
.row.g-4 > * {
    padding-right: calc(1.5rem * 0.5);
    padding-left: calc(1.5rem * 0.5);
    margin-bottom: 1.5rem;
}

/* Enhanced dropdown styling */
.marketplace-filter-form select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 1px solid var(--mp-card-border) !important;
    background-color: var(--mp-card-bg) !important;
    color: var(--mp-campaign-title-color) !important;
}

.marketplace-filter-form select.form-control:focus {
    outline: none;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 0.2rem rgba(var(--primary-color-rgb), 0.25) !important;
}

/* Icon styling in labels */
.filter-label i {
    color: #007bff;
    width: 16px;
    text-align: center;
}

/* Spacing utilities */
.mt-6 {
    margin-top: 3rem !important;
}

.mb-6 {
    margin-bottom: 3rem !important;
}

.mt-2 {
    margin-top: 0.5rem !important;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .marketplace-filters-card {
        padding: 1rem;
    }
    
    .filter-actions {
        margin: 0.75rem -1rem -1rem -1rem;
        padding: 0.75rem 1rem;
    }
    
    .filter-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.75rem;
        margin-bottom: 0.75rem;
        padding-bottom: 0.5rem;
    }
    
    .filter-title {
        margin-bottom: 0.5rem;
    }
    
    .mt-6 {
        margin-top: 2rem !important;
    }
    
    .mb-6 {
        margin-bottom: 2rem !important;
    }
}

/* Active Filters */
.active-filters {
    background: #f8f9fa;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    border: 1px solid #e9ecef;
}

.active-filter-tag {
    display: inline-flex;
    align-items: center;
    background: #007bff;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    margin-right: 0.5rem;
    margin-bottom: 0.25rem;
}

.btn-remove-filter {
    background: none;
    border: none;
    color: rgba(255,255,255,0.8);
    margin-left: 0.5rem;
    padding: 0;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease;
}

.btn-remove-filter:hover {
    color: white;
}

.filter-results-count {
    font-weight: 500;
}

/* Badge styling */
.badge {
    font-size: 0.75rem;
    font-weight: 500;
}

.badge-success {
    background-color: #28a745;
}

.badge-light {
    background-color: #f8f9fa;
    color: #6c757d;
}

.badge-secondary {
    background-color: #6c757d;
}

/* Text colors from index */
.text-gray-700 {
    color: #4a5568 !important;
}

/* Buttons */
.btn {
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #004085;
    transform: translateY(-1px);
}

.btn-outline-primary {
    color: #007bff;
    border-color: #007bff;
}

.btn-outline-primary:hover {
    background-color: #007bff;
    border-color: #007bff;
    transform: translateY(-1px);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .campaigns-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 992px) {
    .hero-section {
        padding: 4rem 0;
        min-height: 60vh;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .hero-search {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-search .form-control {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .hero-search .btn {
        width: 100%;
        padding: 1rem;
    }
    
    .popular-tags {
        text-align: center;
    }
    
    .popular-tags .tag-item {
        margin: 0.25rem;
    }
    
    .marketplace-filters-card {
        position: sticky;
        top: 20px;
        z-index: 100;
    }
    
    .campaigns-stats-row {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .stat-item {
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-modern {
        min-height: auto;
        padding: 4rem 0 3rem;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .floating-element {
        display: none; /* Hide floating elements on mobile */
    }
    
    /* Mobile Hero Stats */
    .hero-stats {
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    /* Mobile Search */
    .search-container {
        flex-direction: column;
        padding: 0.75rem;
    }
    
    .search-input {
        width: 100%;
        padding: 0.875rem;
        font-size: 0.9rem;
    }
    
    .search-btn {
        width: 100%;
        padding: 0.875rem 1.5rem;
        margin-top: 0.5rem;
    }
    
    .search-icon {
        display: none;
    }
    
    .popular-searches {
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-top: 1rem;
    }
    
    .search-tag {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    /* Mobile Actions */
    .hero-actions {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        padding: 0 1rem;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
    }
    
    .marketplace-campaign-card .card-header,
    .marketplace-campaign-card .card-body,
    .marketplace-campaign-card .card-footer {
        padding: 1rem;
    }
    
    .marketplace-campaign-card {
        border-radius: 1rem;
    }
    
    .marketplace-campaign-card:hover {
        transform: translateY(-4px) scale(1.01);
    }
    
    .campaign-brand-logo {
        width: 40px;
        height: 40px;
    }
    
    .campaign-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
    
    .campaign-info {
        margin-bottom: 1rem;
    }
    
    .campaign-description {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 1rem;
    }
    
    .stat-item {
        padding: 0.5rem;
        gap: 0.5rem;
    }
    
    .stat-item:hover {
        transform: translateY(-4px) scale(1.01);
    }
    
    .stat-icon {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }
    
    .stat-icon-money:hover,
    .stat-icon-time:hover,
    .stat-icon-people:hover {
        transform: scale(1.1) rotate(0deg);
    }
    
    .campaign-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .btn-view-campaign,
    .btn-quick-join {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
        border-radius: 0.75rem;
    }
    
    .btn-view-campaign {
        order: 2;
    }
    
    .btn-quick-join {
        order: 1;
    }
    
    .campaign-status-badge {
        top: 0.75rem;
        right: 0.75rem;
        position: absolute;
        z-index: 15;
    }
    
    .campaign-status-badge span {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
        display: block;
        max-width: 120px;
        text-align: center;
        word-wrap: break-word;
    }
    
    .marketplace-campaign-card .card-header {
        margin-top: 3rem; /* Increased space on mobile */
        padding: 1rem;
    }
    
    .marketplace-filters-card {
        margin-bottom: 1.5rem;
        padding: 1rem;
        position: relative;
        top: auto;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }
    
    .filter-actions {
        margin: 0.75rem -1rem -1rem -1rem;
        padding: 0.75rem 1rem;
        background: var(--background-light);
    }
    
    .filter-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.5rem;
        margin-bottom: 1rem;
        padding-bottom: 0.75rem;
        border-bottom: 1px solid #e9ecef;
    }
    
    .filter-title h5 {
        font-size: 1.1rem;
    }
    
    .filter-title p {
        font-size: 0.8rem;
    }
    
    /* Compact filter form on mobile */
    .marketplace-filter-form .row {
        margin: 0 -0.5rem;
    }
    
    .marketplace-filter-form .col-12 {
        padding: 0 0.5rem;
        margin-bottom: 0.75rem;
    }
    
    .filter-group {
        margin-bottom: 0;
    }
    
    .filter-label {
        font-size: 0.8rem;
        margin-bottom: 0.375rem;
        color: #6c757d;
    }
    
    .campaigns-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .campaign-platforms {
        margin-bottom: 1rem;
    }
    
    .platforms-list {
        justify-content: flex-start;
        gap: 0.375rem;
    }
    
    .platform-tag {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
    
    /* Enhanced mobile search */
    .hero-search {
        margin-bottom: 2rem;
    }
    
    .marketplace-search-bar .form-control {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }
    
    .marketplace-search-bar .btn-search {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Mobile-specific improvements */
    .campaigns-stats-row .col-md-4 {
        margin-bottom: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .hero-modern {
        padding: 3rem 0 2rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
        padding: 0 1rem;
    }
    
    /* Compact stats on small mobile */
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        padding: 0 1rem;
    }
    
    .stat {
        background: rgba(255, 255, 255, 0.1);
        padding: 0.75rem 0.5rem;
        border-radius: 0.75rem;
        backdrop-filter: blur(10px);
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.65rem;
        margin-top: 0.25rem;
    }
    
    .marketplace-campaign-card {
        margin-bottom: 1rem;
    }
    
    .campaign-brand-section {
        gap: 0.75rem;
    }
    
    .campaign-brand-logo {
        width: 36px;
        height: 36px;
    }
    
    .campaign-title {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .campaign-brand-name {
        font-size: 0.8rem;
    }
    
    .campaign-stats-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .stat-item {
        padding: 0.75rem;
        border-radius: 0.5rem;
    }
    
    .budget-progress-section {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .popular-tags {
        margin-top: 1.5rem;
    }
    
    .popular-tags .tag-item {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        margin: 0.2rem;
    }
    
    /* Mobile filter improvements */
    .marketplace-filter-form .form-control {
        padding: 0.75rem;
        font-size: 0.9rem;
        min-height: 40px;
    }
    
    .filter-label {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }
    
    /* Mobile button improvements */
    .btn-view-campaign,
    .btn-quick-join {
        font-size: 0.875rem;
        padding: 0.75rem 1rem;
        border-radius: 0.5rem;
        font-weight: 500;
    }
    
    /* Better touch targets */
    .btn, .form-control, .search-tag {
        min-height: 44px;
    }
    
    /* Improved card spacing */
    .marketplace-campaign-card {
        margin-bottom: 1rem;
        border-radius: 0.875rem;
    }
    
    .campaign-brand-section {
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 1rem;
    }
    
    /* Mobile spacing adjustments */
    .mt-6 {
        margin-top: 1.5rem !important;
    }
    
    .mb-6 {
        margin-bottom: 1.5rem !important;
    }
    
    /* Section spacing */
    .py-4 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    /* Remove custom container padding to use Bootstrap defaults */
}

@media (max-width: 400px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.875rem;
    }
    
    /* Ultra compact stats */
    .stat-number {
        font-size: 1.25rem;
    }
    
    .stat-label {
        font-size: 0.6rem;
        letter-spacing: 0;
    }
    
    .marketplace-campaign-card .card-header,
    .marketplace-campaign-card .card-body,
    .marketplace-campaign-card .card-footer {
        padding: 0.875rem;
    }
    
    .marketplace-campaign-card .card-header {
        margin-top: 3.5rem; /* Even more space on very small screens */
        padding-top: 0.5rem;
    }
    
    .campaign-status-badge {
        top: 0.5rem;
        right: 0.5rem;
        left: auto;
        width: auto;
        max-width: 140px;
    }
    
    .campaign-status-badge span {
        padding: 0.25rem 0.5rem;
        font-size: 0.65rem;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .campaign-brand-logo {
        width: 32px;
        height: 32px;
    }
    
    .campaign-title {
        font-size: 0.95rem;
    }
    
    .popular-tags .tag-item {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
}

/* Enhanced accessibility and touch targets for mobile */
@media (max-width: 768px) {
    .btn,
    .form-control,
    .platform-tag,
    .tag-item {
        min-height: 44px; /* Minimum touch target size */
    }
    
    .btn-quick-join,
    .btn-view-campaign {
        min-height: 48px;
        font-size: 0.9rem;
    }
    
    /* Improved tap targets */
    .marketplace-campaign-card {
        position: relative;
    }
    
    .marketplace-campaign-card::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        pointer-events: none;
    }
    
    /* Enhanced focus states for mobile */
    .form-control:focus,
    .btn:focus {
        box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
        outline: none;
    }
}

/* Landscape phone optimizations */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        padding: 2rem 0;
        min-height: 40vh;
    }
    
    .hero-content h1 {
        font-size: 1.6rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-content p {
        margin-bottom: 1.5rem;
    }
    
    .popular-tags {
        margin-top: 1rem;
    }
}

/* Animation Keyframes */
@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
        transform: translate3d(0, -6px, 0);
    }
    70% {
        animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
        transform: translate3d(0, -3px, 0);
    }
    90% {
        transform: translate3d(0, -1px, 0);
    }
}

/* Animation Classes */
.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-slide-left {
    animation: slideInLeft 0.6s ease-out forwards;
}

.animate-slide-right {
    animation: slideInRight 0.6s ease-out forwards;
}

.animate-scale {
    animation: scaleIn 0.6s ease-out forwards;
}

.animate-bounce {
    animation: bounce 1s ease-out;
}

/* Micro-interactions */
.btn-quick-join,
.btn-view-campaign {
    position: relative;
    overflow: hidden;
}

.marketplace-campaign-card .stat-item,
.marketplace-campaign-card .platform-tag {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Enhanced focus states */
.form-control:focus,
.btn:focus,
.marketplace-campaign-card:focus-within {
    outline: 2px solid rgba(102, 126, 234, 0.5);
    outline-offset: 2px;
}

/* Loading States */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(102, 126, 234, 0.1);
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

.loading-content {
    text-align: center;
}

.loading-text {
    color: #667eea;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1rem;
}

.loading-dots {
    display: inline-block;
    animation: loadingDots 1.5s infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes loadingDots {
    0%, 20% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

/* Modern skeleton loading for campaign cards */
.campaign-skeleton {
    background: linear-gradient(145deg, #ffffff 0%, #fafbfc 100%);
    border-radius: 1.5rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    animation: skeletonPulse 1.5s ease-in-out infinite;
}

.skeleton-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.skeleton-avatar {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.skeleton-text {
    flex: 1;
}

.skeleton-line {
    height: 16px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    animation: shimmer 1.5s infinite;
}

.skeleton-line.short {
    width: 60%;
}

.skeleton-line.medium {
    width: 80%;
}

.skeleton-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.skeleton-stat {
    height: 60px;
    background: linear-gradient(90deg, #f8f8f8 25%, #eeeeee 50%, #f8f8f8 75%);
    background-size: 200% 100%;
    border-radius: 12px;
    animation: shimmer 1.5s infinite;
}

.skeleton-buttons {
    display: flex;
    gap: 1rem;
}

.skeleton-button {
    height: 48px;
    flex: 1;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    border-radius: 12px;
    animation: shimmer 1.5s infinite;
}

@keyframes skeletonPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Loading state for search */
.search-loading {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    display: none;
}

.search-loading.active {
    display: block;
}

.search-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-top: 2px solid #667eea;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Dark Mode Support for Empty State */
[data-theme-style="dark"] .empty-state {
    background: var(--mp-card-bg);
    border-color: var(--border-color);
    box-shadow: var(--mp-card-hover-shadow);
}

[data-theme-style="dark"] .empty-icon {
    background: var(--primary-gradient);
    box-shadow: var(--mp-card-hover-shadow);
}

[data-theme-style="dark"] .particle {
    background: var(--primary-color);
}

[data-theme-style="dark"] .empty-state-title {
    color: var(--mp-text-primary);
}

[data-theme-style="dark"] .empty-state-description {
    color: var(--mp-text-secondary);
}

[data-theme-style="dark"] .btn-notify::before, 
[data-theme-style="dark"] .btn-join::before {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

/* Dark Mode Support for Input Elements */
[data-theme-style="dark"] .search-input {
    color: var(--mp-text-primary);
}

[data-theme-style="dark"] .search-input::placeholder {
    color: var(--mp-text-secondary);
}

[data-theme-style="dark"] .marketplace-search-bar .form-control {
    background: var(--mp-card-bg);
    border-color: var(--border-color);
    color: var(--mp-text-primary);
}

[data-theme-style="dark"] .marketplace-search-bar .form-control:focus {
    background: var(--mp-card-bg);
    border-color: var(--primary-color);
    color: var(--mp-text-primary);
    box-shadow: 0 0 0 0.2rem rgba(var(--primary-color-rgb), 0.25);
}

[data-theme-style="dark"] .marketplace-search-bar .form-control::placeholder {
    color: var(--mp-text-secondary);
}

[data-theme-style="dark"] .marketplace-filter-form .form-control {
    background-color: var(--mp-card-bg);
    border-color: var(--border-color);
    color: var(--mp-text-primary);
}

[data-theme-style="dark"] .marketplace-filter-form .form-control:focus {
    background-color: var(--mp-card-bg);
    border-color: var(--primary-color);
    color: var(--mp-text-primary);
    box-shadow: 0 0 0 0.2rem rgba(var(--primary-color-rgb), 0.25);
}

[data-theme-style="dark"] .marketplace-filter-form .form-control:hover {
    background-color: var(--mp-card-bg);
    border-color: var(--primary-color);
}

[data-theme-style="dark"] .marketplace-filter-form .form-control::placeholder {
    color: var(--mp-text-secondary);
}

[data-theme-style="dark"] .marketplace-filter-form select.form-control option {
    background-color: var(--mp-card-bg);
    color: var(--mp-text-primary);
}

[data-theme-style="dark"] .marketplace-filter-form select.form-control option:hover {
    background-color: var(--background-light);
    color: var(--mp-text-primary);
}

[data-theme-style="dark"] .marketplace-filter-form select.form-control option:checked,
[data-theme-style="dark"] .marketplace-filter-form select.form-control option:selected {
    background-color: var(--primary-color);
    color: white;
}

[data-theme-style="dark"] .marketplace-filter-form select.form-control {
    border-color: var(--mp-card-border) !important;
    background-color: var(--mp-card-bg) !important;
    color: var(--mp-campaign-title-color) !important;
}

[data-theme-style="dark"] .marketplace-filter-form select.form-control:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 0.2rem rgba(var(--primary-color-rgb), 0.25) !important;
}

/* Dark Mode Support for Filter Actions Footer */
[data-theme-style="dark"] .filter-actions {
    background: var(--mp-filter-card-bg);
    border-top-color: var(--mp-card-border);
}

[data-theme-style="dark"] .filter-results-count .badge {
    background-color: var(--mp-stat-bg) !important;
    color: var(--mp-campaign-desc-color) !important;
    border-color: var(--mp-card-border);
}

/* Campaign Budget Progress Styles - Consistent with joined_campaigns.php */
.campaign-budget-progress {
    margin-bottom: 1.25rem;
}

.budget-progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    gap: 0.75rem;
}

.progress-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--mp-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.progress-details {
    font-size: 0.85rem;
    color: var(--mp-text-secondary);
    font-weight: 500;
    flex: 1;
    text-align: center;
}

.progress-percentage {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--mp-text-primary);
    flex-shrink: 0;
}

.budget-progress-container {
    width: 100%;
    height: 8px;
    background: var(--mp-card-border);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.budget-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--success-color) 0%, var(--success-color) 50%, var(--warning-color) 75%, var(--danger-color) 100%);
    border-radius: 4px;
    transition: width 1s ease-in-out;
    position: relative;
}

.budget-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
    animation: shimmer 2s infinite linear;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Responsive adjustments for budget progress */
@media (max-width: 768px) {
    .campaign-budget-progress {
        margin-bottom: 1rem;
    }
    
    .budget-progress-info {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .progress-details {
        text-align: left;
        order: 2;
        flex-basis: 100%;
    }
}

/* Dark mode support for budget progress */
[data-theme-style="dark"] .budget-progress-container {
    background: var(--mp-card-border);
}

[data-theme-style="dark"] .progress-label {
    color: var(--mp-text-secondary);
}

[data-theme-style="dark"] .progress-details {
    color: var(--mp-text-secondary);
}

[data-theme-style="dark"] .progress-percentage {
    color: var(--mp-text-primary);
}


/* Styles for joined campaign button */
.btn-view-joined {
    background: #10b981 !important;
    background-image: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
}

.btn-view-joined:hover {
    background: #059669 !important;
    background-image: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    transform: translateY(-2px);
}

.btn-view-joined i {
    margin-right: 0.5rem;
}

/* Join request button states */
.btn-quick-join.btn-pending {
    background: #f59e0b !important;
    background-image: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: white !important;
    opacity: 0.8;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-quick-join.btn-request {
    background: #0ea5e9 !important;
    background-image: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%) !important;
    color: white !important;
}

.btn-quick-join.btn-request:hover {
    background: #0284c7 !important;
    background-image: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
    transform: translateY(-2px);
}

/* Dark mode support for new button states */
[data-theme-style="dark"] .btn-quick-join.btn-pending {
    background: #f59e0b !important;
    background-image: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
}

[data-theme-style="dark"] .btn-quick-join.btn-request {
    background: #0ea5e9 !important;
    background-image: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%) !important;
}

[data-theme-style="dark"] .btn-quick-join.btn-request:hover {
    background: #0284c7 !important;
    background-image: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
}

/* Country Restriction Status Badge */
.status-country-restricted {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white !important;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    white-space: nowrap;
}

/* Country Restriction Quick Join Button */
.btn-quick-join.btn-country-restricted {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border: 1px solid #f59e0b;
    color: white;
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-quick-join.btn-country-restricted:hover {
    transform: none;
    box-shadow: none;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

/* Trust Score Restriction Status Badge */
.status-trust-restricted {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white !important;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
}

/* Trust Score Restriction Button */
.btn-quick-join.btn-trust-restricted {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border: 1px solid #ef4444;
    color: white;
    opacity: 0.8;
    cursor: not-allowed;
}

.btn-quick-join.btn-trust-restricted:hover {
    transform: none;
    box-shadow: none;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

/* Dark mode styles */
[data-theme-style="dark"] .status-country-restricted {
    background: linear-gradient(135deg, #d97706 0%, #92400e 100%);
}

[data-theme-style="dark"] .btn-quick-join.btn-country-restricted {
    background: linear-gradient(135deg, #d97706 0%, #92400e 100%);
    border: 1px solid #d97706;
}

[data-theme-style="dark"] .btn-quick-join.btn-country-restricted:hover {
    background: linear-gradient(135deg, #d97706 0%, #92400e 100%);
}

[data-theme-style="dark"] .status-trust-restricted {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
}

[data-theme-style="dark"] .btn-quick-join.btn-trust-restricted {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    border: 1px solid #dc2626;
}

[data-theme-style="dark"] .btn-quick-join.btn-trust-restricted:hover {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
}

/* Blocked by Brand Status Badge */
.status-blocked-brand {
    background: linear-gradient(135deg, #e11d48 0%, #be185d 100%);
    color: white !important;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    white-space: nowrap;
}

/* Blocked by Brand Button */
.btn-quick-join.btn-blocked-brand {
    background: linear-gradient(135deg, #e11d48 0%, #be185d 100%);
    border: 1px solid #e11d48;
    color: white;
    opacity: 0.8;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-quick-join.btn-blocked-brand:hover {
    transform: none;
    box-shadow: none;
    background: linear-gradient(135deg, #e11d48 0%, #be185d 100%);
}

/* Kicked from Campaign Status Badge */
.status-kicked-campaign {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white !important;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    white-space: nowrap;
}

/* Kicked from Campaign Button */
.btn-quick-join.btn-kicked-campaign {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    border: 1px solid #dc2626;
    color: white;
    opacity: 0.8;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-quick-join.btn-kicked-campaign:hover {
    transform: none;
    box-shadow: none;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

/* Dark Mode Styles for Blocked Brand */
[data-theme-style="dark"] .status-blocked-brand {
    background: linear-gradient(135deg, #be185d 0%, #9d174d 100%);
}

[data-theme-style="dark"] .btn-quick-join.btn-blocked-brand {
    background: linear-gradient(135deg, #be185d 0%, #9d174d 100%);
    border: 1px solid #be185d;
}

[data-theme-style="dark"] .btn-quick-join.btn-blocked-brand:hover {
    background: linear-gradient(135deg, #be185d 0%, #9d174d 100%);
}

/* Dark Mode Styles for Kicked Campaign */
[data-theme-style="dark"] .status-kicked-campaign {
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
}

[data-theme-style="dark"] .btn-quick-join.btn-kicked-campaign {
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
    border: 1px solid #b91c1c;
}

[data-theme-style="dark"] .btn-quick-join.btn-kicked-campaign:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
}

/* Restriction Cards for Marketplace View Page */
.block-restriction-card,
.kick-restriction-card {
    background: linear-gradient(145deg, #fef2f2 0%, #fef7f7 100%);
    border: 1px solid #fca5a5;
    border-radius: 12px;
    padding: 1rem;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.1);
}

.restriction-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    color: #991b1b;
}

.restriction-content {
    color: #7f1d1d;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Dark mode styles for restriction cards */
[data-theme-style="dark"] .block-restriction-card,
[data-theme-style="dark"] .kick-restriction-card {
    background: linear-gradient(145deg, #1f1f1f 0%, #2d2d2d 100%);
    border: 1px solid #4c1d1d;
}

[data-theme-style="dark"] .restriction-header {
    color: #f87171;
}

[data-theme-style="dark"] .restriction-content {
    color: #fca5a5;
}

/* Left Side Sponsored Label */
.sponsored-label-left {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
}

.sponsored-text {
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.2),
        0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: ribbonPulse 3s ease-in-out infinite;
}

/* Promoted Status Badge */
.status-promoted {
    color: white !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    padding: 4px 8px !important;
    border-radius: 12px !important;
    display: inline-flex !important;
    align-items: center;
    gap: 3px;
    margin-right: 6px;
    margin-bottom: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

.status-promoted i {
    font-size: 9px;
}

/* Enhanced sponsored campaign card styling */
.marketplace-campaign-card.sponsored-campaign {
    border: 3px solid #ff8c00 !important;
    box-shadow: 
        0 12px 35px rgba(255, 140, 0, 0.15),
        0 4px 15px rgba(255, 140, 0, 0.1) !important;
    background: linear-gradient(145deg, #fffef9 0%, #fff8f0 100%) !important;
    position: relative;
}

/* Animations */
@keyframes ribbonPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 
            0 4px 15px rgba(255, 140, 0, 0.4),
            0 2px 8px rgba(0, 0, 0, 0.15);
    }
    50% { 
        transform: scale(1.1);
        box-shadow: 
            0 6px 20px rgba(255, 140, 0, 0.6),
            0 3px 12px rgba(0, 0, 0, 0.2);
    }
}

@keyframes starSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Dark mode styles */
[data-theme-style="dark"] .sponsored-text {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa500 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 4px 15px rgba(255, 140, 0, 0.5),
        0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-theme-style="dark"] .status-promoted {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa500 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 8px rgba(255, 140, 0, 0.4) !important;
}

[data-theme-style="dark"] .marketplace-campaign-card.sponsored-campaign {
    background: linear-gradient(145deg, #2a2a2a 0%, #1f1f1f 100%) !important;
    border-color: #ff8c00 !important;
}