/* Contenedor principal del Slider */
.esports-upcoming-slider-container {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding: 20px 0;
    box-sizing: border-box;
    font-family: inherit;
}

.esports-slider-title-wrap {
    text-align: center;
    margin-bottom: 15px;
}

.esports-slider-badge {
    background: #2271b1;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

/* Pista deslizante horizontal */
.esports-slider-track,
.esports-calendar-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 15px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

/* Tarjeta individual fija para evitar desalineaciones */
.esports-match-card {
    flex: 0 0 280px;
    width: 280px;
    min-width: 280px;
    scroll-snap-align: start;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.esports-match-content {
    width: 100%;
}

/* Fila de equipos centrada horizontalmente */
.esports-teams-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0 15px 0;
    width: 100%;
}

.esports-team-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2px;
}

.esports-shield-wrap {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 6px auto;
}

.esports-shield-img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    border-radius: 50%;
    background: #f8f9fa;
    border: 2px solid #e2e8f0;
    padding: 3px;
    display: block;
    margin: 0 auto;
}

.esports-shield-default {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    border: 2px solid #cbd5e1;
    margin: 0 auto;
}

.esports-team-name {
    font-weight: bold;
    font-size: 12px;
    color: #1e293b;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
}

.esports-vs-badge {
    padding: 0 6px;
    font-size: 12px;
    font-weight: 800;
    color: #94a3b8;
    font-style: italic;
    flex-shrink: 0;
}

.esports-h2h-box {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px dashed #f1f5f9;
    font-size: 11px;
    color: #64748b;
    background: #f8fafc;
    padding: 8px;
    border-radius: 6px;
    text-align: center;
}

.esports-h2h-box span {
    color: #2271b1;
    font-weight: bold;
}

/* En móviles se adapta a una sola tarjeta limpia y centrada */
@media screen and (max-width: 768px) {
    .esports-match-card {
        flex: 0 0 80vw !important;
        width: 80vw !important;
        min-width: 80vw !important;
        margin: 0 auto;
    }
    
    .esports-slider-track {
        padding-left: 10vw;
        padding-right: 10vw;
    }
}