/* Performance optimization for match loading */
.match-loading-optimization {
    will-change: transform, opacity;
}

/* Efficient rendering for match cards */
.match-row {
    contain: content;
    content-visibility: auto;
    contain-intrinsic-size: 200px;
}

/* Add lazy loading indicator */
.lazy-load-indicator {
    display: none;
    height: 3px;
    width: 100%;
    background-image: linear-gradient(
        to right,
        transparent,
        #0d66e9,
        transparent
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}

.loading-active .lazy-load-indicator {
    display: block;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}
