/* TOP 6 MATCHES - SLIDER SECTION */
.top-matches-container {
    
   
    border-radius: 10px;
    margin: 20px 0;
   
    
}



/* Zmienione z grid na slider */
.top-matches-slider {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 15px 0;
    scrollbar-width: thin;
    
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.top-matches-slider::-webkit-scrollbar {
    height: 8px;
}

.top-matches-slider::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

.top-matches-slider::-webkit-scrollbar-thumb {
    background: #2c812f;
    border-radius: 10px;
}

.top-matches-slider::-webkit-scrollbar-thumb:hover {
    background: #2c812f;
}

.top-match-card {
    min-width: 320px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    color: #333;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: block;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #2c812f;
}

.top-match-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.top-match-position {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 28px;
    opacity: 0.2;
    color: #2c812f;
}

.top-match-content {
    position: relative;
    z-index: 1;
}

.top-match-league {
    font-size: 12px;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.top-match-teams-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
}

.team-name {
    flex: 1;
    font-size: 10px;
    font-weight: 600;
    color: #333;
    text-align: center;
}

.match-score {
    font-size: 24px;
    font-weight: 700;
    color: #2c812f;
    padding: 4px 12px;
    margin: 0 10px;
    min-width: 60px;
    text-align: center;
}

.top-match-meta {
    text-align: center;
    margin: 10px 0;
}

.match-date {
    font-size: 12px;
    color: #888;
}

.top-match-rating-main {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #e5e5e5;
    margin-top: 15px;
}

.stars-display {
    font-size: 20px;
    margin-bottom: 5px;
    letter-spacing: 2px;
}

.rating-value {
    font-size: 18px;
    font-weight: 700;
    color: #2c812f;
    margin-bottom: 4px;
}

.rating-count {
    font-size: 11px;
    
    margin-top: 5px;
}

.no-matches-main, .loading {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .top-matches-container {
        padding: 15px;
        margin: 15px 0;
    }
    
    
    
    .top-matches-slider {
        gap: 15px;
        padding: 10px 0;
    }
    
    .top-match-card {
        min-width: 280px;
    }
    
    .top-match-teams-main {
        font-size: 14px;
    }
    
    .match-score {
        font-size: 20px;
    }
}
