/* Ultra Modern Blog - Test Version */

/* Force all animations to work */
* {
    animation-play-state: running !important;
}

.mlm-ultra-modern-blog {
    background: #f9fafb !important;
    min-height: 100vh;
}

/* Force hero section to be visible */
.mlm-blog-hero-section {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.mlm-blog-hero-section {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%) !important;
    padding: 4rem 0 6rem !important;
    position: relative;
    overflow: hidden;
    min-height: 400px !important;
}

/* Geometric Grid Animation */
.mlm-blog-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.1) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.1) 75%);
    background-size: 60px 60px;
    background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
    animation: mlm-geometric-move 8s linear infinite;
    z-index: 1;
}

.mlm-blog-hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 60% 40%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: mlm-floating-circles 12s ease-in-out infinite;
    z-index: 2;
}

@keyframes mlm-geometric-move {
    0% {
        transform: translate(0, 0) rotate(0deg);
        background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
    }
    25% {
        transform: translate(10px, -5px) rotate(90deg);
        background-position: 30px 0, 30px 30px, 60px -30px, 0px 0px;
    }
    50% {
        transform: translate(-5px, 10px) rotate(180deg);
        background-position: 60px 0, 60px 30px, 90px -30px, 30px 0px;
    }
    75% {
        transform: translate(-10px, -5px) rotate(270deg);
        background-position: 90px 0, 90px 30px, 120px -30px, 60px 0px;
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
        background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
    }
}

@keyframes mlm-floating-circles {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translate(20px, -15px) scale(1.1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-10px, 20px) scale(0.9);
        opacity: 0.4;
    }
    75% {
        transform: translate(-20px, -10px) scale(1.05);
        opacity: 0.6;
    }
}

.mlm-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.mlm-hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.8) 0%, rgba(139, 92, 246, 0.8) 100%);
    animation: mlm-hero-gradient-move 20s ease-in-out infinite;
    z-index: 2;
}

@keyframes mlm-hero-gradient-move {
    0%, 100% {
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.8) 0%, rgba(139, 92, 246, 0.8) 100%);
    }
    50% {
        background: linear-gradient(135deg, rgba(139, 92, 246, 0.8) 0%, rgba(99, 102, 241, 0.8) 100%);
    }
}

.mlm-hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.3) 0%, transparent 60%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.3) 0%, transparent 60%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.2) 0%, transparent 60%),
        radial-gradient(circle at 60% 60%, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
    animation: mlm-hero-pattern-move 15s ease-in-out infinite;
    z-index: 3;
    opacity: 1 !important;
    visibility: visible !important;
}

@keyframes mlm-hero-pattern-move {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(20px, -15px) rotate(2deg) scale(1.05);
    }
    50% {
        transform: translate(-10px, 20px) rotate(-1deg) scale(0.95);
    }
    75% {
        transform: translate(15px, -10px) rotate(1deg) scale(1.02);
    }
}

.mlm-hero-content {
    position: relative;
    z-index: 100;
    text-align: center;
    color: white !important;
}

