
.contenedor-estadisticas {
    background-color: rgba(255, 255, 255, 0.9);
    margin: 40px auto;
    padding: 30px;
    border-radius: 20px;
    max-width: 700px;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.contenedor-estadisticas h2 {
    color: var(--color-primario);
    border-bottom: 3px solid var(--color-primario);
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.maximos-goleadores {
    counter-reset: contador-goleador;
    list-style: none;
    padding: 0;
}

.maximos-goleadores li {
    position: relative;
    color: var(--color-texto);
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 1.1rem;
    padding: 15px 15px 15px 50px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    transition: transform 0.2s ease, background-color 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.maximos-goleadores li::before {
    counter-increment: contador-goleador;
    content: counter(contador-goleador);
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--color-primario);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    font-size: 0.9rem;
    font-weight: bold;
}

.maximos-goleadores li:hover {
    transform: translateX(5px);
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.maximos-asistentes {
    list-style: none;
    padding: 0;
}

.maximos-asistentes li {
    color: #333;
    margin-bottom: 12px;
    padding: 10px 15px;
    border-left: 4px solid var(--color-primario);
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 0 8px 8px 0;
    transition: padding-left 0.2s ease;
    display: flex;
    justify-content: space-between;
}

.maximos-asistentes li:hover {
    padding-left: 25px;
    background-color: rgba(255, 255, 255, 0.6);
}

/* responsividad */
@media (max-width: 600px) {
    .contenedor-estadisticas {
        margin: 20px 15px;
        padding: 20px 15px;
    }

    .contenedor-estadisticas h2 {
        font-size: 1.4rem;
        text-align: center;
    }

    .maximos-goleadores li,
    .maximos-asistentes li {
        font-size: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        padding-right: 15px;
    }

    .maximos-goleadores li {
        padding-left: 50px;
    }
}