/* Match Details Page Styling */

/* Participant containers */
.match-participants {
    padding: 2rem 0;
    position: relative;
}

.match-participants::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 20%;
    right: 20%;
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(0,0,0,0.1), transparent);
    z-index: 0;
}

.participant-container {
    position: relative;
    padding: 1rem;
    transition: transform 0.3s ease;
}

.participant-container:hover {
    transform: translateY(-5px);
}

/* VS indicator */
.vs-indicator {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Score display */
.score-display {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.score-display.winner {
    color: var(--success-color);
    transform: scale(1.1);
}

/* Winner banner */
.winner-banner {
    background: linear-gradient(135deg, var(--success-color), #28a745);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    display: inline-block;
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.2);
}

/* Avatar placeholders */
.avatar-placeholder {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.avatar-placeholder.large {
    width: 80px;
    height: 80px;
    font-size: 1.5rem;
}

.team-avatar-placeholder.large {
    width: 80px;
    height: 80px;
    font-size: 1.5rem;
}

/* Match updates */
.match-updates {
    max-height: 500px;
    overflow-y: auto;
}

.match-update-item {
    padding: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: background-color 0.2s ease;
}

.match-update-item:last-child {
    border-bottom: none;
}

.match-update-item:hover {
    background-color: rgba(0,0,0,0.01);
}

.update-content {
    padding: 0.5rem 0;
    white-space: pre-line;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .match-participants::after {
        left: 10%;
        right: 10%;
    }
    
    .score-display {
        font-size: 2rem;
    }
    
    .avatar-placeholder.large,
    .team-avatar-placeholder.large {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }
}