.mlm-hero-title {
    font-size: 3.5rem !important;
    font-weight: 800 !important;
    margin-bottom: 1rem !important;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.mlm-hero-description {
    font-size: 1.25rem !important;
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 3rem !important;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.mlm-hero-stats {
    display: flex !important;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.mlm-stat-item {
    display: flex !important;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.mlm-stat-item:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-2px);
}

.mlm-stat-icon {
    width: 3rem;
    height: 3rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.mlm-stat-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.mlm-stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.mlm-stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
}

.mlm-blog-controls {
    background: white !important;
    padding: 2rem 0;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.mlm-controls-wrapper {
    display: grid !important;
    grid-template-columns: 1fr auto auto;
    gap: 2rem;
    align-items: center;
}

.mlm-search-btn-modal {
    background: #6366f1;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.mlm-search-btn-modal:hover {
    background: #4f46e5;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Search Modal */
.mlm-search-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mlm-search-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.mlm-search-modal-content {
    position: relative;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    animation: mlm-modal-slide-in 0.3s ease-out;
}

@keyframes mlm-modal-slide-in {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.mlm-search-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.mlm-search-modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
}

.mlm-search-modal-close {
    background: none;
    border: none;
    color: #6b7280;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.mlm-search-modal-close:hover {
    background: #f3f4f6;
    color: #374151;
}

.mlm-search-modal-body {
    padding: 2rem;
}

.mlm-search-input-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.mlm-search-modal-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.mlm-search-modal-input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.mlm-search-modal-submit {
    background: #6366f1;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mlm-search-modal-submit:hover {
    background: #4f46e5;
    transform: translateY(-1px);
}

.mlm-search-suggestions {
    background: #f9fafb;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 1rem;
}

.mlm-suggestions-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.mlm-suggestions-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.mlm-suggestion-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.25rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    color: #6366f1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mlm-suggestion-item:hover {
    background: #6366f1;
    color: white;
}

.mlm-search-modal-footer {
    padding: 1rem 2rem 1.5rem;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
}

.mlm-search-tips p {
    margin: 0;
    font-size: 0.875rem;
    color: #6b7280;
    text-align: center;
}

.mlm-filter-tabs-ultra {
    display: flex !important;
    gap: 0.5rem;
    background: white;
    padding: 0.25rem;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.mlm-filter-tab {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: transparent;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #6366f1;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.mlm-filter-tab.active,
.mlm-filter-tab:hover {
    background: #f3f4f6;
    color: #6366f1;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.mlm-tab-count {
    background: #d1d5db;
    color: #4b5563;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 50px;
    font-weight: 600;
}

.mlm-filter-tab.active .mlm-tab-count {
    background: #6366f1;
    color: white;
}

.mlm-view-section {
    display: flex !important;
    align-items: center;
    gap: 1rem;
}

.mlm-sort-dropdown {
    position: relative;
}

/* Filter Toggle Button */
.mlm-filter-toggle {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mlm-filter-toggle-btn {
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    background: white;
    border-radius: 0.5rem;
    color: #6366f1;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mlm-filter-toggle-btn:hover {
    background: #f3f4f6;
    box-shadow: 0 2px 4px rgba(99, 102, 241, 0.1);
}

.mlm-filter-toggle-btn.active {
    background: #6366f1;
    color: white;
    transform: rotate(45deg);
}

.mlm-filter-toggle-btn.active i {
    transform: rotate(-45deg);
}

/* Filter Options */
.mlm-filter-options {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    animation: mlm-filter-slide-in 0.3s ease-out;
}

@keyframes mlm-filter-slide-in {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.mlm-filter-option {
    width: 2rem;
    height: 2rem;
    border: none;
    background: transparent;
    border-radius: 0.375rem;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

.mlm-filter-option:hover {
    background: #f3f4f6;
    color: #6366f1;
}

.mlm-filter-option.active {
    background: #6366f1;
    color: white;
    box-shadow: 0 2px 4px rgba(99, 102, 241, 0.2);
}

/* Color coding for different filter types */
.mlm-filter-option[data-sort="date"].active {
    background: #3b82f6; /* Blue for date */
}

.mlm-filter-option[data-sort="popular"].active {
    background: #ef4444; /* Red for popular */
}

.mlm-filter-option[data-sort="title"].active {
    background: #10b981; /* Green for title */
}

.mlm-filter-option[data-sort="views"].active {
    background: #f59e0b; /* Orange for views */
}

.mlm-view-toggle {
    display: flex !important;
    background: white;
    padding: 0.25rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.mlm-view-btn {
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    background: transparent;
    border-radius: 0.375rem;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

.mlm-view-btn.active,
.mlm-view-btn:hover {
    background: #f3f4f6;
    color: #6366f1;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.mlm-blog-content-section {
    padding: 3rem 0 !important;
}

.mlm-blog-grid-ultra {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.mlm-blog-card-ultra {
    background: white !important;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.mlm-blog-card-ultra:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.mlm-card-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mlm-card-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.mlm-image-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.mlm-card-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.mlm-blog-card-ultra:hover .mlm-card-thumbnail {
    transform: scale(1.05);
}

.mlm-card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #9ca3af;
}

.mlm-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.mlm-blog-card-ultra:hover .mlm-image-overlay {
    opacity: 1;
}

.mlm-overlay-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: 600;
    font-size: 1rem;
}

.mlm-card-meta-overlay {
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mlm-meta-date,
.mlm-meta-views {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
}

.mlm-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 0;
}

/* List view specific styles */
.list-view .mlm-blog-card-ultra {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    min-height: 250px !important;
    background: white !important;
    border-radius: 0.75rem !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
    overflow: hidden !important;
    width: 100% !important;
    height: auto !important;
}

.list-view .mlm-card-image {
    width: 350px !important;
    height: 250px !important;
    flex-shrink: 0 !important;
    object-fit: cover !important;
    border-radius: 0.75rem 0 0 0.75rem !important;
    display: block !important;
    position: relative !important;
}

.list-view .mlm-card-content {
    padding: 1.5rem !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    min-height: 250px !important;
    flex: 1 !important;
    background: white !important;
    border-radius: 0 0.75rem 0.75rem 0 !important;
    width: auto !important;
    height: 250px !important;
}

.list-view .mlm-card-title {
    font-size: 1.25rem !important;
    line-height: 1.4 !important;
    margin-bottom: 0.75rem !important;
    display: block !important;
}

.list-view .mlm-card-excerpt {
    flex-grow: 1 !important;
    margin-bottom: 1rem !important;
    display: block !important;
}

.list-view .mlm-card-footer {
    margin-top: auto !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.list-view .mlm-card-meta-top {
    display: flex !important;
    gap: 1rem !important;
    margin-bottom: 0.75rem !important;
}

.list-view .mlm-card-categories {
    display: flex !important;
    margin-bottom: 0.75rem !important;
}

.list-view .mlm-card-inner {
    display: flex !important;
    flex-direction: row !important;
    height: 100% !important;
    width: 100% !important;
}

/* Force override any conflicting styles */
.list-view .mlm-blog-card-ultra * {
    box-sizing: border-box !important;
}

.list-view .mlm-blog-card-ultra .mlm-card-image {
    order: 1 !important;
}

.list-view .mlm-blog-card-ultra .mlm-card-content {
    order: 2 !important;
}

.mlm-card-categories {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.mlm-category-tag {
    background: #6366f1;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mlm-category-tag:hover {
    background: #4f46e5;
    transform: translateY(-1px);
}

.mlm-card-title {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
}

.mlm-card-title a {
    color: #111827;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mlm-card-title a:hover {
    color: #6366f1;
}

.mlm-card-excerpt {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.mlm-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.mlm-author-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mlm-author-avatar {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    border: 2px solid #e5e7eb;
}

.mlm-author-details {
    display: flex;
    flex-direction: column;
}

.mlm-author-name {
    font-weight: 600;
    color: #111827;
    font-size: 0.875rem;
}

.mlm-post-date {
    font-size: 0.75rem;
    color: #6b7280;
}

.mlm-card-actions {
    display: flex;
    gap: 0.5rem;
}

.mlm-read-btn,
.mlm-share-btn {
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.mlm-read-btn {
    background: #6366f1;
    color: white;
}

.mlm-read-btn:hover {
    background: #4f46e5;
    transform: translateY(-1px);
}

.mlm-share-btn {
    background: #f3f4f6;
    color: #4b5563;
}

.mlm-share-btn:hover {
    background: #e5e7eb;
    color: #1f2937;
}

.mlm-load-more-section {
    text-align: center;
    margin: 3rem 0;
}

.mlm-load-more-ultra {
    position: relative;
    background: #6366f1;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.mlm-load-more-ultra:hover {
    background: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.mlm-empty-state-ultra {
    padding: 6rem 0;
    text-align: center;
}

.mlm-empty-content {
    max-width: 500px;
    margin: 0 auto;
}

.mlm-empty-icon {
    width: 6rem;
    height: 6rem;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    margin: 0 auto 2rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.mlm-empty-title {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.mlm-empty-description {
    color: #4b5563;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.mlm-empty-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.mlm-empty-btn-primary,
.mlm-empty-btn-secondary {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mlm-empty-btn-primary {
    background: #6366f1;
    color: white;
    border: none;
}

.mlm-empty-btn-primary:hover {
    background: #4f46e5;
    transform: translateY(-1px);
}

.mlm-empty-btn-secondary {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

.mlm-empty-btn-secondary:hover {
    background: #e5e7eb;
    color: #1f2937;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .mlm-hero-title {
        font-size: 2.5rem !important;
    }
    
    .mlm-controls-wrapper {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
    
    .mlm-filter-toggle-btn {
        width: 2rem;
        height: 2rem;
    }
    
    .mlm-filter-option {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.8rem;
    }
    
    .mlm-blog-grid-ultra {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .mlm-blog-hero-section {
        padding: 2rem 0 3rem !important;
    }
    
    .mlm-hero-title {
        font-size: 2rem !important;
    }
    
    .mlm-hero-stats {
        gap: 1.5rem;
    }
    
    .mlm-stat-item {
        padding: 0.75rem 1rem;
    }
    
    .mlm-blog-grid-ultra {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }
    
    .mlm-card-content {
        padding: 1rem;
    }
    
    /* Mobile list view adjustments */
    .list-view .mlm-blog-card-ultra {
        flex-direction: column !important;
        min-height: auto !important;
        border-radius: 0.75rem !important;
    }
    
    .list-view .mlm-card-image {
        width: 100% !important;
        height: 200px !important;
        aspect-ratio: 16/9 !important;
        border-radius: 0.75rem 0.75rem 0 0 !important;
    }
    
    .list-view .mlm-card-content {
        min-height: auto !important;
        padding: 1rem !important;
        border-radius: 0 0 0.75rem 0.75rem !important;
    }
    
    .list-view .mlm-card-title {
        font-size: 1.1rem !important;
    }
    
    .mlm-empty-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .mlm-hero-title {
        font-size: 1.75rem !important;
    }
    
    .mlm-hero-description {
        font-size: 1rem !important;
    }
    
    .mlm-hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .mlm-filter-tabs-ultra {
        flex-wrap: wrap;
    }
    
    .mlm-view-section {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .mlm-sort-select-ultra {
        min-width: 120px;
        font-size: 0.8rem;
        padding: 0.6rem 0.8rem;
        padding-right: 2rem;
    }
    
    .mlm-view-btn {
        width: 2rem;
        height: 2rem;
        font-size: 0.8rem;
    }
}